* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

:root {
    --brand-primary: #111111;
    --brand-accent: #ef3f2f;
    --background: #f6f6f4;
    --surface: #ffffff;
    --text: #191919;
    --muted: #6d6d6d;
    --border: #e7e7e4;
    --success: #177344;
    --danger: #a52e26;
    --radius: 18px;
    --shadow: 0 10px 28px
        rgba(0, 0, 0, 0.07);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 125px;
}

body {
    margin: 0;
    padding-bottom: 90px;
    background: var(--background);
    color: var(--text);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.seo-intro {
    max-width: 920px;
    margin: 0 auto;
    padding: 34px 18px 20px;
    text-align: center;
}

.seo-intro h1 {
    margin: 5px 0 12px;
    font-size: clamp(2rem, 6vw, 3.7rem);
    line-height: 1.02;
}

.seo-intro > p:not(.section-heading__eyebrow) {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.65;
}

.seo-intro__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 20px;
}

.seo-intro__links a,
.seo-related-links a {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 13px;
    background: var(--surface);
    color: var(--text);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.local-seo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 1180px;
    margin: 10px auto 24px;
    padding: 0 16px;
}

.local-seo-grid article,
.seo-service-grid article {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.local-seo-grid h2,
.seo-service-grid h2 {
    margin: 6px 0 9px;
    font-size: 1.22rem;
}

.local-seo-grid p:not(.section-heading__eyebrow),
.seo-service-grid p:not(.section-heading__eyebrow) {
    color: var(--muted);
    line-height: 1.55;
}

.local-seo-grid a,
.seo-product-card a,
.seo-availability-note a {
    color: var(--brand-accent);
    font-weight: 850;
}

.seo-brand-link {
    color: inherit;
    text-decoration: none;
}

.seo-brand-link > span {
    display: block;
}

.seo-brand-link .topbar__name,
.seo-brand-link .topbar__location {
    display: block;
}

.seo-menu-link {
    color: var(--text);
    font-size: .8rem;
    font-weight: 850;
    text-decoration: none;
}

.seo-landing {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 16px 60px;
}

.seo-landing__hero {
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    overflow: hidden;
    border-radius: 28px;
    background: #151515;
    color: #fff;
    box-shadow: 0 18px 48px rgba(0,0,0,.16);
}

.seo-landing__hero-copy {
    align-self: center;
    padding: clamp(28px, 5vw, 58px);
}

.seo-landing__hero h1 {
    margin: 8px 0 17px;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1;
}

.seo-landing__hero-copy > p:not(.section-heading__eyebrow) {
    color: #d5d5d5;
    line-height: 1.7;
}

.seo-landing__hero img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: right center;
}

.seo-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.seo-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 13px 17px;
    font-weight: 900;
    text-decoration: none;
}

.seo-cta--primary {
    background: var(--brand-accent);
    color: #fff;
}

.seo-cta--secondary {
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.1);
    color: #fff;
}

.seo-products {
    padding: 54px 0 24px;
}

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

.seo-product-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.seo-product-card > img,
.seo-product-card__placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.seo-product-card__placeholder {
    display: grid;
    place-items: center;
    background: #ecece8;
    font-size: 3rem;
}

.seo-product-card > div:last-child {
    padding: 18px;
}

.seo-product-card h3 {
    margin: 3px 0 8px;
}

.seo-product-card p:not(.seo-product-card__category) {
    min-height: 42px;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.5;
}

.seo-product-card strong,
.seo-product-card a {
    display: block;
    margin-top: 11px;
}

.seo-product-card__category {
    margin: 0;
    color: var(--brand-accent);
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.seo-availability-note,
.seo-info-section {
    border: 1px solid #f0d9b8;
    border-radius: 20px;
    padding: 24px;
    background: #fff8eb;
}

.seo-availability-note h3,
.seo-availability-note p {
    margin-top: 0;
}

.seo-info-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 18px 0 32px;
}

.seo-info-section h2 {
    margin: 5px 0 8px;
}

.seo-info-section p:not(.section-heading__eyebrow) {
    margin-bottom: 0;
    color: var(--muted);
}

