/* Los Yoyo's 3.0 visual and accessibility refinement layer. */
:root {
    --text-muted: #a0a0a0;
    --text-dim: #686868;
    --border: rgba(255,255,255,0.11);
    --radius: 16px;
    --radius-lg: 24px;
}

[hidden] { display: none !important; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

.nav-scroll-hint { display: none; }

.section-header {
    min-height: 92px;
    padding: 0.6rem 0;
}

.section-photo {
    width: 118px;
    height: 78px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255,184,0,0.28);
    box-shadow: 0 14px 36px rgba(0,0,0,0.42);
}

.menu-item {
    min-height: 238px;
    align-items: stretch;
    padding: 1.35rem;
    background: radial-gradient(circle at 100% 0%, rgba(255,184,0,0.075), transparent 40%), var(--bg-card);
}

.item-content {
    display: flex;
    flex-direction: column;
}

.item-desc {
    min-height: 3.1em;
    font-size: 0.88rem;
    color: #aaa;
}

.item-quick-tags {
    margin-top: auto;
    padding-top: 0.85rem;
}

.item-quick-tag {
    min-height: 27px;
    font-size: 0.71rem;
    color: #aaa;
}

.pizza-size-row {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 30px;
    margin-top: 0.65rem;
    padding: 0.34rem 0.62rem;
    border: 1px solid rgba(255,184,0,0.22);
    border-radius: 999px;
    background: rgba(255,184,0,0.075);
    color: #bcbcbc;
    font-size: 0.72rem;
    font-weight: 800;
}

.pizza-size-summary-count { color: var(--yellow); }
.pizza-size-summary-range::before { content: '·'; margin-right: 0.55rem; color: #686868; }

.btn-add-item {
    align-self: flex-end;
    width: auto;
    min-width: 110px;
    height: 44px;
    padding: 0 0.9rem 0 1rem;
    border-radius: 999px;
    gap: 0.42rem;
    font: 900 0.78rem 'DM Sans', sans-serif;
}

.btn-add-item:hover { transform: translateY(-2px); }
.btn-add-item svg { width: 18px; height: 18px; }

.fab-order-copy {
    display: grid;
    gap: 0.04rem;
    text-align: left;
    line-height: 1.05;
}

.fab-order-copy small { color: rgba(255,255,255,0.76); font-size: 0.65rem; font-weight: 700; }
.fab-order-copy strong { font-size: 0.86rem; }
.fab-order-total { padding-left: 0.7rem; border-left: 1px solid rgba(255,255,255,0.28); font-weight: 900; }
.fab-order:not(.has-items) .fab-order-total { display: none; }

.footer-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.15rem;
}

.footer-social a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.78rem;
    color: #d7d7d7;
    text-decoration: none;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.footer-social a:hover { color: var(--yellow); border-color: rgba(255,184,0,0.38); }

/* Social follow card: Instagram stays prominent without hiding the other channel. */
.hero-social-actions {
    width: min(100%, 560px);
    max-width: 560px;
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.3rem;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 20px;
    background: rgba(8,8,8,0.72);
    box-shadow: 0 18px 50px rgba(0,0,0,0.4);
    backdrop-filter: blur(20px) saturate(150%);
}

.hero-social-actions .instagram-cta {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 60px;
    padding: 0.55rem 0.65rem;
    gap: 0.65rem;
    border: 1px solid rgba(245,133,41,0.5);
    border-radius: 15px;
    background:
        linear-gradient(115deg, rgba(245,133,41,0.18), rgba(221,42,123,0.2) 52%, rgba(129,52,175,0.19)),
        rgba(16,16,16,0.92);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 28px rgba(221,42,123,0.13);
}

.hero-social-actions .instagram-cta:hover {
    border-color: rgba(245,133,41,0.85);
    background:
        linear-gradient(115deg, rgba(245,133,41,0.27), rgba(221,42,123,0.29) 52%, rgba(129,52,175,0.28)),
        rgba(20,20,20,0.96);
}

.hero-social-actions .instagram-cta .social-icon {
    width: 40px;
    height: 40px;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.07), 0 8px 24px rgba(221,42,123,0.3);
}

.instagram-copy {
    min-width: 0;
    display: grid;
    gap: 0.16rem;
    flex: 1 1 auto;
    text-align: left;
}

