
:root {
    --sauce-green: #2b5d61;
    --sauce-green-dark: #173f42;
    --sauce-mint: #eaf8f2;
    --sauce-cream: #fffaf2;
    --sauce-ink: #102023;
    --sauce-title: #07151b;
    --sauce-header-text: #ffffff;
    --sauce-header-background: #2b5d61;
    --sauce-description: #66717a;
    --sauce-background: #f3f5f4;
    --sauce-muted: #66737a;
    --sauce-line: #dfe7e3;
    --sauce-orange: #f0a51d;
    --sauce-red: #b84332;
    --white: #ffffff;
    --title-font: "Motter", motter, Georgia, "Times New Roman", serif;
}

@font-face {
    font-display: swap;
    font-family: "Motter";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/motter-corpus-itc-tt.ttf") format("truetype");
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

body {
    margin: 0;
    background: var(--sauce-background);
    color: var(--sauce-ink);
    font-family: "Inter", "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
    width: 100%;
}

html.is-loading,
body.is-loading {
    overflow: hidden;
}

.page-loader {
    align-items: center;
    background:
        radial-gradient(circle at 50% 38%, rgba(43, 93, 97, 0.12), transparent 32%),
        linear-gradient(180deg, #f5fbf8 0%, #ffffff 100%);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    transition: opacity 320ms ease, visibility 320ms ease;
    z-index: 10000;
}

.page-loader.is-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.page-loader-card {
    align-items: center;
    display: grid;
    gap: 18px;
    justify-items: center;
    text-align: center;
}

.page-loader-logo {
    display: block;
    height: auto;
    max-width: min(260px, 72vw);
    width: 220px;
}

.page-loader-spinner {
    animation: sauce-loader-spin 780ms linear infinite;
    border: 4px solid rgba(43, 93, 97, 0.16);
    border-radius: 999px;
    border-top-color: var(--sauce-green);
    height: 46px;
    width: 46px;
}

.page-loader p {
    color: var(--sauce-green);
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}

@keyframes sauce-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.brand-mark {
    color: var(--white);
    display: inline-grid;
    font-family: var(--title-font);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.7;
    text-align: center;
    text-transform: lowercase;
}

.brand-mark span:first-child {
    font-size: 2rem;
}

.brand-mark span:last-child {
    font-size: 1.35rem;
}

.unit-brand {
    color: var(--sauce-green);
    margin-bottom: 20px;
    transform: rotate(-3deg);
}

.unit-brand span:first-child {
    font-size: clamp(2.6rem, 6vw, 4rem);
}

.unit-brand span:last-child {
    font-size: clamp(1.75rem, 4vw, 2.65rem);
}

.store-logo-link {
    display: inline-flex;
    margin-bottom: 22px;
}


.store-logo {
    display: block;
    height: auto;
    max-width: min(300px, 74vw);
    width: 260px;
}

.menu-logo-link {
    flex: 0 1 154px;
    margin-bottom: 0;
    min-width: 0;
}

.menu-logo {
    max-width: 42vw;
    width: clamp(118px, 38vw, 154px);
}

.site-shell {
    min-height: 100vh;
    padding: 32px 18px;
    width: 100%;
}

.unit-page {
    align-items: center;
    background:
        radial-gradient(
            circle at 18% 12%,
            color-mix(in srgb, var(--sauce-green) 18%, transparent) 0%,
            transparent 30%
        ),
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--sauce-green) 13%, var(--sauce-background)) 0%,
            var(--sauce-background) 58%,
            color-mix(in srgb, var(--sauce-background) 84%, #ffffff) 100%
        );
    display: flex;
    justify-content: center;
}

.unit-picker {
    background: var(--sauce-background);
    border: 1px solid rgba(43, 93, 97, 0.12);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(26, 61, 58, 0.14);
    max-width: 1080px;
    padding: clamp(28px, 5vw, 52px);
    width: min(100%, 1080px);
}

.unit-heading {
    margin: 0 auto 28px;
    max-width: 760px;
    min-width: 0;
    text-align: center;
}

.step-label {
    color: var(--sauce-green);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.display-title {
    color: var(--sauce-title);
    font-family: var(--title-font);
    font-size: clamp(2.4rem, 6vw, 4.7rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.95;
    margin: 0;
}

.unit-heading p {
    color: var(--sauce-description);
    font-size: clamp(1rem, 2vw, 1.18rem);
    font-weight: 600;
    margin: 14px auto 0;
    max-width: 540px;
}

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

.unit-card {
    background: var(--white);
    border: 1px solid rgba(43, 93, 97, 0.18);
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(21, 48, 44, 0.13);
    display: grid;
    gap: 16px;
    overflow: hidden;
    padding: 10px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.unit-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 22px) / 2);
}