.seo-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.seo-related-links {
    padding: 28px 0 0;
}

.seo-related-links div {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.seo-footer {
    padding: 24px 16px 100px;
    color: var(--muted);
    font-size: .8rem;
    text-align: center;
}

@media (max-width: 800px) {
    .local-seo-grid,
    .seo-service-grid,
    .seo-product-grid {
        grid-template-columns: 1fr;
    }

    .seo-landing__hero {
        grid-template-columns: 1fr;
    }

    .seo-landing__hero img {
        min-height: 0;
        max-height: 330px;
        object-position: center;
    }

    .seo-info-section {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .seo-menu-link {
        display: none;
    }

    .seo-landing {
        padding-top: 12px;
    }

    .seo-landing__hero {
        border-radius: 20px;
    }

    .seo-cta-row,
    .seo-cta {
        width: 100%;
    }
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.topbar {
    position: sticky;
    z-index: 100;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.topbar__brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.topbar__logo,
.topbar__logo-placeholder {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
}

.topbar__logo {
    object-fit: cover;
}

.topbar__logo-placeholder {
    display: grid;
    place-items: center;
    background: var(--brand-primary);
    color: white;
    font-size: 0.84rem;
    font-weight: 900;
}

.topbar__name {
    overflow: hidden;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar__location {
    overflow: hidden;
    max-width: 190px;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-badge {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 0.72rem;
    font-weight: 800;
}

.status-badge--open {
    background: #ddf7e9;
    color: var(--success);
}

.status-badge--closed {
    background: #fbe6e4;
    color: var(--danger);
}

.hero {
    padding: 26px 18px;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 255, 255, 0.18),
            transparent 42%
        ),
        var(--brand-primary);
    color: white;
}

.hero__content {
    width: min(100%, 760px);
    margin: 0 auto;
}

.hero__eyebrow,
.section-heading__eyebrow {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__eyebrow {
    color: rgba(255, 255, 255, 0.74);
}

.hero h1 {
    max-width: 500px;
    margin: 0;
    font-size: clamp(2rem, 8vw, 3.7rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.hero__description {
    max-width: 560px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
    line-height: 1.55;
}

.hero__details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.hero__details span {
    border: 1px solid
        rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 8px 11px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    font-weight: 750;
}

.fulfillment,
.menu,
.location-card {
    width: min(100%, 920px);
    margin: 0 auto;
}

.fulfillment {
    padding: 24px 16px 14px;
}

.section-heading h2 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.section-heading__eyebrow {
    color: var(--brand-accent);
}

.fulfillment__options {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.fulfillment-card {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 14px;
    border: 2px solid #e7e7e2;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(20, 20, 18, 0.06);
    transition: border-color 160ms ease,
                box-shadow 160ms ease,
                transform 160ms ease;
    padding: 15px;
    background: var(--surface);
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.fulfillment-card--active {
    border-color: var(--brand-accent);
    box-shadow: 0 10px 28px rgba(239, 58, 35, 0.14);
}

.fulfillment-card:hover {
    transform: translateY(-1px);
}

.fulfillment-card__icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 15px;
    background: #f3f3f0;
    font-size: 1.4rem;
}

.fulfillment-card__content {
    display: grid;
    gap: 4px;
}

.fulfillment-card__content strong {
    font-size: 0.96rem;
}

.fulfillment-card__content small {
    color: var(--muted);
    line-height: 1.3;
}

.fulfillment-card__price {
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff0ed;
    color: var(--brand-accent);
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.15;
}

.fulfillment-card__price--free {
    background: #eaf8ef;
    color: #16753a;
}

.category-nav {
    position: sticky;
    z-index: 90;
    top: 68px;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(246, 246, 244, 0.97);
    backdrop-filter: blur(10px);
}

.category-nav__track {
    display: flex;
    overflow-x: auto;
    width: min(100%, 920px);
    margin: 0 auto;
    gap: 8px;
    padding: 10px 16px;
    scrollbar-width: none;
}

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

.category-nav__link {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 9px 14px;
    background: var(--surface);
    box-shadow: 0 3px 12px
        rgba(0, 0, 0, 0.05);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.menu {
    padding: 26px 16px;
}

.menu-category {
    margin-top: 30px;
}

.menu-category__heading h3 {
    margin: 0;
    font-size: 1.32rem;
    letter-spacing: -0.02em;
}

.menu-category__heading p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.product-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.product-card {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) 112px;
    overflow: hidden;
    min-height: 148px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 8px 22px
        rgba(0, 0, 0, 0.05);
}

.product-card--sold-out {
    opacity: 0.62;
}

.product-card__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 14px;
}

.product-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 18px;
}

.product-badge {
    border-radius: 999px;
    padding: 4px 7px;
    background: #fff0d2;
    color: #7c4c00;
    font-size: 0.62rem;
    font-weight: 850;
    text-transform: uppercase;
}

.product-badge--muted {
    background: #eeeeeb;
    color: #666;
}

.product-card h4 {
    margin: 7px 0 0;
    font-size: 1rem;
    line-height: 1.2;
}

.product-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
}

.product-price {
    display: block;
    font-size: 0.95rem;
}

.compare-price {
    color: var(--muted);
    font-size: 0.68rem;
    text-decoration: line-through;
}

.add-button {
    min-width: 76px;
    min-height: 38px;
    border: 0;
    border-radius: 12px;
    padding: 8px 12px;
    background: var(--brand-accent);
    color: white;
    font-size: 0.78rem;
    font-weight: 850;
    cursor: pointer;
}

.add-button:disabled {
    background: #c8c8c3;
    cursor: not-allowed;
}

.product-card__image {
    min-width: 0;
    background: #eeeeeb;
}

.product-card__image img,
.product-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 148px;
}

.product-card__image img {
    display: block;
    object-fit: cover;
}

.product-card__placeholder {
    display: grid;
    place-items: center;
    font-size: 2.4rem;
}

.location-card {
    margin-bottom: 30px;
    border-radius: var(--radius);
    padding: 22px 16px;
    background: var(--brand-primary);
    color: white;
}

.location-card__content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.location-card h2 {
    margin: 0;
}

.location-card p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.76);
}

.location-card__reference {
    font-size: 0.8rem;
}

.location-card__map {
    overflow: hidden;
    height: 240px;
    margin-top: 20px;
    border-radius: 14px;
    background: #eeeeeb;
}

.location-card__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.secondary-button {
    flex: 0 0 auto;
    border-radius: 12px;
    padding: 10px 13px;
    background: white;
    color: var(--brand-primary);
    font-size: 0.76rem;
    font-weight: 850;
    text-decoration: none;
}

.cart-bar {
    position: fixed;
    z-index: 150;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-radius: 18px;
    padding: 12px 12px 12px 16px;
    background: var(--brand-primary);
    box-shadow: 0 12px 35px
        rgba(0, 0, 0, 0.25);
    color: white;
}

.cart-bar small,
.cart-bar strong {
    display: block;
}

.cart-bar small {
    color: rgba(255, 255, 255, 0.7);
}

.cart-bar__button {
    border: 0;
    border-radius: 13px;
    padding: 12px 17px;
    background: var(--brand-accent);
    color: white;
    font-weight: 850;
}

.empty-state {
    margin-top: 20px;
    border: 1px dashed #ccccca;
    border-radius: var(--radius);
    padding: 30px 20px;
    background: var(--surface);
    text-align: center;
}

.empty-state h3 {
    margin: 0;
}

.empty-state p {
    margin: 8px 0 0;
    color: var(--muted);
}

@media (min-width: 700px) {
    .hero {
        padding: 52px 24px;
    }

    .fulfillment {
        padding-top: 34px;
    }

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

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

    .location-card {
        padding: 28px;
    }

    .location-card__map {
        height: 300px;
    }
}

@media (min-width: 1050px) {
    .product-list {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}

.dragonwok-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.dragonwok-hero__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.dragonwok-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    cursor: pointer;
}

/* Tablet */
@media (max-width: 768px) {
    .dragonwok-hero__image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .dragonwok-hero {
        min-height: 0;
    }

    .dragonwok-hero__image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

.topbar {
    gap: 14px;
}

.topbar__brand {
    flex: 1 1 auto;
}

.topbar__name {
    font-size: 1.1rem;
    font-weight: 900;
}

.topbar__location {
    max-width: none;
    color: var(--muted);
    font-size: 0.78rem;
}

.topbar__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.topbar__service-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar__delivery-time {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 750;
    white-space: nowrap;
}

.topbar__whatsapp {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 14px;
    padding: 10px 14px;
    background: #25d366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.topbar__whatsapp:hover {
    background: #1fbd5a;
}

.topbar__whatsapp-icon {
    font-size: 1rem;
}

@media (max-width: 620px) {
    .topbar {
        padding: 10px 12px;
    }

    .topbar__service-info {
        gap: 5px;
    }

    .topbar__delivery-time {
        display: none;
    }

    .topbar__whatsapp {
        width: 44px;
        min-width: 44px;
        padding: 0;
        border-radius: 50%;
    }

    .topbar__whatsapp-text {
        display: none;
    }

    .topbar__name {
        font-size: 1rem;
    }

    .topbar__location {
        font-size: 0.72rem;
    }
}
body.cart-is-open {
    overflow: hidden;
}

.cart-backdrop {
    position: fixed;
    z-index: 190;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cart-backdrop--visible {
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    z-index: 200;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    max-height: 88vh;
    flex-direction: column;
    border-radius: 24px 24px 0 0;
    background: var(--surface);
    box-shadow: 0 -18px 50px
        rgba(0, 0, 0, 0.22);
    transform: translateY(105%);
    transition: transform 0.24s ease;
}

.cart-drawer--open {
    transform: translateY(0);
}

.cart-drawer__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    padding: 18px 18px 15px;
}

.cart-drawer__header h2 {
    margin: 0;
    font-size: 1.35rem;
}

.icon-button {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #eeeeeb;
    color: var(--text);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.cart-drawer__items {
    overflow-y: auto;
    padding: 8px 18px;
}

.cart-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.cart-item__image {
    overflow: hidden;
    width: 76px;
    height: 76px;
    border-radius: 15px;
    background: #eeeeeb;
}

.cart-item__image img,
.cart-item__placeholder {
    width: 100%;
    height: 100%;
}

.cart-item__image img {
    display: block;
    object-fit: cover;
}

.cart-item__placeholder {
    display: grid;
    place-items: center;
    font-size: 1.8rem;
}

.cart-item__content {
    min-width: 0;
}

.cart-item__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.cart-item__heading h3 {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.25;
}

.cart-item__remove {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--danger);
    font-size: 0.68rem;
    font-weight: 750;
    cursor: pointer;
}

.cart-item__price {
    display: block;
    margin-top: 6px;
    font-size: 0.88rem;
}

.quantity-control {
    display: inline-grid;
    grid-template-columns: 34px 36px 34px;
    align-items: center;
    overflow: hidden;
    margin-top: 9px;
    border: 1px solid var(--border);
    border-radius: 11px;
}

.quantity-control button {
    height: 34px;
    border: 0;
    background: #f1f1ee;
    color: var(--text);
    font-size: 1.05rem;
    cursor: pointer;
}

.quantity-control span {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 850;
}

.cart-empty {
    padding: 44px 22px;
    text-align: center;
}

.cart-empty__icon {
    font-size: 3rem;
}

.cart-empty h3 {
    margin: 12px 0 0;
}

.cart-empty p {
    max-width: 280px;
    margin: 8px auto 0;
    color: var(--muted);
    line-height: 1.45;
}

.cart-drawer__footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding: 15px 18px
        calc(15px + env(safe-area-inset-bottom));
    background: var(--surface);
}

.cart-summary {
    display: grid;
    gap: 8px;
}

.cart-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 0.84rem;
}

.cart-summary strong {
    color: var(--text);
}

.cart-summary__total {
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 10px;
    color: var(--text) !important;
    font-size: 1rem !important;
    font-weight: 850;
}

.checkout-button {
    width: 100%;
    min-height: 52px;
    margin-top: 15px;
    border: 0;
    border-radius: 15px;
    background: var(--brand-accent);
    color: white;
    font-weight: 900;
    cursor: pointer;
}

.toast {
    position: fixed;
    z-index: 300;
    top: 82px;
    right: 16px;
    left: 16px;
    border-radius: 14px;
    padding: 13px 15px;
    background: #1c1c1c;
    box-shadow: 0 10px 28px
        rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 0.82rem;
    font-weight: 750;
    text-align: center;
    opacity: 0;
    transform: translateY(-12px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.toast[data-type="error"] {
    background: var(--danger);
}

.toast--visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 700px) {
    .cart-drawer {
        top: 0;
        bottom: 0;
        left: auto;
        width: min(440px, 100%);
        max-height: none;
        border-radius: 0;
        transform: translateX(105%);
    }

    .cart-drawer--open {
        transform: translateX(0);
    }

    .toast {
        right: 24px;
        left: auto;
        width: 360px;
    }
}


body.product-modal-is-open {
    overflow: hidden;
}

body.checkout-modal-is-open {
    overflow: hidden;
}

.checkout-modal-backdrop {
    position: fixed;
    z-index: 230;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.checkout-modal-backdrop--visible {
    opacity: 1;
}

.checkout-modal {
    position: fixed;
    z-index: 240;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    max-height: 92vh;
    flex-direction: column;
    border-radius: 24px 24px 0 0;
    background: var(--surface);
    box-shadow: 0 -20px 55px rgba(0, 0, 0, 0.28);
    transform: translateY(105%);
    transition: transform 0.24s ease;
}

.checkout-modal--open {
    transform: translateY(0);
}

.checkout-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    padding: 18px;
}

.checkout-modal__header h2 {
    margin: 0;
    font-size: 1.35rem;
}

.checkout-modal form {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
}

.checkout-modal__body {
    display: grid;
    overflow-y: auto;
    gap: 16px;
    padding: 18px;
}

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

#checkoutDeliveryFields {
    display: grid;
    gap: 16px;
}

.checkout-delivery-note {
    margin: 4px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff7e8;
    color: #6b531a;
    font-size: 0.84rem;
    line-height: 1.4;
}

.checkout-field {
    display: grid;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 800;
}

.checkout-field input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 10px 12px;
    background: #fafaf8;
    color: var(--text);
    font: inherit;
    font-weight: 400;
}

