/* ==========================================================================
   1. CORE VARIABLES & RESET
   ========================================================================== */
:root {
    --yellow: #FFB800;
    --yellow-glow: rgba(255, 184, 0, 0.3);
    --yellow-dim: rgba(255, 184, 0, 0.12);
    --red: #E8341A;
    --green: #25D366;
    --blue: #38bdf8;
    --bg: #080808;
    --bg-card: #111111;
    --bg-card-hover: #181818;
    --bg-modal: #0e0e0e;
    --bg-tool: rgba(15, 15, 15, 0.82);
    --text: #f5f5f5;
    --text-muted: #777;
    --text-dim: #444;
    --border: rgba(255,255,255,0.07);
    --border-active: rgba(255, 184, 0, 0.4);
    --nav-h: 68px;
    --radius: 14px;
    --radius-lg: 22px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --app-height: 100dvh;
    --keyboard-offset: 0px;
    --browser-bottom-bar: 0px;
}

/* ========================================================================== 
   3.0 ELITE EXPERIENCE LAYER
   ========================================================================== */
:root {
    --text-muted: #a0a0a0;
    --text-dim: #686868;
    --border: rgba(255,255,255,0.11);
    --radius: 16px;
    --radius-lg: 24px;
}

.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);
}

@media (max-width: 767px) {
    .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: none;
    }

    .hero-primary-actions {
        flex-wrap: nowrap;
    }

    .hero-order-btn,
    .hero-menu-btn,
    .hero-install-btn {
        min-height: 48px;
        padding: 0.58rem 0.8rem;
        font-size: 0.82rem;
    }

    .hero-install-btn small {
        display: none;
    }

    .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 {
        border-radius: 18px;
    }

    .install-dialog-actions {
        grid-template-columns: 1fr;
    }

    .service-chip:nth-of-type(n+2) {
        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-total {
        display: block;
        margin-left: auto;
    }

    .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; }
}

html.ios-browser {
    --browser-bottom-bar: 84px;
}

html.ios-browser.keyboard-open {
    --browser-bottom-bar: 0px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overscroll-behavior-x: none;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    overscroll-behavior-x: none;
}
body::-webkit-scrollbar { display: none; }
body { scrollbar-width: none; }

/* ==========================================================================
   ANIMATED GRAIN OVERLAY
   ========================================================================== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.5;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.font-display { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.03em; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes scaleOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.9); } }
@keyframes sheetUp { from { transform: translateY(14px); } to { transform: translateY(0); } }
@keyframes sheetDown { from { transform: translateY(0); } to { transform: translateY(100%); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-6px); } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(20px); }
.reveal.visible { animation: fadeUp 0.55s var(--ease) forwards; }

dialog:not([open]) { display: none !important; }
dialog[open] { animation: scaleIn 0.28s var(--ease) forwards; }
dialog.closing { animation: scaleOut 0.22s var(--ease) forwards; }
body.modal-lock,
body.app-view-active {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}

button,
a,
label,
input {
    touch-action: manipulation;
}

input,
textarea,
select {
    font-size: 16px !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 58vh;
    min-height: 460px;
    padding: 0 1rem 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transform: scale(1.05);
    transition: transform 8s ease-out;
    filter: brightness(0.55) saturate(1.2);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom, transparent 20%, rgba(8,8,8,0.6) 70%, rgba(8,8,8,1) 100%),
        linear-gradient(to right, rgba(8,8,8,0.3), transparent 40%, transparent 60%, rgba(8,8,8,0.3));
}

/* Decorative accent line */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--yellow));
    z-index: 3;
}

.brand-container {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.logo-wrapper {
    position: relative;
    display: inline-flex;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--yellow-glow) 0%, transparent 70%);
    animation: float 4s ease-in-out infinite;
}

.logo {
    width: 160px;
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(255,184,0,0.4)) drop-shadow(0 2px 8px rgba(0,0,0,0.9));
    position: relative;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
}

.tagline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    letter-spacing: 0.35em;
    color: var(--yellow);
    text-transform: uppercase;
    opacity: 0.9;
}

.business-info {
    display: inline-flex;
    gap: 0;
    background: rgba(14, 14, 14, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-active);
    border-radius: 50px;
    overflow: hidden;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.info-item:not(:last-child) {
    border-right: 1px solid var(--border);
}

.info-item:hover { color: var(--text); }

.info-item svg {
    width: 14px;
    height: 14px;
    fill: var(--yellow);
    flex-shrink: 0;
}

.social-actions {
    display: inline-flex;
    align-items: stretch;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    max-width: min(100%, 520px);
}

.hero-primary-actions {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    width: min(100%, 520px);
}

.hero-order-btn,
.hero-menu-btn,
.hero-install-btn,
.menu-order-cta {
    border-radius: 999px;
    min-height: 46px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 1000;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.hero-order-btn {
    display: inline-grid;
    gap: 0.02rem;
    align-content: center;
    min-width: min(100%, 238px);
    padding: 0.72rem 1.35rem;
    border: 1px solid rgba(255,184,0,0.58);
    background: var(--yellow);
    color: #060606;
    box-shadow: 0 16px 40px rgba(255,184,0,0.24);
}

.hero-order-btn small {
    font-size: 0.66rem;
    font-weight: 900;
    opacity: 0.76;
}

.hero-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 0.72rem 1.1rem;
    color: var(--text);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(12,12,12,0.72);
    backdrop-filter: blur(12px);
}

.hero-install-btn {
    display: none;
    align-content: center;
    justify-items: center;
    gap: 0.02rem;
    min-width: min(100%, 238px);
    padding: 0.68rem 1.12rem;
    color: #050505;
    border: 1px solid rgba(255,184,0,0.7);
    background: linear-gradient(135deg, var(--yellow), #ffd879);
    box-shadow: 0 18px 48px rgba(255,184,0,0.22);
}

.hero-install-btn.is-visible {
    display: inline-grid;
}

.hero-install-btn small {
    max-width: 200px;
    color: rgba(0,0,0,0.72);
    font-size: 0.64rem;
    font-weight: 900;
    line-height: 1.1;
}

.hero-order-btn:hover,
.hero-menu-btn:hover,
.hero-install-btn:hover,
.menu-order-cta:hover {
    transform: translateY(-1px);
}

.instagram-cta,
.social-icon-link {
    color: var(--text);
    text-decoration: none;
    border: 1px solid rgba(255, 184, 0, 0.28);
    background: rgba(14, 14, 14, 0.88);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 44px rgba(0,0,0,0.35);
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.instagram-cta:hover,
.social-icon-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 184, 0, 0.55);
    background: rgba(20, 20, 20, 0.95);
}

.instagram-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 52px;
    padding: 0.65rem 1rem 0.65rem 0.7rem;
    border-radius: 999px;
}

.instagram-cta .social-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af);
    flex-shrink: 0;
    box-shadow: 0 0 24px rgba(221, 42, 123, 0.35);
}

.instagram-cta svg,
.social-icon-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.instagram-cta strong {
    display: block;
    font-size: 0.78rem;
    line-height: 1.05;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.instagram-cta span:last-child {
    min-width: 0;
    text-align: left;
}

.instagram-cta small {
    display: block;
    margin-top: 0.18rem;
    color: var(--yellow);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

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

.social-icon-link {
    min-width: 52px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.48rem;
    border-radius: 50%;
    padding: 0 1rem;
}

.social-icon-link.facebook {
    color: #7bb5ff;
    border-radius: 999px;
}

.social-icon-link.facebook span {
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ==========================================================================
   STICKY NAVIGATION
   ========================================================================== */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    margin-top: 0;
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: var(--nav-h);
    padding: 0 1.5rem;
    overflow-x: auto;
    gap: 0.35rem;
    scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }

.nav-pill {
    position: relative;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    white-space: nowrap;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
    letter-spacing: 0.01em;
}

.nav-pill:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-pill.active {
    color: var(--yellow);
    background: var(--yellow-dim);
    font-weight: 700;

}

.nav-pill.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--yellow);
    border-radius: 2px;
}