.unit-card:hover,
.unit-card:focus-visible {
    border-color: rgba(43, 93, 97, 0.7);
    box-shadow: 0 24px 54px rgba(21, 48, 44, 0.2);
    outline: 0;
    transform: translateY(-3px);
}

.unit-photo {
    align-items: flex-end;
    aspect-ratio: 16 / 7;
    background: var(--sauce-green);
    border-radius: 14px;
    display: flex;
    isolation: isolate;
    min-height: 180px;
    overflow: hidden;
    padding: 24px;
    position: relative;
}

.unit-photo img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
    z-index: -2;
}

.unit-photo::before {
    background:
        linear-gradient(90deg, rgba(234, 248, 242, 0.9) 0%, rgba(234, 248, 242, 0.62) 42%, rgba(255, 255, 255, 0.16) 100%),
        linear-gradient(0deg, rgba(43, 93, 97, 0.1), rgba(43, 93, 97, 0.1));
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
}

.unit-card.empty-photo .unit-photo::before {
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.26), transparent 30%),
        linear-gradient(135deg, var(--sauce-green), #1c4448 55%, #0f2427);
}

.unit-card h2 {
    color: var(--sauce-title);
    font-family: var(--title-font);
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 900;
    margin: 0;
}

.unit-card.empty-photo h2 {
    color: var(--white);
}

.unit-card-info {
    display: grid;
    gap: 6px;
}

.unit-select-hint {
    align-items: center;
    background: var(--sauce-green);
    border-radius: 999px;
    color: var(--white);
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    justify-self: start;
    padding: 7px 11px;
}

.unit-card.empty-photo .unit-select-hint {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.unit-qr-code {
    align-items: center;
    background: var(--white);
    border: 1px solid rgba(43, 93, 97, 0.16);
    border-radius: 16px;
    display: grid;
    gap: 10px;
    justify-items: center;
    padding: 18px;
}

.unit-qr-code img {
    aspect-ratio: 1 / 1;
    height: clamp(150px, 22vw, 210px);
    object-fit: contain;
    width: clamp(150px, 22vw, 210px);
}

.unit-qr-code span {
    color: var(--sauce-green-dark);
    font-size: 0.86rem;
    font-weight: 900;
}

.empty-panel {
    border: 1px dashed rgba(43, 93, 97, 0.35);
    border-radius: 18px;
    color: var(--sauce-muted);
    padding: 28px;
    text-align: center;
}

.menu-page {
    background: var(--sauce-background);
    min-height: 100vh;
    padding-bottom: 44px;
    width: 100%;
}

.menu-hero {
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--sauce-header-background) 78%, #000000) 0%,
            var(--sauce-header-background) 58%,
            color-mix(in srgb, var(--sauce-header-background) 88%, #ffffff) 100%
        );
    color: var(--sauce-header-text);
    padding: 18px 18px 28px;
    width: 100%;
}

.menu-hero-inner,
.menu-toolbar,
.menu-content {
    margin: 0 auto;
    max-width: 1120px;
    min-width: 0;
    width: 100%;
}

.menu-nav {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    min-height: 68px;
    min-width: 0;
}

.change-unit {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    color: var(--sauce-header-text);
    font-size: 0.94rem;
    font-weight: 800;
    min-height: 46px;
    padding: 13px 18px;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
    white-space: nowrap;
}

.change-unit-short {
    display: none;
}

.change-unit:hover,
.change-unit:focus-visible {
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0 12px 26px rgba(7, 18, 20, 0.18);
    color: var(--sauce-green);
    outline: 0;
    transform: translateY(-1px);
}

.change-unit:active {
    transform: translateY(0);
}

.menu-intro {
    padding: 22px 0 12px;
}

.menu-intro h1 {
    font-family: var(--title-font);
    font-size: clamp(2.25rem, 9vw, 4.8rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.92;
    margin: 0;
}

.menu-intro p {
    color: var(--sauce-header-text);
    font-size: 1.02rem;
    font-weight: 600;
    margin: 12px 0 0;
    max-width: min(620px, 100%);
}

.menu-unit-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: var(--sauce-header-text);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-top: 18px;
    padding: 7px 12px;
}

.menu-toolbar-wrap {
    background: var(--white);
    border-bottom: 1px solid var(--sauce-line);
    position: sticky;
    top: 0;
    z-index: 20;
}

.menu-toolbar {
    padding: 12px 18px 14px;
}

.search-box {
    align-items: center;
    background: #f9fbfa;
    border: 1px solid #d8e1dd;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
}