.checkout-field input:focus {
    border-color: var(--brand-accent);
    outline: 2px solid color-mix(
        in srgb,
        var(--brand-accent) 18%,
        transparent
    );
}

.payment-methods {
    display: grid;
    gap: 9px;
    margin: 0;
    border: 0;
    padding: 0;
}

.payment-methods legend {
    margin-bottom: 7px;
    font-size: 0.82rem;
    font-weight: 850;
}

.payment-methods label {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 10px 12px;
    cursor: pointer;
}

.payment-methods input {
    width: 19px;
    height: 19px;
    accent-color: var(--brand-accent);
}

.checkout-modal__footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding: 14px 18px
        calc(14px + env(safe-area-inset-bottom));
    background: var(--surface);
}

.checkout-modal__footer .checkout-button {
    margin-top: 0;
}

.checkout-success {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
}

.checkout-success__body {
    display: grid;
    overflow-y: auto;
    gap: 16px;
    padding: 18px;
}

.checkout-success__check {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: #eaf8ef;
    color: #16753a;
    font-size: 1.8rem;
    font-weight: 900;
}

.checkout-success__lead {
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.45;
}

.checkout-success__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #181816;
    color: #fff;
}

.checkout-success__total strong {
    font-size: 1.3rem;
}

.checkout-payment-details {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fafaf8;
}

