:root {
    /* Shared design tokens keep colors and spacing easy to update later. */
    --color-dark: #111;
    --color-light: #ffffff;
    --color-muted: #666666;
    --color-border: #eeeeee;
    --color-surface: #f1f1f1;
    --color-primary: orange;
    --color-primary-hover: #ff8800;
    --color-danger: red;
    --color-whatsapp: #25d366;
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 10px 25px rgba(0, 0, 0, 0.2);
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --transition-fast: 0.3s ease;
}

/* The public restaurant directory begins with a compact, screen-aware preview row. */
.restaurant-preview-grid:not(.is-expanded) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(108px, 0.46fr);
    gap: 12px;
}

.restaurant-preview-grid:not(.is-expanded) .restaurant-directory-card {
    grid-template-columns: 68px minmax(0, 1fr);
}

.restaurant-preview-grid:not(.is-expanded) .restaurant-card-logo {
    width: 52px;
    height: 52px;
    margin: 12px 0 0 9px;
    padding: 5px;
}

.restaurant-preview-grid:not(.is-expanded) .restaurant-card-content {
    padding: 11px 10px 10px;
}

.restaurant-preview-grid:not(.is-expanded) .restaurant-card-content h2 {
    margin: 5px 0 3px;
    font-size: 0.88rem;
}

.restaurant-preview-grid:not(.is-expanded) .restaurant-card-content p {
    font-size: 0.65rem;
}

.restaurant-preview-grid:not(.is-expanded) .restaurant-card-content dl {
    display: none;
}

.restaurant-preview-grid:not(.is-expanded) .restaurant-card-content a {
    margin-top: 9px;
    padding: 7px;
    font-size: 0.67rem;
}

.restaurant-see-all-card {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 4px;
    min-height: 100%;
    padding: 12px 8px;
    border: 1px dashed #e2a33b;
    border-radius: 14px;
    background: #fff8e9;
    box-shadow: none;
    color: #9a5b00;
    font: inherit;
    text-align: center;
    cursor: pointer;
    transform: none;
}

.restaurant-see-all-card:hover {
    background: #ffedc2;
    box-shadow: none;
    transform: none;
}

.restaurant-see-all-card span,
.restaurant-see-all-card strong,
.restaurant-see-all-card small {
    display: block;
}

.restaurant-see-all-card span {
    font-size: 0.78rem;
    font-weight: 700;
}

.restaurant-see-all-card strong {
    color: #174c35;
    font-size: 1rem;
}

.restaurant-see-all-card small {
    color: #657563;
    font-size: 0.64rem;
}

.restaurant-directory-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.restaurant-show-less {
    border: 1px solid #d7e4d8;
    border-radius: 999px;
    padding: 7px 10px;
    background: #fff;
    box-shadow: none;
    color: #286343;
    font: inherit;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transform: none;
}

.restaurant-show-less:hover {
    background: #edf7ed;
    box-shadow: none;
    transform: none;
}

@media (max-width: 800px) {
    .restaurant-preview-grid:not(.is-expanded) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) 92px;
        gap: 10px;
    }
}

@media (max-width: 520px) {
    .restaurant-directory-meta {
        gap: 7px;
    }

    .restaurant-show-less {
        padding: 6px 8px;
        font-size: 0.64rem;
    }

    .restaurant-preview-grid:not(.is-expanded) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) 72px;
        gap: 6px;
    }

    .restaurant-preview-grid:not(.is-expanded) .restaurant-directory-card {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .restaurant-preview-grid:not(.is-expanded) .restaurant-card-logo {
        width: 34px;
        height: 34px;
        margin: 9px 0 0 6px;
        padding: 3px;
        border-radius: 8px;
    }

    .restaurant-preview-grid:not(.is-expanded) .restaurant-card-content {
        padding: 9px 7px 8px;
    }

    .restaurant-preview-grid:not(.is-expanded) .restaurant-card-badges,
    .restaurant-preview-grid:not(.is-expanded) .restaurant-card-content p {
        display: none;
    }

    .restaurant-preview-grid:not(.is-expanded) .restaurant-card-content h2 {
        min-height: 2.2em;
        margin-top: 0;
        font-size: 0.68rem;
        overflow-wrap: anywhere;
    }

    .restaurant-preview-grid:not(.is-expanded) .restaurant-card-content a {
        margin-top: 5px;
        padding: 5px 3px;
        font-size: 0.55rem;
    }

    .restaurant-see-all-card {
        padding: 8px 4px;
        border-radius: 10px;
    }

    .restaurant-see-all-card span {
        font-size: 0.61rem;
    }

    .restaurant-see-all-card strong {
        font-size: 0.76rem;
    }

    .restaurant-see-all-card small {
        font-size: 0.52rem;
    }
}

/* Home Food Vendors use a compact daily-offer storefront instead of the restaurant landing page. */
.home-vendor-storefront {
    --vendor-ink: #213b2d;
    --vendor-green: #36764d;
    --vendor-cream: #fff8ec;
    --vendor-orange: #ef8b2c;
    background: var(--vendor-cream);
}

.home-vendor-storefront header {
    background: rgba(255, 252, 246, 0.96);
    box-shadow: 0 1px 0 rgba(33, 59, 45, 0.12);
}

.home-vendor-storefront header .logo,
.home-vendor-storefront header nav a {
    color: var(--vendor-ink);
}

.home-vendor-storefront .hero {
    min-height: 430px;
    background: #e6f0df;
}

.home-vendor-storefront .hero::before {
    background: linear-gradient(90deg, rgba(30, 64, 46, 0.92), rgba(30, 64, 46, 0.66) 52%, rgba(30, 64, 46, 0.28));
}

.home-vendor-storefront .hero-shell {
    min-height: 430px;
    align-items: center;
}

.home-vendor-storefront .hero-copy {
    max-width: 600px;
}

.home-vendor-storefront .hero-copy h2 {
    max-width: 600px;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    line-height: 0.98;
}

.home-vendor-storefront .hero-panel {
    max-width: 340px;
    background: rgba(255, 250, 239, 0.15);
}

.home-vendor-storefront .hero-hours,
.home-vendor-storefront .hero-order-status {
    display: none;
}

.home-vendor-storefront .hero-panel-card {
    background: #fffaf0;
}

.home-vendor-storefront .hero-metrics div {
    background: rgba(255, 250, 239, 0.18);
}

.home-vendor-storefront .hero-actions a:first-child,
.home-vendor-storefront .vendor-offer-add {
    background: var(--vendor-orange);
}

.home-vendor-storefront .home-strip,
.home-vendor-storefront .trending-section,
.home-vendor-storefront .cta-band {
    display: none;
}

.home-vendor-storefront #menu.meals {
    max-width: 1120px;
    padding-top: 46px;
}

.home-vendor-storefront .section-heading {
    max-width: 620px;
    margin-left: 0;
    text-align: left;
}

.home-vendor-storefront .section-heading h2 {
    color: var(--vendor-ink);
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.home-vendor-storefront .category-filter-bar {
    justify-content: flex-start;
    margin-bottom: 24px;
}

.home-vendor-storefront .category-filter-btn {
    border-radius: 999px;
    border-color: #c7d7c4;
    color: var(--vendor-ink);
}

.home-vendor-storefront .category-filter-btn.is-active {
    background: var(--vendor-green);
    border-color: var(--vendor-green);
}

.home-vendor-storefront .meal-container {
    grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
    gap: 20px;
}

.vendor-offer-card {
    overflow: hidden;
    border: 1px solid #e7ddcf;
    border-radius: 22px;
    background: #fffdf9;
    box-shadow: 0 12px 24px rgba(58, 48, 27, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.vendor-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 32px rgba(58, 48, 27, 0.14);
}

.vendor-offer-open {
    position: relative;
    display: block;
    width: 100%;
    height: 185px;
    overflow: hidden;
    border: 0;
    padding: 0;
    background: #d7e5d2;
    cursor: pointer;
}

.vendor-offer-open img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 250ms ease;
}

.vendor-offer-card:hover .vendor-offer-open img {
    transform: scale(1.05);
}

.vendor-offer-badge,
.vendor-offer-price {
    position: absolute;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.vendor-offer-badge {
    left: 12px;
    background: rgba(255, 253, 249, 0.93);
    color: var(--vendor-ink);
}

.vendor-offer-price {
    right: 12px;
    background: var(--vendor-ink);
    color: #fff;
}

.vendor-offer-content {
    padding: 16px;
}

.vendor-schedule-note {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #c8d9c3;
    border-radius: 10px;
    background: #f1f7ee;
    color: #3c6348;
    font-size: 0.82rem;
    line-height: 1.45;
}

.vendor-image-upload {
    display: grid;
    gap: 9px;
}

.vendor-image-upload > label {
    color: #244734;
    font-weight: 700;
}

.vendor-upload-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 12px;
}

.vendor-upload-tools button {
    border: 1px solid #4d8a5e;
    border-radius: 9px;
    padding: 9px 12px;
    background: #edf7ec;
    color: #28613d;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.vendor-upload-tools span {
    color: #6a7f70;
    font-size: 0.76rem;
}

.vendor-image-preview {
    width: min(180px, 100%);
    height: 120px;
    object-fit: cover;
    border: 1px solid #d7e5d7;
    border-radius: 12px;
    background: #f6faf5;
}

.vendor-offer-content h3 {
    margin: 0;
    color: var(--vendor-ink);
    font-size: 1.08rem;
}

.vendor-offer-content p {
    min-height: 42px;
    margin: 8px 0 14px;
    color: #66746b;
    font-size: 0.78rem;
    line-height: 1.45;
}

.vendor-offer-details {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 10px;
    background: #eaf2e7;
    color: var(--vendor-green);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.vendor-modal-open {
    overflow: hidden;
}

.vendor-offer-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.vendor-offer-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 34, 25, 0.7);
    backdrop-filter: blur(5px);
}

.vendor-offer-modal-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(270px, 1fr);
    width: min(760px, 100%);
    overflow: hidden;
    border-radius: 24px;
    background: #fffdf9;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.vendor-offer-modal-card > img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}

.vendor-offer-modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px;
}