/* Category emoji indicator */
.nav-pill .nav-emoji {
    margin-right: 0.3em;
    font-style: normal;
}

/* ==========================================================================
   HERO BADGE (open indicator)
   ========================================================================== */
.open-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.open-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    position: relative;
}

.open-badge-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.4);
    animation: pulse-ring 1.5s ease-out infinite;
}

.open-badge.is-closed {
    background: rgba(232, 52, 26, 0.13);
    border-color: rgba(232, 52, 26, 0.3);
    color: #ff9a8b;
}

.open-badge.is-closed .open-badge-dot {
    background: #ff6b5a;
}

.open-badge.is-closed .open-badge-dot::after {
    background: rgba(255, 107, 90, 0.25);
    animation: none;
}

/* ==========================================================================
   MAIN LAYOUT
   ========================================================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 10rem;
}

/* ==========================================================================
   MENU COMMAND BAR
   ========================================================================== */
.menu-command {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 1.2rem;
    align-items: stretch;
    margin-bottom: 1.8rem;
}

.command-copy,
.menu-tools {
    background: var(--bg-tool);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 70px rgba(0,0,0,0.35);
}

.command-copy {
    padding: 1.35rem 1.45rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.command-copy::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--yellow), var(--red));
}

.command-eyebrow {
    color: var(--yellow);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.command-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.04em;
    line-height: 0.95;
    margin-bottom: 0.45rem;
}

.command-copy p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 620px;
}

.menu-tools {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
}

.search-box {
    display: grid;
    grid-template-columns: 22px 1fr 34px;
    align-items: center;
    gap: 0.6rem;
    min-height: 50px;
    background: rgba(0,0,0,0.32);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    padding: 0 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box:focus-within {
    border-color: rgba(255,184,0,0.45);
    box-shadow: 0 0 0 3px rgba(255,184,0,0.08);
}

.search-box svg {
    width: 20px;
    height: 20px;
    color: var(--yellow);
}

.search-box input {
    width: 100%;
    min-width: 0;
    background: transparent;
    border: none;
    color: var(--text);
    font: 600 0.95rem 'DM Sans', sans-serif;
}

.search-box input:focus { outline: none; }
.search-box input::placeholder { color: #555; }
.search-box input::-webkit-search-cancel-button { display: none; }

.btn-clear-search {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
}

.btn-clear-search.active { display: flex; }
.btn-clear-search:hover { color: white; background: rgba(255,255,255,0.12); }

.service-chips,
.signature-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-chip,
.signature-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 34px;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.service-chip {
    color: var(--text);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
}

.service-chip strong { color: var(--yellow); }

.menu-order-cta {
    min-height: 34px;
    border: 1px solid rgba(255,184,0,0.42);
    background: var(--yellow);
    color: #050505;
    padding: 0.45rem 0.9rem;
    font-size: 0.76rem;
}

.install-app-cta {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 34px;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font: 800 0.76rem 'DM Sans', sans-serif;
    letter-spacing: 0.02em;
    color: #050505;
    background: var(--yellow);
    border: 1px solid rgba(255,184,0,0.65);
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.install-app-cta.is-visible {
    display: inline-flex;
}

.install-app-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(255,184,0,0.24);
    background: #ffd166;
}

.install-app-cta svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.account-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 34px;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font: 800 0.76rem 'DM Sans', sans-serif;
    letter-spacing: 0.02em;
    color: var(--text);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.account-cta:hover {
    color: var(--yellow);
    border-color: rgba(255,184,0,0.35);
    background: var(--yellow-dim);
}

.account-cta svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.signature-strip {
    margin: 0 0 2.6rem;
    align-items: center;
}

.signature-label {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-right: 0.15rem;
}

.signature-chip {
    border: 1px solid rgba(255,184,0,0.18);
    background: rgba(255,184,0,0.08);
    color: var(--yellow);
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}

.signature-chip:hover,
.signature-chip.active {
    transform: translateY(-1px);
    background: rgba(255,184,0,0.16);
    border-color: rgba(255,184,0,0.42);
}

.search-status {
    display: none;
    margin: -1.2rem 0 2rem;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.search-status.active { display: block; }

.menu-empty {
    display: none;
    margin: 0 0 3rem;
    padding: 1.25rem;
    border: 1px dashed rgba(255,184,0,0.28);
    border-radius: var(--radius);
    color: var(--text-muted);
    text-align: center;
    background: rgba(255,184,0,0.05);
}

.menu-empty.active { display: block; }

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.menu-section {
    padding-top: 4rem;
    margin-top: -4rem;
    scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.menu-section.is-empty { display: none; }

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.section-icon {
    font-size: 1.8rem;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text);
    letter-spacing: 0.04em;
    line-height: 1;
}

.section-title span {
    color: var(--yellow);
}

.section-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-active), transparent);
    margin-left: 0.5rem;
}

/* ==========================================================================
   MENU GRID
   ========================================================================== */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1rem;
}

/* ==========================================================================
   MENU ITEM CARDS
   ========================================================================== */
.menu-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.3rem;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

/* Left accent bar */
.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: var(--yellow);
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transform: scaleY(0.5);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--spring);
}

.menu-item:hover {
    border-color: var(--border-active);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px var(--border-active);
}

.menu-item:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.menu-item.is-filtered-out,
.menu-item[hidden] { display: none !important; }

.menu-item.is-featured {
    border-color: rgba(255,184,0,0.82);
    box-shadow: 0 0 0 3px rgba(255,184,0,0.2), 0 18px 48px rgba(0,0,0,0.52);
    animation: featured-menu-item 1.6s var(--ease) both;
}

@keyframes featured-menu-item {
    0%, 100% { transform: translateY(0); }
    35% { transform: translateY(-4px); }
}

.item-content { flex-grow: 1; min-width: 0; }

.item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.45rem;
}

.item-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.item-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0.18rem 0.46rem;
    border-radius: 999px;
    border: 1px solid rgba(255,184,0,0.28);
    background: rgba(255,184,0,0.1);
    color: var(--yellow);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.item-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: var(--yellow);
    white-space: nowrap;
    letter-spacing: 0.03em;
    line-height: 1;
    flex-shrink: 0;
}

.item-price-from {
    font-size: 0.65rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
    text-align: right;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1px;
}

.item-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.pizza-size-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.7rem;
}

.item-quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.item-quick-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 0.22rem 0.5rem;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.item-quick-tag.is-hot {
    color: var(--yellow);
    border-color: rgba(255,184,0,0.22);
    background: rgba(255,184,0,0.075);
}

.pizza-size-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-height: 26px;
    border: 1px solid rgba(255,184,0,0.18);
    border-radius: 999px;
    padding: 0.26rem 0.52rem;
    background: rgba(255,184,0,0.07);
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 900;
    white-space: nowrap;
}

.pizza-size-chip strong {
    color: var(--yellow);
}

