:root {
    --primary: #C25E28;
    --primary-dark: #9A4117;
    --on-primary: #FFFFFF;
    --secondary: #F5A623;
    --on-secondary: #2A1606;
    --background: #FBF7F2;
    --surface: #FFFFFF;
    --surface-elevated: #FFFFFF;
    --text: #1F1F1F;
    --text-muted: #6B6B6B;
    --border: #E8E2DA;
    --success: #2E7D4A;
    --danger: #C62828;
    --hero-overlay: rgba(31,31,31,0.55);
    --footer-bg: #1F1F1F;
    --footer-text: #F3F0EC;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-ui: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 999px;
    --radius: var(--radius-md);
    --shadow: 0 4px 20px rgba(31,31,31,0.08);
    --shadow-lg: 0 10px 40px rgba(31,31,31,0.12);
    --shadow-card: 0 4px 16px rgba(31,31,31,0.06);
    --shadow-nav: 0 1px 0 var(--border), 0 4px 12px rgba(31,31,31,0.04);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Hide scrollbars globally */
::-webkit-scrollbar { width: 0; height: 0; display: none; }
html { scrollbar-width: none; -ms-overflow-style: none; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

main { flex: 1; overflow-x: hidden; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin-top: 0; }

header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-nav);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    padding: 0.55rem 0;
    gap: 1rem;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    text-shadow:
        -1px -1px 0 rgba(0,0,0,0.9),
        1px -1px 0 rgba(0,0,0,0.9),
        -1px 1px 0 rgba(0,0,0,0.9),
        1px 1px 0 rgba(0,0,0,0.9),
        0 2px 6px rgba(0,0,0,0.5);
}
.logo img { height: 52px; width: 52px; border-radius: var(--radius-sm); object-fit: cover; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu li { position: relative; }
.nav-menu a, .nav-menu .dropbtn {
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-menu a:hover, .nav-menu .dropbtn:hover { color: var(--primary); }
.nav-menu a.active { color: var(--primary); }

.dropdown { position: relative; display: inline-block; }
.dropbtn {
    background: transparent;
    border: none;
    font: inherit;
    font-family: var(--font-ui);
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-size: 0.95rem;
    touch-action: manipulation;
}
.dropbtn:hover,
.dropbtn:focus-visible,
.dropbtn[aria-expanded="true"] { color: var(--primary); }
.dropdown-content {
    display: none;
    position: absolute;
    background: var(--surface);
    min-width: 180px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    z-index: 100;
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
    /* Use padding-top instead of margin-top so the dropdown's hit area extends
       right up to the button. This eliminates the hover gap that caused the
       menu to vanish when moving the pointer from the button to the content. */
    padding-top: 0.5rem;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}
.dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text);
    text-decoration: none;
    margin: 0;
    white-space: nowrap;
}
.dropdown-content a:hover,
.dropdown-content a:focus { background: var(--background); color: var(--primary); }
.dropdown.is-open .dropdown-content,
.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Invisible hover bridge between the dropdown button and its content.
   This covers any tiny gaps or fast pointer movements that the padding-top
   fix might miss, keeping the dropdown open while moving from button to panel. */
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.75rem;
    background: transparent;
    pointer-events: auto;
    z-index: 99;
}
.dropdown.is-open::after,
.dropdown:hover::after {
    height: 0.75rem;
}

.cart-link { position: relative; display: inline-flex; align-items: center; gap: 0.35rem; }
.cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--danger);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-ui);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.cart-count.show { opacity: 1; transform: scale(1); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
    padding: 0.35rem;
    touch-action: manipulation;
    border-radius: var(--radius-sm);
}

.admin-name {
    font-size: 0.9rem;
    margin-left: auto;
    margin-right: 0.5rem;
}

/* Backward-compatible nav components for legacy markup */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); }

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.nav-actions .btn.small { padding: 0.45rem 1rem; font-size: 0.9rem; }

.nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.nav-cart:hover { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.nav-cart svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .admin-name { display: none; }
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        box-shadow: var(--shadow-card);
        border-top: 1px solid var(--border);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease, gap 0.3s ease;
        z-index: 100;
    }
    .nav-menu.open {
        max-height: 100vh;
        opacity: 1;
        padding: 1rem;
        gap: 0.5rem;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border);
    }
    .nav-menu li { width: 100%; }
    .nav-menu a, .nav-menu .dropbtn {
        padding: 0.5rem 0;
        width: 100%;
        justify-content: flex-start;
    }
    .nav-menu .dropdown { display: block; width: 100%; }
    .nav-menu .dropdown-content {
        display: none;
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        padding-top: 0;
        background: transparent;
        margin-top: 0;
        opacity: 1;
        transform: none;
        transition: none;
        pointer-events: auto;
    }
    .nav-menu .dropdown.is-open .dropdown-content,
    .nav-menu .dropdown:hover .dropdown-content {
        display: block;
    }
    .dropdown-content a { padding: 0.35rem 0; }
    .nav-actions { display: none; }
    .nav-links { display: none; }
}

.theme-switcher {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 200;
    display: flex;
    gap: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 0.35rem;
    box-shadow: var(--shadow-card);
}
.theme-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.15s ease;
}
.theme-btn:hover { color: var(--text); background: var(--background); }
.theme-btn.active { background: var(--primary); color: var(--on-primary); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero {
    background: linear-gradient(135deg, var(--background) 0%, var(--surface) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.hero-wrapper { width: 100%; padding: 0; box-sizing: border-box; }

.hero-prominent {
    background: var(--hero-overlay);
    color: var(--on-primary);
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0;
    min-height: 680px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-dots {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 5;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.7); }
.hero-dot.active { background: var(--secondary); border-color: var(--secondary); transform: scale(1.25); }
@media (max-width: 600px) {
    .hero-dots { bottom: 1rem; }
    .hero-dot { width: 8px; height: 8px; }
}

.hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}
.hero-bg-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}
.hero-bg-slider img.active { opacity: 1; z-index: 1; }

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: right;
    padding: 12rem 2.5rem 6rem;
    max-width: 640px;
    margin: 0 8% 0 0;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
    color: var(--on-primary);
}
.hero-overlay.hero-left { margin-right: 8%; margin-left: 0; }

.hero-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--on-secondary);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
}

.hero-prominent h1 {
    font-family: var(--font-display);
    color: var(--on-primary);
    font-size: 3.25rem;
    margin: 0 0 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    color: var(--on-primary);
    font-size: 1.2rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-prominent .trust-badges { justify-content: flex-end; margin-top: 1.75rem; color: var(--on-primary); }
.hero-prominent .trust-badges span { color: var(--on-primary); gap: 0.5rem; }
.hero-prominent .btn.secondary { background: var(--surface); color: var(--primary); }

.hero-overlay,
.hero-prominent h1,
.hero-subtitle,
.hero-prominent .trust-badges span,
.hero-actions .btn {
    text-shadow:
        -1px -1px 0 rgba(0,0,0,0.85),
        1px -1px 0 rgba(0,0,0,0.85),
        -1px 1px 0 rgba(0,0,0,0.85),
        1px 1px 0 rgba(0,0,0,0.85),
        0 2px 8px rgba(0,0,0,0.6);
}

.hero-tag { text-shadow: none; }

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-prominent { min-height: 480px; }
    .hero-overlay { padding: 8rem 1.5rem 4rem; }
}
@media (max-width: 480px) {
    .hero-prominent { min-height: 360px; }
    .hero-overlay { padding: 6rem 1rem 3rem; max-width: 100%; margin: 0 4% 0 0; }
    .hero-prominent h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.trust-badges span { display: flex; align-items: center; gap: 0.35rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--on-primary);
    border: none;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: var(--font-ui);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: var(--secondary); color: var(--on-secondary); }