.search-box svg {
    color: #8a9598;
    flex: 0 0 auto;
}

.search-box input {
    background: transparent;
    border: 0;
    color: var(--sauce-ink);
    min-width: 0;
    outline: 0;
    width: 100%;
}

.category-scroll {
    margin-top: 12px;
    position: relative;
}

.category-scroll::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--white));
    content: "";
    inset: 0 0 6px auto;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 160ms ease;
    width: 64px;
    z-index: 1;
}

.category-scroll.can-scroll-right::after {
    opacity: 1;
}

.category-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0 48px 6px 0;
    scroll-behavior: smooth;
    scroll-padding: 48px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    background: #edf0f1;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #344044;
    flex: 0 0 auto;
    font-size: 0.92rem;
    font-weight: 800;
    min-height: 44px;
    padding: 11px 15px;
    scroll-snap-align: start;
}

.category-tab.active {
    background: var(--sauce-green);
    border-color: var(--sauce-green-dark);
    color: var(--white);
}

.category-scroll-button {
    align-items: center;
    background: var(--sauce-green);
    border: 2px solid var(--white);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(7, 18, 20, 0.16);
    color: var(--white);
    cursor: pointer;
    display: flex;
    height: 40px;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.92);
    transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease;
    width: 40px;
    z-index: 2;
}

.category-scroll-button-left {
    left: 0;
}

.category-scroll-button-right {
    right: 0;
}

.category-scroll-button:hover,
.category-scroll-button:focus-visible {
    background: var(--sauce-green-dark);
    outline: 0;
    transform: translateY(-50%) scale(1);
}

.category-scroll.can-scroll-left .category-scroll-button-left,
.category-scroll.can-scroll-right .category-scroll-button-right {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.menu-content {
    padding: 30px 18px;
}

.category-section {
    margin-top: 36px;
}

.category-section.is-first-visible {
    margin-top: 0;
}

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

.category-header h2 {
    border-left: 4px solid var(--sauce-green);
    color: var(--sauce-title);
    font-family: var(--title-font);
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    padding-left: 14px;
}

.item-count {
    color: var(--sauce-description);
    font-size: 0.82rem;
    font-weight: 800;
}

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

.product-card {
    background: var(--white);
    border: 1px solid rgba(218, 226, 222, 0.85);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(16, 32, 35, 0.04);
    cursor: pointer;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) 128px;
    min-height: 150px;
    padding: 16px;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    width: 100%;
}

.product-card:hover,
.product-card:focus-visible {
    border-color: rgba(43, 93, 97, 0.55);
    box-shadow: 0 18px 38px rgba(16, 32, 35, 0.08);
    outline: 0;
    transform: translateY(-2px);
}

.product-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-info h3 {
    color: var(--sauce-title);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
}