/* Add to cart button */
.btn-add-item {
    background: var(--yellow-dim);
    border: 1px solid rgba(255,184,0,0.25);
    color: var(--yellow);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--spring);
    flex-shrink: 0;
}

.btn-add-item:hover {
    background: var(--yellow);
    color: #000;
    border-color: var(--yellow);
    transform: scale(1.12) rotate(90deg);
    box-shadow: 0 0 20px var(--yellow-glow);
}

.btn-add-item:focus-visible,
.btn-gallery:focus-visible,
.signature-chip:focus-visible,
.fab-order:focus-visible,
.btn-send-whatsapp:focus-visible,
.btn-close-order:focus-visible,
.btn-clear-search:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
}

.btn-add-item svg { width: 22px; height: 22px; fill: currentColor; }

/* ==========================================================================
   PIZZA PRICE TABLE (inline)
   ========================================================================== */
.price-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.price-table::after {
    content: '🍕';
    position: absolute;
    right: 1.5rem;
    bottom: 1rem;
    font-size: 5rem;
    opacity: 0.04;
    pointer-events: none;
}

.pt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.pt-col h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--yellow);
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.pt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pt-row span:last-child {
    color: var(--text);
    font-weight: 600;
}

/* ==========================================================================
   GALLERY BUTTON
   ========================================================================== */
.btn-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 3.5rem;
    background: transparent;
    color: var(--yellow);
    border: 1.5px solid rgba(255,184,0,0.35);
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.25s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--yellow-dim);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.btn-gallery:hover::before { transform: scaleX(1); }
.btn-gallery:hover { border-color: var(--yellow); box-shadow: 0 0 30px var(--yellow-glow); }

.btn-gallery span { position: relative; z-index: 1; }

.menu-reference-button {
    margin-top: 1rem;
    margin-bottom: 0;
    opacity: 0.82;
}

/* ==========================================================================
   LIGHTBOX / GALLERY
   ========================================================================== */
.elite-lightbox {
    margin: auto;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    background: rgba(4, 4, 4, 0.97);
    backdrop-filter: blur(20px);
    border: none;
    padding: 0;
    color: white;
    overflow: hidden;
    overscroll-behavior: contain;
}

.elite-lightbox::backdrop { background: rgba(0, 0, 0, 0.95); }

.lightbox-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
}

.btn-close-lightbox {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease);
}

.btn-close-lightbox:hover {
    background: var(--yellow);
    color: #000;
    border-color: var(--yellow);
}

.lightbox-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    pointer-events: none;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease);
    backdrop-filter: blur(8px);
}

.gallery-nav-btn:hover { background: var(--yellow); color: #000; border-color: var(--yellow); }
.gallery-nav-btn.prev { left: 2rem; }
.gallery-nav-btn.next { right: 2rem; }

.gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-slide {
    flex: 0 0 100vw;
    height: 100%;
    display: flex;
    justify-content: center;
    scroll-snap-align: center;
    overflow-y: auto;
    scrollbar-width: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.gallery-slide img {
    max-width: calc(100% - 2rem);
    height: auto;
    border-radius: 12px;
    box-shadow: 0 32px 80px rgba(0,0,0,1);
    user-select: none;
    margin: 4rem 0;
}

/* ==========================================================================
   FLOATING ACTION BUTTON (WhatsApp Cart)
   ========================================================================== */
.fab-order {
    position: fixed;
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
    right: 1.5rem;
    background: #25D366;
    color: #fff;
    padding: 0.9rem 1.4rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0,0,0,0.5);
    transition: all 0.25s var(--spring);
    z-index: 30;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.01em;
}

.fab-order:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 48px rgba(37, 211, 102, 0.5), 0 2px 8px rgba(0,0,0,0.5);
}

.fab-order svg { width: 20px; height: 20px; fill: currentColor; }

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--yellow);
    color: #000;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    font-size: 0.75rem;
    font-weight: 800;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--bg);
}

/* ==========================================================================
   ORDER DIALOG
   ========================================================================== */
.order-dialog {
    margin: auto;
    width: min(94vw, 540px);
    max-width: 540px;
    background:
        linear-gradient(180deg, rgba(255,184,0,0.08), transparent 160px),
        var(--bg-modal);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 0;
    color: var(--text);
    box-shadow: 0 36px 90px rgba(0,0,0,0.82), 0 0 0 1px rgba(255,184,0,0.08);
    max-height: min(calc(var(--app-height, 100dvh) - 1.5rem), 760px);
    overflow: hidden;
    overscroll-behavior: contain;
}

.order-dialog[open] {
    display: flex;
    flex-direction: column;
    touch-action: pan-y;
}

.order-dialog::backdrop { background: rgba(0,0,0,0.86); backdrop-filter: blur(10px); }

.order-dialog.cart-is-empty .cart-summary,
.order-dialog.cart-is-empty .checkout-form {
    display: none;
}

body.order-screen-active {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}

.order-screen[hidden] { display: none; }

.order-screen {
    position: fixed;
    top: var(--app-top, 0px);
    right: 0;
    bottom: auto;
    left: 0;
    height: var(--app-height, 100dvh);
    z-index: 240;
    color: var(--text);
    background: rgba(0,0,0,0.72);
    transform: none;
}

.order-app-shell {
    width: min(100vw, 720px);
    height: var(--app-height);
    min-height: var(--app-height);
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,184,0,0.14), transparent 30%),
        linear-gradient(180deg, #13120d 0%, #080808 38%, #090909 100%);
    border-left: 1px solid rgba(255,255,255,0.08);
    border-right: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 40px 120px rgba(0,0,0,0.72);
}

.order-screen-header {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    padding: calc(0.7rem + env(safe-area-inset-top, 0px)) 1rem 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(9,9,9,0.88);
    backdrop-filter: blur(18px);
}

.checkout-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(9,9,9,0.82);
}

.checkout-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    background: rgba(255,255,255,0.035);
    font-size: 0.72rem;
    font-weight: 900;
    white-space: nowrap;
}

.checkout-step strong {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: currentColor;
    font-size: 0.68rem;
}

.checkout-step.is-active,
.checkout-step.is-complete {
    border-color: rgba(255,184,0,0.28);
    color: var(--yellow);
    background: rgba(255,184,0,0.08);
}

.checkout-step.is-complete strong {
    background: var(--yellow);
    color: #050505;
}

.btn-order-back {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-order-back:hover {
    background: rgba(255,184,0,0.12);
    border-color: rgba(255,184,0,0.28);
    transform: translateX(-1px);
}

.order-screen-title {
    min-width: 0;
    line-height: 1;
}

.order-screen-title span,
.order-panel-kicker {
    display: block;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.28rem;
}

.order-screen-title h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--yellow);
    font-size: 1.8rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-screen-content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
    display: grid;
    gap: 0.9rem;
    align-content: start;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.order-panel {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    background: rgba(255,255,255,0.045);
    box-shadow: 0 18px 40px rgba(0,0,0,0.24);
    padding: 0.9rem;
}

.app-view-screen[hidden] { display: none; }

.app-view-screen {
    position: fixed;
    top: var(--app-top, 0px);
    right: 0;
    bottom: auto;
    left: 0;
    height: var(--app-height, 100dvh);
    z-index: 230;
    color: var(--text);
    background: rgba(0,0,0,0.78);
}