.checkout-payment-details h3,
.checkout-payment-details p {
    margin: 0;
}

.checkout-payment-details dl {
    display: grid;
    gap: 9px;
    margin: 14px 0 0;
}

.checkout-payment-details dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.checkout-payment-details dt {
    color: var(--muted);
}

.checkout-payment-details dd {
    margin: 0;
    font-weight: 850;
    text-align: right;
}

.checkout-payment-instruction {
    margin-top: 14px !important;
    padding: 12px;
    border-radius: 10px;
    background: #fff0ed;
    color: #8e2619;
    font-weight: 750;
    line-height: 1.45;
}

.checkout-success__footer {
    display: grid;
    gap: 10px;
}

.checkout-success__footer .checkout-button {
    display: block;
    text-align: center;
    text-decoration: none;
}

.checkout-success__close {
    border: 0;
    padding: 10px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.product-modal-backdrop {
    position: fixed;
    z-index: 210;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.product-modal-backdrop--visible {
    opacity: 1;
}

.product-modal {
    position: fixed;
    z-index: 220;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    max-height: 92vh;
    flex-direction: column;
    border-radius: 24px 24px 0 0;
    background: var(--surface);
    box-shadow: 0 -20px 55px
        rgba(0, 0, 0, 0.28);
    transform: translateY(105%);
    transition: transform 0.24s ease;
}

.product-modal--open {
    transform: translateY(0);
}

.product-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    padding: 18px;
}

.product-modal__header h2 {
    margin: 0;
    font-size: 1.35rem;
}

.product-modal__body {
    overflow-y: auto;
    padding: 18px;
}

.product-modal__description {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.5;
}

.product-modal__loading {
    padding: 40px 20px;
    color: var(--muted);
    text-align: center;
}

.modifier-group {
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--border);
    padding: 0 0 18px;
}