.hero-social-actions .instagram-copy small {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: rgba(255,255,255,0.76);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-social-actions .instagram-copy strong {
    overflow: hidden;
    color: #fff;
    font-size: 0.94rem;
    font-weight: 1000;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.instagram-follow {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    align-self: center;
    padding: 0 0.75rem;
    color: #080808;
    border-radius: 999px;
    background: #fff;
    font-size: 0.75rem;
    font-weight: 1000;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-social-actions .social-icon-link.facebook {
    flex: 0 0 auto;
    min-width: 124px;
    min-height: 60px;
    padding: 0 0.85rem;
    border-color: rgba(87,149,255,0.35);
    border-radius: 15px;
    background: rgba(14,25,44,0.88);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero-social-actions .social-icon-link.facebook:hover {
    border-color: rgba(123,181,255,0.7);
    background: rgba(20,37,64,0.95);
}

.hero-social-actions .social-icon-link.facebook span {
    font-size: 0.78rem;
}

.hero-profile-icon,
.hero-install-icon {
    display: none;
}

@media (max-width: 767px), (orientation: landscape) and (max-height: 520px) {
    .hero { min-height: 410px; padding: 1.15rem 1rem 1.25rem; }
    .logo { width: 94px; }
    .logo-wrapper::before, .logo { animation: none; }
    .brand-container { gap: 0.52rem; }
    .tagline { font-size: 0.78rem; letter-spacing: 0.22em; }
    .business-info { flex-direction: row; max-width: 100%; border-radius: 999px; }
    .info-item { min-width: 0; padding: 0.48rem 0.62rem; font-size: 0.69rem; }
    .info-item:not(:last-child) { border-right: 1px solid var(--border); border-bottom: 0; }
    .hero-social-actions {
        display: flex;
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        gap: 0.45rem;
        padding: 0.32rem;
        border-radius: 18px;
    }
    .hero-social-actions .instagram-cta {
        flex: 1 0 100%;
        width: 100%;
        min-height: 66px;
        padding: 0.58rem 0.68rem;
    }
    .hero-social-actions .instagram-cta .social-icon {
        width: 44px;
        height: 44px;
    }
    .hero-social-actions .instagram-copy small {
        font-size: 0.78rem;
    }
    .hero-social-actions .instagram-copy strong {
        font-size: 0.92rem;
    }
    .hero-social-actions .social-icon-link.facebook {
        display: none;
    }
    .hero-profile-icon,
    .hero-install-icon {
        min-height: 48px;
        border-radius: 15px;
        border: 1px solid rgba(255,255,255,0.14);
        color: #fff;
        background: rgba(14,14,14,0.86);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
        cursor: pointer;
    }
    .hero-profile-icon {
        flex: 1 1 0;
        width: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.42rem;
        font: 1000 0.76rem 'DM Sans', sans-serif;
    }
    .hero-profile-icon::after {
        content: 'Mi perfil';
    }
    .hero-install-icon {
        flex: 1.2 1 0;
        width: auto;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        gap: 0.4rem;
        color: #050505;
        border-color: rgba(255,184,0,0.68);
        background: linear-gradient(135deg, var(--yellow), #ffd977);
        font: 1000 0.74rem 'DM Sans', sans-serif;
        line-height: 1.05;
        text-align: center;
    }
    .hero-install-icon.is-visible {
        display: inline-flex;
    }
    .hero-profile-icon svg,
    .hero-install-icon svg {
        width: 19px;
        height: 19px;
        fill: currentColor;
    }
    .hero-install-icon .install-button-label {
        max-width: none;
        overflow-wrap: anywhere;
    }
    .instagram-follow { display: none; }
    .hero-primary-actions { flex-wrap: nowrap; }
    .hero-order-btn, .hero-menu-btn { flex: 1 1 0; min-height: 48px; padding: 0.58rem 0.8rem; font-size: 0.82rem; }
    .hero-primary-actions .hero-install-btn { display: none !important; }

    .sticky-nav::after {
        content: '';
        position: absolute;
        inset: 0 0 0 auto;
        width: 46px;
        pointer-events: none;
        background: linear-gradient(90deg, transparent, rgba(8,8,8,0.98));
    }

    .nav-inner { padding: 0 2.6rem 0 0.75rem; }
    .nav-scroll-hint { position: absolute; right: 0.28rem; bottom: 0.18rem; z-index: 2; display: block; color: #8b8b8b; font-size: 0.55rem; font-weight: 800; text-transform: uppercase; pointer-events: none; }
    .nav-pill { min-height: 44px; display: inline-flex; align-items: center; padding: 0.45rem 0.78rem; font-size: 0.8rem; }
    .container { padding-top: 1rem; }
    .command-copy { display: none; }
    .menu-tools {
        gap: 0;
        padding: 0.68rem;
        border-radius: 18px;
    }
    .menu-tools .service-chips { display: none; }
    .signature-strip { margin-bottom: 1.25rem; }
    .menu-section { padding-top: 3.5rem; margin-top: -3.5rem; }
    .section-header { min-height: 68px; gap: 0.72rem; margin-bottom: 1rem; }
    .section-photo { width: 76px; height: 54px; border-radius: 12px; }
    .section-title { font-size: 1.9rem; }
    .section-divider { display: none; }
    .grid-layout { gap: 0.72rem; }

    .menu-item {
        min-height: 0;
        padding: 1rem;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.72rem;
    }

    .item-top { margin-bottom: 0.38rem; }
    .item-name { font-size: 1rem; }
    .item-desc { min-height: 0; font-size: 0.82rem; line-height: 1.48; }
    .item-quick-tags { padding-top: 0.65rem; }
    .pizza-size-row { margin-top: 0.52rem; }
    .btn-add-item { min-width: 92px; height: 42px; padding: 0 0.72rem; font-size: 0.73rem; }

    .fab-order {
        left: 0.75rem;
        right: 0.75rem;
        bottom: calc(0.72rem + env(safe-area-inset-bottom, 0));
        width: auto;
        min-height: 58px;
        justify-content: flex-start;
        padding: 0.65rem 0.88rem;
        border-radius: 17px;
    }

    .fab-order > svg { width: 24px; height: 24px; }
    .fab-order .fab-order-copy { display: grid; }
    .fab-order .fab-order-total { display: block; margin-left: auto; }
    .fab-order:not(.has-items) .fab-order-total { display: none; }
    .fab-order:not(.has-items) .fab-order-copy strong { font-size: 0.88rem; }
    .cart-badge { top: -7px; right: -5px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
    .hero-img { transform: none !important; }
}

/* Account 3.1: useful customer profile */
.account-value-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(255,184,0,0.22);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,184,0,0.25), transparent 38%),
        linear-gradient(135deg, rgba(255,184,0,0.12), rgba(255,255,255,0.035));
}

.account-value-copy {
    min-width: 0;
}

.account-value-kicker {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--yellow);
    font-size: 0.7rem;
    font-weight: 1000;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.account-value-hero h4 {
    max-width: 560px;
    color: var(--text);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.15;
}

.account-value-hero > p {
    max-width: 640px;
    margin: 0.55rem 0 1rem;
    color: #b0b0b0;
    line-height: 1.55;
}

.account-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 0.55rem;
}

.account-benefit-grid div {
    min-width: 0;
    padding: 0.72rem;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    background: rgba(0,0,0,0.22);
}

.account-benefit-grid strong,
.account-benefit-grid span { display: block; }
.account-benefit-grid strong { color: var(--yellow); font-size: 0.84rem; }
.account-benefit-grid span { margin-top: 0.16rem; color: #aaa; font-size: 0.7rem; font-weight: 700; }

.account-preview-card {
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: end;
    gap: 0.55rem;
    min-height: 176px;
    padding: 1rem;
    border: 1px solid rgba(255,184,0,0.24);
    border-radius: 16px;
    background:
        radial-gradient(circle at 78% 18%, rgba(255,184,0,0.28), transparent 34%),
        linear-gradient(160deg, rgba(0,0,0,0.32), rgba(255,184,0,0.08));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.account-preview-card > span {
    color: rgba(255,255,255,0.65);
    font-size: 0.68rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.account-preview-card > strong {
    color: var(--text);
    font-size: 1.18rem;
    line-height: 1.05;
}

.account-preview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    min-height: 36px;
    padding: 0.42rem 0.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    background: rgba(0,0,0,0.24);
}

.account-preview-row b {
    color: var(--yellow);
    font-size: 0.68rem;
}

.account-preview-row em {
    color: #d7d7d7;
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 800;
    text-align: right;
}

.account-preview-glow {
    position: absolute;
    inset: auto -18% -38% auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,184,0,0.18);
    filter: blur(20px);
    pointer-events: none;
}

.account-form label,
.profile-delivery-form label {
    display: grid;
    gap: 0.35rem;
    color: #b7b7b7;
    font-size: 0.74rem;
    font-weight: 900;
}

.account-privacy-note {
    color: #929292;
    font-size: 0.7rem;
    line-height: 1.45;
    text-align: center;
}

.profile-completion {
    display: grid;
    gap: 0.48rem;
    margin-bottom: 1rem;
    padding: 0.82rem;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 13px;
    background: rgba(255,255,255,0.035);
}

.profile-completion > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    color: var(--text);
    font-size: 0.78rem;
}

.profile-completion > div:first-child span { color: var(--yellow); font-weight: 1000; }
.profile-completion small { color: #989898; font-size: 0.69rem; line-height: 1.4; }

.profile-completion-track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
}

.profile-completion-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--yellow), #ffd765);
    box-shadow: 0 0 16px rgba(255,184,0,0.36);
    transition: width 0.35s var(--ease);
}

.profile-delivery-card,
.profile-security-card {
    margin-bottom: 1rem;
    padding: 0.9rem;
    border: 1px solid rgba(255,184,0,0.18);
    border-radius: 14px;
    background: rgba(255,184,0,0.045);
}

.profile-delivery-card > summary,
.profile-security-card > summary {
    list-style: none;
    cursor: pointer;
}

.profile-delivery-card > summary::-webkit-details-marker,
.profile-security-card > summary::-webkit-details-marker { display: none; }
.profile-delivery-card:not([open]) .profile-delivery-head,
.profile-security-card:not([open]) .profile-delivery-head { margin-bottom: 0; }
.profile-delivery-card[open] .profile-delivery-head,
.profile-security-card[open] .profile-delivery-head { padding-bottom: 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.08); }