.app-view-shell {
    width: min(100vw, 980px);
    height: var(--app-height);
    min-height: var(--app-height);
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    background:
        radial-gradient(circle at 88% 4%, rgba(255,184,0,0.14), transparent 30%),
        linear-gradient(180deg, #121212 0%, #090909 46%, #080808 100%);
    border-left: 1px solid rgba(255,255,255,0.08);
    border-right: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 40px 120px rgba(0,0,0,0.72);
}

.app-view-content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
    display: grid;
    gap: 1rem;
    align-content: start;
}

.profile-dashboard,
.employee-dashboard {
    display: grid;
    gap: 1rem;
}

.profile-grid,
.employee-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
    gap: 1rem;
    align-items: start;
}

.view-panel {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    background: rgba(255,255,255,0.045);
    box-shadow: 0 18px 40px rgba(0,0,0,0.24);
    padding: 1rem;
}

.view-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    margin-bottom: 0.85rem;
}

.view-panel-head h4 {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.2;
}

.view-panel-kicker {
    display: block;
    color: var(--yellow);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.28rem;
}

.employee-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.employee-stat {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    padding: 0.85rem;
}

.employee-stat span {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.employee-stat strong {
    display: block;
    color: var(--yellow);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.03em;
    margin-top: 0.25rem;
}

.employee-placeholder {
    color: var(--text-muted);
    line-height: 1.55;
    font-size: 0.9rem;
}

.customer-ordering-panel {
    display: grid;
    gap: 0.9rem;
}

.customer-menu-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.customer-category-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
}

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

.customer-category-tab {
    flex-shrink: 0;
    min-height: 38px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    background: rgba(255,255,255,0.045);
    color: var(--text-muted);
    font: 900 0.76rem 'DM Sans', sans-serif;
    cursor: pointer;
}

.customer-category-tab.active {
    border-color: var(--border-active);
    background: var(--yellow-dim);
    color: var(--yellow);
}

.customer-menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

.customer-menu-grid .menu-item {
    min-height: 150px;
}

.customer-order-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-customer-checkout {
    min-height: 44px;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    background: var(--yellow);
    color: #050505;
    font: 1000 0.84rem 'DM Sans', sans-serif;
    cursor: pointer;
}

.customer-menu-empty {
    border: 1px dashed rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-muted);
    font-weight: 800;
    text-align: center;
}

.order-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.85rem;
}

.order-panel-head h4 {
    font-size: 1rem;
    line-height: 1.2;
    color: var(--text);
}