.vendor-offer-modal-content > span {
    color: var(--vendor-orange);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vendor-offer-modal-content h2 {
    margin: 8px 0;
    color: var(--vendor-ink);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    line-height: 1.05;
}

.vendor-offer-modal-content strong {
    color: var(--vendor-green);
    font-size: 1.45rem;
}

.vendor-offer-modal-content p {
    color: #617067;
    line-height: 1.55;
}

.vendor-offer-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.vendor-offer-modal-actions button,
.vendor-offer-modal-actions a {
    border: 0;
    border-radius: 11px;
    padding: 13px 10px;
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.vendor-offer-modal-actions a {
    background: var(--vendor-green);
}

.vendor-offer-modal-actions button:disabled {
    cursor: not-allowed;
    background: #9aa39b;
}

.vendor-offer-modal-close {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 253, 249, 0.94);
    color: var(--vendor-ink);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 680px) {
    .home-vendor-storefront .hero,
    .home-vendor-storefront .hero-shell {
        min-height: 360px;
    }

    .home-vendor-storefront .hero-panel {
        display: none;
    }

    .home-vendor-storefront .hero-copy h2 {
        font-size: 2.7rem;
    }

    .home-vendor-storefront #menu.meals {
        padding: 34px 18px 54px;
    }

    .home-vendor-storefront .meal-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .vendor-offer-open {
        height: 142px;
    }

    .vendor-offer-content {
        padding: 12px;
    }

    .vendor-offer-content h3 {
        font-size: 0.95rem;
    }

    .vendor-offer-content p {
        min-height: 52px;
        font-size: 0.7rem;
    }

    .vendor-offer-modal-card {
        grid-template-columns: 1fr;
        max-height: min(690px, 92vh);
        overflow-y: auto;
    }

    .vendor-offer-modal-card > img {
        min-height: 205px;
        max-height: 250px;
    }

    .vendor-offer-modal-content {
        padding: 24px;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: var(--color-light);
    color: var(--color-dark);
}

button {
    padding: 12px 20px;
    border: none;
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-hover));
    color: var(--color-light);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.72;
    transform: none;
    box-shadow: none;
    background: linear-gradient(45deg, #64748b, #475569);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background: var(--color-dark);
    color: var(--color-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.site-logo-image {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-logo-image {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.logo {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--color-light);
    font-weight: 500;
    transition: color var(--transition-fast);
}

nav a:hover {
    color: var(--color-primary);
}

.hero {
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("images/jollof.jpg") center / cover no-repeat;
    color: var(--color-light);
}

.hero h2 {
    font-size: 45px;
    margin-bottom: 15px;
}

.hero a {
    display: inline-block;
    padding: 12px 30px;
    font-size: 18px;
    border-radius: var(--radius-sm);
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-hover));
    color: var(--color-light);
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.hero a:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: var(--color-primary-hover);
}

.meals {
    padding: 60px 20px;
    text-align: center;
    background: var(--color-light);
}

.meals h2 {
    margin-bottom: 30px;
    font-size: 32px;
}

.meal-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.meal {
    width: 260px;
    margin: 15px 0;
    background: var(--color-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.meal:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.meal.is-menu-item-target {
    outline: 3px solid #f59e0b;
    outline-offset: 4px;
    box-shadow: 0 0 0 7px rgba(245, 158, 11, 0.2), var(--shadow-strong);
}

.meal img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.meal h3 {
    margin: 10px 0;
}

.meal p {
    color: var(--color-muted);
}

.meal button {
    margin: 10px;
    padding: 10px;
    border-radius: var(--radius-sm);
}

.meal a {
    display: inline-block;
    margin: 0 10px 14px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--color-dark);
    color: var(--color-light);
    text-decoration: none;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.meal a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 40px 20px;
    margin-top: 30px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-container div {
    margin: 10px;
    max-width: 250px;
}

.footer h3 {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: gray;
}

.footer-bottom p {
    margin: 6px 0;
}

.footer-credit-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-credit-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 0;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0b1f14, #166534 58%, #22c55e);
    border: 1px solid rgba(250, 204, 21, 0.34);
    color: #ecfdf5;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-credit-link::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #facc15, #4ade80);
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.12);
}

.footer-credit-link:hover {
    transform: translateY(-2px);
    border-color: rgba(250, 204, 21, 0.45);
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.28);
    color: #fffef0;
}

.company-body {
    background:
        radial-gradient(circle at top left, rgba(250, 204, 21, 0.14), transparent 26%),
        radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.18), transparent 28%),
        linear-gradient(180deg, #f5f8f1 0%, #edf4ed 100%);
}

.company-page {
    min-height: 100vh;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 72px;
}

.company-page * {
    box-sizing: border-box;
}

.company-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
    gap: 26px;
    margin-bottom: 26px;
    padding: 34px;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(10, 25, 16, 0.96), rgba(21, 83, 45, 0.94)),
        linear-gradient(180deg, #102217, #16321f);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    overflow: hidden;
    position: relative;
    box-shadow: 0 28px 60px rgba(16, 34, 23, 0.24);
}

.company-hero::after {
    content: "";
    position: absolute;
    inset: auto -70px -70px auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.26), transparent 68%);
    pointer-events: none;
}

.company-hero-copy,
.company-hero-panel,
.company-showcase,
.company-process,
.company-contact-band {
    position: relative;
    z-index: 1;
}

.company-kicker {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #facc15;
}

.company-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding: 14px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.company-brand-logo {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    object-fit: contain;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
    background: rgba(255, 255, 255, 0.12);
    padding: 8px;
}

.company-brand-copy {
    display: grid;
    gap: 5px;
}

.company-brand-copy strong {
    color: #f8fff7;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.05;
}

.company-brand-copy span {
    color: rgba(236, 253, 245, 0.78);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
}

.company-hero h1 {
    margin: 0 0 12px;
    max-width: 780px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.04;
    color: #f8fff7;
}

.company-lead {
    margin: 0 0 24px;
    max-width: 690px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(236, 253, 245, 0.82);
}

.company-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.company-primary-link,
.company-secondary-link,
.company-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.company-primary-link {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #19230f;
    box-shadow: 0 18px 34px rgba(245, 158, 11, 0.28);
}

.company-secondary-link {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #f8fff7;
    backdrop-filter: blur(8px);
}

.company-primary-link:hover,
.company-secondary-link:hover,
.company-back-link:hover,
.company-contact-card:hover,
.company-service-card:hover,
.company-story-card:hover,
.company-step-card:hover,
.company-audience-card:hover {
    transform: translateY(-3px);
}

.company-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.company-stat-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.company-stat-card strong {
    font-size: 22px;
    color: #f8fff7;
}

.company-stat-card span {
    color: rgba(236, 253, 245, 0.78);
    line-height: 1.55;
}

.company-hero-panel {
    align-self: stretch;
    display: grid;
    gap: 14px;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.company-panel-visual {
    display: grid;
    place-items: center;
    padding: 14px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.22), transparent 38%),
        radial-gradient(circle at 78% 48%, rgba(132, 204, 22, 0.22), transparent 34%),
        rgba(8, 18, 11, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 260px;
}

.company-panel-logo {
    width: min(100%, 360px);
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 18px 32px rgba(15, 23, 42, 0.28));
}

.company-panel-label,
.company-section-tag {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #15803d;
}

.company-panel-stack {
    display: grid;
    gap: 14px;
}

.company-panel-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(8, 18, 11, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.company-panel-card strong {
    color: #fffef7;
    font-size: 17px;
}

.company-panel-card span {
    color: rgba(236, 253, 245, 0.78);
    line-height: 1.6;
}

.company-story-grid,
.company-service-grid,
.company-audience {
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
}

.company-story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.company-story-card,
.company-showcase,
.company-process,
.company-contact-band,
.company-audience-card {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
}

.company-story-card-accent {
    background: linear-gradient(135deg, #173222, #224b34);
    color: #fff;
    box-shadow: 0 24px 42px rgba(16, 34, 23, 0.22);
}

.company-story-card-accent .company-section-tag,
.company-story-card-accent h2,
.company-story-card-accent p {
    color: inherit;
}

.company-story-card-accent .company-section-tag {
    color: #facc15;
}

.company-story-card h2,
.company-showcase h2,
.company-process h2,
.company-contact-band h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.08;
    color: #102217;
}

.company-story-card p,
.company-process p,
.company-contact-band p {
    margin: 0;
    color: #516a58;
    line-height: 1.7;
}

.company-showcase-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 18px;
}