.btn.outline { background: var(--surface); border: 1px solid var(--primary); color: var(--primary); }
.btn.outline:hover { background: var(--background); }
.btn.small { padding: 0.4rem 0.75rem; font-size: 0.875rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

a:focus, button:focus, .btn:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.menu-layout .card, .features-grid .card, .featured-card, .contact-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.menu-layout .card:hover, .features-grid .card:hover, .featured-card:hover, .contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 2.5rem 0 2rem;
    color: var(--text);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.features-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr; } }

.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}
.card-img {
    height: 160px;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    overflow: hidden;
}
.card-img img,
.card-img-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.card-img-fallback {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
}
.card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
/* Pin price + action button to the card bottom so all cards in a grid row align */
.card-body .card-price-row { margin-top: auto; }
.card-body .card-price-row + .btn,
.card-body .card-price-row + .add-to-cart-btn { margin-top: 0.6rem; }
.card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0 0 0.25rem;
    color: var(--text);
}
.card-text { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 0.75rem; flex: 1; }
.card-price { font-weight: 700; font-size: 1.125rem; color: var(--primary); margin-bottom: 0.75rem; }

.featured-scroll-wrapper,
.reviews-scroll-wrapper {
    position: relative;
    padding: 0 2.5rem;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: var(--shadow-card);
    transition: transform 0.15s, background 0.15s;
}
.scroll-arrow:hover { background: var(--background); transform: translateY(-50%) scale(1.05); }
.scroll-arrow.left { left: 0; }
.scroll-arrow.right { right: 0; }
.scroll-arrow:disabled { opacity: 0.35; cursor: not-allowed; }

.featured-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0.25rem 1rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.featured-scroll::-webkit-scrollbar { display: none; }