.order-pill {
    flex-shrink: 0;
    padding: 0.36rem 0.55rem;
    border-radius: 999px;
    background: rgba(255,184,0,0.12);
    border: 1px solid rgba(255,184,0,0.18);
    color: var(--yellow);
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.order-screen .cart-items-container {
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding: 0;
    border-bottom: none;
    flex-shrink: 1;
}

.order-screen .checkout-form {
    padding: 0.9rem;
    overflow: visible;
    flex: none;
}

.order-screen .cart-summary {
    padding: 0;
    border-bottom: none;
    background: transparent;
}

.cart-summary-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.cart-summary-note {
    color: var(--yellow);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
}

.order-summary-bar {
    position: relative;
    z-index: 8;
    flex: 0 0 auto;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(9,9,9,0.94);
    backdrop-filter: blur(18px);
    display: grid;
    gap: 0.75rem;
}

.customer-screen .app-view-shell {
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.customer-checkout-dock {
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.78rem 1rem calc(0.78rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(9,9,9,0.96);
    box-shadow: 0 -16px 38px rgba(0,0,0,0.42);
    backdrop-filter: blur(18px);
}

.customer-checkout-dock > div {
    min-width: 0;
    display: grid;
    gap: 0.18rem;
}

.customer-checkout-dock small {
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.customer-checkout-dock strong {
    overflow: hidden;
    color: var(--text);
    font-size: 0.84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-checkout-dock .btn-customer-checkout {
    min-width: 150px;
}

.customer-checkout-dock .btn-customer-checkout:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

@media (max-width: 560px) {
    .customer-checkout-dock {
        padding-inline: 0.8rem;
    }

    .customer-checkout-dock .btn-customer-checkout {
        width: auto;
        min-width: 138px;
    }
}

.order-summary-bar .btn-send-whatsapp {
    position: static;
    bottom: auto;
    margin: 0;
    min-height: 54px;
}

.order-screen.cart-is-empty .checkout-form,
.order-screen.cart-is-empty .order-summary-bar {
    display: none;
}

.order-screen.cart-is-empty .order-cart-panel {
    min-height: min(52vh, 430px);
    display: grid;
    align-content: center;
}

html.keyboard-open .order-app-shell {
    grid-template-rows: auto minmax(0, 1fr);
}

html.keyboard-open .order-summary-bar {
    display: none;
}

html.keyboard-open .checkout-steps {
    display: none;
}

html.keyboard-open .order-screen-header {
    padding-top: max(0.5rem, env(safe-area-inset-top, 0px));
    padding-bottom: 0.55rem;
}

html.keyboard-open .order-screen-title span {
    display: none;
}

html.keyboard-open .order-screen-title h3 {
    font-size: 1.35rem;
}

html.keyboard-open .btn-order-back {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

html.keyboard-open .order-screen-content,
html.checkout-input-focused .order-screen-content {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    scroll-padding-top: 72px;
    scroll-padding-bottom: 1rem;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.4rem 1.1rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    background: rgba(0,0,0,0.16);
}

.order-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-clear-cart {
    background: rgba(232,52,26,0.08);
    border: 1px solid rgba(232,52,26,0.18);
    color: #ff8d7c;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    border-radius: 8px;
    padding: 0.45rem 0.7rem;
}
.btn-clear-cart:hover { color: #fff; background: rgba(232,52,26,0.8); border-color: rgba(232,52,26,0.9); }

.order-header h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--yellow);
    letter-spacing: 0.05em;
}

.btn-close-order {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
    flex-shrink: 0;
}

.btn-close-order:hover { color: white; background: rgba(255,255,255,0.12); transform: rotate(90deg); }

.cart-items-container {
    min-height: 120px;
    max-height: min(42vh, 360px);
    overflow-y: auto;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    flex-shrink: 0;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    padding: 0.95rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    background: rgba(255,255,255,0.035);
    margin-bottom: 0.75rem;
}

.cart-item:last-child { margin-bottom: 0; }

.cart-item-details { min-width: 0; }

.cart-item-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.cart-item-name {
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.cart-item-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--yellow);
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.cart-item-meta {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 600;
    margin-bottom: 0.55rem;
}

.btn-edit-cart-item {
    width: fit-content;
    margin: 0 0 0.5rem;
    padding: 0;
    border: 0;
    color: var(--yellow);
    background: transparent;
    font: 800 0.72rem 'DM Sans', sans-serif;
    cursor: pointer;
}

.btn-edit-cart-item:hover,
.btn-edit-cart-item:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-item-note-input {
    width: 100%;
    background: rgba(0,0,0,0.24);
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--text);
    font-size: 0.8rem;
    padding: 0.55rem 0.65rem;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.cart-item-note-input::placeholder { color: #555; }
.cart-item-note-input:focus {
    outline: none;
    border-color: rgba(255,184,0,0.45);
    box-shadow: 0 0 0 3px rgba(255,184,0,0.08);
    background: rgba(0,0,0,0.34);
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.65rem;
}

.qty-control {
    display: grid;
    grid-template-columns: 32px 34px 32px;
    align-items: center;
    background: rgba(0,0,0,0.24);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.qty-btn,
.btn-remove-item {
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s, transform 0.2s;
}

.qty-btn {
    height: 32px;
    background: transparent;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 800;
}

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

.qty-value {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text);
}

.btn-remove-item {
    background: rgba(232,52,26,0.1);
    border: 1px solid rgba(232,52,26,0.2);
    color: #ff8d7c;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    align-self: flex-end;
}

.btn-remove-item:hover { background: var(--red); color: white; transform: translateY(-1px); }
.btn-remove-item svg { width: 16px; height: 16px; fill: currentColor; }

.empty-cart-state {
    text-align: center;
    color: var(--text-muted);
    padding: 1.35rem 0.5rem;
}

.empty-cart-state strong {
    display: block;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.btn-repeat-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
    min-height: 40px;
    border-radius: 999px;
    padding: 0.6rem 0.95rem;
    border: 1px solid rgba(255,184,0,0.3);
    background: var(--yellow-dim);
    color: var(--yellow);
    font: 800 0.78rem 'DM Sans', sans-serif;
    cursor: pointer;
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.btn-repeat-order:hover {
    transform: translateY(-1px);
    border-color: rgba(255,184,0,0.55);
    background: rgba(255,184,0,0.18);
}

.cart-summary {
    padding: 1rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,184,0,0.06);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.cart-summary-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.cart-summary-total {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--yellow);
    letter-spacing: 0.03em;
}

.delivery-notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
    margin: 0.65rem 0 1rem;
    border: 1px solid rgba(255,184,0,0.22);
    background: linear-gradient(135deg, rgba(255,184,0,0.12), rgba(255,184,0,0.045));
    color: var(--text);
    border-radius: 14px;
    padding: 0.72rem 0.8rem;
    font-size: 0.8rem;
    line-height: 1.35;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.delivery-notice[hidden] {
    display: none;
}

.delivery-notice-icon {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--yellow);
    color: #101010;
    font-weight: 1000;
    line-height: 1;
    margin-top: 0.02rem;
}

.delivery-notice-copy {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.delivery-notice strong {
    color: var(--yellow);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.delivery-notice-copy > span {
    color: var(--text-muted);
    font-weight: 700;
}

.checkout-confirm-card {
    margin-top: 0.95rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 0.9rem;
}

.checkout-confirm-card strong {
    display: block;
    color: var(--text);
    font-size: 0.9rem;
    margin-bottom: 0.22rem;
}

.checkout-confirm-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
    font-weight: 700;
}

.checkout-review {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0.8rem 0 0;
}

.checkout-review > div {
    min-width: 0;
    padding: 0.65rem 0.7rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 11px;
    background: rgba(255,255,255,0.035);
}

.checkout-review dt {
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.checkout-review dd {
    margin: 0.18rem 0 0;
    color: var(--text);
    font-size: 0.76rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

/* Size selection dialog */
.size-options-container {
    padding: 1.2rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    overscroll-behavior: contain;
    scroll-padding-bottom: 1rem;
}

.size-action-footer {
    flex-shrink: 0;
    padding: 0.85rem 1.4rem calc(1rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(14,14,14,0.72), var(--bg-modal) 38%),
        var(--bg-modal);
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
}

.option-group-label {
    color: var(--yellow);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.option-group-hint {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.4;
    margin-top: -0.15rem;
}

.size-option,
.choice-option {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1.1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    text-align: left;
}

.choice-option[hidden] {
    display: none !important;
}

.option-group-size-note {
    display: block;
    margin: -0.15rem 0 0.55rem;
    color: var(--yellow);
    font-size: 0.7rem;
    font-weight: 800;
}

.choice-option {
    justify-content: center;
    flex-direction: column;
    min-height: 44px;
    font-weight: 800;
    line-height: 1.1;
}

.choice-option small {
    color: var(--yellow);
    font-size: 0.72rem;
    font-weight: 900;
}

.size-option:hover,
.choice-option:hover,
.size-option.is-selected,
.choice-option.is-selected {
    border-color: var(--border-active);
    background: var(--yellow-dim);
    transform: translateX(4px);
}

.size-option.is-selected,
.choice-option.is-selected {
    color: var(--yellow);
}

.size-option-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.size-option-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--yellow);
    letter-spacing: 0.03em;
}

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

.item-option-note {
    width: 100%;
    min-height: 88px;
    resize: vertical;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font: 600 16px 'DM Sans', sans-serif;
    padding: 0.75rem 0.85rem;
}

.item-option-note:focus {
    outline: none;
    border-color: rgba(255,184,0,0.45);
    box-shadow: 0 0 0 3px rgba(255,184,0,0.08);
}

.btn-add-configured {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    border-radius: 12px;
    background: var(--yellow);
    color: #050505;
    font: 900 0.92rem 'DM Sans', sans-serif;
    cursor: pointer;
    transition: transform 0.2s var(--spring), box-shadow 0.2s var(--ease), opacity 0.2s var(--ease);
    box-shadow: 0 14px 34px rgba(255,184,0,0.22);
}

.btn-add-configured:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(255,184,0,0.28);
}

.btn-add-configured:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================================================
   CHECKOUT FORM
   ========================================================================== */
.checkout-form {
    padding: 1.25rem 1.4rem 1.4rem;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.form-group { margin-bottom: 0.9rem; }

.form-group label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: rgba(255,184,0,0.4);
    box-shadow: 0 0 0 3px rgba(255,184,0,0.08);
}

.radio-group {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.radio-label {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.2s var(--ease);
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    min-height: 44px;
    line-height: 1.2;
}

.radio-label input { display: none; }

.radio-label:has(input:checked) {
    background: var(--yellow-dim);
    border-color: var(--border-active);
    color: var(--yellow);
}

.conditional-fields {
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
    max-height: 0;
}

.conditional-fields.active { max-height: 400px; }
.conditional-fields[hidden] { display: none !important; }

.save-profile-toggle {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.2rem;
    padding: 0.72rem 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.035);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
}

.save-profile-toggle input {
    width: 18px;
    height: 18px;
    accent-color: var(--yellow);
    flex-shrink: 0;
}

.install-dialog {
    width: min(92vw, 430px);
    margin: auto;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    background: var(--bg-modal);
    color: var(--text);
    box-shadow: 0 24px 80px rgba(0,0,0,0.65);
}

.install-dialog::backdrop {
    background: rgba(0,0,0,0.74);
    backdrop-filter: blur(8px);
}

.install-dialog-body {
    padding: 1.25rem;
}

.install-brand-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid rgba(255,184,0,0.18);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,184,0,0.12), rgba(255,255,255,0.035));
}

.install-brand-card img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
}

.install-brand-card strong,
.install-brand-card span {
    display: block;
}

.install-brand-card strong {
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 1000;
}

.install-brand-card span {
    margin-top: 0.16rem;
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.35;
}

.install-dialog-body h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--yellow);
    font-size: 2rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.45rem;
}

.install-dialog-body p {
    color: var(--text-muted);
    line-height: 1.55;
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.install-dialog-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: stretch;
}

.btn-install-profile,
.btn-install-ok {
    min-height: 46px;
    border-radius: 12px;
    font: 1000 0.84rem 'DM Sans', sans-serif;
    cursor: pointer;
}

.btn-install-profile {
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
}

.btn-install-ok {
    color: #050505;
    border: none;
    background: var(--yellow);
}

.order-success-dialog {
    width: min(94vw, 540px);
    margin: auto;
    border: 1px solid rgba(255,184,0,0.22);
    border-radius: 20px;
    padding: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 50% 0%, rgba(255,184,0,0.2), transparent 44%),
        var(--bg-modal);
    box-shadow: 0 36px 90px rgba(0,0,0,0.82);
    overflow: hidden;
}