.profile-delivery-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.profile-delivery-head div span,
.profile-delivery-head div strong { display: block; }
.profile-delivery-head div span { color: var(--yellow); font-size: 0.64rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
.profile-delivery-head div strong { margin-top: 0.18rem; color: var(--text); font-size: 0.86rem; }

.profile-saved-badge {
    flex-shrink: 0;
    padding: 0.3rem 0.48rem;
    border-radius: 999px;
    color: #aaa;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    font-size: 0.62rem;
    font-weight: 900;
}

.profile-saved-badge.is-saved {
    color: #65e89b;
    border-color: rgba(37,211,102,0.28);
    background: rgba(37,211,102,0.09);
}

.profile-delivery-form,
.profile-address-fields { display: grid; gap: 0.68rem; }
.profile-address-fields[hidden] { display: none; }
.profile-address-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.profile-delivery-form .form-control { min-height: 43px; }

.btn-profile-save {
    min-height: 44px;
    border: 0;
    border-radius: 11px;
    background: var(--yellow);
    color: #050505;
    font: 1000 0.78rem 'DM Sans', sans-serif;
    cursor: pointer;
}

.profile-mobile-nav { display: none; }

.favorite-suggestions {
    display: block;
    grid-column: 1 / -1;
    overflow: hidden;
    margin-top: 0.75rem;
    border: 1px solid rgba(255,184,0,0.18);
    border-radius: 13px;
    background: rgba(255,184,0,0.045);
}

.favorite-suggestions > summary {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    color: var(--text);
    cursor: pointer;
    list-style: none;
}

.favorite-suggestions > summary::-webkit-details-marker { display: none; }
.favorite-suggestions > summary span,
.favorite-suggestions > summary strong,
.favorite-suggestions > summary small { display: block; }
.favorite-suggestions > summary strong { font-size: 0.82rem; }
.favorite-suggestions > summary small { margin-top: 0.12rem; color: #9b9b9b; font-size: 0.68rem; font-weight: 700; }

.favorite-suggestions > summary b {
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #050505;
    background: var(--yellow);
    font-size: 0.72rem;
}

.favorite-suggestion-list {
    display: grid;
    gap: 0.55rem;
    padding: 0 0.75rem 0.75rem;
}

.profile-menu-details {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    background: rgba(0,0,0,0.16);
}

.profile-menu-details > summary {
    min-height: 62px;
    display: grid;
    align-content: center;
    gap: 0.16rem;
    padding: 0.8rem 3rem 0.8rem 0.95rem;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    position: relative;
}

.profile-menu-details > summary::-webkit-details-marker { display: none; }
.profile-menu-details > summary::after { content: '+'; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--yellow); font-size: 1.45rem; font-weight: 400; }
.profile-menu-details[open] > summary::after { content: '−'; }
.profile-menu-details > summary span { font-size: 0.88rem; font-weight: 1000; }
.profile-menu-details > summary small { color: #999; font-size: 0.7rem; font-weight: 700; }
.profile-menu-details[open] > summary { border-bottom: 1px solid rgba(255,255,255,0.08); }
.profile-menu-details .customer-menu-tools { margin: 0.85rem; }
.profile-menu-details .customer-menu-grid { padding: 0 0.85rem; }
.profile-menu-details .customer-order-actions { padding: 0.85rem; }

/* Device-aware installation assistant */
.install-dialog {
    width: min(94vw, 520px);
    border-radius: 24px;
    overflow: hidden;
}

.install-dialog .order-header {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.install-dialog-body {
    padding: 1.25rem;
    background:
        radial-gradient(circle at 20% 0%, rgba(255,184,0,0.12), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(239,51,50,0.08), transparent 34%),
        transparent;
}

.install-brand-card {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.install-platform {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    margin-bottom: 0.7rem;
    padding: 0.28rem 0.6rem;
    border: 1px solid rgba(255,184,0,0.26);
    border-radius: 999px;
    color: var(--yellow);
    background: rgba(255,184,0,0.08);
    font-size: 0.66rem;
    font-weight: 1000;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.install-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    margin: -0.25rem 0 1rem;
}

.install-benefits span {
    padding: 0.3rem 0.48rem;
    color: #aaa;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    background: rgba(255,255,255,0.035);
    font-size: 0.63rem;
    font-weight: 800;
}

.install-steps {
    display: grid;
    gap: 0.58rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.install-steps li {
    display: grid;
    grid-template-columns: 32px minmax(0,1fr);
    align-items: center;
    gap: 0.65rem;
    padding: 0.68rem;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    background: rgba(255,255,255,0.035);
}

.install-steps li strong {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
    color: #050505;
    font-size: 0.8rem;
}

.install-steps li span { color: #d1d1d1; font-size: 0.8rem; font-weight: 700; line-height: 1.4; }
.install-dialog-body .install-note { margin: 0 0 1rem; padding: 0.68rem; color: #a9a9a9; background: rgba(255,184,0,0.055); border-left: 3px solid var(--yellow); border-radius: 0 9px 9px 0; font-size: 0.75rem; }

.install-dialog-actions {
    grid-template-columns: minmax(0, 1fr) minmax(118px, auto);
}

.install-dialog-actions .btn-install-ok,
.install-dialog-actions .btn-install-profile {
    min-height: 46px;
}

.install-dialog-actions .btn-install-ok {
    min-width: 118px;
    box-shadow: 0 14px 32px rgba(255,184,0,0.2);
}

.install-dialog-actions .btn-install-profile:hover {
    border-color: rgba(255,184,0,0.26);
    color: var(--yellow);
}

@media (max-width: 767px) {
    .account-value-hero {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1rem;
    }
    .account-preview-card {
        min-height: 136px;
        padding: 0.82rem;
    }
    .account-preview-card > strong { font-size: 1rem; }
    .account-benefit-grid { gap: 0.38rem; }
    .account-benefit-grid div { padding: 0.58rem; }
    .account-benefit-grid strong { font-size: 0.74rem; }
    .account-benefit-grid span { font-size: 0.62rem; }
    .profile-address-row { grid-template-columns: 1fr; }
    .profile-menu-details .customer-menu-tools { grid-template-columns: 1fr; }
    .install-dialog {
        width: calc(100vw - 0.75rem);
        max-height: calc(100dvh - 0.75rem);
        border-radius: 20px;
    }
    .install-dialog .order-header {
        min-height: 58px;
        padding: 0.78rem 0.9rem;
    }
    .install-dialog .order-header h3 {
        font-size: 1.45rem;
    }
    .install-dialog-body {
        max-height: calc(100dvh - 58px);
        overflow-y: auto;
        padding: 0.95rem;
    }
    .install-brand-card {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 0.62rem;
        margin-bottom: 0.8rem;
        padding: 0.62rem;
        border-radius: 14px;
    }
    .install-brand-card img {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    .install-brand-card strong { font-size: 0.82rem; }
    .install-brand-card span { font-size: 0.68rem; }
    .install-dialog-body h3 {
        font-size: 1.7rem;
        line-height: 0.95;
    }
    .install-dialog-body p {
        margin-bottom: 0.76rem;
        font-size: 0.84rem;
    }
    .install-benefits { margin-bottom: 0.78rem; }
    .install-steps { gap: 0.48rem; margin-bottom: 0.78rem; }
    .install-steps li {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 0.55rem;
        padding: 0.55rem;
    }
    .install-steps li strong {
        width: 28px;
        height: 28px;
        font-size: 0.72rem;
    }
    .install-steps li span { font-size: 0.76rem; }
    .install-dialog-body .install-note { margin-bottom: 0.78rem; }
    .install-dialog-actions {
        grid-template-columns: minmax(0, 1fr) 104px;
        gap: 0.45rem;
    }
    .install-dialog-actions .btn-install-ok { min-width: 0; }

    .account-body { padding: 0.75rem; }
    .account-status { margin: 0 0 0.75rem; font-size: 0.92rem; line-height: 1.5; }

    #accountLoggedIn.profile-grid {
        display: block;
        min-width: 0;
    }

    .profile-mobile-nav {
        position: sticky;
        top: 0;
        z-index: 8;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.35rem;
        margin: 0 -0.25rem 0.85rem;
        padding: 0.35rem;
        border: 1px solid rgba(255,255,255,0.09);
        border-radius: 14px;
        background: rgba(13,13,13,0.94);
        box-shadow: 0 10px 28px rgba(0,0,0,0.34);
        backdrop-filter: blur(14px);
    }

    .profile-mobile-nav button {
        min-width: 0;
        min-height: 48px;
        padding: 0.55rem 0.28rem;
        border: 1px solid transparent;
        border-radius: 10px;
        color: #b8b8b8;
        background: transparent;
        font: 900 0.82rem 'DM Sans', sans-serif;
        cursor: pointer;
    }

    .profile-mobile-nav button span {
        min-width: 21px;
        height: 21px;
        display: inline-grid;
        place-items: center;
        margin-left: 0.15rem;
        border-radius: 999px;
        color: #cfcfcf;
        background: rgba(255,255,255,0.08);
        font-size: 0.68rem;
    }

    .profile-mobile-nav button.active {
        color: #050505;
        border-color: var(--yellow);
        background: var(--yellow);
        box-shadow: 0 5px 16px rgba(255,184,0,0.18);
    }

    .profile-mobile-nav button.active span { color: #050505; background: rgba(0,0,0,0.13); }
    .profile-mobile-nav button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

    #accountLoggedIn[data-profile-view="summary"] .profile-content-panels,
    #accountLoggedIn[data-profile-view="favorites"] .profile-overview-panel,
    #accountLoggedIn[data-profile-view="orders"] .profile-overview-panel,
    #accountLoggedIn[data-profile-view="favorites"] .profile-panel-orders,
    #accountLoggedIn[data-profile-view="orders"] .profile-panel-favorites { display: none; }

    .profile-content-panels,
    .profile-overview-panel { min-width: 0; }

    .account-profile-card {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 0.8rem;
        margin-bottom: 0.75rem;
        padding: 0.9rem;
    }

    .account-avatar { width: 54px; height: 54px; font-size: 1rem; }
    .account-profile-card strong { font-size: 1.08rem; }
    .account-profile-card span { font-size: 0.88rem; line-height: 1.4; }
    .account-profile-card .account-profile-kicker { font-size: 0.68rem; }
    .account-level-pill {
        grid-column: 1 / -1;
        justify-self: start;
        font-size: 0.72rem;
    }
    .account-profile-note { font-size: 0.9rem; line-height: 1.5; }

    .profile-stat-grid { gap: 0.45rem; margin-bottom: 0.75rem; }
    .profile-stat { min-width: 0; padding: 0.7rem 0.48rem; text-align: center; }
    .profile-stat span { font-size: 0.7rem; letter-spacing: 0.045em; }
    .profile-stat strong { font-size: 1.6rem; }
    .profile-experience-panel {
        padding: 0.82rem;
        margin-bottom: 0.75rem;
    }
    .profile-experience-grid {
        grid-template-columns: 1fr;
    }
    .profile-experience-action {
        min-height: 58px;
    }

    .profile-completion { margin-bottom: 0.75rem; padding: 0.85rem; }
    .profile-completion > div:first-child { font-size: 0.9rem; }
    .profile-completion small { font-size: 0.83rem; line-height: 1.5; }

    .account-insight-panel { margin-bottom: 0.75rem; padding: 0.9rem; gap: 0.8rem; }
    .account-insight-title { font-size: 0.76rem; }
    .account-insight-line { font-size: 0.91rem; line-height: 1.5; }
    .btn-profile-action { min-height: 48px; font-size: 0.88rem; }

    .profile-delivery-card,
    .profile-security-card { margin-bottom: 0.75rem; padding: 0.85rem; }
    .profile-delivery-head { min-height: 48px; margin: 0; }
    .profile-delivery-head div span { font-size: 0.7rem; }
    .profile-delivery-head div strong { font-size: 0.95rem; }
    .profile-saved-badge { padding: 0.38rem 0.52rem; font-size: 0.7rem; }
    .profile-delivery-form { padding-top: 0.85rem; }
    .profile-delivery-form label { font-size: 0.82rem; }
    .profile-delivery-form .form-control { min-height: 48px; font-size: 16px; }
    .btn-profile-save { min-height: 48px; font-size: 0.88rem; }
    .btn-account-logout { min-height: 46px; font-size: 0.84rem; }

    .account-section { gap: 0.75rem; margin-top: 0; }
    .account-section-heading { gap: 0.16rem; }
    .account-section-heading strong { font-size: 1.12rem; }
    .account-section-heading span { font-size: 0.84rem; }
    .account-favorites,
    .account-orders { grid-template-columns: 1fr; gap: 0.65rem; }

    .account-order-card,
    .account-favorite-card,
    .account-empty-state {
        padding: 0.9rem;
        border-radius: 13px;
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .account-order-card,
    .account-favorite-card { grid-template-columns: 1fr; gap: 0.75rem; }
    .account-order-copy strong,
    .account-favorite-copy strong { margin-bottom: 0.2rem; font-size: 1rem; }
    .account-card-meta { font-size: 0.78rem; line-height: 1.45; }
    .account-card-items { font-size: 0.9rem; line-height: 1.5; }

    .account-order-card > div:last-child,
    .account-favorite-card > div:last-child {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .account-card-total { grid-column: 1 / -1; margin: 0; font-size: 1rem; text-align: left; }
    .btn-account-repeat,
    .btn-account-remove,
    .btn-account-save { width: 100%; min-height: 46px; margin: 0; padding: 0 0.55rem; font-size: 0.84rem; }

    .favorite-suggestions { margin-top: 0.1rem; }
    .favorite-suggestions > summary { min-height: 64px; padding: 0.75rem 0.9rem; }
    .favorite-suggestions > summary strong { font-size: 0.94rem; }
    .favorite-suggestions > summary small { font-size: 0.8rem; line-height: 1.4; }
    .favorite-suggestions > summary b { min-width: 32px; height: 32px; font-size: 0.8rem; }
    .favorite-suggestion-list { gap: 0.6rem; padding: 0 0.65rem 0.65rem; }
}

/* Final override: compact cards for products with sizes, especially pizzas. */
.menu-item.has-size-options {
    min-height: 232px;
    display: grid;
    grid-template-columns: 1fr;
    align-content: stretch;
    gap: 0.9rem;
    padding: 1.18rem;
}

.menu-item.has-size-options .item-content {
    min-width: 0;
    display: grid;
    grid-template-rows: auto auto auto auto;
    align-content: start;
}

.menu-item.has-size-options .item-top {
    margin-bottom: 0;
}

.menu-item.has-size-options .item-name {
    max-width: 100%;
    font-size: 1.08rem;
    line-height: 1.16;
}

.menu-item.has-size-options .item-price {
    font-size: 1.62rem;
}

.menu-item.has-size-options .item-desc {
    min-height: 4.25em;
    margin-top: 0.82rem;
    overflow: hidden;
    color: #b5b5b5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.menu-item.has-size-options .item-quick-tags {
    margin-top: 0.75rem;
    padding-top: 0;
}

.menu-item.has-size-options .pizza-size-row {
    width: 100%;
    min-height: 38px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.58rem;
    margin-top: 0.8rem;
    padding: 0.55rem 0.68rem;
    border-radius: 13px;
    background: rgba(255,184,0,0.055);
}

.menu-item.has-size-options .pizza-size-summary-count {
    white-space: nowrap;
}

.menu-item.has-size-options .pizza-size-summary-range {
    min-width: 0;
    overflow: hidden;
    color: #d3d3d3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-item.has-size-options .pizza-size-summary-range::before {
    content: '';
    margin: 0;
}

.menu-item.has-size-options .btn-add-item {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    justify-self: stretch;
    align-self: end;
    border-radius: 14px;
    font-size: 0.82rem;
}

.menu-item.has-size-options .btn-add-item:hover {
    transform: translateY(-2px);
}

@media (min-width: 1024px) {
    #grid-pizzas.grid-layout {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 767px) {
    .menu-item.has-size-options {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 0.72rem;
        padding: 0.96rem;
    }

    .menu-item.has-size-options .item-desc {
        min-height: 0;
        -webkit-line-clamp: 2;
    }

    .menu-item.has-size-options .pizza-size-row {
        grid-template-columns: 1fr;
        gap: 0.18rem;
    }

    .menu-item.has-size-options .pizza-size-summary-range {
        white-space: normal;
    }
}

/* Delivery-style product cards: image-first, compact copy, clear action. */
.grid-layout {
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 0.85rem;
}

.menu-item,
.menu-item.has-size-options {
    min-height: 196px;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-radius: 18px;
}

.menu-item::before {
    display: none;
}

.menu-item-media {
    position: relative;
    grid-row: 1 / span 2;
    min-height: 196px;
    margin: 0;
    overflow: hidden;
    background: rgba(255,255,255,0.045);
}

.menu-item-media img {
    width: 100%;
    height: 100%;
    min-height: 196px;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
}

.menu-item-media span {
    position: absolute;
    left: 9px;
    bottom: 9px;
    max-width: calc(100% - 18px);
    overflow: hidden;
    padding: 0.34rem 0.52rem;
    color: #fff;
    background: rgba(8,8,8,0.68);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 999px;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.62rem;
    font-weight: 900;
}

.menu-item .item-content,
.menu-item.has-size-options .item-content {
    min-width: 0;
    display: grid;
    grid-template-rows: auto auto auto minmax(0, auto);
    align-content: start;
    padding: 1rem 1rem 0.78rem;
}

.menu-item .item-top,
.menu-item.has-size-options .item-top {
    min-width: 0;
    align-items: start;
    gap: 0.65rem;
    margin-bottom: 0.48rem;
}

.menu-item .item-name,
.menu-item.has-size-options .item-name {
    font-size: 1rem;
    line-height: 1.15;
}

.menu-item .item-price,
.menu-item.has-size-options .item-price {
    font-size: 1.46rem;
}

.menu-item .item-desc,
.menu-item.has-size-options .item-desc {
    min-height: 0;
    margin-top: 0;
    overflow: hidden;
    color: #b7b7b7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.menu-item .pizza-size-row,
.menu-item.has-size-options .pizza-size-row {
    min-height: 34px;
    margin-top: 0.65rem;
    padding: 0.45rem 0.58rem;
    border-radius: 12px;
}

.menu-item > .btn-add-item,
.menu-item.has-size-options .btn-add-item {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    min-width: 128px;
    min-height: 44px;
    height: auto;
    justify-self: end;
    align-self: end;
    margin: 0 1rem 1rem;
    padding: 0 0.82rem;
    border-radius: 13px;
    font-size: 0.78rem;
}

.menu-item > .btn-add-item:hover,
.menu-item.has-size-options .btn-add-item:hover {
    transform: translateY(-1px);
}

.customer-card-actions {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.55rem;
    margin: 0 1rem 1rem;
}

.customer-card-actions .btn-add-item {
    width: 100%;
    min-width: 0;
    height: 44px;
    border-radius: 13px;
}

.cart-drink-suggestion {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.75rem;
    padding: 0.85rem;
    border: 1px solid rgba(255,184,0,0.25);
    border-radius: 14px;
    background: rgba(255,184,0,0.075);
}

.cart-drink-suggestion small,
.cart-drink-suggestion strong,
.cart-drink-suggestion span {
    display: block;
}

.cart-drink-suggestion small {
    color: #a9a9a9;
    font-size: 0.68rem;
    font-weight: 900;
}

.cart-drink-suggestion strong {
    margin-top: 0.12rem;
    color: var(--text);
    font-size: 0.95rem;
}

.cart-drink-suggestion span {
    margin-top: 0.08rem;
    color: var(--yellow);
    font-weight: 900;
}

.cart-drink-suggestion button {
    min-height: 42px;
    border: 1px solid rgba(255,184,0,0.38);
    border-radius: 12px;
    padding: 0 0.78rem;
    color: #070707;
    background: var(--yellow);
    font-weight: 900;
}

@media (max-width: 767px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 0.72rem;
    }

    .menu-item,
    .menu-item.has-size-options {
        min-height: 160px;
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .menu-item-media,
    .menu-item-media img {
        min-height: 160px;
    }

    .menu-item .item-content,
    .menu-item.has-size-options .item-content {
        padding: 0.82rem 0.82rem 0.56rem;
    }

    .menu-item .item-desc,
    .menu-item.has-size-options .item-desc {
        -webkit-line-clamp: 2;
    }

    .menu-item > .btn-add-item,
    .menu-item.has-size-options .btn-add-item {
        min-width: 112px;
        min-height: 40px;
        margin: 0 0.82rem 0.82rem;
    }

    .customer-card-actions {
        margin: 0 0.82rem 0.82rem;
    }

    .cart-drink-suggestion {
        grid-template-columns: 1fr;
    }
}
.menu-item.is-sold-out {
    opacity: .7;
}

.menu-item.is-sold-out .menu-item-media {
    filter: grayscale(.35);
}

.menu-item.is-sold-out .btn-add-item,
.size-option:disabled {
    cursor: not-allowed;
    box-shadow: none;
    opacity: .62;
}

/* 4.0 storefront: clearer hierarchy, faster scanning and immediate upsell. */
.hero {
    height: min(620px, 66svh);
    min-height: 500px;
}

.hero-gradient {
    background:
        radial-gradient(circle at 50% 24%, rgba(255,184,0,.09), transparent 34%),
        linear-gradient(180deg, rgba(5,5,5,.15) 0%, rgba(5,5,5,.38) 42%, #080808 100%);
}

.brand-container {
    width: min(100%, 760px);
    gap: .72rem;
}

.logo { width: clamp(112px, 12vw, 150px); }

.hero-order-btn {
    min-width: 250px;
    min-height: 54px;
    border-radius: 16px;
}

.hero-menu-btn {
    min-height: 54px;
    border-radius: 16px;
}

.sticky-nav {
    border-bottom-color: rgba(255,255,255,.1);
    background: rgba(8,8,8,.88);
    backdrop-filter: blur(22px) saturate(150%);
}

.nav-inner { gap: .38rem; }

.nav-pill {
    border: 1px solid transparent;
    border-radius: 12px;
}

.nav-pill.active {
    color: #080808;
    border-color: rgba(255,184,0,.65);
    background: var(--yellow);
}

.container {
    max-width: 1240px;
    padding-top: 1.6rem;
}

.menu-command {
    grid-template-columns: minmax(0, .86fr) minmax(430px, 1.14fr);
    gap: .8rem;
}

.command-copy,
.menu-tools {
    border-color: rgba(255,255,255,.12);
    border-radius: 20px;
    box-shadow: 0 16px 46px rgba(0,0,0,.24);
}

.command-copy { padding: 1.15rem 1.3rem; }
.command-title { font-size: clamp(1.8rem, 3vw, 2.45rem); }
.menu-tools { padding: .8rem; }

.customer-account-strip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .8rem;
    align-items: stretch;
    margin: 0 0 1rem;
    padding: .7rem;
    border: 1px solid rgba(255,184,0,.22);
    border-radius: 19px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,184,0,.12), transparent 16rem),
        rgba(17,17,17,.92);
    box-shadow: 0 16px 42px rgba(0,0,0,.2);
}

.customer-account-strip[hidden] { display: none; }

.customer-account-identity {
    min-width: 185px;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .55rem .7rem;
}

.customer-account-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--yellow);
    color: #080808;
    font-size: .75rem;
    font-weight: 1000;
}

.customer-account-identity small,
.customer-account-identity strong,
.customer-account-actions span,
.customer-account-actions strong { display: block; }
.customer-account-identity small { color: var(--yellow); font-size: .6rem; font-weight: 1000; text-transform: uppercase; letter-spacing: .07em; }
.customer-account-identity strong { margin-top: .16rem; font-size: .9rem; }

.customer-account-actions {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
}

.customer-account-actions > * {
    min-width: 0;
    min-height: 58px;
    display: grid;
    align-content: center;
    padding: .65rem .8rem;
    text-align: left;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 13px;
    background: rgba(255,255,255,.035);
    color: #f7f7f7;
    cursor: pointer;
}

.customer-account-actions > *:hover { border-color: rgba(255,184,0,.32); background: rgba(255,184,0,.07); }
.customer-account-actions span { color: #929292; font-size: .61rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.customer-account-actions strong { margin-top: .16rem; overflow: hidden; text-overflow: ellipsis; font-size: .78rem; white-space: nowrap; }
.customer-account-actions > a strong { color: var(--yellow); }

.search-box {
    min-height: 56px;
    border-radius: 15px;
    background: rgba(255,255,255,.045);
}

.signature-strip {
    position: relative;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
}

.signature-strip::-webkit-scrollbar { display: none; }

.signature-chip { flex: 0 0 auto; }

.section-header {
    min-height: 78px;
    margin-bottom: .8rem;
}

.section-title { letter-spacing: -.025em; }

.menu-item,
.menu-item.has-size-options {
    border-color: rgba(255,255,255,.1);
    background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)), #111;
    box-shadow: 0 10px 30px rgba(0,0,0,.16);
}

.menu-item:hover {
    border-color: rgba(255,184,0,.32);
    box-shadow: 0 16px 38px rgba(0,0,0,.28);
}

.quick-drink-suggestion {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 1500;
    width: min(390px, calc(100vw - 28px));
    display: grid;
    grid-template-columns: 46px minmax(0,1fr) auto 34px;
    align-items: center;
    gap: .72rem;
    padding: .72rem;
    color: #f7f7f7;
    border: 1px solid rgba(255,184,0,.38);
    border-radius: 18px;
    background: rgba(17,17,17,.96);
    box-shadow: 0 24px 70px rgba(0,0,0,.55);
    backdrop-filter: blur(22px);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .2s ease, transform .2s ease;
}

.quick-drink-suggestion.is-visible { opacity: 1; transform: translateY(0); }
.quick-drink-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,184,0,.12); font-size: 1.45rem; }
.quick-drink-suggestion small,
.quick-drink-suggestion strong,
.quick-drink-suggestion span { display: block; }
.quick-drink-suggestion small { color: #9b9b9b; font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.quick-drink-suggestion strong { margin-top: .08rem; font-size: .94rem; }
.quick-drink-suggestion span { color: var(--yellow); font-size: .8rem; font-weight: 900; }
.quick-drink-suggestion [data-quick-drink-add] { min-height: 42px; padding: 0 .85rem; color: #080808; border: 0; border-radius: 12px; background: var(--yellow); font-weight: 1000; }
.quick-drink-close { width: 34px; height: 34px; color: #aaa; border: 0; border-radius: 10px; background: transparent; font-size: 1.35rem; }

@media (max-width: 820px) {
    .hero { height: auto; min-height: 390px; padding-top: 1rem; }
    .menu-command { grid-template-columns: 1fr; }
    .command-copy { display: none; }
    .menu-tools { border-radius: 18px; }
    .service-chips { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
    .customer-account-strip { grid-template-columns: 1fr; }
    .customer-account-identity { min-width: 0; padding-bottom: .15rem; }
}

@media (max-width: 560px) {
    .hero { min-height: 360px; padding: .9rem .9rem 1.1rem; }
    .brand-container { gap: .58rem; }
    .logo { width: 88px; }
    .tagline { font-size: .7rem; }
    .business-info { width: 100%; }
    .info-item { flex: 1 1 50%; justify-content: center; padding-inline: .45rem; }
    .hero-primary-actions { display: grid; grid-template-columns: 1.35fr 1fr; gap: .5rem; }
    .hero-order-btn,
    .hero-menu-btn { min-width: 0; min-height: 50px; }
    .container { padding-inline: .78rem; }
    .quick-drink-suggestion {
        right: 14px;
        bottom: calc(84px + env(safe-area-inset-bottom));
        grid-template-columns: 42px minmax(0,1fr) auto;
    }
    .quick-drink-close { position: absolute; top: -11px; right: -7px; color: #111; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
    .customer-account-strip { margin-bottom: .75rem; padding: .6rem; border-radius: 17px; }
    .customer-account-actions { grid-template-columns: 1fr 1fr; }
    .customer-account-actions > a { grid-column: 1 / -1; min-height: 48px; }
}

/* Comfortable touch targets and clearer mobile scanning */
@media (max-width: 767px), (pointer: coarse) {
    .signature-chip,
    .menu-order-cta,
    .install-app-cta,
    .account-cta {
        min-height: 44px;
        padding-inline: 0.9rem;
    }

    .menu-item > .btn-add-item,
    .menu-item.has-size-options .btn-add-item,
    .cart-drink-suggestion button {
        min-height: 44px;
    }

    .hero-contact .info-item {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .signature-strip {
        scroll-snap-type: x proximity;
        overscroll-behavior-inline: contain;
    }

    .signature-chip {
        scroll-snap-align: start;
    }
}

/* 4.2 storefront — fast, mobile-first restaurant ordering */
.mobile-menu-intro,
.mobile-service-summary { display: none; }

.fab-order-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(255,255,255,.14);
}

.fab-order-icon svg { width: 19px; height: 19px; }

@media (max-width: 767px), (orientation: landscape) and (max-height: 520px) {
    body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

    .hero {
        min-height: 270px;
        height: auto;
        padding: max(.65rem, env(safe-area-inset-top)) .75rem .85rem;
    }
    .hero-gradient {
        background:
            radial-gradient(circle at 50% 0%, rgba(255,184,0,.12), transparent 50%),
            linear-gradient(180deg, rgba(5,5,5,.2), rgba(5,5,5,.58) 58%, #080808 100%);
    }
    .brand-container { width: 100%; gap: .48rem; }
    .logo-wrapper { margin-bottom: 0; }
    .logo { width: 70px; }
    .tagline { font-size: .57rem; letter-spacing: .22em; }
    .open-badge { min-height: 26px; padding: .3rem .58rem; font-size: .58rem; }
    .business-info { display: none; }
    .hero-social-actions { width: auto; margin: 0; gap: .4rem; }
    .hero-social-actions .instagram-cta,
    .hero-social-actions .social-icon-link.facebook { display: none; }
    .hero-profile-icon,
    .hero-install-icon { min-width: 46px; min-height: 42px; border-radius: 13px; }
    .hero-install-icon.is-visible { display: inline-flex; }
    .hero-primary-actions {
        width: min(100%, 390px);
        grid-template-columns: 1.35fr .85fr;
        margin-top: .08rem;
    }
    .hero-order-btn,
    .hero-menu-btn {
        min-height: 48px;
        border-radius: 14px;
    }
    .hero-order-btn small { font-size: .57rem; }

    .sticky-nav {
        top: 0;
        z-index: 65;
        min-height: 56px;
        padding: .42rem .55rem;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    .nav-inner {
        justify-content: flex-start;
        gap: .35rem;
        padding: 0;
        scroll-padding-inline: .1rem;
    }
    .nav-pill {
        min-height: 42px;
        flex: 0 0 auto;
        padding: .55rem .72rem;
        border-color: rgba(255,255,255,.08);
        border-radius: 999px;
        background: rgba(255,255,255,.035);
        font-size: .7rem;
    }
    .nav-pill.active { border-color: var(--yellow); }
    .nav-emoji { font-size: .82rem; }
    .nav-scroll-hint { display: none; }

    .container {
        max-width: none;
        padding: 0 .7rem 1rem;
    }
    .menu-command {
        position: sticky;
        top: 56px;
        z-index: 55;
        display: block;
        margin: 0 -.7rem .65rem;
        padding: .6rem .7rem;
        background: rgba(8,8,8,.94);
        border-bottom: 1px solid rgba(255,255,255,.08);
        backdrop-filter: blur(22px) saturate(1.25);
    }
    .menu-tools {
        gap: .55rem;
        padding: .65rem;
        border-radius: 18px;
        background:
            radial-gradient(circle at 100% 0%, rgba(255,184,0,.1), transparent 12rem),
            #121212;
        box-shadow: 0 16px 34px rgba(0,0,0,.28);
    }
    .mobile-menu-intro {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .7rem;
    }
    .mobile-menu-intro small,
    .mobile-menu-intro strong { display: block; }
    .mobile-menu-intro small {
        color: var(--yellow);
        font-size: .56rem;
        font-weight: 1000;
        letter-spacing: .08em;
        text-transform: uppercase;
    }
    .mobile-menu-intro strong { margin-top: .12rem; font-size: 1.05rem; }
    .mobile-menu-intro a {
        width: 44px;
        height: 44px;
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        border: 1px solid rgba(255,184,0,.22);
        border-radius: 13px;
        color: var(--yellow);
        background: rgba(255,184,0,.08);
    }
    .mobile-menu-intro svg { width: 18px; height: 18px; fill: currentColor; }
    .search-box {
        min-height: 50px;
        border-color: rgba(255,255,255,.11);
        border-radius: 14px;
        background: #0b0b0b;
    }
    .search-box input { font-size: 16px; }
    .mobile-service-summary {
        display: flex;
        gap: .42rem;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .mobile-service-summary::-webkit-scrollbar { display: none; }
    .mobile-service-summary span {
        flex: 0 0 auto;
        padding: .35rem .55rem;
        border-radius: 999px;
        color: #aaa;
        background: rgba(255,255,255,.045);
        font-size: .6rem;
        font-weight: 850;
    }
    .mobile-service-summary span::before {
        content: "✓";
        margin-right: .25rem;
        color: var(--green, #2bd17e);
    }
    .service-chips { display: none; }
    .menu-browsing .menu-command { padding-block: .4rem; }
    .menu-browsing .menu-tools { padding: .45rem; border-radius: 15px; }
    .menu-browsing .mobile-menu-intro,
    .menu-browsing .mobile-service-summary { display: none; }
    .menu-browsing .search-box { min-height: 46px; }

    .customer-account-strip {
        margin-top: .15rem;
        border-radius: 18px;
    }
    .signature-strip {
        gap: .42rem;
        margin: .45rem 0 .7rem;
        padding: .1rem 0 .25rem;
    }
    .signature-label {
        position: sticky;
        left: 0;
        z-index: 2;
        align-self: center;
        padding: .42rem .55rem;
        border-radius: 10px;
        background: #080808;
        font-size: .6rem;
    }
    .signature-chip {
        min-height: 44px;
        padding: .5rem .72rem;
        border-radius: 12px;
        font-size: .66rem;
    }

    .menu-section { scroll-margin-top: 128px; margin-bottom: 1.2rem; }
    .section-header {
        min-height: 62px;
        gap: .68rem;
        margin-bottom: .55rem;
        padding: .28rem 0;
    }
    .section-photo {
        width: 66px;
        height: 52px;
        border-radius: 13px;
    }
    .section-title { font-size: 1.42rem; }
    .section-divider { opacity: .6; }
    .grid-layout { gap: .58rem; }

    .menu-item,
    .menu-item.has-size-options {
        min-height: 172px;
        grid-template-columns: 116px minmax(0,1fr);
        border-radius: 18px;
        box-shadow: 0 12px 28px rgba(0,0,0,.2);
    }
    .menu-item-media,
    .menu-item-media img { min-height: 172px; }
    .menu-item-media span {
        left: 7px;
        bottom: 7px;
        padding: .28rem .42rem;
        font-size: .54rem;
    }
    .menu-item .item-content,
    .menu-item.has-size-options .item-content {
        padding: .76rem .78rem .45rem;
    }
    .menu-item .item-top,
    .menu-item.has-size-options .item-top {
        display: grid;
        grid-template-columns: 1fr;
        gap: .25rem;
        margin-bottom: .35rem;
    }
    .menu-item .item-name,
    .menu-item.has-size-options .item-name {
        font-size: .94rem;
        line-height: 1.18;
    }
    .menu-item .item-price,
    .menu-item.has-size-options .item-price { font-size: 1.18rem; }
    .item-price-from { font-size: .5rem; }
    .menu-item .item-desc,
    .menu-item.has-size-options .item-desc {
        font-size: .67rem;
        line-height: 1.35;
        -webkit-line-clamp: 2;
    }
    .item-quick-tags {
        display: flex;
        padding-top: .35rem;
    }
    .item-quick-tag {
        display: none;
        padding: .22rem .42rem;
        font-size: .52rem;
    }
    .item-quick-tag:first-child { display: inline-flex; }
    .menu-item .pizza-size-row,
    .menu-item.has-size-options .pizza-size-row {
        min-height: 28px;
        margin-top: .38rem;
        padding: .32rem .42rem;
        font-size: .57rem;
    }
    .menu-item > .btn-add-item,
    .menu-item.has-size-options .btn-add-item {
        min-width: 116px;
        min-height: 44px;
        margin: 0 .78rem .72rem;
        border-radius: 13px;
        padding-inline: .68rem;
        font-size: .7rem;
    }
    .btn-add-item svg { width: 16px; height: 16px; }

    .btn-clear-search {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }

    .btn-order-back,
    .btn-clear-cart,
    .btn-edit-cart-item,
    .qty-btn,
    .btn-remove-item,
    .radio-label {
        min-height: 44px;
    }

    .btn-edit-cart-item {
        display: inline-flex;
        align-items: center;
        padding-inline: .15rem;
    }

    .qty-control { grid-template-columns: 44px 38px 44px; }
    .qty-btn { height: 44px; }
    .btn-remove-item { width: 44px; height: 44px; }

    .fab-order {
        right: .65rem;
        bottom: calc(.55rem + env(safe-area-inset-bottom));
        left: .65rem;
        min-height: 64px;
        justify-content: flex-start;
        gap: .65rem;
        padding: .55rem .65rem;
        border: 1px solid rgba(255,184,0,.22);
        border-radius: 19px;
        color: #f7f7f7;
        background: rgba(19,19,19,.96);
        box-shadow: 0 18px 50px rgba(0,0,0,.58);
        backdrop-filter: blur(20px);
    }
    .fab-order.has-items {
        color: #080808;
        border-color: var(--yellow);
        background: var(--yellow);
        box-shadow: 0 18px 48px rgba(255,184,0,.24);
    }
    .fab-order:hover { transform: none; }
    .fab-order-icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        background: rgba(255,255,255,.08);
    }
    .fab-order.has-items .fab-order-icon { background: rgba(0,0,0,.1); }
    .fab-order-copy { display: grid; }
    .fab-order-copy small { color: #8f8f8f; font-size: .6rem; }
    .fab-order-copy strong { font-size: .84rem; }
    .fab-order.has-items .fab-order-copy small { color: rgba(0,0,0,.62); }
    .fab-order-total {
        display: none;
        margin-left: auto;
        padding: .58rem .72rem;
        border: 0;
        border-radius: 12px;
        color: #080808;
        background: rgba(255,255,255,.42);
        font-size: .88rem;
    }
    .fab-order.has-items .fab-order-total { display: block; }
    .cart-badge {
        position: static;
        order: -1;
        min-width: 28px;
        height: 28px;
        border: 0;
        color: #080808;
        background: var(--yellow);
    }
    .fab-order.has-items .cart-badge { color: #fff; background: #080808; }

    .active-order-tracker {
        right: .65rem;
        bottom: calc(5.25rem + env(safe-area-inset-bottom));
        left: .65rem;
        width: auto;
        min-height: 58px;
        border-radius: 16px;
    }

    .active-order-tracker-action {
        padding: .42rem .55rem;
        border-radius: 9px;
        background: rgba(255,184,0,.1);
    }

    .order-success-dialog {
        width: calc(100vw - 1rem);
        max-height: calc(100dvh - 1rem);
    }

    .order-success-body {
        gap: .62rem;
        padding: 1rem;
    }

    .order-tracking-head strong { font-size: .7rem; }
    .order-tracking-steps li strong { font-size: .52rem; }
    .order-success-body h3 { font-size: 1.7rem; }

    .quick-drink-suggestion {
        bottom: calc(82px + env(safe-area-inset-bottom));
        border-radius: 17px;
    }
    .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 767px), (orientation: landscape) and (max-height: 520px) {
    .hero-social-actions {
        width: min(100%, 390px);
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .42rem;
    }
    .hero-social-actions .instagram-cta {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 58px;
        display: flex;
        padding: .58rem .62rem;
        border-color: rgba(255,255,255,.22);
        border-radius: 17px;
        background:
            radial-gradient(circle at 0 50%, rgba(255,184,0,.18), transparent 10rem),
            linear-gradient(110deg, rgba(193,53,132,.78), rgba(105,38,111,.78) 54%, rgba(20,20,20,.92));
        box-shadow: 0 14px 34px rgba(129,39,103,.28);
    }
    .hero-social-actions .instagram-cta .social-icon {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        border-radius: 12px;
    }
    .hero-social-actions .instagram-copy small { font-size: .58rem; }
    .hero-social-actions .instagram-copy strong { font-size: .88rem; }
    .hero-social-actions .instagram-follow {
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        margin-left: auto;
        padding: 0 .72rem;
        border-radius: 999px;
        color: #080808;
        background: #fff;
        font-size: .66rem;
        font-weight: 1000;
        text-transform: uppercase;
    }
    .hero-profile-icon,
    .hero-install-icon {
        width: 100%;
        min-height: 44px;
    }
}

@media (max-width: 350px) {
    .container { padding-inline: .5rem; }
    .menu-command { margin-inline: -.5rem; padding-inline: .5rem; }
    .menu-item,
    .menu-item.has-size-options { grid-template-columns: 104px minmax(0,1fr); }
    .menu-item > .btn-add-item,
    .menu-item.has-size-options .btn-add-item { min-width: 104px; }
    .nav-pill { padding-inline: .6rem; }
}

@media (orientation: landscape) and (max-height: 520px) {
    body { padding-bottom: 70px; }
    .hero { min-height: 200px; }
    .logo { width: 54px; }
    .tagline, .open-badge { display: none; }
    .sticky-nav { min-height: 50px; }
    .nav-pill { min-height: 38px; }
    .menu-command { top: 50px; }
    .mobile-menu-intro,
    .mobile-service-summary { display: none; }
    .fab-order { min-height: 56px; }
}

@media (max-width:767px), (pointer:coarse) {
    .footer-social a,
    .nav-pill,
    .signature-chip,
    .btn-clear-search { min-height:44px; }
    .btn-clear-search { min-width:44px; }
}