.company-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.company-service-card,
.company-step-card {
    display: grid;
    gap: 12px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #f5faf5);
    border: 1px solid rgba(21, 128, 61, 0.1);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.company-service-index {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(21, 128, 61, 0.1);
    color: #166534;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.company-service-card h3,
.company-audience-card h3 {
    margin: 0;
    color: #102217;
    font-size: 20px;
}

.company-service-card p,
.company-step-card span {
    margin: 0;
    color: #516a58;
    line-height: 1.65;
}

.company-process {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 22px;
    margin-bottom: 28px;
}

.company-steps {
    display: grid;
    gap: 14px;
}

.company-step-card strong {
    font-size: 18px;
    color: #102217;
}

.company-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.company-pill {
    display: inline-flex;
    align-items: center;
    padding: 11px 15px;
    border-radius: 999px;
    background: rgba(21, 128, 61, 0.11);
    color: #166534;
    font-weight: 700;
}

.company-audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.company-list {
    margin: 0;
    padding-left: 20px;
    color: #516a58;
    line-height: 1.8;
}

.company-list-clean {
    display: grid;
    gap: 10px;
}

.company-contact-band {
    display: grid;
    gap: 20px;
}

.company-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.company-contact-card {
    display: grid;
    gap: 8px;
    padding: 20px 22px;
    border-radius: 22px;
    border: 1px solid rgba(21, 128, 61, 0.12);
    background: linear-gradient(180deg, #ffffff, #f6fbf5);
    color: #102217;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.company-contact-card span {
    color: #4d6755;
    word-break: break-word;
}

.company-back-link {
    width: fit-content;
    margin-top: 4px;
    background: linear-gradient(135deg, #15803d, #166534);
    color: #fff;
    box-shadow: 0 18px 34px rgba(22, 101, 52, 0.2);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--color-whatsapp);
    color: var(--color-light);
    font-size: 16px;
    font-weight: 600;
    padding: 15px 12px;
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.cart-icon {
    margin-left: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
}

.cart-icon-symbol {
    font-size: 24px;
    line-height: 1;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--color-danger);
    color: var(--color-light);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

.cart-section {
    padding: 60px 20px;
    text-align: center;
}

.cart-container {
    max-width: 900px;
    margin: auto;
    background: var(--color-light);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.empty-cart-message {
    margin: 0;
    color: var(--color-muted);
}

.order-success-banner {
    margin-bottom: 20px;
    padding: 18px 20px;
    border: 1px solid #b7e4c7;
    border-radius: var(--radius-md);
    background: #f3fcf5;
    text-align: left;
}

.order-success-banner h3,
.order-success-banner p {
    margin: 0;
}

.order-success-banner p {
    margin-top: 6px;
    color: #2d6a4f;
}

.cart-items {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.fulfillment-box {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
    text-align: left;
}

.fulfillment-title {
    margin: 0;
    font-weight: 700;
}

.fulfillment-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.fulfillment-option {
    padding: 13px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--color-dark);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.fulfillment-option.is-active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.fulfillment-help {
    min-height: 20px;
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
}

.delivery-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    text-align: left;
}

.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 16px;
}

.delivery-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.delivery-field label {
    font-size: 15px;
    font-weight: 600;
}

.delivery-field select,
.delivery-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font: inherit;
}

.delivery-field textarea {
    resize: vertical;
    min-height: 96px;
}

.delivery-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.delivery-status {
    min-height: 20px;
    margin: 0;
    font-size: 14px;
}

.delivery-status.info {
    color: var(--color-muted);
}

.delivery-status.success {
    color: #0a7a28;
}

.delivery-status.error {
    color: #b42318;
}

.order-note-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    text-align: left;
}

.order-note-box label {
    font-size: 15px;
    font-weight: 600;
}

.order-note-box textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font: inherit;
    resize: vertical;
    min-height: 110px;
}

.order-note-help {
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-align: left;
}

.cart-item-info h3 {
    margin: 0 0 8px;
}

.cart-item-info p {
    margin: 6px 0;
    color: var(--color-muted);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-qty-value {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
}

.remove-btn {
    background: var(--color-danger);
    padding: 6px 10px;
    border-radius: 4px;
}

.qty-btn {
    padding: 5px 10px;
    margin: 0 5px;
    background: var(--color-primary);
    color: var(--color-light);
    border-radius: 4px;
}

.qty-btn:hover {
    background: var(--color-primary-hover);
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cart-summary h3 {
    margin: 0;
}

.summary-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.summary-breakdown p,
.summary-breakdown h3 {
    margin: 0;
}

.payment-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 240px;
}

.payment-details label {
    font-size: 14px;
    font-weight: 600;
}

.payment-details input {
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font: inherit;
}

.payment-status {
    min-height: 20px;
    margin: 0;
    font-size: 14px;
}

.payment-status.info {
    color: var(--color-muted);
}

.payment-status.success {
    color: #0a7a28;
}

.payment-status.error {
    color: #b42318;
}

.receipt-card {
    margin-top: 28px;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-align: left;
    background: #fcfcfc;
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.receipt-header h3 {
    margin: 0;
}

.receipt-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Keeps POS receipt printing off-screen without hiding its rendered content from the browser print engine. */
.background-receipt-print-frame {
    position: fixed;
    top: -10000px;
    left: -10000px;
    width: 1px;
    height: 1px;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

#print-receipt-btn {
    background: linear-gradient(45deg, #1a4d7a, #2b79b9);
}

#download-receipt-btn {
    background: linear-gradient(45deg, #0f766e, #14b8a6);
}

.receipt-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
    margin-bottom: 16px;
}

.receipt-grid p,
.receipt-section p {
    margin: 0;
}

.receipt-pos {
    width: min(100%, 320px);
    margin: 0 auto;
    display: grid;
    gap: 10px;
    font-size: 14px;
}

.receipt-pos-thermal {
    font-family: "Courier New", monospace;
    width: min(100%, 340px);
}

.receipt-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.receipt-kicker {
    margin: 0 0 6px;
    color: #0f766e;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 700;
}

.receipt-topline h4 {
    margin: 0;
    font-size: 22px;
}

.receipt-branding {
    display: flex;
    align-items: center;
    gap: 14px;
}

.receipt-branding-stack {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 8px;
}

.receipt-logo {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    background: #fff;
}

.receipt-branding-stack .receipt-logo {
    width: 72px;
    height: 72px;
    border-radius: 999px;
}

.receipt-thermal-brand {
    text-align: center;
}

.receipt-logo-thermal {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    margin: 0 auto 8px;
}

.receipt-thermal-brand h4 {
    margin: 0;
    font-size: 21px;
    text-transform: uppercase;
    line-height: 1.15;
}

.receipt-kicker-thermal {
    margin: 4px 0 0;
    color: var(--color-muted);
    letter-spacing: 0.14em;
}

.receipt-thermal-contact {
    margin: 2px 0 0;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.4;
}

.receipt-thermal-title {
    margin: 4px 0;
    text-align: center;
    font-size: 22px;
    letter-spacing: 0.04em;
}

.receipt-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #0a7a28;
    font-weight: 700;
}

.receipt-badge.is-success {
    background: #ecfdf5;
    color: #0a7a28;
}

.receipt-badge.is-neutral {
    background: #eff6ff;
    color: #1d4ed8;
}

.receipt-badge.is-pending { background: #fff6d9; color: #9a6500; }
.receipt-badge.is-accepted { background: #e6f2ff; color: #165db3; }
.receipt-badge.is-preparing { background: #f3eaff; color: #773aa9; }
.receipt-badge.is-out-for-delivery { background: #e7f5ff; color: #087596; }
.receipt-badge.is-dispatched { background: #e7f5ff; color: #087596; }
.receipt-badge.is-delivered { background: #ecfdf5; color: #0a7a28; }

.order-assignment-label {
    align-self: center;
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 700;
}

.receipt-section {
    margin-top: 14px;
}

.receipt-section-tight {
    margin-top: 0;
}

.receipt-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}

.receipt-section-title span {
    color: var(--color-muted);
    font-size: 14px;
}

.receipt-items-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.receipt-item-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}

.receipt-meta-box {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: #f8fafc;
}

.receipt-meta-box-pos,
.receipt-breakdown {
    display: grid;
    gap: 8px;
}

.receipt-meta-box-pos p,
.receipt-breakdown p {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.receipt-meta-box-pos p span,
.receipt-breakdown p strong {
    text-align: right;
}

.receipt-breakdown p {
    font-size: 14px;
}

.receipt-divider {
    border-top: 1px dashed #cbd5e1;
}

.receipt-divider-thermal {
    border-top-color: #94a3b8;
    margin: 8px 0;
}

.receipt-chip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.receipt-reference {
    color: var(--color-muted);
    font-size: 12px;
    text-align: right;
    word-break: break-word;
}

.receipt-thermal-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
}

.receipt-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 2px solid var(--color-dark);
    font-size: 18px;
}

.receipt-total-row strong {
    font-size: 22px;
}

.receipt-total-row-pos {
    margin-top: 8px;
}

.receipt-thank-you {
    margin: 4px 0 0;
    text-align: center;
    color: var(--color-muted);
    font-size: 13px;
}

.receipt-thank-you-thermal {
    margin: 12px 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
}

.receipt-grid-pos {
    grid-template-columns: 1fr;
    gap: 8px;
}

.receipt-grid-pos p {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.receipt-grid-pos p span {
    flex: 1;
    text-align: right;
}

.receipt-grid-pos p strong,
.receipt-meta-box-pos p strong {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
}

.receipt-card .receipt-header h3::after {
    content: " (POS Size)";
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 600;
}

.receipt-thermal-table-head,
.receipt-thermal-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    align-items: start;
}

.receipt-thermal-table-head {
    font-size: 12px;
    font-weight: 700;
}

.receipt-items-list-thermal {
    display: grid;
    gap: 0;
}

.receipt-thermal-item {
    padding: 7px 0;
    border-bottom: 1px dotted #cbd5e1;
    font-size: 13px;
}

.receipt-thermal-item-price {
    white-space: nowrap;
}

.receipt-thermal-count {
    margin: 10px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
}

.receipt-breakdown-thermal p {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.receipt-total-row-thermal {
    font-size: 22px;
}

.receipt-total-row-thermal strong {
    font-size: 30px;
}

.receipt-thermal-details {
    display: grid;
    gap: 7px;
    font-size: 12px;
}

.receipt-thermal-details p {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
}

.receipt-thermal-details p span {
    text-align: right;
}


.payment-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2000;
}

.payment-modal.is-visible {
    display: flex;
}

.payment-modal-box {
    width: min(100%, 420px);
    background: var(--color-light);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.payment-modal-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.payment-modal-box p {
    margin-bottom: 18px;
}

.payment-modal.success .payment-modal-box {
    border-top: 5px solid #0a7a28;
}

.payment-modal.error .payment-modal-box {
    border-top: 5px solid #b42318;
}

.payment-modal.info .payment-modal-box {
    border-top: 5px solid #2b79b9;
}

.cart-summary-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.orders-list {
    display: grid;
    gap: 18px;
}

.admin-login-card {
    max-width: 460px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-light);
    text-align: left;
    box-shadow: var(--shadow-soft);
}

.admin-login-card h3 {
    margin: 0;
}

.tenant-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.tenant-login-brand > div:last-child {
    min-width: 0;
}

.tenant-login-brand h1,
.tenant-login-brand h3,
.tenant-login-brand p {
    margin: 0;
}

.tenant-login-logo,
.tenant-login-logo-fallback {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border: 1px solid #d9e4db;
    border-radius: 15px;
    background: #f7faf5;
}

.tenant-login-logo {
    object-fit: contain;
    padding: 5px;
    box-sizing: border-box;
}

.tenant-login-logo-fallback {
    display: grid;
    place-items: center;
    background: #174c35;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.tenant-login-brand h1,
.tenant-login-brand h3 {
    overflow-wrap: anywhere;
}

.admin-login-card input,
.admin-login-card select {
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font: inherit;
}

.admin-toolbar-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-body {
    background: #eef2f7;
}

.admin-login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.admin-app {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
}

.admin-sidebar {
    background: linear-gradient(180deg, #2f8f57, #2f9d57);
    color: #fff;
    padding: 28px 20px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
}

.admin-brand-badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.admin-brand h1,
.admin-brand p {
    margin: 0;
}

.admin-brand p {
    margin-top: 4px;
    opacity: 0.9;
    font-size: 14px;
}

.admin-nav {
    display: grid;
    gap: 10px;
}

.admin-nav-btn {
    text-align: left;
    background: transparent;
    color: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: none;
    transform: none;
}

.admin-nav-btn:hover,
.admin-nav-btn.is-active {
    background: rgba(0, 0, 0, 0.14);
    box-shadow: none;
    transform: none;
}

.admin-main {
    padding: 28px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-topbar h2 {
    margin: 0 0 6px;
    font-size: 40px;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.order-sound-btn {
    min-height: 42px;
    border: 1px solid #f59e0b;
    border-radius: 999px;
    padding: 9px 14px;
    background: #fff7ed;
    color: #9a3412;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.order-sound-btn.is-enabled {
    border-color: #16a34a;
    background: #ecfdf3;
    color: #166534;
}

.order-sound-btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.admin-notification-wrap {
    position: relative;
}

.admin-notification-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: none;
    background: #fff;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    font-size: 20px;
}

.admin-notification-count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-notification-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(420px, calc(100vw - 32px));
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    border: 1px solid var(--color-border);
    z-index: 20;
}

.admin-notification-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.admin-notification-list {
    display: grid;
    gap: 12px;
    max-height: 420px;
    overflow-y: auto;
}

.admin-notification-item {
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--color-border);
}

.admin-notification-item-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.admin-notification-item p,
.admin-notification-item small {
    margin: 0;
    color: #475569;
}

.admin-notification-empty {
    margin: 0;
    color: #64748b;
    text-align: center;
    padding: 18px 8px;
}

.admin-user-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: #333;
    box-shadow: var(--shadow-soft);
    font-weight: 600;
}

.admin-owner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: #1f2937;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    font-weight: 600;
}

.admin-sections {
    display: block;
}

.admin-panel {
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-light);
    box-shadow: var(--shadow-soft);
    text-align: left;
}

.admin-section {
    display: none;
}

.admin-section.is-active {
    display: block;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.admin-stat-card,
.admin-surface {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

.admin-stat-card p,
.admin-stat-card h3 {
    margin: 0;
}

.admin-stat-card p {
    color: #697386;
    margin-bottom: 10px;
    font-weight: 600;
}

.admin-stat-card h3 {
    font-size: 24px;
}

.admin-surface {
    margin-bottom: 20px;
}

.admin-surface-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.admin-surface-header h3 {
    margin: 0;
    font-size: 30px;
}

.admin-monitor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-monitor-card {
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: #fafafa;
    padding: 18px;
}

.admin-monitor-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.admin-monitor-card-header h4 {
    margin: 0;
    font-size: 20px;
}

.admin-monitor-list {
    display: grid;
    gap: 10px;
}

.admin-monitor-item {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: #fff;
}

.admin-monitor-item strong {
    font-size: 14px;
}

.admin-monitor-item span {
    color: #697386;
    font-size: 13px;
    word-break: break-word;
}

.admin-block-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 11px;
    font-weight: 700;
    vertical-align: middle;
}

.admin-log-item.is-error {
    border-color: rgba(220, 38, 38, 0.25);
    background: #fff5f5;
}

.admin-log-item.is-warn {
    border-color: rgba(245, 158, 11, 0.25);
    background: #fffbeb;
}

.admin-log-item.is-fatal {
    border-color: rgba(127, 29, 29, 0.3);
    background: #fef2f2;
}

.owner-report-page {
    min-height: 100vh;
    display: block;
}

.owner-report-main {
    max-width: 1200px;
    margin: 0 auto;
}

.owner-range-filter {
    min-width: 150px;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font: inherit;
    background: #fff;
    color: #1f2937;
}

.owner-report-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 2px solid var(--color-border);
    font-size: 20px;
    font-weight: 700;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.admin-table th {
    color: #697386;
    font-weight: 700;
    background: #f6f8fb;
}

.admin-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-action-btn {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #1f2937;
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 600;
    cursor: pointer;
}

.admin-action-btn-primary {
    border-color: #16a34a;
    background: #16a34a;
    color: #fff;
}

.admin-surface-header a.admin-action-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.admin-panel h3 {
    margin-top: 0;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.admin-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font: inherit;
}

.admin-field-wide {
    grid-column: 1 / -1;
}

.admin-repeat-list {
    display: grid;
    gap: 14px;
}

.admin-repeat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 12px;
    align-items: end;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #fafafa;
}

.admin-image-upload {
    display: grid;
    gap: 10px;
}

.admin-upload-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
}

.admin-upload-btn {
    border: 1px solid #16a34a;
    background: #f0fdf4;
    color: #166534;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
}

.admin-upload-status {
    color: #64748b;
    font-size: 14px;
}

.admin-image-preview {
    width: 100%;
    max-width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background: #fff;
}

.admin-slider-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.admin-repeat-row-compact {
    grid-template-columns: minmax(0, 1fr) auto;
}

.admin-user-row {
    grid-template-columns: minmax(0, 1.4fr) auto;
    align-items: center;
}

.admin-user-meta {
    display: grid;
    gap: 4px;
}

.admin-user-meta strong,
.admin-user-meta span,
.admin-user-meta small {
    margin: 0;
}

.admin-user-meta span,
.admin-user-meta small {
    color: #64748b;
}

.admin-auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.admin-auth-card {
    width: min(460px, 100%);
    display: grid;
    gap: 12px;
    padding: 28px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.admin-auth-card h1,
.admin-auth-card p {
    margin: 0;
}

.admin-auth-card input {
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font: inherit;
}

.admin-auth-card button {
    width: 100%;
}

.admin-helper-text {
    margin: 0 0 16px;
    color: #6b7280;
}

#admin-logout-btn {
    background: linear-gradient(45deg, #444, #222);
}

.order-card {
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-light);
    text-align: left;
    box-shadow: var(--shadow-soft);
}

#pay-btn {
    background: linear-gradient(45deg, #111, #333);
}

@media (max-width: 768px) {
    .admin-app {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        padding-bottom: 16px;
    }

    .admin-main {
        padding: 18px;
    }

    .admin-topbar {
        flex-direction: column;
    }

    .admin-topbar h2 {
        font-size: 32px;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-monitor-grid {
        grid-template-columns: 1fr;
    }

    .company-story-grid,
    .company-service-grid,
    .company-contact-grid,
    .company-audience,
    .company-process,
    .company-stat-row,
    .company-hero {
        grid-template-columns: 1fr;
    }

    .company-page {
        width: min(100%, calc(100% - 20px));
        padding-top: 18px;
    }

    .company-hero,
    .company-showcase,
    .company-process,
    .company-contact-band,
    .company-story-card,
    .company-audience-card {
        padding: 22px;
        border-radius: 24px;
    }

    .company-hero-actions {
        flex-direction: column;
    }

    .company-primary-link,
    .company-secondary-link,
    .company-back-link {
        width: 100%;
    }

    .company-brand-lockup {
        width: 100%;
        justify-content: flex-start;
    }

    .company-brand-logo {
        width: 72px;
        height: 72px;
    }

    .company-panel-visual {
        min-height: 220px;
    }

    .footer-credit-link {
        margin-top: 8px;
    }

    header {
        padding: 15px 20px;
    }

    nav a {
        margin-left: 15px;
        font-size: 14px;
    }

    .logo {
        font-size: 18px;
    }

    .site-logo-image {
        width: 42px;
        height: 42px;
    }

    .meal-container {
        flex-direction: column;
        align-items: center;
    }

    .cart-summary {
        flex-direction: column;
    }

    .delivery-grid {
        grid-template-columns: 1fr;
    }

    .cart-summary-actions {
        width: 100%;
        justify-content: center;
    }

    .payment-details {
        width: 100%;
    }

    .admin-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-toolbar-actions {
        width: 100%;
    }

    .admin-panel-header,
    .admin-repeat-row {
        grid-template-columns: 1fr;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-user-row {
        grid-template-columns: 1fr;
    }

    .admin-slider-upload-grid {
        grid-template-columns: 1fr;
    }

    .receipt-grid {
        grid-template-columns: 1fr;
    }

    .receipt-topline,
    .receipt-header,
    .receipt-section-title,
    .receipt-total-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* Public home page polish */
.hero {
    padding: 72px 24px;
    position: relative;
    overflow: hidden;
}

.hero-background-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 165, 0, 0.2), transparent 32%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.12), transparent 28%);
    pointer-events: none;
}

.hero-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 28px;
    align-items: center;
}