.modifier-group + .modifier-group {
    padding-top: 18px;
}

.modifier-group legend {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding: 0;
}

.modifier-group legend span {
    font-size: 1rem;
    font-weight: 850;
}

.modifier-group legend small {
    border-radius: 999px;
    padding: 5px 8px;
    background: #eeeeeb;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 800;
}

.modifier-option {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #f0f0ed;
    cursor: pointer;
}

.modifier-option > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modifier-option input {
    width: 19px;
    height: 19px;
    accent-color: var(--brand-accent);
}

.modifier-option strong {
    color: var(--brand-accent);
    font-size: 0.78rem;
}

.product-notes {
    display: grid;
    gap: 8px;
    padding-top: 18px;
    font-weight: 800;
}

.product-notes textarea {
    width: 100%;
    resize: vertical;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    background: #fafaf8;
    color: var(--text);
    font-weight: 400;
}

.product-modal__footer {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--border);
    padding: 14px 18px
        calc(14px + env(safe-area-inset-bottom));
    background: var(--surface);
}

.product-modal__footer small,
.product-modal__footer strong {
    display: block;
}

.product-modal__footer small {
    color: var(--muted);
    font-size: 0.68rem;
}

.product-modal__add {
    flex: 1;
    width: auto;
    margin: 0;
}