.order-success-dialog::backdrop {
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(10px);
}

.order-success-body {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.55rem;
}

.order-success-mark {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-weight: 1000;
    font-size: 1.55rem;
    box-shadow: 0 16px 34px rgba(37,211,102,0.25);
}

.order-success-body h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--yellow);
    font-size: 2rem;
    letter-spacing: 0.04em;
    line-height: 1;
}

.order-success-body p {
    color: var(--text-muted);
    font-weight: 700;
    line-height: 1.45;
    font-size: 0.9rem;
}

.order-tracking-summary {
    display: grid;
    gap: 0.85rem;
    width: 100%;
    padding: 0.9rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    background: rgba(0,0,0,0.24);
}

.order-tracking-summary[hidden] {
    display: none;
}

.order-tracking-head {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    text-align: left;
}

.order-tracking-head > div {
    min-width: 0;
}

.order-tracking-head small {
    display: block;
    color: var(--text-muted);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.order-tracking-head strong {
    display: block;
    margin-top: 0.15rem;
    color: var(--text);
    font-size: 0.76rem;
    overflow-wrap: anywhere;
}

.order-tracking-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-tracking-steps li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    color: #666;
    font-size: 0.58rem;
    text-align: center;
}

.order-tracking-steps li::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 13px;
    right: 50%;
    width: 100%;
    height: 2px;
    background: #343434;
}

.order-tracking-steps li:first-child::before {
    display: none;
}

.order-tracking-steps li span {
    position: relative;
    z-index: 1;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 2px solid #343434;
    border-radius: 50%;
    color: #777;
    background: #171717;
    font-weight: 1000;
}

.order-tracking-steps li.is-complete::before,
.order-tracking-steps li.is-active::before {
    background: var(--green);
}

.order-tracking-steps li.is-complete span,
.order-tracking-steps li.is-active span {
    border-color: var(--green);
    color: #07150c;
    background: var(--green);
}

.order-tracking-steps li.is-complete,
.order-tracking-steps li.is-active {
    color: var(--text);
}

.order-tracking-state {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.75rem;
    border-radius: 12px;
    text-align: left;
    background: rgba(37,211,102,0.08);
}

.order-tracking-pulse {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    margin-top: 0.25rem;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(37,211,102,0.45);
    animation: orderPulse 1.8s infinite;
}

.order-tracking-state strong {
    color: var(--text);
    font-size: 0.82rem;
}

.order-tracking-state p {
    margin-top: 0.12rem;
    font-size: 0.7rem;
}

.order-tracking-summary.has-issue .order-tracking-state {
    background: rgba(255,74,74,0.1);
}

.order-tracking-summary.has-issue .order-tracking-pulse {
    background: #ff5959;
    animation: none;
}

@keyframes orderPulse {
    70% { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.active-order-tracker {
    position: fixed;
    z-index: 115;
    right: 1.25rem;
    bottom: 6.4rem;
    width: min(340px, calc(100vw - 2rem));
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(37,211,102,0.34);
    border-radius: 16px;
    color: var(--text);
    background: rgba(17,17,17,0.97);
    box-shadow: 0 18px 50px rgba(0,0,0,0.48);
    backdrop-filter: blur(18px);
    cursor: pointer;
}

.active-order-tracker[hidden] {
    display: none;
}

.active-order-tracker-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(37,211,102,0.12);
}

.active-order-tracker-icon i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    animation: orderPulse 1.8s infinite;
}

.active-order-tracker-copy {
    min-width: 0;
    display: grid;
    gap: 0.08rem;
    text-align: left;
}

.active-order-tracker-copy small {
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 800;
}