.hero-copy {
    text-align: left;
}

.hero-kicker,
.section-kicker {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 700;
    color: #ffd27f;
}

.hero-copy h2 {
    max-width: 680px;
    font-size: clamp(42px, 6vw, 66px);
    line-height: 1.04;
    margin-bottom: 18px;
}

.hero-copy p {
    max-width: 620px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-hours,
.hero-order-status {
    margin: 0 0 12px;
    max-width: 620px;
    font-size: 15px;
}

.hero-hours {
    color: rgba(255, 255, 255, 0.82);
}

.hero-order-status {
    font-weight: 600;
}

.hero-order-status.is-open {
    color: #dcfce7;
}

.hero-order-status.is-closed {
    color: #fecaca;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-secondary-link {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-highlights {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

.hero-panel {
    width: min(430px, 100%);
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    text-align: left;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img,
.hero-slide-placeholder {
    width: 100%;
    height: 100%;
}

.hero-slide img {
    display: block;
    object-fit: cover;
    object-position: center center;
    filter: saturate(0.95) contrast(0.92) brightness(0.45);
}

.hero-slide-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(22, 163, 74, 0.22));
}

.hero-panel-card {
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    color: #1d1d1d;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.hero-panel-card p,
.hero-panel-card h3 {
    margin: 0;
}

.hero-panel-card p {
    color: #697386;
    margin-bottom: 10px;
}

.hero-panel-card h3 {
    font-size: 24px;
    line-height: 1.35;
}

.hero-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero-slider-dots-inline {
    justify-content: flex-start;
    margin-top: 18px;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.36);
    box-shadow: none;
    transform: none;
}

.hero-slider-dot:hover,
.hero-slider-dot.is-active {
    background: #f59e0b;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.hero-metrics div {
    padding: 16px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.18);
}

.hero-countdown-card.is-warning {
    background: rgba(249, 115, 22, 0.24);
    box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.34), 0 12px 28px rgba(249, 115, 22, 0.18);
    animation: countdownPulse 1.4s ease-in-out infinite;
}

.hero-countdown-card.is-warning strong,
.hero-countdown-card.is-warning span {
    color: #fff7ed;
}

.hero-countdown-card.is-closed {
    background: rgba(220, 38, 38, 0.26);
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.34), 0 12px 28px rgba(220, 38, 38, 0.2);
}

.hero-countdown-card.is-closed strong,
.hero-countdown-card.is-closed span {
    color: #fff1f2;
}

.hero-metrics strong,
.hero-metrics span {
    display: block;
}

.hero-metrics strong {
    font-size: 20px;
    margin-bottom: 6px;
}

.hero-metrics span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

@keyframes countdownPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.home-strip {
    width: min(1180px, calc(100% - 32px));
    margin: -34px auto 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-strip-item {
    padding: 20px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    text-align: left;
}

.home-strip-item strong,
.home-strip-item span {
    display: block;
}

.home-strip-item strong {
    margin-bottom: 8px;
}

.home-strip-item span {
    color: var(--color-muted);
    line-height: 1.5;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 32px;
}

.section-heading .section-kicker {
    color: #0f766e;
}

.section-heading p:last-child {
    color: var(--color-muted);
}

.meal {
    width: min(100%, 320px);
    margin: 0;
    text-align: left;
}

.meal-media {
    position: relative;
}

.meal-media img {
    height: 210px;
}

.meal-price-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.82);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.meal-content {
    padding: 18px 18px 20px;
}