.cart-item__modifiers {
    margin: 7px 0 0;
    padding: 0;
    color: var(--muted);
    font-size: 0.7rem;
    list-style: none;
}

.cart-item__modifiers li::before {
    content: "• ";
}

.cart-item__notes {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.7rem;
    font-style: italic;
}

@media (min-width: 700px) {
    .checkout-modal {
        top: 4vh;
        right: 50%;
        bottom: auto;
        left: auto;
        width: min(540px, calc(100% - 32px));
        max-height: 92vh;
        border-radius: 24px;
        opacity: 0;
        pointer-events: none;
        transform: translate(50%, 30px) scale(0.98);
    }

    .checkout-modal--open {
        opacity: 1;
        pointer-events: auto;
        transform: translate(50%, 0) scale(1);
    }

    .product-modal {
        top: 4vh;
        right: 50%;
        bottom: auto;
        left: auto;
        width: min(560px, calc(100% - 32px));
        max-height: 92vh;
        border-radius: 24px;
        transform:
            translate(50%, 30px)
            scale(0.98);
        opacity: 0;
        pointer-events: none;
    }

    .product-modal--open {
        transform:
            translate(50%, 0)
            scale(1);
        opacity: 1;
        pointer-events: auto;
    }
}
/* Hidden controls must stay out of paint, focus and mobile screenshots. */
[hidden]{display:none!important}
.checkout-modal[aria-hidden="true"],.product-modal[aria-hidden="true"],.cart-drawer[aria-hidden="true"]{visibility:hidden;pointer-events:none}