.product-info p {
    color: var(--sauce-description);
    display: -webkit-box;
    font-size: 0.92rem;
    line-height: 1.42;
    margin: 8px 0 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.price {
    color: var(--sauce-green);
    font-size: 1.04rem;
    font-weight: 950;
    margin-top: auto;
    padding-top: 18px;
}

.product-action {
    align-items: center;
    color: var(--sauce-green);
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 900;
    margin-top: 8px;
}

.product-action::after {
    content: ">";
    margin-left: 6px;
}

.product-photo,
.product-placeholder {
    align-self: center;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    height: 128px;
    overflow: hidden;
    width: 128px;
}

.product-photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-placeholder {
    align-items: center;
    background: #f4f6f5;
    color: #b4bdc0;
    display: flex;
    justify-content: center;
}

.product-placeholder svg {
    height: 42px;
    width: 42px;
}

.no-results {
    background: var(--white);
    border: 1px dashed #d5dfdc;
    border-radius: 14px;
    color: var(--sauce-muted);
    display: none;
    font-weight: 700;
    margin-top: 24px;
    padding: 24px;
    text-align: center;
}

.modal-backdrop {
    align-items: center;
    background: rgba(7, 18, 20, 0.58);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 18px;
    position: fixed;
    z-index: 50;
}

.modal-backdrop.open {
    display: flex;
}

.product-modal {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    max-height: min(88vh, 760px);
    max-width: 980px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.modal-top {
    align-items: center;
    border-bottom: 1px solid var(--sauce-line);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 18px 0 22px;
}

.modal-product-title {
    align-items: baseline;
    color: var(--sauce-title);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.98rem;
    font-weight: 950;
    gap: 7px;
    min-width: 0;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.modal-product-category,
.modal-product-separator {
    color: var(--sauce-green);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.modal-close {
    align-items: center;
    background: var(--white);
    border: 2px solid var(--sauce-green);
    border-radius: 999px;
    color: var(--sauce-green);
    cursor: pointer;
    display: flex;
    gap: 7px;
    justify-content: center;
    min-height: 44px;
    padding: 0 13px 0 15px;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.modal-close span {
    font-size: 0.86rem;
    font-weight: 900;
}

.modal-close:hover,
.modal-close:focus-visible {
    background: var(--sauce-green);
    box-shadow: 0 10px 22px rgba(43, 93, 97, 0.18);
    color: var(--white);
    outline: 0;
    transform: translateY(-1px);
}

.modal-close:active {
    transform: translateY(0);
}

.modal-body {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
    padding: 22px;
}

.modal-product-nav {
    align-items: center;
    background: var(--sauce-green);
    border: 2px solid rgba(255, 255, 255, 0.84);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(7, 18, 20, 0.2);
    color: var(--white);
    cursor: pointer;
    display: flex;
    height: 48px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
    width: 48px;
    z-index: 3;
}

.modal-product-nav[hidden] {
    display: none;
}

.modal-product-nav:hover,
.modal-product-nav:focus-visible {
    background: #173f42;
    box-shadow: 0 16px 34px rgba(7, 18, 20, 0.26);
    outline: 0;
    transform: translateY(-50%) scale(1.04);
}

.modal-product-nav-prev {
    left: 12px;
}

.modal-product-nav-next {
    right: 12px;
}

.modal-image {
    aspect-ratio: 1 / 1;
    background: var(--white);
    border-radius: 12px;
    height: fit-content;
    overflow: hidden;
    transform: translateZ(0);
}

.modal-carousel {
    border-radius: 12px;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.modal-carousel img {
    border-radius: 12px;
    display: block;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    width: 100%;
}

.modal-carousel-placeholder {
    border-radius: 12px;
}

.modal-carousel-button {
    align-items: center;
    backdrop-filter: blur(8px);
    background: rgba(7, 18, 20, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 9px;
    bottom: 12px;
    color: var(--white);
    cursor: pointer;
    display: flex;
    height: 30px;
    justify-content: center;
    position: absolute;
    top: auto;
    transform: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
    width: 34px;
    z-index: 2;
}

.modal-carousel-button:hover,
.modal-carousel-button:focus-visible {
    background: rgba(7, 18, 20, 0.76);
    border-color: rgba(255, 255, 255, 0.84);
    outline: 0;
    transform: translateY(-1px);
}

.modal-carousel-button svg {
    height: 17px;
    width: 17px;
}

.modal-carousel-button-prev {
    right: calc(50% + 58px);
}

.modal-carousel-button-next {
    left: calc(50% + 58px);
}

.modal-carousel-dots {
    align-items: center;
    backdrop-filter: blur(8px);
    background: rgba(7, 18, 20, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 9px;
    bottom: 12px;
    display: flex;
    gap: 6px;
    left: 50%;
    min-height: 30px;
    padding: 0 10px;
    position: absolute;
    transform: translateX(-50%);
}

.modal-carousel-dots button {
    background: rgba(255, 255, 255, 0.54);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 9px;
    padding: 0;
    width: 9px;
}

.modal-carousel-dots button.active {
    background: var(--white);
    width: 22px;
}

.modal-detail {
    display: flex;
    flex-direction: column;
}

.modal-detail p {
    color: var(--sauce-description);
    line-height: 1.58;
    margin: 0;
}

.modal-price {
    color: var(--sauce-green);
    font-size: 1.62rem;
    font-weight: 950;
    margin-top: 22px;
}

.modal-price + #modalProductDescription {
    margin-top: 10px;
}

.modal-video-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.modal-video-actions[hidden] {
    display: none;
}

.modal-video-button {
    align-items: center;
    background: var(--sauce-green);
    border: 2px solid var(--sauce-green);
    border-radius: 999px;
    color: var(--white);
    cursor: pointer;
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    min-height: 46px;
    padding: 0 16px;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.modal-video-button:hover,
.modal-video-button:focus-visible {
    background: var(--white);
    box-shadow: 0 12px 24px rgba(43, 93, 97, 0.18);
    color: var(--sauce-green);
    outline: 0;
    transform: translateY(-1px);
}

.video-modal-backdrop {
    align-items: center;
    background: rgba(3, 9, 10, 0.92);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 14px;
    position: fixed;
    z-index: 70;
}

.video-modal-backdrop.open {
    display: flex;
}

.video-modal {
    background: #050b0c;
    border-radius: 18px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
    display: flex;
    flex-direction: column;
    height: min(100%, 900px);
    overflow: hidden;
    width: min(100%, 1180px);
}

.video-modal-top {
    align-items: center;
    color: var(--white);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    min-height: 64px;
    padding: 10px 14px 10px 18px;
}

.video-modal-top strong {
    font-size: 0.98rem;
    font-weight: 950;
    text-transform: uppercase;
}

.video-modal-close {
    align-items: center;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    color: var(--white);
    cursor: pointer;
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    min-height: 44px;
    padding: 0 13px 0 15px;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.video-modal-close:hover,
.video-modal-close:focus-visible {
    background: var(--white);
    color: #050b0c;
    outline: 0;
    transform: translateY(-1px);
}

.video-frame-wrap {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: center;
    min-height: 0;
    padding: 0 14px 18px;
}

.video-frame-wrap iframe {
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 14px;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    width: min(100%, 1080px);
}

.video-frame-wrap.is-shorts iframe {
    aspect-ratio: 9 / 16;
    height: min(100%, 760px);
    width: auto;
}

.waiter-note {
    background: var(--sauce-mint);
    border: 1px solid rgba(43, 93, 97, 0.18);
    border-radius: 12px;
    color: var(--sauce-green-dark);
    font-size: 0.92rem;
    font-weight: 800;
    margin-top: auto;
    padding: 14px;
}

@media (max-width: 860px) {
    .site-shell {
        padding: 18px 12px;
    }

    .unit-picker {
        border-radius: 20px;
        padding: 28px 18px;
    }

    .unit-grid,
    .product-grid,
    .modal-body {
        grid-template-columns: 1fr;
    }

    .unit-grid {
        justify-items: center;
    }

    .unit-card:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
    }

    .unit-card {
        gap: 14px;
        justify-self: center;
        max-width: 340px;
        width: 100%;
    }

    .unit-photo {
        aspect-ratio: 16 / 8.5;
        justify-content: center;
        min-height: 150px;
        padding: 20px;
    }

    .unit-card-info {
        justify-items: center;
        text-align: center;
    }

    .unit-qr-code img {
        height: 164px;
        width: 164px;
    }

    .unit-select-hint {
        font-size: 0.72rem;
        justify-self: center;
    }

    .product-card {
        grid-template-columns: minmax(0, 1fr) 104px;
        justify-self: stretch;
        min-height: 132px;
        width: 100%;
    }

    .product-photo,
    .product-placeholder {
        height: 104px;
        width: 104px;
    }

    .modal-backdrop {
        align-items: center;
        padding: 12px;
    }

    .product-modal {
        border-radius: 18px;
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
    }

    .modal-top {
        min-height: 68px;
        padding: 0 14px 0 18px;
    }

    .modal-product-nav {
        height: 44px;
        width: 44px;
    }

    .modal-product-nav-prev {
        left: 8px;
    }

    .modal-product-nav-next {
        right: 8px;
    }
}

@media (max-width: 520px) {
    .unit-page {
        align-items: stretch;
    }

    .unit-picker {
        margin: auto 0;
    }

    .display-title,
    .menu-intro h1 {
        font-size: 2.55rem;
    }

    .unit-heading p,
    .menu-intro p {
        max-width: 310px;
    }

    .menu-nav .brand-mark span:first-child {
        font-size: 1.65rem;
    }

    .menu-nav .brand-mark span:last-child {
        font-size: 1.1rem;
    }

    .menu-logo-link {
        flex-basis: 118px;
    }

    .menu-logo {
        width: 118px;
    }

    .menu-nav {
        justify-content: flex-start;
    }

    .change-unit {
        font-size: 0.86rem;
        min-height: 44px;
        padding: 12px 13px;
    }

    .change-unit-full {
        display: none;
    }

    .change-unit-short {
        display: inline;
    }

    .product-grid {
        gap: 12px;
        justify-items: stretch;
    }

    .product-card {
        border-radius: 10px;
        gap: 12px;
        grid-template-columns: minmax(0, 1fr) 88px;
        padding: 14px;
        width: 100%;
    }

    .product-photo,
    .product-placeholder {
        height: 88px;
        width: 88px;
    }

    .product-info p {
        -webkit-line-clamp: 1;
    }

    .modal-close {
        min-height: 42px;
        padding: 0 12px;
    }

    .modal-video-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .modal-video-button {
        justify-content: center;
        width: 100%;
    }

    .video-modal-backdrop {
        padding: 8px;
    }

    .video-modal {
        border-radius: 14px;
        height: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-loader,
    .page-loader-spinner {
        animation: none;
        transition: none;
    }
}