.featured-card {
    flex: 0 0 280px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    scroll-snap-align: start;
}
.featured-card.image-card { flex: 0 0 320px; height: 220px; padding: 0; }
.featured-card.image-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-card .card-img {
    height: 160px;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    overflow: hidden;
}
.featured-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.featured-card .card-img-fallback {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.featured-card .card-body { padding: 1rem; }
.featured-card .card-title { font-weight: 700; margin-bottom: 0.35rem; }
.featured-card .card-text { font-size: 0.9rem; color: var(--text-muted); }
.featured-card .card-price { font-weight: 700; color: var(--primary); margin: 0.5rem 0; }

.reviews-scroll {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding: 0.5rem 0.25rem 1.5rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.reviews-scroll::-webkit-scrollbar { display: none; }

.review-card {
    flex: 0 0 340px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    scroll-snap-align: start;
}
.review-stars { color: var(--secondary); font-size: 1.1rem; margin-bottom: 0.75rem; filter: saturate(1.2); }
.review-text { font-style: italic; color: var(--text); margin-bottom: 1rem; line-height: 1.5; }
.review-author { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.review-avatar-img {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
}
.review-meta { display: flex; flex-direction: column; }
.review-meta strong { font-size: 0.95rem; color: var(--text); }
.review-meta span { font-size: 0.8rem; color: var(--text-muted); }

footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 1rem 1.5rem;
    margin-top: 3rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.25fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-logo { font-size: 1rem; }
    .footer-logo img { width: 36px; height: 36px; }
    .footer-logo span { min-height: 36px; }
}
.footer-col { min-width: 0; }
.footer-col h3 { color: var(--secondary); margin: 0 0 0.75rem; font-size: 1.1rem; font-family: var(--font-heading); }
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--footer-text);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1;
    white-space: nowrap;
    flex-wrap: nowrap;
    font-family: var(--font-heading);
}
.footer-logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.2); flex-shrink: 0; display: block; }
.footer-logo span { display: inline-flex; align-items: center; min-height: 40px; line-height: 1; margin: 0; padding: 0; white-space: nowrap; }
.footer-col p, .footer-col a { color: var(--footer-text); font-size: 0.9rem; text-decoration: none; display: block; margin-bottom: 0.4rem; }
.footer-col a:hover { color: var(--on-primary); }
.footer-brand .footer-tagline { color: rgba(243,240,236,0.85); font-size: 0.9rem; line-height: 1.55; margin: 0.5rem 0 1rem; }
.social-list { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.social-list a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.1); color: var(--footer-text);
    transition: background 0.2s, color 0.2s; text-decoration: none;
}
.social-list a:hover { background: var(--primary); color: var(--on-primary); }
.footer-app-note { font-size: 0.8rem; color: rgba(243,240,236,0.7); margin: 0; display: flex; align-items: center; gap: 0.4rem; }
.contact-block, .hours-block { margin: 0 0 0.5rem; color: rgba(243,240,236,0.9); font-size: 0.9rem; display: flex; align-items: flex-start; gap: 0.5rem; }
.contact-block i, .hours-block i { margin-top: 0.25rem; color: var(--secondary); }
.contact-block a { margin: 0; display: inline; color: inherit; }
.footer-newsletter { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.75rem; }
.footer-newsletter input {
    flex: 1 1 120px; min-width: 0; padding: 0.45rem 0.6rem; font-size: 0.85rem;
    border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08); color: var(--footer-text);
}
.footer-newsletter input::placeholder { color: rgba(243,240,236,0.55); }
.footer-newsletter button {
    padding: 0.45rem 0.8rem; font-size: 0.85rem; border-radius: var(--radius-sm);
    background: var(--primary); color: var(--on-primary); border: none; cursor: pointer; font-weight: 600;
}
.footer-newsletter button:hover { background: var(--primary-dark); }
.footer-newsletter .thank-you { display: none; width: 100%; font-size: 0.85rem; color: var(--success); margin-top: 0.25rem; }
.footer-newsletter.subscribed input, .footer-newsletter.subscribed button { display: none; }
.footer-newsletter.subscribed .thank-you { display: block; }
.footer-bottom {
    text-align: center;
    color: rgba(243,240,236,0.55);
    font-size: 0.85rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.footer-bottom a { color: rgba(243,240,236,0.75); text-decoration: none; }
.footer-bottom a:hover { color: var(--on-primary); }

select, input, textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: var(--surface);
    color: var(--text);
    font-family: var(--font-body);
}

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.35rem; font-family: var(--font-ui); }
.form-group select { width: 100%; padding: 0.5rem; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 0.9rem; background: var(--surface); color: var(--text); }

.spice-options { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.spice-option {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.65rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.15s ease;
    background: var(--surface);
    font-size: 0.85rem;
    color: var(--text);
}
.spice-option input { display: none; }
.spice-option:hover { border-color: var(--primary); }
.spice-option:has(input:checked) {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 8%, transparent);
    color: var(--primary-dark);
    font-weight: 600;
}
.spice-icons { font-size: 0.95rem; letter-spacing: -0.05em; }
.spice-label { font-size: 0.8rem; }
.spice-option.mild .spice-icons { filter: hue-rotate(-10deg); }
.spice-option.hot .spice-icons { filter: hue-rotate(10deg) saturate(1.3); }

.page { display: none; }
.page.active { display: block; }

.tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.tab {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-weight: 500;
    color: var(--text);
    font-family: var(--font-ui);
    transition: all 0.15s ease;
}
.tab.active { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.tab:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

.menu-layout { display: grid; grid-template-columns: 1fr 360px; gap: 1.5rem; }
@media (max-width: 900px) { .menu-layout { grid-template-columns: 1fr; } }

.cart-sidebar {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    padding: 1rem;
    position: sticky;
    top: 90px;
    height: fit-content;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}
.cart-item:last-child { border-bottom: none; }
.cart-qty button {
    width: 28px; height: 28px;
    border: 1px solid var(--border); background: var(--surface); color: var(--text);
    cursor: pointer; border-radius: var(--radius-sm);
}
.cart-total { font-weight: 700; font-size: 1.2rem; margin-top: 1rem; color: var(--text); }

.checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 1.5rem; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }

.summary-box {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    padding: 1.25rem;
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; color: var(--text); }
.summary-row.total { font-weight: 700; font-size: 1.25rem; border-top: 1px solid var(--border); padding-top: 0.75rem; color: var(--text); }

.account-grid { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; }
@media (max-width: 800px) { .account-grid { grid-template-columns: 1fr; } }

.sidebar {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    padding: 1rem;
}
.sidebar a {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text);
    margin-bottom: 0.25rem;
    font-family: var(--font-ui);
}
.sidebar a:hover, .sidebar a.active { background: var(--background); color: var(--primary); }

.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-ui);
}
.badge.pending { background: color-mix(in srgb, var(--secondary) 20%, transparent); color: var(--on-secondary); }
.badge.confirmed { background: color-mix(in srgb, #3B82F6 15%, transparent); color: #2563EB; }
.badge.preparing { background: color-mix(in srgb, #6366F1 15%, transparent); color: #4F46E5; }
.badge.ready { background: color-mix(in srgb, var(--success) 15%, transparent); color: var(--success); }
.badge.completed { background: color-mix(in srgb, var(--success) 20%, transparent); color: var(--success); }
.badge.cancelled { background: color-mix(in srgb, var(--danger) 15%, transparent); color: var(--danger); }

.admin-grid { display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem; }
@media (max-width: 800px) { .admin-grid { grid-template-columns: 1fr; } }

.table { width: 100%; border-collapse: collapse; color: var(--text); }
.table th, .table td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--border); }
.table th { color: var(--text-muted); font-weight: 600; font-size: 0.875rem; font-family: var(--font-ui); }

.order-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}
.order-card.ready { border-left-color: var(--success); }
.order-card.cancelled { border-left-color: var(--danger); }
.order-card h3 { margin: 0 0 0.5rem; }

.toast {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: var(--text);
    color: var(--on-primary);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transform: translateY(200%);
    transition: transform 0.3s ease;
    z-index: 100;
}
.toast.show { transform: translateY(0); }

.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }

.footer-links {
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--footer-text);
    background: var(--footer-bg);
}
.footer-links a {
    color: var(--footer-text);
    text-decoration: underline;
    margin: 0 0.35rem;
}
.footer-links a:hover { color: var(--primary); }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(31,31,31,0.08);
    z-index: 200;
    padding: 1rem;
}
.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.cookie-banner-content p {
    margin: 0;
    flex: 1 1 300px;
    font-size: 0.95rem;
    color: var(--text);
}
.cookie-banner-content a { color: var(--primary); }
.cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ============================================================
   Scroll-reveal animations
   Classes are applied by /js/shared.js via IntersectionObserver.
   No-JS users never get these classes, so content stays visible.
   ============================================================ */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-fade {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.reveal-up { transform: translateY(60px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-scale { transform: scale(0.88); }
.reveal-fade { transform: none; }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible,
.reveal-fade.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    will-change: auto;
}

/* Auto-stagger cards/children inside common containers */
.grid .reveal-up.visible,
.grid .reveal-left.visible,
.grid .reveal-right.visible,
.grid .reveal-scale.visible,
.featured-scroll .reveal-up.visible,
.featured-scroll .reveal-left.visible,
.featured-scroll .reveal-right.visible,
.featured-scroll .reveal-scale.visible,
.footer-grid .reveal-up.visible,
.footer-grid .reveal-left.visible,
.footer-grid .reveal-right.visible,
.footer-grid .reveal-scale.visible {
    transition-delay: calc(var(--reveal-index, 0) * 0.12s);
}

/* Stagger utilities (set inline style --reveal-delay on element) */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-fade {
    transition-delay: var(--reveal-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-fade {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