.active-order-tracker-copy strong {
    overflow: hidden;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.active-order-tracker-action {
    margin-left: auto;
    color: var(--yellow);
    font-size: 0.68rem;
    font-weight: 900;
    white-space: nowrap;
}

.active-order-tracker.is-ready {
    border-color: rgba(255,184,0,0.5);
}

.active-order-tracker.is-ready .active-order-tracker-icon {
    background: rgba(255,184,0,0.14);
}

.active-order-tracker.is-ready .active-order-tracker-icon i {
    background: var(--yellow);
}

.active-order-tracker.is-terminal .active-order-tracker-icon i {
    animation: none;
}

.order-success-actions {
    display: grid;
    gap: 0.55rem;
    width: 100%;
    margin-top: 0.3rem;
}

.btn-success-primary,
.btn-success-secondary {
    min-height: 44px;
    border-radius: 12px;
    font: 1000 0.86rem 'DM Sans', sans-serif;
    cursor: pointer;
}

.btn-success-primary {
    border: none;
    background: var(--yellow);
    color: #050505;
}

.btn-success-secondary {
    border: 1px solid rgba(255,184,0,0.28);
    background: rgba(255,184,0,0.08);
    color: var(--yellow);
}

.btn-install-ok {
    min-height: 42px;
    border: none;
    border-radius: 11px;
    padding: 0.7rem 1rem;
    background: var(--yellow);
    color: #050505;
    font: 800 0.86rem 'DM Sans', sans-serif;
    cursor: pointer;
}

.account-dialog {
    width: min(94vw, 590px);
}

.account-body {
    padding: 1.25rem;
    max-height: none;
    overflow: visible;
}

.account-status {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.account-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.account-tab {
    min-height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    color: var(--text-muted);
    font-weight: 800;
    cursor: pointer;
}

.account-tab.active {
    background: var(--yellow-dim);
    border-color: var(--border-active);
    color: var(--yellow);
}

.account-form {
    display: none;
    flex-direction: column;
    gap: 0.8rem;
}

.account-form.active {
    display: flex;
}

.account-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.account-contact-grid label > span {
    justify-self: end;
    margin-top: -1.15rem;
    color: var(--yellow);
    font-size: 0.66rem;
    font-weight: 900;
}

.account-field-note,
.account-privacy-note {
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.5;
}

.account-form-heading {
    display: grid;
    gap: 0.28rem;
    padding: 0.85rem;
    border: 1px solid rgba(255,184,0,0.2);
    border-radius: 13px;
    background: rgba(255,184,0,0.06);
}

.account-form-heading span {
    color: var(--yellow);
    font-size: 0.66rem;
    font-weight: 1000;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-form-heading strong {
    color: var(--text);
    font-size: 1rem;
}

.account-form-heading small {
    color: var(--text-muted);
    font-size: 0.74rem;
    line-height: 1.5;
}

.btn-account-link {
    min-height: 38px;
    border: 0;
    background: transparent;
    color: var(--yellow);
    font: 850 0.78rem 'DM Sans', sans-serif;
    cursor: pointer;
}

.btn-account-submit,
.btn-account-logout {
    min-height: 44px;
    border: none;
    border-radius: 11px;
    background: var(--yellow);
    color: #050505;
    font: 900 0.88rem 'DM Sans', sans-serif;
    cursor: pointer;
}

.btn-account-logout {
    background: rgba(232,52,26,0.14);
    color: #ff9a8b;
    border: 1px solid rgba(232,52,26,0.3);
    width: 100%;
    margin-top: 1rem;
}

.account-profile-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(255,184,0,0.2);
    border-radius: 16px;
    background:
        radial-gradient(circle at 90% 0%, rgba(255,184,0,0.22), transparent 36%),
        linear-gradient(135deg, rgba(255,184,0,0.13), rgba(255,255,255,0.04));
    margin-bottom: 1rem;
    box-shadow: 0 18px 44px rgba(0,0,0,0.3);
}

.account-profile-card.is-personal {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.account-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--yellow);
    color: #050505;
    font-weight: 1000;
    letter-spacing: 0.04em;
}

.account-profile-card strong {
    display: block;
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.account-profile-card span {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.account-profile-main,
.account-profile-note {
    min-width: 0;
}

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

.account-level-pill {
    align-self: start;
    padding: 0.34rem 0.52rem;
    border: 1px solid rgba(255,184,0,0.28);
    border-radius: 999px;
    background: rgba(255,184,0,0.12);
    color: var(--yellow);
    font-size: 0.66rem;
    font-weight: 1000;
    white-space: nowrap;
}

.account-profile-note {
    grid-column: 1 / -1;
    display: grid;
    gap: 0.12rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
    padding-top: 0.3rem;
}

.account-profile-note strong {
    margin: 0;
    color: var(--text);
    font-size: 0.82rem;
}

.account-profile-note span {
    color: var(--text-muted);
}

.profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.profile-stat {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    padding: 0.7rem;
}

.profile-stat span {
    display: block;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.profile-stat strong {
    display: block;
    color: var(--yellow);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.55rem;
    line-height: 1;
    margin-top: 0.35rem;
}

.profile-experience-panel {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.95rem;
    border: 1px solid rgba(255,184,0,0.18);
    border-radius: 16px;
    background:
        radial-gradient(circle at 95% 4%, rgba(255,184,0,0.16), transparent 34%),
        rgba(255,255,255,0.035);
}

.profile-experience-panel:empty {
    display: none;
}

.profile-experience-head {
    display: flex;
    justify-content: space-between;
    gap: 0.85rem;
    align-items: flex-start;
}

.profile-experience-head span,
.profile-experience-head strong,
.profile-experience-head small {
    display: block;
}

.profile-experience-head span {
    color: var(--yellow);
    font-size: 0.66rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.profile-experience-head strong {
    margin-top: 0.14rem;
    color: var(--text);
    font-size: 1.04rem;
}

.profile-experience-head small {
    margin-top: 0.16rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.35;
}

.profile-experience-head b {
    flex-shrink: 0;
    color: #050505;
    background: var(--yellow);
    border-radius: 999px;
    padding: 0.36rem 0.5rem;
    font-size: 0.72rem;
}

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

.profile-level-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--yellow), #fff0a0);
    box-shadow: 0 0 18px rgba(255,184,0,0.34);
}

.profile-experience-next {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.45;
}

.profile-experience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.profile-experience-action {
    min-width: 0;
    min-height: 64px;
    display: grid;
    gap: 0.18rem;
    align-content: center;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 13px;
    background: rgba(0,0,0,0.18);
    color: var(--text);
    padding: 0.62rem;
    cursor: pointer;
}

.profile-experience-action span,
.profile-experience-action strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-experience-action span {
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.profile-experience-action strong {
    color: var(--text);
    font-size: 0.78rem;
}

.profile-experience-action.primary {
    border-color: rgba(255,184,0,0.34);
    background: rgba(255,184,0,0.12);
}

.profile-experience-action.primary strong {
    color: var(--yellow);
}

.account-insight-panel {
    display: grid;
    gap: 0.7rem;
    border: 1px solid rgba(255,184,0,0.16);
    border-radius: 14px;
    background: rgba(255,184,0,0.055);
    padding: 0.85rem;
    margin-bottom: 1rem;
}

.account-insight-panel:empty {
    display: none;
}

.account-insight-title {
    color: var(--yellow);
    font-size: 0.72rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.account-insight-line {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
    font-weight: 700;
}

.account-insight-line strong,
.account-insight-line span {
    display: block;
}

.account-insight-line strong {
    color: var(--text);
    margin-bottom: 0.12rem;
}

.account-insight-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
}

.btn-profile-action {
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,184,0,0.26);
    background: rgba(255,184,0,0.08);
    color: var(--yellow);
    font: 900 0.76rem 'DM Sans', sans-serif;
    cursor: pointer;
}

.btn-profile-action.primary {
    background: var(--yellow);
    color: #050505;
    border-color: var(--yellow);
}

.btn-profile-action:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.account-orders {
    display: grid;
    gap: 0.7rem;
}

.account-section {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.account-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: end;
}

.account-section-heading strong {
    color: var(--text);
    font-size: 0.88rem;
}

.account-section-heading span {
    color: var(--text-muted);
    font-size: 0.73rem;
    font-weight: 800;
    text-align: right;
}

.account-favorites {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.65rem;
}

.favorite-suggestions {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.favorite-suggestions-title {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.account-order-card,
.account-favorite-card,
.account-empty-state {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255,255,255,0.035);
    padding: 0.75rem 0.8rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.account-order-card,
.account-favorite-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem;
    align-items: center;
}

.account-order-copy,
.account-favorite-copy {
    min-width: 0;
}

.account-order-copy strong,
.account-favorite-copy strong {
    color: var(--text);
    display: block;
    margin-bottom: 0.16rem;
    overflow-wrap: anywhere;
}

.account-card-meta,
.account-card-items {
    display: block;
    color: var(--text-muted);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.account-card-meta {
    color: var(--yellow);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.account-card-total {
    color: var(--yellow);
    font-weight: 1000;
    white-space: nowrap;
    text-align: right;
    margin-bottom: 0.4rem;
}

.btn-account-repeat {
    min-height: 38px;
    border: 1px solid rgba(255,184,0,0.28);
    border-radius: 10px;
    padding: 0 0.82rem;
    background: var(--yellow-dim);
    color: var(--yellow);
    font: 900 0.76rem 'DM Sans', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.btn-account-repeat:hover {
    transform: translateY(-1px);
    background: rgba(255,184,0,0.18);
}

.btn-account-remove,
.btn-account-save,
.btn-favorite-card {
    min-height: 38px;
    border-radius: 10px;
    padding: 0 0.75rem;
    font: 900 0.76rem 'DM Sans', sans-serif;
    cursor: pointer;
    white-space: nowrap;
}

.btn-account-remove {
    border: 1px solid rgba(232,52,26,0.28);
    background: rgba(232,52,26,0.12);
    color: #ff9a8b;
    margin-top: 0.4rem;
}

.btn-account-save,
.btn-favorite-card {
    border: 1px solid rgba(255,184,0,0.28);
    background: rgba(255,184,0,0.1);
    color: var(--yellow);
}

.customer-card-actions {
    position: absolute;
    right: 0.7rem;
    bottom: 0.7rem;
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.customer-menu-grid .menu-item {
    padding-bottom: 3.5rem;
}

.customer-menu-grid .btn-add-item {
    position: static;
}

.btn-favorite-card {
    width: 42px;
    padding: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

.btn-favorite-card.is-saved {
    background: var(--yellow);
    color: #050505;
}

.btn-send-whatsapp {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
    background: #25D366;
    color: white;
    border: none;
    padding: 0.95rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s var(--spring);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

.btn-send-whatsapp:hover {
    background: #1ebe58;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.btn-send-whatsapp:disabled {
    background: #222;
    color: #444;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================================================
   TOAST
   ========================================================================== */
.toast-notification {
    position: fixed;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--yellow);
    color: #000;
    padding: 0.7rem 1.3rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    z-index: 200;
    transition: bottom 0.4s var(--spring), opacity 0.4s;
    opacity: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    white-space: nowrap;
    max-width: 90vw;
}

.toast-notification.show {
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0) + 80px);
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    padding: 4rem 1.5rem 3rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.site-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.developer-signature {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    margin-top: 0.85rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.developer-signature a {
    color: var(--yellow);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,184,0,0.42);
    padding-bottom: 0.1rem;
}

.developer-signature a:hover {
    color: #fff2a6;
    border-color: currentColor;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 768px) {
    .gallery-nav-btn { display: flex; }
    .lightbox-hint::after { content: 'Usa las flechas o arrastra para navegar'; }
    .lightbox-hint span { display: none; }
}

@media (max-width: 767px) {
    .hero {
        height: auto;
        min-height: 520px;
        padding: 2.5rem 1rem 1.7rem;
    }
    .logo { width: 120px; }
    .tagline { letter-spacing: 0.2em; }
    .brand-container { gap: 0.68rem; }
    .sticky-nav { margin-top: 0; }
    .container { padding: 2rem 1rem 9rem; }
    .business-info { flex-direction: column; gap: 0; border-radius: var(--radius); }
    .info-item { justify-content: center; padding: 0.48rem 0.8rem; font-size: 0.76rem; }
    .info-item:not(:last-child) { border-right: none; border-bottom: 1px solid var(--border); }
    .social-actions { width: min(100%, calc(100vw - 2rem)); }
    .hero-primary-actions {
        width: min(100%, calc(100vw - 2rem));
        gap: 0.5rem;
    }
    .hero-order-btn,
    .hero-menu-btn,
    .hero-install-btn {
        flex: 1 1 150px;
        min-width: 0;
    }
    .hero-install-btn small {
        display: none;
    }
    .install-dialog-actions {
        grid-template-columns: 1fr;
    }
    .instagram-cta {
        flex: 1 1 230px;
        justify-content: center;
        min-width: 0;
    }
    .menu-command {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 1.2rem;
    }
    .command-copy { padding: 1rem 1.1rem; }
    .command-title { font-size: 2rem; }
    .command-copy p { font-size: 0.84rem; }
    .menu-tools { padding: 0.85rem; }
    .search-box { min-height: 46px; }
    .signature-strip {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        margin-bottom: 2rem;
        scrollbar-width: none;
    }
    .signature-strip::-webkit-scrollbar { display: none; }
    .signature-label,
    .signature-chip { flex-shrink: 0; }
    .fab-order span { display: none; }
    .fab-order { padding: 1rem; border-radius: 50%; }
    .lightbox-hint::after { content: 'Desliza para ver más →'; }
    .grid-layout { grid-template-columns: 1fr; }
    .order-dialog {
        width: min(94vw, 520px);
        max-height: calc(var(--app-height, 100dvh) - 1rem - var(--browser-bottom-bar));
        border-radius: 18px;
    }
    .order-screen { background: var(--bg); }
    .order-app-shell {
        width: 100vw;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }
    .order-screen-header {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 0.65rem;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
    .checkout-steps {
        gap: 0.32rem;
        padding: 0.55rem 0.72rem;
    }
    .checkout-step {
        min-height: 31px;
        gap: 0.24rem;
        font-size: 0.64rem;
    }
    .checkout-step strong {
        width: 18px;
        height: 18px;
        font-size: 0.62rem;
    }
    .btn-order-back { width: 42px; height: 42px; border-radius: 13px; }
    .order-screen-title h3 { font-size: 1.65rem; }
    .order-screen-content {
        padding: 0.8rem;
        gap: 0.75rem;
    }
    .order-panel {
        border-radius: 14px;
        padding: 0.78rem;
    }
    .order-summary-bar {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
    #sizeDialog.order-dialog {
        width: calc(100vw - 1rem);
        height: calc(var(--app-height, 100dvh) - 1rem - var(--browser-bottom-bar) - env(safe-area-inset-bottom, 0px));
        max-height: calc(var(--app-height, 100dvh) - 1rem - var(--browser-bottom-bar) - env(safe-area-inset-bottom, 0px));
        margin: 0.5rem auto calc(0.5rem + var(--browser-bottom-bar) + env(safe-area-inset-bottom, 0px));
        border-radius: 20px;
    }
    .order-header {
        position: relative;
        padding: 1.05rem 1rem 0.85rem;
        min-height: 66px;
    }
    .order-header h3 { font-size: 1.35rem; }
    .btn-clear-cart { padding: 0.42rem 0.62rem; }
    .btn-close-order { width: 36px; height: 36px; }
    .cart-items-container,
    .checkout-form,
    .size-options-container,
    .cart-summary { padding-left: 1rem; padding-right: 1rem; }
    .cart-item {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        margin-bottom: 0.55rem;
        padding: 0.75rem;
        border-radius: 10px;
    }
    .cart-item-main { gap: 0.55rem; margin-bottom: 0.2rem; }
    .cart-item-name { font-size: 0.9rem; }
    .cart-item-price { font-size: 1.15rem; }
    .cart-item-meta { font-size: 0.72rem; margin-bottom: 0.4rem; }
    .cart-item-note-input { padding: 0.55rem 0.65rem; font-size: 16px; }
    .cart-item-actions { flex-direction: row; align-items: center; justify-content: space-between; }
    .qty-control { grid-template-columns: 34px 38px 34px; }
    .qty-btn { height: 34px; }
    .btn-remove-item { width: 34px; height: 34px; }
    .cart-summary { min-height: 70px; padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .cart-summary-total { font-size: 1.6rem; }
    .app-view-shell {
        width: 100vw;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }
    .app-view-content {
        padding: 0.8rem;
        gap: 0.75rem;
    }
    .profile-grid,
    .employee-grid {
        grid-template-columns: 1fr;
    }
    .employee-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
    }
    .employee-stat { padding: 0.65rem; }
    .employee-stat strong { font-size: 1.55rem; }
    .customer-menu-tools {
        grid-template-columns: 1fr;
    }
    .customer-menu-grid {
        grid-template-columns: 1fr;
    }
    .customer-order-actions {
        justify-content: stretch;
    }
    .btn-customer-checkout {
        width: 100%;
    }
    .account-profile-card,
    .account-order-card,
    .account-favorite-card {
        grid-template-columns: 1fr;
    }
    .account-contact-grid {
        grid-template-columns: 1fr;
    }
    .account-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.15rem;
    }
    .account-section-heading span { text-align: left; }
    .account-card-total { text-align: left; }
    .btn-account-repeat { width: 100%; }
    .checkout-form {
        flex: 1 1 auto;
        min-height: 0;
        padding-top: 0.9rem;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }
    .form-group { margin-bottom: 0.75rem; }
    .form-control { padding: 0.65rem 0.8rem; font-size: 16px; }
    .radio-group { flex-direction: column; gap: 0.5rem; margin-bottom: 0.8rem; }
    .radio-label { min-height: 40px; padding: 0.62rem; font-size: 0.82rem; }
    .delivery-notice {
        margin: 0.55rem 0 0.85rem;
        padding: 0.66rem 0.72rem;
    }
    .checkout-confirm-card {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
    .btn-send-whatsapp {
        position: sticky;
        bottom: 0;
        min-height: 50px;
        margin-top: 0.85rem;
        padding: 0.85rem;
        box-shadow: 0 -12px 24px rgba(8,8,8,0.6), 0 10px 32px rgba(37,211,102,0.28);
    }
    .order-summary-bar .btn-send-whatsapp {
        position: static;
        bottom: auto;
        margin-top: 0;
    }
}