.meal-content h3 {
    margin: 0 0 8px;
}

.meal-content p {
    margin: 0;
    min-height: 48px;
}

.meal-meta {
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meal-category-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
    font-size: 13px;
    font-weight: 600;
}

.meal-stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(13, 148, 136, 0.12);
    color: #0f766e;
    font-size: 13px;
    font-weight: 600;
}

.meal-stock-badge.is-low {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
}

.meal-stock-badge.is-out {
    background: rgba(220, 38, 38, 0.14);
    color: #b91c1c;
}

.meal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.meal-actions button,
.meal-actions a {
    margin: 0;
    width: 100%;
    text-align: center;
}

.meal-actions a {
    padding: 12px 14px;
}

.cta-band {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 48px;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, #122117, #1c5d3a);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    text-align: left;
}

.cta-band h3,
.cta-band p {
    margin: 0;
}

.cta-band a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 999px;
    background: #fff;
    color: #16321f;
    text-decoration: none;
    font-weight: 700;
}

.trending-section {
    padding-bottom: 20px;
}

.trending-grid {
    margin-bottom: 0;
}

.category-filter-bar {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-filter-btn {
    border: 1px solid rgba(21, 128, 61, 0.18);
    background: #fff;
    color: #166534;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.category-filter-btn:hover,
.category-filter-btn.is-active {
    background: linear-gradient(135deg, #15803d, #16a34a);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(22, 163, 74, 0.2);
}

.site-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(24px);
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.92);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 3000;
}

.site-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* PlateRoute platform pages stay visually separate from restaurant operations screens. */
.super-admin-body {
    min-height: 100vh;
    margin: 0;
    background: #f4f7f5;
    color: #173126;
    font-family: "Poppins", sans-serif;
}

/* Public restaurant directory: a platform layer that does not disturb individual restaurant branding. */
.platform-customer-body { min-height: 100vh; margin: 0; background: #fffaf1; color: #20281f; font-family: "Poppins", sans-serif; }
.vendor-admin-body { min-height: 100vh; margin: 0; background: #fff9ef; color: #243324; font-family: "Poppins", sans-serif; }.vendor-studio { max-width: 1120px; margin: 0 auto; padding: 34px 22px 60px; }.vendor-studio-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }.vendor-studio-header p, .vendor-panel-heading p { margin: 0; color: #a45f00; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }.vendor-studio-header h1 { margin: 4px 0 0; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1; }.vendor-studio-header > div:last-child { display: flex; gap: 9px; }.vendor-studio-header a, .vendor-studio-header button, .vendor-panel button { border: 0; border-radius: 10px; padding: 10px 13px; background: #174c35; color: #fff; font: inherit; font-size: 0.78rem; font-weight: 700; text-decoration: none; cursor: pointer; }.vendor-studio-header a { background: #f0a000; }.vendor-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }.vendor-overview article { padding: 19px; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(95, 60, 5, 0.08); }.vendor-overview span { display: block; color: #75806e; font-size: 0.76rem; }.vendor-overview strong { display: block; margin-top: 6px; color: #174c35; font-size: 1.5rem; }.vendor-studio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }.vendor-panel { margin-top: 18px; padding: 22px; border: 1px solid #eee2cf; border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(95, 60, 5, 0.06); }.vendor-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }.vendor-panel-heading h2 { margin: 4px 0 0; font-size: 1.2rem; }.vendor-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }.vendor-form-grid label { display: grid; gap: 6px; color: #435644; font-size: 0.78rem; font-weight: 700; }.vendor-form-grid input { width: 100%; box-sizing: border-box; border: 1px solid #dce6d9; border-radius: 9px; padding: 11px; background: #fff; color: #203321; font: inherit; }.vendor-form-wide { grid-column: 1 / -1; }.vendor-form-grid button { background: #e99000; }.vendor-offer-list, .vendor-order-list { display: grid; gap: 10px; }.vendor-offer-row, .vendor-order-row { display: grid; align-items: center; gap: 12px; padding: 10px; border: 1px solid #eee7dc; border-radius: 12px; background: #fffdf9; }.vendor-offer-row { grid-template-columns: 52px minmax(0, 1fr) 110px auto; }.vendor-offer-row img { width: 52px; height: 52px; border-radius: 9px; object-fit: cover; background: #f2eee6; }.vendor-offer-row strong, .vendor-offer-row span, .vendor-order-row strong, .vendor-order-row span { display: block; }.vendor-offer-row span, .vendor-order-row span { margin-top: 3px; color: #708070; font-size: 0.73rem; }.vendor-offer-row select { border: 1px solid #dce6d9; border-radius: 8px; padding: 8px; background: #fff; font: inherit; font-size: 0.72rem; }.vendor-offer-row button { background: #b53a32; padding: 8px 10px; }.vendor-order-row { grid-template-columns: minmax(0, 1fr) auto; }.vendor-order-row > div:last-child { text-align: right; }.vendor-empty { margin: 0; padding: 20px; border-radius: 10px; background: #fffaf1; color: #748074; text-align: center; }
.platform-customer-header { display: flex; align-items: center; justify-content: space-between; padding: 20px clamp(20px, 6vw, 88px); background: #143d2b; }
.platform-customer-brand { color: #fff; font-size: 1.42rem; font-weight: 700; text-decoration: none; }.platform-customer-brand span { color: #ffbb3e; }
.platform-home-link { border: 1px solid rgba(255,255,255,0.5); border-radius: 999px; padding: 8px 13px; color: #fff; font-size: 0.82rem; text-decoration: none; }
.platform-header-actions { display: flex; align-items: center; gap: 12px; }.platform-search-toggle { display: inline-grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(20,61,43,0.16); border-radius: 50%; background: #fff; color: #143d2b; font-size: 1rem; cursor: pointer; }.platform-search-toggle:hover { transform: none; box-shadow: 0 5px 14px rgba(20,61,43,0.12); }.platform-search-panel { padding: 14px max(20px, calc((100vw - 1050px) / 2)); background: #f8f5ed; border-bottom: 1px solid #e7dfcf; }.platform-search-panel[hidden] { display: none; }.platform-search-panel label { display: block; margin-bottom: 6px; color: #31513c; font-size: 0.74rem; font-weight: 700; }.platform-search-panel input { width: min(100%, 680px); box-sizing: border-box; border: 1px solid rgba(20,61,43,0.2); border-radius: 12px; padding: 13px 15px; background: #fff; color: #143d2b; font: inherit; }.vendor-directory-hero { background: linear-gradient(120deg, #fff1d1, #f3c26a); }.vendor-directory-hero::after { border-color: rgba(139, 82, 0, 0.12); }
.restaurant-directory-hero { position: relative; overflow: hidden; padding: 25px max(20px, calc((100vw - 1050px) / 2)); background: linear-gradient(120deg, #e9f1d6, #f8cf73); }
.restaurant-directory-hero::after { content: ""; position: absolute; width: 400px; height: 400px; border: 48px solid rgba(20,61,43,0.11); border-radius: 50%; top: -280px; right: 8%; }
.restaurant-directory-hero > * { position: relative; z-index: 1; }.directory-kicker { margin: 0; color: #b15e00; font-size: 0.77rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.restaurant-directory-hero h1 { max-width: 620px; margin: 5px 0; color: #143d2b; font-size: clamp(2.15rem, 4.4vw, 3.8rem); line-height: 0.96; letter-spacing: -0.065em; }.restaurant-directory-hero > p:not(.directory-kicker) { max-width: 550px; margin: 0; color: #3b4b3a; }
.restaurant-search { display: grid; max-width: 650px; gap: 8px; margin-top: 28px; color: #31513c; font-size: 0.78rem; font-weight: 700; }.restaurant-search input { border: 1px solid rgba(20,61,43,0.2); border-radius: 14px; padding: 16px 18px; background: rgba(255,255,255,0.9); color: #143d2b; font: inherit; }
.restaurant-directory-section { max-width: 1120px; margin: 0 auto; padding: 54px 22px 72px; }.directory-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 25px; }.directory-heading h2 { margin: 5px 0 0; font-size: 2rem; }.directory-heading > span { color: #57705d; font-size: 0.85rem; }
.food-directory-section { padding-bottom: 18px; }.directory-category-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 22px; }.directory-category-btn { border: 1px solid #d8e5d8; border-radius: 999px; padding: 8px 13px; background: #fff; color: #2d623f; font: inherit; font-size: 0.76rem; font-weight: 700; cursor: pointer; }.directory-category-btn:hover, .directory-category-btn.is-active { background: #215d3b; border-color: #215d3b; color: #fff; transform: none; box-shadow: none; }
.trending-directory-section { padding-top: 22px; padding-bottom: 18px; }.platform-trending-card { border-color: #f1d79a; box-shadow: 0 10px 24px rgba(199, 128, 0, 0.1); }
.food-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }.food-directory-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); overflow: hidden; border: 1px solid #e7dfcf; border-radius: 14px; background: #fff; }.food-directory-card > img { width: 112px; height: 100%; min-height: 156px; object-fit: cover; background: #e6ece6; }.food-directory-card > div { padding: 15px; }.food-directory-card span { color: #286343; font-size: 0.72rem; font-weight: 700; }.food-directory-card h3 { margin: 5px 0; font-size: 1rem; line-height: 1.2; }.food-directory-card p { margin: 0; color: #738076; font-size: 0.72rem; }.food-directory-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; }.food-directory-card-footer strong { color: #143d2b; font-size: 0.9rem; }.food-directory-card-footer a { border-radius: 8px; padding: 7px 9px; background: #e99000; color: #fff; font-size: 0.72rem; font-weight: 700; text-decoration: none; }
.restaurant-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }.restaurant-directory-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); overflow: hidden; border: 1px solid #e7dfcf; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgba(68,48,11,0.08); }.restaurant-card-logo { display: grid; width: 72px; height: 72px; min-height: 0; place-items: center; align-self: start; box-sizing: border-box; margin: 14px 0 0 12px; padding: 7px; border: 1px solid #e2e8e1; border-radius: 13px; background: #f7faf5; }.restaurant-card-logo img { width: 100%; height: 100%; object-fit: contain; }.restaurant-card-content { padding: 14px; }.restaurant-card-content h2 { margin: 6px 0 4px; font-size: 1rem; line-height: 1.15; }.restaurant-card-content p { margin: 0; color: #607064; font-size: 0.74rem; }.restaurant-card-badges { display: flex; flex-wrap: wrap; gap: 5px; }.restaurant-open-badge, .business-type-badge { display: inline-block; border-radius: 999px; padding: 4px 7px; font-size: 0.64rem; font-weight: 700; }.restaurant-open-badge { background: #e8f5de; color: #397038; }.business-type-badge { background: #e8eff9; color: #315f98; }.business-type-badge.is-vendor, .business-type-inline.is-vendor { background: #fff0d1; color: #9a5b00; }.business-type-inline { display: inline-block; margin-left: 4px; padding: 2px 5px; border-radius: 999px; background: #e8eff9; color: #315f98; font-size: 0.6rem; font-style: normal; white-space: nowrap; }.restaurant-card-content dl { display: grid; gap: 6px; margin: 10px 0; }.restaurant-card-content dl div { display: flex; justify-content: space-between; gap: 8px; font-size: 0.68rem; }.restaurant-card-content dt { color: #78877a; }.restaurant-card-content dd { margin: 0; color: #254231; font-weight: 600; text-align: right; }.restaurant-card-content a { display: block; border-radius: 8px; padding: 8px; background: #e99000; color: #fff; font-size: 0.72rem; font-weight: 700; text-align: center; text-decoration: none; }.directory-empty { grid-column: 1 / -1; padding: 32px; border-radius: 14px; background: #fff; color: #66746a; text-align: center; }

.super-login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
    gap: 48px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 24px;
}

.super-login-intro {
    padding: 52px;
    border-radius: 30px;
    color: #fff;
    background: radial-gradient(circle at 80% 15%, #f5c468 0, transparent 28%), linear-gradient(135deg, #0c5a3d, #137c4f);
}

.super-kicker { color: #e6b64d; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.super-login-intro h1 { max-width: 610px; margin: 14px 0; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.05; }
.super-login-intro p { max-width: 500px; opacity: 0.85; }
.super-login-card, .super-panel { background: #fff; border: 1px solid #e1eae4; border-radius: 20px; box-shadow: 0 16px 38px rgba(20, 58, 38, 0.08); }
.super-login-card { padding: 34px; }
.super-login-card h2 { margin: 0 0 4px; }
.super-login-card p { color: #617269; }
.super-login-card label, .super-form-grid label, .super-settings-form label { display: grid; gap: 7px; color: #385246; font-size: 0.84rem; font-weight: 600; }
.super-login-card input, .super-form-grid input, .super-form-grid select, .super-settings-form input { width: 100%; box-sizing: border-box; border: 1px solid #d7e1da; border-radius: 10px; padding: 12px; background: #fff; font: inherit; }
.super-login-card button, .super-form-grid button, .super-settings-form button, .super-actions button { border: 0; border-radius: 10px; padding: 11px 15px; background: #157347; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.super-login-card button { width: 100%; margin-top: 14px; }
.super-dashboard { min-height: 100vh; display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.super-sidebar { display: flex; flex-direction: column; gap: 14px; padding: 30px 20px; color: #dbece0; background: #103f2c; }
.super-brand { color: #fff; font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.super-brand span { color: #f3bf4e; }
.super-sidebar > p { margin: 0 0 20px; color: #9bc4ab; font-size: 0.8rem; }
.super-sidebar nav { display: grid; gap: 7px; }
.super-sidebar nav a { padding: 10px; border-radius: 8px; color: inherit; text-decoration: none; }
.super-sidebar nav a:hover { background: rgba(255,255,255,0.11); }
.super-logout { margin-top: auto; border: 1px solid rgba(255,255,255,0.25); border-radius: 8px; padding: 10px; background: transparent; color: #fff; cursor: pointer; }
.super-content { max-width: 1280px; width: 100%; box-sizing: border-box; margin: 0 auto; padding: 38px; }
.super-page-header, .super-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.super-page-header { margin-bottom: 22px; }
.super-page-header h1 { margin: 5px 0 0; }
.super-secondary-btn { border: 1px solid #b9cebf; border-radius: 9px; padding: 10px 14px; background: #fff; color: #235c3e; font: inherit; font-weight: 600; cursor: pointer; }
.super-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.super-stat-grid article { padding: 22px; border-radius: 16px; background: #ecf5ed; }
.super-stat-grid span, .super-table small { display: block; color: #688075; font-size: 0.78rem; }
.super-stat-grid strong { display: block; margin-top: 8px; color: #0f5435; font-size: 1.65rem; }
.super-panel { margin-top: 22px; padding: 24px; }
.super-panel h2 { margin: 0; font-size: 1.1rem; }
.super-panel-heading p { margin: 5px 0 18px; color: #6b8075; font-size: 0.85rem; }
.super-table-wrap { overflow-x: auto; }
.super-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.85rem; }
.super-table th, .super-table td { padding: 14px 10px; border-bottom: 1px solid #e7eee9; vertical-align: top; }
.super-table th { color: #638075; font-size: 0.75rem; text-transform: uppercase; }
.super-status { display: inline-block; border-radius: 999px; padding: 5px 9px; font-size: 0.72rem; font-weight: 700; text-transform: capitalize; }
.super-status.active { background: #dff5e5; color: #136a38; }.super-status.pending { background: #fff1cd; color: #986200; }.super-status.suspended { background: #fee0df; color: #a4322e; }
.super-actions { display: flex; gap: 7px; align-items: center; }.super-actions button, .super-login-link { padding: 7px 9px; font-size: 0.75rem; }.super-login-link { border-radius: 8px; background: #e4f2e8; color: #135d39; font-weight: 700; text-decoration: none; }.super-actions .danger { background: #b83a35; }
.super-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }.super-form-wide { grid-column: 1 / -1; }
.super-settings-form { display: flex; align-items: end; gap: 12px; max-width: 420px; }.super-settings-form label { flex: 1; }

@media (max-width: 800px) {
    .super-login-shell, .super-dashboard { grid-template-columns: 1fr; }
    .super-login-intro { padding: 34px; }
    .super-sidebar { min-height: auto; }.super-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }.super-logout { margin-top: 10px; }
    .super-content { padding: 24px 16px; }.super-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .restaurant-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .food-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .super-login-shell { padding: 16px; gap: 18px; }.super-login-intro, .super-login-card, .super-panel { padding: 22px; }
    .super-form-grid, .super-stat-grid { grid-template-columns: 1fr; }.super-settings-form { display: grid; }
    .platform-customer-header { min-height: 58px; }.platform-home-link { font-size: 0.72rem; }.platform-search-toggle { width: 34px; height: 34px; }.restaurant-directory-hero { padding-top: 28px; padding-bottom: 28px; }.restaurant-directory-hero h1 { margin: 6px 0; font-size: clamp(2.1rem, 11vw, 3.1rem); }.restaurant-directory-hero > p:not(.directory-kicker) { margin-bottom: 0; font-size: 0.84rem; }.trending-directory-section { padding-top: 24px; }.restaurant-directory-section { padding-top: 34px; padding-bottom: 44px; }.restaurant-directory-grid { grid-template-columns: 1fr; }.restaurant-directory-card { grid-template-columns: 84px minmax(0, 1fr); }.restaurant-card-logo { width: 62px; height: 62px; margin: 12px 0 0 10px; padding: 6px; }.directory-heading { align-items: start; flex-direction: column; margin-bottom: 17px; }
    .vendor-studio { padding: 22px 14px 42px; }.vendor-studio-header { align-items: flex-start; flex-direction: column; }.vendor-overview, .vendor-studio-grid, .vendor-form-grid { grid-template-columns: 1fr; }.vendor-form-wide { grid-column: auto; }.vendor-offer-row { grid-template-columns: 44px minmax(0, 1fr); }.vendor-offer-row img { width: 44px; height: 44px; }.vendor-offer-row select, .vendor-offer-row button { grid-column: 2; }.vendor-order-row { grid-template-columns: 1fr; }.vendor-order-row > div:last-child { text-align: left; }
}

@media (max-width: 980px) {
    .company-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-showcase-heading {
        display: block;
    }

    .hero-shell,
    .home-strip,
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .hero {
        text-align: center;
    }

    .hero-copy p,
    .section-heading,
    .cta-band {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-highlights {
        justify-content: center;
    }

    .cta-band {
        flex-direction: column;
        text-align: center;
    }
}

/* Compact storefront proportions keep the first food cards close to the top on every device. */
.hero {
    min-height: 320px;
    padding: 44px 24px;
}

.hero-shell {
    width: min(1040px, 100%);
    gap: 22px;
}

.hero-copy h2 {
    max-width: 590px;
    font-size: clamp(36px, 5vw, 54px);
    margin: 0 0 12px;
}

.hero-copy p {
    font-size: 16px;
}

.hero-actions {
    margin-top: 18px;
}

.hero-actions a {
    padding: 11px 18px;
}

.hero-highlights {
    margin-top: 14px;
}

.hero-highlights span {
    padding: 7px 10px;
    font-size: 12px;
}

.hero-panel {
    width: min(350px, 100%);
    padding: 16px;
    border-radius: 20px;
}

.hero-panel-card {
    padding: 16px;
    border-radius: 14px;
}

.hero-panel-card h3 {
    font-size: 19px;
    line-height: 1.25;
}

.hero-metrics {
    gap: 8px;
    margin-top: 10px;
}

.hero-metrics div {
    padding: 11px;
    border-radius: 12px;
}

.hero-metrics strong {
    margin-bottom: 3px;
    font-size: 16px;
}

.hero-metrics span {
    font-size: 10px;
}

.meals {
    padding: 42px 18px;
}

.meal-container {
    gap: 18px;
}

.meal {
    width: min(100%, 230px);
}

.meal-media img {
    height: 150px;
}

.meal-price-tag {
    top: 9px;
    right: 9px;
    padding: 7px 9px;
    font-size: 12px;
}

.meal-content {
    padding: 13px 13px 15px;
}

.meal-content h3 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.meal-content p {
    min-height: 39px;
    font-size: 0.76rem;
    line-height: 1.35;
}

.meal-category-tag,
.meal-stock-badge {
    padding: 5px 8px;
    font-size: 10px;
}

.meal-actions {
    gap: 7px;
    margin-top: 11px;
}

.meal-actions button,
.meal-actions a {
    padding: 8px 9px;
    font-size: 0.72rem;
}

.home-vendor-storefront .hero,
.home-vendor-storefront .hero-shell {
    min-height: 320px;
}

.home-vendor-storefront .hero-copy h2 {
    font-size: clamp(34px, 4.4vw, 48px);
}

.home-vendor-storefront #menu.meals {
    padding-top: 34px;
}

.home-vendor-storefront .meal-container {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}

.vendor-offer-open {
    height: 155px;
}

.vendor-offer-content {
    padding: 13px;
}

@media (max-width: 768px) {
    .hero {
        min-height: 0;
        padding: 28px 16px 32px;
    }

    .hero-shell {
        display: block;
        width: min(620px, 100%);
    }

    .hero-copy h2,
    .home-vendor-storefront .hero-copy h2 {
        max-width: 420px;
        font-size: clamp(30px, 9vw, 40px);
        line-height: 1.02;
    }

    .hero-copy p {
        max-width: 430px;
        font-size: 14px;
    }

    .hero-panel {
        display: none;
    }

    .hero-actions {
        gap: 9px;
        margin-top: 15px;
    }

    .hero-actions a {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .hero-highlights {
        display: none;
    }

    .hero-slider-dots-inline {
        margin-top: 12px;
    }

    .meals {
        padding: 32px 12px 42px;
    }

    .section-heading {
        margin-bottom: 20px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .meal-container,
    .home-vendor-storefront .meal-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 11px;
        width: 100%;
    }

    .meal {
        width: 100%;
        margin: 0;
    }

    .meal-media img,
    .vendor-offer-open {
        height: 118px;
    }

    .meal-content,
    .vendor-offer-content {
        padding: 10px;
    }

    .meal-content h3,
    .vendor-offer-content h3 {
        font-size: 0.88rem;
    }

    .meal-content p,
    .vendor-offer-content p {
        min-height: 48px;
        margin: 6px 0 9px;
        font-size: 0.67rem;
    }

    .meal-meta {
        gap: 5px;
        margin-bottom: 5px;
    }

    .meal-category-tag,
    .meal-stock-badge,
    .vendor-offer-badge,
    .vendor-offer-price {
        padding: 4px 6px;
        font-size: 0.58rem;
    }

    .vendor-offer-badge,
    .vendor-offer-price {
        bottom: 7px;
    }

    .vendor-offer-badge {
        left: 7px;
    }

    .vendor-offer-price {
        right: 7px;
    }

    .meal-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px;
        margin-top: 7px;
    }

    .meal-actions button,
    .meal-actions a,
    .vendor-offer-details {
        padding: 7px 5px;
        font-size: 0.63rem;
    }

    .home-vendor-storefront .hero,
    .home-vendor-storefront .hero-shell {
        min-height: 280px;
    }
}

/* Responsive hardening: keep every PlateRoute workspace usable without page-level horizontal overflow. */
body {
    overflow-x: hidden;
}

img,
svg,
input,
select,
textarea,
button {
    max-width: 100%;
}

.admin-table-wrap,
.super-table-wrap {
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.site-toast {
    width: min(calc(100% - 28px), 520px);
    text-align: center;
}

@media (max-width: 800px) {
    .admin-sidebar {
        padding: 18px 16px;
    }

    .admin-brand {
        margin-bottom: 18px;
    }

    .admin-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .admin-nav-btn {
        min-height: 44px;
        padding: 9px 7px;
        text-align: center;
        font-size: 12px;
        line-height: 1.2;
    }

    .admin-main {
        padding: 16px 12px 28px;
    }

    .admin-topbar,
    .admin-surface-header,
    .admin-panel-header,
    .super-page-header,
    .super-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-topbar {
        gap: 14px;
    }

    .admin-topbar-actions,
    .admin-surface-header .admin-topbar-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-surface,
    .admin-stat-card,
    .admin-panel {
        padding: 16px;
    }

    .admin-surface-header h3 {
        font-size: 24px;
    }

    .admin-table {
        min-width: 680px;
        font-size: 12px;
    }

    .admin-table th,
    .admin-table td {
        padding: 11px 9px;
    }

    .admin-order-actions {
        min-width: 150px;
    }

    .admin-image-preview {
        height: auto;
        max-height: 180px;
    }

    .owner-report-total {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .super-table {
        min-width: 650px;
    }

    .super-actions {
        flex-wrap: wrap;
    }

    .vendor-studio-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .vendor-studio-header > div:last-child {
        flex-wrap: wrap;
    }

    .vendor-panel-heading {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .vendor-offer-row {
        grid-template-columns: 52px minmax(0, 1fr) 100px;
    }

    .vendor-offer-row button {
        grid-column: 2 / -1;
        justify-self: start;
    }
}

@media (max-width: 600px) {
    header {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 14px;
    }

    .logo-wrap {
        max-width: 100%;
    }

    .logo {
        overflow: hidden;
        font-size: 16px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    header nav {
        width: 100%;
        gap: 10px;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 2px 0 5px;
        scrollbar-width: thin;
    }

    header nav a,
    .cart-icon {
        flex: 0 0 auto;
        margin-left: 0;
        font-size: 12px;
    }

    .cart-icon {
        margin-right: 8px;
    }

    .cart-section {
        padding: 30px 12px;
    }

    .cart-container {
        padding: 14px;
    }

    .cart-summary {
        align-items: stretch;
        gap: 16px;
    }

    .summary-breakdown,
    .payment-details,
    .cart-summary-actions,
    .cart-summary-actions button {
        width: 100%;
    }

    .receipt-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .platform-customer-header {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
        padding: 13px 14px;
    }

    .platform-header-actions {
        width: 100%;
        gap: 6px;
    }

    .platform-home-link {
        flex: 1 1 0;
        padding: 8px 6px;
        font-size: 0.68rem;
        text-align: center;
        white-space: nowrap;
    }

    .platform-search-toggle {
        flex: 0 0 36px;
    }

    .platform-search-panel {
        padding: 12px 14px;
    }

    .restaurant-directory-section {
        padding-right: 14px;
        padding-left: 14px;
    }

    .directory-category-filters {
        gap: 6px;
    }

    .directory-category-btn {
        padding: 7px 10px;
        font-size: 0.7rem;
    }

    .admin-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-topbar-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .admin-topbar-actions .order-sound-btn {
        grid-column: 1 / -1;
    }

    .admin-topbar-actions .admin-notification-wrap,
    .admin-topbar-actions .admin-user-pill {
        justify-self: stretch;
    }

    .admin-topbar-actions .admin-user-pill {
        min-height: 42px;
        padding: 9px 12px;
    }

    .admin-notification-btn {
        width: 42px;
        height: 42px;
    }

    .admin-notification-panel {
        right: auto;
        left: 0;
        width: min(420px, calc(100vw - 24px));
    }

    .admin-surface-header .admin-topbar-actions {
        display: flex;
        flex-wrap: wrap;
    }

    .admin-form-grid,
    .admin-repeat-row,
    .admin-repeat-row-compact,
    .admin-user-row {
        grid-template-columns: 1fr;
    }

    .admin-upload-tools {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-upload-status {
        overflow-wrap: anywhere;
    }

    .super-sidebar {
        padding: 18px 14px;
    }

    .super-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .super-content {
        padding: 20px 12px 32px;
    }

    .super-panel,
    .super-login-intro,
    .super-login-card {
        padding: 18px;
    }

    .super-settings-form {
        width: 100%;
    }

    .vendor-studio {
        padding: 20px 12px 36px;
    }

    .vendor-overview {
        gap: 8px;
    }

    .vendor-overview article,
    .vendor-panel {
        padding: 14px;
    }

    .vendor-overview strong {
        font-size: 1.2rem;
    }

    .vendor-offer-row {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .vendor-offer-row select,
    .vendor-offer-row button {
        grid-column: 2;
        width: 100%;
    }

    /* Staff orders become compact cards so every detail stays visible on phones. */
    .staff-app .admin-table-wrap {
        overflow: visible;
    }

    .staff-app .admin-table {
        display: block;
        min-width: 0;
        font-size: 13px;
    }

    .staff-app .admin-table thead {
        display: none;
    }

    .staff-app .admin-table tbody {
        display: grid;
        gap: 12px;
    }

    .staff-app .admin-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 12px;
        padding: 13px;
        border: 1px solid var(--color-border);
        border-radius: 14px;
        background: #fff;
        box-shadow: var(--shadow-soft);
    }

    .staff-app .admin-table td {
        display: grid;
        gap: 3px;
        min-width: 0;
        padding: 8px 0;
        border-bottom: 1px solid #edf0f3;
        overflow-wrap: anywhere;
    }

    .staff-app .admin-table td::before {
        content: attr(data-label);
        color: #697386;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .staff-app .admin-table .staff-order-items {
        grid-column: 1 / -1;
    }

    .staff-app .admin-table td:nth-last-child(-n + 2) {
        grid-column: 1 / -1;
    }

    .staff-app .admin-table td:last-child {
        border-bottom: 0;
    }

    .staff-app .admin-order-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .staff-app .admin-order-actions .admin-action-btn,
    .staff-app .admin-order-actions .order-assignment-label {
        min-width: 0;
        text-align: center;
    }

    .staff-app #staff-stock-list .admin-repeat-row {
        gap: 14px;
        padding: 14px;
    }

    .staff-app #staff-stock-list .admin-repeat-row button {
        width: 100%;
    }

    /* Keep food cards large enough to browse comfortably while showing two per row. */
    .platform-customer-body .food-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .platform-customer-body .food-directory-card {
        grid-template-columns: 1fr;
    }

    .platform-customer-body .food-directory-card > img {
        width: 100%;
        height: 108px;
        min-height: 108px;
    }

    .platform-customer-body .food-directory-card > div {
        padding: 10px;
    }

    .platform-customer-body .food-directory-card span {
        font-size: 0.62rem;
    }

    .platform-customer-body .food-directory-card h3 {
        font-size: 0.85rem;
    }

    .platform-customer-body .food-directory-card p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.64rem;
        line-height: 1.35;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .platform-customer-body .food-directory-card-footer {
        margin-top: 9px;
    }

    .platform-customer-body .food-directory-card-footer strong {
        font-size: 0.78rem;
    }

    .platform-customer-body .food-directory-card-footer a {
        padding: 6px 7px;
        font-size: 0.62rem;
    }
}

/* Public business applications remain separate from customer ordering and admin screens. */
.business-registration-body {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #f7f0df, #eaf2e7 52%, #fef9ef);
    color: #203b2c;
    font-family: "Poppins", sans-serif;
}

.business-registration-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    gap: clamp(24px, 5vw, 72px);
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(32px, 7vw, 88px) 0;
}

.business-registration-intro {
    align-self: start;
    padding: 18px 0;
}

.business-registration-brand {
    display: inline-block;
    margin-bottom: 48px;
    color: #143d2b;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.business-registration-brand span {
    color: #e99000;
}

.business-registration-intro h1 {
    max-width: 580px;
    margin: 7px 0 16px;
    color: #143d2b;
    font-size: clamp(2.5rem, 5.5vw, 4.7rem);
    letter-spacing: -0.07em;
    line-height: 0.94;
}

.business-registration-intro > p:not(.directory-kicker):not(.business-registration-note) {
    max-width: 510px;
    color: #496054;
    font-size: 0.98rem;
    line-height: 1.65;
}

.business-registration-steps {
    display: grid;
    gap: 12px;
    margin: 32px 0 26px;
    padding: 0;
    list-style: none;
}

.business-registration-steps li {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(39, 89, 61, 0.14);
}

.business-registration-steps strong {
    color: #17623e;
}

.business-registration-steps span,
.business-registration-note {
    color: #61766a;
    font-size: 0.82rem;
}

.business-registration-note {
    max-width: 470px;
    margin: 0;
    padding: 13px 15px;
    border-left: 3px solid #e99000;
    background: rgba(255, 251, 239, 0.72);
    line-height: 1.5;
}

.business-registration-card {
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid rgba(29, 78, 51, 0.12);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 60px rgba(25, 73, 47, 0.12);
}

.business-registration-card-heading h2 {
    margin: 5px 0 7px;
    color: #143d2b;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -0.045em;
}

.business-registration-card-heading > p:last-child {
    margin: 0 0 24px;
    color: #64776d;
    font-size: 0.82rem;
    line-height: 1.55;
}

.business-registration-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.business-registration-form label,
.business-registration-account {
    display: grid;
    gap: 7px;
    color: #385246;
    font-size: 0.78rem;
    font-weight: 700;
}

.business-registration-form input,
.business-registration-form select,
.business-registration-form textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #d7e1da;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
    color: #203b2c;
    font: inherit;
    font-size: 0.9rem;
}

.business-registration-form textarea {
    resize: vertical;
}

.business-registration-wide,
.business-registration-account,
.business-registration-consent {
    grid-column: 1 / -1;
}

.business-registration-account {
    margin: 4px 0 0;
    padding: 16px;
    border: 1px solid #e3ebdf;
    border-radius: 14px;
    background: #fbfdf9;
}

.business-registration-account legend {
    padding: 0 5px;
    color: #215e3c;
    font-size: 0.86rem;
}

.business-registration-account > p {
    margin: 0 0 14px;
    color: #718176;
    font-size: 0.73rem;
    font-weight: 400;
}

.business-registration-consent {
    display: flex !important;
    align-items: flex-start;
    gap: 9px;
    color: #52675a !important;
    font-size: 0.76rem !important;
    font-weight: 500 !important;
    line-height: 1.45;
}

.business-registration-consent input {
    width: auto;
    margin-top: 3px;
}

.business-registration-consent a {
    color: #17623e;
    font-weight: 700;
}

/* Standalone legal pages keep policy content readable on small screens. */
.legal-page-body {
    min-height: 100vh;
    margin: 0;
    background: #f8f5ed;
    color: #22382b;
    font-family: "Poppins", sans-serif;
}

.legal-page-header,
.legal-page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(940px, calc(100% - 40px));
    margin: 0 auto;
}

.legal-page-header {
    padding: 22px 0;
}

.legal-page-brand {
    color: #143d2b;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
}

.legal-page-brand span {
    color: #e99000;
}

.legal-page-back {
    border: 1px solid #d7e1da;
    border-radius: 999px;
    padding: 8px 12px;
    color: #17623e;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.legal-page-shell {
    width: min(820px, calc(100% - 40px));
    margin: 22px auto 48px;
    padding: clamp(24px, 6vw, 58px);
    border: 1px solid #e5e0d3;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(41, 62, 45, 0.08);
}

.legal-page-kicker {
    margin: 0;
    color: #c56f00;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.legal-page-shell h1 {
    margin: 8px 0 14px;
    color: #143d2b;
    font-size: clamp(2.1rem, 6vw, 4rem);
    letter-spacing: -0.065em;
    line-height: 0.96;
}

.legal-page-lead {
    max-width: 660px;
    color: #53665a;
    font-size: 1rem;
    line-height: 1.7;
}

.legal-page-meta {
    margin: 18px 0 0;
    color: #78877a;
    font-size: 0.76rem;
    font-weight: 600;
}

.legal-page-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 34px;
    padding: 14px 0;
    border-top: 1px solid #e8ede7;
    border-bottom: 1px solid #e8ede7;
}

.legal-page-nav a {
    border-radius: 999px;
    padding: 6px 10px;
    background: #edf4e9;
    color: #17623e;
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
}

.legal-section {
    scroll-margin-top: 24px;
    margin-top: 30px;
}

.legal-section h2 {
    margin: 0 0 9px;
    color: #164b35;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
}

.legal-section p,
.legal-section li {
    color: #4c5e51;
    font-size: 0.88rem;
    line-height: 1.75;
}

.legal-section p {
    margin: 9px 0;
}

.legal-section ul {
    display: grid;
    gap: 7px;
    margin: 12px 0;
    padding-left: 21px;
}

.legal-section a,
.legal-page-footer a {
    color: #17623e;
    font-weight: 700;
}

.legal-page-footer {
    padding: 0 0 28px;
    color: #77867a;
    font-size: 0.73rem;
}

.platform-legal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px max(20px, calc((100vw - 1050px) / 2));
    border-top: 1px solid #e7dfcf;
    background: #fffdf8;
    color: #718075;
    font-size: 0.72rem;
}

.platform-legal-footer div {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.platform-legal-footer a {
    color: #28523b;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 560px) {
    .legal-page-header,
    .legal-page-footer,
    .legal-page-shell {
        width: min(100% - 28px, 820px);
    }

    .legal-page-header {
        padding: 16px 0;
    }

    .legal-page-shell {
        margin-top: 8px;
        padding: 24px 18px;
        border-radius: 18px;
    }

    .legal-page-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .platform-legal-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

.business-registration-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.business-registration-form button,
.super-application-actions button {
    border: 0;
    border-radius: 10px;
    padding: 12px 16px;
    background: #157347;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.business-registration-form button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.business-location-capture {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 16px;
    align-items: center;
    padding: 14px;
    border: 1px dashed #bdcfbf;
    border-radius: 12px;
    background: #f8fbf5;
}

.business-location-capture strong {
    color: #215e3c;
    font-size: 0.84rem;
}

.business-location-capture p {
    margin: 4px 0 0;
    color: #64776d;
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1.5;
}

.business-location-capture button,
.restaurant-location-action {
    border: 0;
    border-radius: 9px;
    padding: 10px 12px;
    background: #215e3c;
    color: #fff;
    font: inherit;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
}

.business-location-status {
    grid-column: 1 / -1;
    min-height: 1.2em;
    color: #61766a;
    font-size: 0.72rem;
}

.business-location-status.success,
.restaurant-location-status.success { color: #1b783f; }
.business-location-status.error,
.restaurant-location-status.error { color: #b13a2f; }

.business-registration-login-link {
    margin: 18px 0 0;
    color: #64776d;
    font-size: 0.76rem;
}

.business-registration-login-link a,
.directory-join-link {
    color: #17623e;
    font-weight: 700;
}

.business-registration-success {
    position: relative;
    overflow: hidden;
    margin-top: 4px;
    padding: 24px;
    border: 1px solid #b8ddc1;
    border-radius: 16px;
    background: linear-gradient(135deg, #f0faef, #ffffff 70%);
    color: #244433;
}

.business-registration-success::after {
    content: "";
    position: absolute;
    top: -54px;
    right: -40px;
    width: 144px;
    height: 144px;
    border-radius: 50%;
    background: rgba(36, 132, 70, 0.1);
}

.business-registration-success > * {
    position: relative;
    z-index: 1;
}

.business-registration-success-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #177245;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}

.business-registration-success h3 {
    margin: 4px 0 7px;
    color: #143d2b;
    font-size: 1.45rem;
}

.business-registration-success > p {
    margin: 0;
    color: #526f5b;
    font-size: 0.86rem;
    line-height: 1.55;
}

.business-registration-success-next {
    margin: 17px 0 14px;
    padding: 15px;
    border: 1px solid #d6e9d8;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
}

.business-registration-success-next strong {
    color: #1b613a;
}

.business-registration-success-next ul {
    display: grid;
    gap: 7px;
    margin: 10px 0 0;
    padding-left: 20px;
    color: #526f5b;
    line-height: 1.45;
}

.business-registration-success-note {
    font-size: 0.76rem !important;
}

.business-registration-success-link {
    display: inline-flex;
    margin-top: 18px;
    border-radius: 9px;
    padding: 10px 13px;
    background: #17623e;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.business-registration-success-link:hover,
.business-registration-success-link:focus-visible {
    background: #104a2d;
}

.directory-join-link {
    display: inline-flex;
    margin-top: 15px;
    border-radius: 999px;
    padding: 8px 12px;
    background: #143d2b;
    color: #fff;
    font-size: 0.74rem;
    text-decoration: none;
}

.super-application-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.super-application-details div {
    padding: 13px;
    border: 1px solid #e4ece5;
    border-radius: 10px;
    background: #fbfdfb;
}

.super-application-details dt {
    color: #6d8073;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.super-application-details dd {
    margin: 5px 0 0;
    color: #244433;
    font-size: 0.85rem;
    overflow-wrap: anywhere;
}

.super-application-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.super-application-actions .danger {
    background: #b83a35;
}

.restaurant-directory-meta {
    flex-wrap: wrap;
}

.restaurant-location-action {
    padding: 7px 10px;
    background: #215d3b;
    font-size: 0.7rem;
}

.restaurant-location-action:disabled {
    cursor: wait;
    opacity: 0.72;
}

.restaurant-location-status {
    color: #5d7463;
    font-size: 0.66rem;
}

.restaurant-card-location,
.restaurant-distance {
    display: block;
    margin-top: 4px;
    color: #607064;
    font-size: 0.64rem;
    line-height: 1.35;
}

.restaurant-distance {
    color: #1d6b43;
    font-weight: 700;
}

@media (max-width: 800px) {
    .business-registration-shell {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .business-registration-brand {
        margin-bottom: 28px;
    }
}

@media (max-width: 560px) {
    .business-registration-shell {
        width: min(100% - 24px, 620px);
        padding: 24px 0 36px;
    }

    .business-registration-intro {
        padding: 4px 4px 10px;
    }

    .business-registration-intro h1 {
        font-size: clamp(2.35rem, 13vw, 3.35rem);
    }

    .business-registration-steps li,
    .business-registration-form,
    .super-application-details {
        grid-template-columns: 1fr;
    }

    .business-registration-card {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .business-registration-account {
        padding: 13px;
    }

    .business-registration-success {
        padding: 20px 16px;
    }

    .business-location-capture {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .business-location-capture button {
        width: 100%;
    }

    .directory-join-link {
        font-size: 0.68rem;
    }
}
