/* ===== Milk & Tea Roxas — Professional Layout ===== */

:root {
    --gold: #C9A227;
    --gold-dark: #A88620;
    --grey: #6b6b6b;
    --lgrey: #e5e5e5;
    --olive: #556B2F;
    --bg: #ffffff;
    --bg-alt: #f7f7f5;
    --fg: #0d0d0d;
    --line: #e2e2e2;
    --nav-h: 90px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 20px -6px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 45px -20px rgba(0,0,0,0.2);
    --radius: 14px;
    --radius-lg: 22px;
}
body.dark {
    --bg: #0b0b0b;
    --bg-alt: #141414;
    --fg: #f5f5f5;
    --line: #262626;
    --grey: #a0a0a0;
    --lgrey: #2a2a2a;
}
body.home {
    --bg: #000;
    --fg: #fff;
    --line: #222;
}

* { box-sizing: border-box; margin: 0; }
a { text-decoration: none; }

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

body {
    font-family: Poppins, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.65;
    font-size: 16px;
    transition: background .3s, color .3s;
    padding-top: var(--nav-h);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body.menu-open {
    overflow: hidden;
    height: 100vh;
}

body[data-p="login"] { padding-top: 0; }
body.home { padding-top: 0; }

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -1px; line-height: 1.1; margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 700; letter-spacing: -0.5px; margin: 0 0 1rem; }
h3 { font-size: 1.15rem; font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.muted { color: var(--grey); }
.gold { color: var(--gold); }
.tag { display: inline-block; color: var(--olive); font-weight: 600; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.5rem; }
.big { font-size: 2rem; font-weight: 700; }
.center { text-align: center; }
.narrow { max-width: 65ch; margin: 1rem auto; }

.wrap { max-width: 1500px; margin: 0 auto; padding: 2rem 2.5rem 5rem; }
@media (min-width: 1400px) { .wrap { padding: 2.5rem 3rem 6rem; } }

:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 4px; }

/* ===== NAVBAR ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 2.5rem;
    color: #fff;
    gap: 2rem;
    
    /* Glassy effect applied to ALL pages by default */
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.4);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

/* The Home page gets a slightly more transparent glass effect to show off the hero image */
body.home .nav {
    background: rgba(10, 10, 10, 0.42);
}

/* ---------- BRAND ---------- */
.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.35rem 0;
}

.brand-logo {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    background: #000;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    gap: 0.15rem;
}

.brand-text strong {
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #fff;
}

.brand-text span {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2.6px;
    text-transform: uppercase;
}

/* =========================================
   MOBILE MENU (Hamburger Links)
   ========================================= */
#links {
    display: none;
    width: 100%;
    flex-direction: column;
    overflow-y: auto;
    order: 3;
    background: #000;
}

#links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - var(--nav-h));
    z-index: 999;
    padding: 1.5rem;
    background: #000;
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: slideDownMenu 0.25s ease;
}

@keyframes slideDownMenu {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobile Specific Link Styles */
#links a {
    color: #fff;
    padding: 1.15rem 0;
    border-top: 1px solid #1a1a1a;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

#links a:first-child { border-top: 0; }
#links a:hover { color: var(--gold); padding-left: 0.5rem; }
#links a.active { color: var(--gold); font-weight: 600; padding-left: 0.5rem; }

/* ---------- TOOLS ---------- */
.tools {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 1001;
}

.nav-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 40px;
    padding: 0 1.15rem;
    border-radius: 999px;
    color: #000;
    background: linear-gradient(135deg, #D9B53A 0%, var(--gold) 55%, var(--gold-dark) 100%);
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.2px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 6px 16px -6px rgba(201, 162, 39, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.nav-account:hover {
    background: #fff;
    box-shadow: 0 10px 24px -8px rgba(201, 162, 39, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

.nav-account.active {
    background: #fff;
    color: #000;
}

/* ---------- BURGER ---------- */
#burger {
    position: relative;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    transition: background 0.2s ease;
    flex-shrink: 0;
    z-index: 1001;
}

#burger:hover { background: rgba(255, 255, 255, 0.1); }

.burger-line {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-line:nth-child(1) { top: 15px; }
.burger-line:nth-child(2) { top: 21px; }
.burger-line:nth-child(3) { top: 27px; }

#burger[aria-expanded="true"] .burger-line:nth-child(1) { top: 21px; transform: rotate(45deg); }
#burger[aria-expanded="true"] .burger-line:nth-child(2) { opacity: 0; }
#burger[aria-expanded="true"] .burger-line:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* =========================================
   DESKTOP NAVBAR (Overrides mobile completely)
   ========================================= */
@media (min-width: 992px) {
    .nav {
        padding: 0 3rem;
        gap: 2.5rem;
    }

    #burger { display: none; }

    #links {
        display: flex;
        position: static;
        flex-direction: row;
        width: auto;
        order: 0;
        overflow: visible;
        margin-left: auto;
        gap: 0.25rem;
        background: transparent;
        padding: 0;
        animation: none;
    }

    /* Desktop Link Reset */
    #links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        padding: 0 1.1rem;
        border: 0;
        border-radius: 999px;
        font-size: 0.9rem;
        font-weight: 500;
        line-height: 1;
        color: rgba(255, 255, 255, 0.75);
        letter-spacing: 0.1px;
        background: transparent;
        transition: color 0.3s ease, background-color 0.3s ease;
    }

    /* Desktop Hover (Strictly color and background, no padding) */
    #links a:hover {
        color: #fff;
        padding-left: 1.1rem; /* Failsafe to prevent the squish */
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* Desktop Active */
    #links a.active {
        color: #000 !important;
        background: var(--gold) !important;
        font-weight: 700;
        box-shadow: 0 4px 14px -4px rgba(201, 162, 39, 0.5);
        padding-left: 1.1rem; /* Failsafe */
    }
}

/* ===== HERO ===== */
#hero {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2.5rem;
    overflow: hidden;
    background: #000;
    color: #fff;
}

#hero-bg {
    position: absolute;
    inset: 0;
    background: url('img/Shop Background 1.webp') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 14s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.14); }
}

#hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            100deg,
            rgba(0,0,0,0.88) 0%,
            rgba(0,0,0,0.72) 40%,
            rgba(0,0,0,0.45) 75%,
            rgba(0,0,0,0.55) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,0.35) 0%,
            rgba(0,0,0,0.05) 40%,
            rgba(0,0,0,0.55) 100%
        );
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 640px);
        gap: 3.5rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    max-width: 620px;
    animation: heroFadeUp 0.9s cubic-bezier(0.2,0,0,1) both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.logo-hero {
    width: min(60vw, 280px);
    max-width: 280px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(201, 162, 39, 0.35);
    border: 4px solid rgba(255, 255, 255, 0.1);
    display: block;
    margin-bottom: 1rem;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    width: fit-content;
}
.hero-eyebrow::after {
    content: '';
    display: block;
    width: 42px;
    height: 2px;
    background: var(--gold);
    margin-top: 0.6rem;
    border-radius: 2px;
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin: 0;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0,0,0,0.45);
}
.hero-accent {
    color: var(--gold);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.2px;
}

.hero-btn {
    align-self: flex-start;
    background: var(--gold);
    color: #000;
    padding: 1.05rem 2.4rem;
    font-size: 1.02rem;
    font-weight: 700;
    border-radius: 999px;
    margin-top: 0.75rem;
    box-shadow: 0 14px 32px rgba(201, 162, 39, 0.4);
    letter-spacing: 0.3px;
}
.hero-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(201, 162, 39, 0.5);
}

/* ===== HERO FEATURED ===== */
.hero-featured {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.85rem;
    width: 100%;
    max-width: 640px;
    height: min(560px, 68vh);
    justify-self: end;
    animation: heroFadeUp 1s cubic-bezier(0.2,0,0,1) both;
    animation-delay: 0.15s;
}

.feat {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    text-decoration: none;
    color: #fff;
    background: #111;
    box-shadow:
        0 20px 45px -20px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    transition: transform 0.4s cubic-bezier(0.2,0,0,1),
                box-shadow 0.4s ease;
    isolation: isolate;
}

.feat:hover {
    transform: translateY(-4px);
    box-shadow:
        0 28px 60px -20px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(201, 162, 39, 0.5) inset;
}

.feat img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2,0,0,1);
    z-index: 0;
}
.feat:hover img {
    transform: scale(1.06);
}

.feat-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.15) 0%,
            rgba(0,0,0,0.55) 55%,
            rgba(0,0,0,0.88) 100%
        );
    pointer-events: none;
}

.feat-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 1.25rem 1.25rem 1.35rem;
}

.feat-large {
    grid-column: 1;
    grid-row: 1 / 3;
}
.feat-large .feat-content {
    padding: 1.5rem 1.5rem 1.65rem;
}

.feat-small {
    grid-column: 2;
}
.feat-small:nth-of-type(2) {
    grid-row: 1;
}
.feat-small:nth-of-type(3) {
    grid-row: 2;
}

.feat-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--gold);
    width: fit-content;
    margin-bottom: 0.15rem;
}
.feat-eyebrow::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.feat-content h3 {
    font-family: Poppins, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.feat-large .feat-content h3 {
    font-size: 1.75rem;
}

.feat-content p {
    font-family: Poppins, sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(255,255,255,0.78);
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.feat-large .feat-content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}

.feat-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.65rem;
    padding: 0.6rem 1rem 0.6rem 1.1rem;
    background: var(--gold);
    color: #000;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    border-radius: 999px;
    width: fit-content;
    transition: transform 0.25s ease, background 0.25s ease;
}
.feat-cta svg {
    transition: transform 0.25s ease;
}
.feat-large:hover .feat-cta {
    background: #fff;
    transform: translateY(-1px);
}
.feat-large:hover .feat-cta svg {
    transform: translateX(3px);
}

@media (min-width: 700px) and (max-width: 991px) {
    .hero-featured {
        height: min(480px, 60vh);
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .hero-featured {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        max-width: 100%;
        gap: 0.75rem;
    }
    .feat-large,
    .feat-small {
        grid-column: 1;
        grid-row: auto;
    }
    .feat {
        aspect-ratio: 16 / 9;
        border-radius: 16px;
    }
    .feat-large {
        aspect-ratio: 4 / 3;
    }
    .feat-content {
        padding: 1rem;
    }
    .feat-content h3 {
        font-size: 1.05rem;
    }
    .feat-large .feat-content h3 {
        font-size: 1.35rem;
    }
    .feat-content p {
        font-size: 0.72rem;
    }
    .feat-large .feat-content p {
        font-size: 0.8rem;
    }
}

/* ===== MENU PAGE ===== */
.menu-page { padding-top: 2.5rem; }

.menu-hero {
    max-width: 720px;
    margin: 1rem auto 3.5rem;
    text-align: center;
}
.menu-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    padding: 0.45rem 1.15rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: rgba(201,162,39,0.06);
}
.menu-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -1.4px;
    line-height: 1.05;
    margin: 0 0 1rem;
    color: var(--fg);
}
.menu-lede {
    font-size: 1.02rem;
    color: var(--grey);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 540px;
}
.menu-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
    margin: 1.75rem auto 0;
}

.menu-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}
@media (min-width: 700px) {
    .menu-categories { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

.cat-card {
    position: relative;
    display: block;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #111;
    aspect-ratio: 4 / 3;
    max-height: 460px;
    box-shadow:
        0 20px 45px -22px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.2,0,0,1),
                box-shadow 0.4s ease;
    isolation: isolate;
}
.cat-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 32px 60px -22px rgba(0, 0, 0, 0.5),
        0 0 0 2px var(--gold);
}

.cat-card-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.cat-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2,0,0,1);
    transform: scale(1.02);
}
.cat-card:hover .cat-card-img {
    transform: scale(1.08);
}

.cat-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.05) 0%,
            rgba(0,0,0,0.15) 35%,
            rgba(0,0,0,0.55) 65%,
            rgba(0,0,0,0.92) 100%
        );
    pointer-events: none;
}

.cat-card-num {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
    font-family: Poppins, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.85);
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0,0,0,0.25);
}

.cat-card-body {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.65rem;
    padding: 1.75rem 1.5rem 1.75rem;
}

.cat-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--gold);
    width: fit-content;
}
.cat-card-tag::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.cat-card-body h2 {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.6px;
    line-height: 1.15;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 15px rgba(0,0,0,0.45);
    max-width: 22ch;
}

.cat-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.65rem 1.1rem;
    background: var(--gold);
    color: #000;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    border-radius: 999px;
    width: fit-content;
    transition: transform 0.25s ease, background 0.25s ease;
}
.cat-card-cta svg {
    transition: transform 0.25s ease;
}
.cat-card:hover .cat-card-cta {
    background: #fff;
    transform: translateY(-1px);
}
.cat-card:hover .cat-card-cta svg {
    transform: translateX(3px);
}

@media (max-width: 700px) {
    .menu-hero { margin: 0.5rem auto 2rem; }
    .menu-hero h1 { font-size: 2rem; }
    .menu-lede { font-size: 0.92rem; }
    .menu-categories { gap: 1.1rem; }
    .cat-card {
        aspect-ratio: 4 / 3;
        border-radius: 18px;
    }
    .cat-card-body {
        padding: 1.25rem 1.25rem 1.35rem;
        gap: 0.45rem;
    }
    .cat-card-body h2 {
        font-size: 1.15rem;
        max-width: none;
    }
    .cat-card-tag { font-size: 0.62rem; letter-spacing: 2px; }
    .cat-card-num {
        top: 0.9rem;
        left: 0.9rem;
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
    .cat-card-cta {
        padding: 0.5rem 0.9rem;
        font-size: 0.72rem;
    }
}

/* ===== FONT SLIDER (collapsible) ===== */
.fs-slider {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    color: var(--fg);
    height: 48px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.fs-slider:hover,
.fs-slider.open {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
.fs-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: var(--fg);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.2s ease;
    position: relative;
}
.fs-trigger span {
    font-family: Poppins, sans-serif;
}
.fs-slider:hover .fs-trigger,
.fs-slider.open .fs-trigger {
    color: var(--gold-dark);
}
body.dark .fs-slider:hover .fs-trigger,
body.dark .fs-slider.open .fs-trigger {
    color: var(--gold);
}
.fs-panel {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width 0.35s cubic-bezier(0.2,0,0,1),
                opacity 0.25s ease,
                padding 0.3s ease;
    white-space: nowrap;
}
.fs-slider:hover .fs-panel,
.fs-slider.open .fs-panel {
    max-width: 260px;
    opacity: 1;
    padding: 0 18px 0 4px;
}
.fs-slider .fs-label {
    font-weight: 600;
    font-size: 13px;
    color: var(--grey);
    flex-shrink: 0;
}
.fs-slider .fs-label.big-a { font-size: 18px; }
#fsRange {
    -webkit-appearance: none;
    appearance: none;
    width: 180px;
    height: 6px;
    background: var(--line);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
    flex-shrink: 0;
}
#fsRange::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid #000;
    cursor: grab;
}
#fsRange::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid #000;
}
@media (max-width: 700px) {
    .fs-slider {
        height: 44px;
        left: 12px;
        bottom: 12px;
    }
    .fs-trigger {
        width: 44px;
        height: 44px;
        font-size: 14px;
    }
    .fs-slider:hover .fs-panel {
        max-width: 0;
        padding: 0;
        opacity: 0;
    }
    .fs-slider.open .fs-panel {
        max-width: 260px;
        padding: 0 14px 0 4px;
        opacity: 1;
    }
    #fsRange { width: 140px; }
}

/* ===== CART BUTTON ===== */
#cartBtn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    width: 66px; height: 66px;
    border-radius: 50%;
    border: 0;
    background: var(--gold);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    font-size: 26px;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease;
}
#cartBtn:hover { transform: scale(1.05); }
#cartBtn .badge {
    position: absolute;
    top: -6px; right: -6px;
    min-width: 24px; height: 24px;
    display: grid; place-items: center;
    background: #c0392b; color: #fff;
    font-size: 12px; font-weight: 700;
    padding: 0 6px; border-radius: 999px;
    box-shadow: 0 0 0 2px #000;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gold);
    color: #000;
    border: 0;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font: 600 1rem Poppins, sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(201,162,39,0.25);
}
.btn:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); }
.btn.ghost { background: transparent; border: 2px solid var(--line); color: var(--fg); box-shadow: none; }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ===== GRIDS & CARDS ===== */
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 577px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid.g3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.card {
    background: var(--bg);
    color: var(--fg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: block;
    transition: all 0.25s ease;
}
.card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-4px); }

.cat {
    position: relative;
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.cat-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 420px;
    object-fit: cover;
    margin: 0;
    transition: transform 0.4s ease;
}
.cat:hover .cat-img { transform: scale(1.05); }
.cat-body {
    padding: 1.1rem 1.35rem;
    background: var(--bg);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cat-body h2 { margin: 0 0 0.25rem; font-size: 1.15rem; }
.cat-body p { margin: 0; color: var(--grey); font-size: 0.85rem; }

/* ===== PLACEHOLDERS ===== */
.ph { background: var(--lgrey); color: #888; display: grid; place-items: center; border-radius: 10px; overflow: hidden; width: 100%; padding: .5rem; font-size: .8rem; word-break: break-all; }
.ph img, .ph video { width: 100%; height: 100%; object-fit: cover; }
.ph.loaded { padding: 0; }

/* ===== GALLERY / COMMUNITY ===== */
.gallery-page { padding-top: 2.5rem; }
.gallery-hero {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}
.gallery-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    padding: 0.45rem 1.15rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: rgba(201,162,39,0.06);
}
.gallery-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; margin: 0 0 1rem; }
.gallery-lede { font-size: 1.02rem; color: var(--grey); margin: 0 auto; max-width: 540px; }
.gallery-divider { width: 60px; height: 3px; background: var(--gold); margin: 1.75rem auto 0; border-radius: 3px; }

.community-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.5rem;
}
.community-section-head h2 { font-size: 1.25rem; margin: 0; }
.community-badge { background: var(--bg-alt); padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; color: var(--grey); }

.community-reviews-section { margin-bottom: 4rem; }
.community-reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 700px) { .community-reviews-grid { grid-template-columns: repeat(2, 1fr); } }

.community-gallery-section { margin-bottom: 4rem; }
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 577px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1400px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid .menu-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--lgrey);
    margin: 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: zoom-in;
}
.gallery-grid .menu-img:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-lg); }

/* ===== MENU ===== */
.menu-group { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.menu-group:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.menu-group h2 {
    font-size: 1.6rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
}
.menu-group .grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 577px) { .menu-group .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .menu-group .grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
@media (min-width: 1400px) { .menu-group .grid { grid-template-columns: repeat(4, 1fr); } }

.filter-bar {
    position: sticky;
    top: var(--nav-h);
    z-index: 40;
    background: var(--bg);
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding: 1rem 0 1.15rem;
    margin: 0 0 2rem;
    scrollbar-width: none;
    border-bottom: 1px solid var(--line);
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    color: var(--fg);
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    font: 600 0.85rem Poppins, sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: #000; box-shadow: 0 4px 12px rgba(201,162,39,0.3); }

.item-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.15rem;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    height: 100%;
}
.item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }

.item-top {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    min-height: 100px;
}
.item-card .menu-img {
    width: 100px;
    height: 100px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    background: var(--lgrey);
    margin: 0;
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
}
.item-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
    min-height: 100px;
}
.item-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}
.item-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    word-break: break-word;
}
.item-price {
    font-weight: 700;
    color: var(--gold-dark);
    font-size: 1.1rem;
    white-space: nowrap;
    line-height: 1;
}
body.dark .item-price {
    color: var(--gold);
}
.customize-toggle {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--fg);
    font: 600 0.75rem Poppins, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: auto;
    white-space: nowrap;
    flex-shrink: 0;
}
.customize-toggle:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.item-footer {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
    margin-top: auto;
    flex-wrap: nowrap;
}
.qty-control { display: flex; align-items: center; gap: 0.4rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.5rem; background: var(--bg-alt); }
.qty-control button {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--fg);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.qty-control button:hover { background: var(--gold); color: #000; }
.qty-display { font-weight: 600; font-size: 0.95rem; min-width: 20px; text-align: center; }
.add-to-cart-btn { flex: 1; padding: 0.75rem; font-size: 0.85rem; border-radius: 999px; text-align: center; }

/* ===== CUSTOMIZE SHEET ===== */
.sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.sheet-overlay.open { opacity: 1; pointer-events: all; }
.sheet {
    background: var(--bg);
    color: var(--fg);
    width: min(100%, 560px);
    max-height: 88vh;
    border-radius: 24px 24px 0 0;
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.2,0,0,1);
    overflow: hidden;
    box-shadow: 0 -20px 60px rgba(0,0,0,0.3);
}
.sheet-overlay.open .sheet { transform: translateY(0); }
.sheet-handle { width: 44px; height: 4px; border-radius: 999px; background: var(--line); margin: 0 auto; }
.sheet-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.sheet-header h3 { font-size: 1.2rem; margin: 0; font-weight: 700; }
.sheet-price { font-size: 1rem; color: var(--gold-dark); font-weight: 700; margin: 0.25rem 0 0; }
body.dark .sheet-price { color: var(--gold); }
.sheet-close {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 0;
    background: var(--bg-alt);
    color: var(--fg);
    font-size: 1.4rem;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.sheet-close:hover { background: var(--gold); color: #000; }
.sheet-body { display: grid; gap: 1.25rem; overflow-y: auto; padding-right: 0.25rem; flex: 1; }
.sheet-section { display: grid; gap: 0.75rem; }
.sheet-section-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--grey); }
.sheet-addons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 0.75rem; }
@media (max-width: 500px) { .sheet-addons { grid-template-columns: 1fr; } }
.sheet-addons .addon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.8rem;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 0.85rem;
}
.sheet-addons .addon-row small { color: var(--grey); font-size: 0.72rem; }
.sheet-addons .mini-qty { display: flex; align-items: center; gap: 0.35rem; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0.1rem 0.35rem; }
.sheet-addons .mini-qty button { width: 24px; height: 24px; border-radius: 50%; border: none; background: transparent; color: var(--fg); font-size: 1rem; font-weight: 700; cursor: pointer; }
.sheet-addons .mini-qty button:hover { background: var(--gold); color: #000; }
.sheet-addons .mini-qty .qty-val { font-size: 0.85rem; font-weight: 600; min-width: 16px; text-align: center; }
.sheet-footer { display: flex; gap: 0.75rem; align-items: center; padding-top: 1rem; border-top: 1px solid var(--line); }
.sheet-footer .qty-control { flex-shrink: 0; }
.sheet-add-btn {
    flex: 1;
    padding: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.sheet-total { font-weight: 700; opacity: 0.9; }
.sugar-options { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.sugar-opt {
    flex: 1;
    min-width: 48px;
    padding: 0.6rem 0.4rem;
    border: 2px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    color: var(--fg);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}
.sugar-opt:hover { border-color: var(--gold); color: var(--gold); }
.sugar-opt.active { background: var(--gold); border-color: var(--gold); color: #000; }

/* ===== ABOUT PAGE ===== */
.about-page { padding-top: 0; }
.about-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: flex-end;
    padding: 8rem 2.5rem 5rem;
    overflow: hidden;
    background: #000;
    color: #fff;
    margin-top: calc(-1 * var(--nav-h));
    padding-top: calc(var(--nav-h) + 6rem);
}
.about-hero-bg {
    position: absolute;
    inset: 0;
    background: url('img/Shop Background 1.webp') center/cover no-repeat;
    filter: brightness(0.5);
    transform: scale(1.05);
    animation: aboutHeroZoom 16s ease-in-out infinite alternate;
    z-index: 0;
}
@keyframes aboutHeroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.14); }
}
.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(0,0,0,0.55) 0%,
            rgba(0,0,0,0.15) 45%,
            rgba(0,0,0,0.85) 100%
        );
    pointer-events: none;
}
.about-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    animation: heroFadeUp 0.9s cubic-bezier(0.2,0,0,1) both;
}
.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    width: fit-content;
}
.about-eyebrow::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}
.about-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -2px;
    margin: 0;
    max-width: 15ch;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.about-lede {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: rgba(255,255,255,0.78);
    max-width: 520px;
    line-height: 1.6;
    margin: 0;
}
.about-hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    flex-wrap: wrap;
}
.about-hero-stats > div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.about-hero-stats strong {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -0.5px;
    line-height: 1;
}
.about-hero-stats span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.about-block {
    max-width: 1300px;
    margin: 0 auto;
    padding: 6rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 900px) {
    .about-block {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
        padding: 7rem 3rem;
    }
}
.about-block-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.4);
}
.about-block-media .about-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.8s cubic-bezier(0.2,0,0,1);
}
.about-block-media:hover .about-img {
    transform: scale(1.04);
}
.about-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
    padding: 0.45rem 0.9rem;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    border: 1px solid rgba(201,162,39,0.4);
    border-radius: 999px;
}
.about-block-text {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.about-block-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3.4px;
    text-transform: uppercase;
    color: var(--gold);
    width: fit-content;
}
.about-block-eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}
.about-block-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0;
    color: var(--fg);
}
.about-block-text p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--grey);
    margin: 0;
}
.about-block-text p strong {
    color: var(--fg);
    font-weight: 600;
}
.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.65rem;
    padding: 0.85rem 1.5rem;
    background: var(--gold);
    color: #000;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(201,162,39,0.3);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    width: fit-content;
}
.about-cta svg {
    transition: transform 0.25s ease;
}
.about-cta:hover {
    background: var(--gold-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(201,162,39,0.4);
}
.about-cta:hover svg {
    transform: translateX(3px);
}
@media (min-width: 900px) {
    .about-block-reverse .about-block-media { order: 2; }
    .about-block-reverse .about-block-text { order: 1; }
}
.about-values {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: grid;
    gap: 0.85rem;
}
.about-values li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.about-values li:hover {
    border-color: var(--gold);
    transform: translateX(4px);
}
.about-value-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: rgba(201,162,39,0.12);
    border-radius: 10px;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.about-values strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--fg);
}
.about-values small {
    display: block;
    font-size: 0.78rem;
    color: var(--grey);
    margin-top: 0.1rem;
}
.about-vibe {
    max-width: 1300px;
    margin: 0 auto;
    padding: 5rem 2.5rem 7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
}
@media (min-width: 900px) {
    .about-vibe { padding: 6rem 3rem 8rem; }
}
.about-vibe-head {
    max-width: 620px;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    align-items: center;
}
.about-vibe-head h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0;
    color: var(--fg);
}
.about-vibe-head p {
    font-size: 1rem;
    color: var(--grey);
    line-height: 1.65;
    margin: 0;
}
.about-vibe-media {
    width: 100%;
    max-width: 1000px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 70px -30px rgba(0,0,0,0.4);
    aspect-ratio: 16 / 9;
    background: #000;
}
.about-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-cta-band {
    background:
        radial-gradient(ellipse at 15% 50%, rgba(201,162,39,0.10), transparent 55%),
        radial-gradient(ellipse at 85% 50%, rgba(201,162,39,0.06), transparent 55%),
        var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 5rem 2.5rem;
}
.about-cta-band-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 800px) {
    .about-cta-band-inner {
        grid-template-columns: 1fr auto;
        gap: 3rem;
    }
}
.about-cta-band-inner h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    margin: 0.6rem 0 0.5rem;
    color: var(--fg);
}
.about-cta-band-inner p {
    font-size: 0.98rem;
    color: var(--grey);
    margin: 0;
    max-width: 520px;
    line-height: 1.6;
}
.about-cta-band-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
@media (max-width: 700px) {
    .about-hero {
        min-height: 78vh;
        padding: calc(var(--nav-h) + 3rem) 1.25rem 3rem;
    }
    .about-hero h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
        letter-spacing: -1px;
    }
    .about-lede { font-size: 0.95rem; }
    .about-hero-stats {
        gap: 1.5rem;
        margin-top: 1.25rem;
        padding-top: 1.25rem;
    }
    .about-hero-stats strong { font-size: 1.3rem; }
    .about-hero-stats span { font-size: 0.68rem; }
    .about-block {
        padding: 3.5rem 1.25rem;
        gap: 2rem;
    }
    .about-block-text h2 {
        font-size: 1.6rem;
        letter-spacing: -0.6px;
    }
    .about-block-text p { font-size: 0.95rem; }
    .about-vibe { padding: 3.5rem 1.25rem 4.5rem; }
    .about-vibe-media { aspect-ratio: 4 / 3; }
    .about-cta-band { padding: 3.5rem 1.25rem; }
    .about-cta-band-actions { width: 100%; }
    .about-cta-band-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

/* ===== CONTACT ===== */
.contact-page { max-width: 1500px; }
.contact-hero { text-align: center; max-width: 780px; margin: 0 auto 4rem; padding-top: 2rem; }
.contact-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: rgba(201,162,39,0.06);
}
.contact-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1; margin: 0 0 1rem; }
.contact-lede { font-size: 1.1rem; color: var(--grey); max-width: 600px; margin: 0 auto; }
.quick-contact { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 4rem; }
@media (min-width: 700px) { .quick-contact { grid-template-columns: repeat(3, 1fr); } }
.qc-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}
.qc-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.qc-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1.25rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(201,162,39,0.12);
    font-size: 1.75rem;
}
.qc-card h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.qc-card p { font-size: 0.92rem; color: var(--grey); line-height: 1.6; margin: 0; }
.qc-card .foot-fb {
    margin-top: 1.15rem;
    font-size: 0.8rem;
    padding: 0.6rem 1.15rem;
    color: #1877f2;
    background: rgba(24,119,242,0.08);
    border: 1px solid rgba(24,119,242,0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-weight: 600;
}
.qc-card .foot-fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.contact-main { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 992px) { .contact-main { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.contact-map-block h2, .contact-form-block h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.5rem; }
.contact-map-block > .muted, .contact-form-block > .muted { font-size: 0.95rem; margin-bottom: 1.75rem; }
.map-wrapper {
    margin-top: 0.75rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    background: var(--lgrey);
}
.map { width: 100%; height: 100%; border: 0; filter: grayscale(100%) contrast(1.05); transition: filter 0.5s ease; }
.map-wrapper:hover .map { filter: grayscale(0%) contrast(1); }
.map-link { display: inline-block; margin-top: 1rem; font-size: 0.9rem; font-weight: 600; color: var(--gold); }
.map-link:hover { transform: translateX(4px); }
.contact-form { display: grid; gap: 1.25rem; }
.cf-field { display: grid; gap: 0.5rem; }
.cf-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 500px) { .cf-row { grid-template-columns: 1fr 1fr; } }
.cf-field label { font-size: 0.78rem; font-weight: 700; color: var(--fg); letter-spacing: 1px; text-transform: uppercase; }
.cf-field input, .cf-field textarea {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-alt);
    color: var(--fg);
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--gold); background: var(--bg); box-shadow: 0 0 0 4px rgba(201,162,39,0.15); }
.star-rating-group { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
.stars-container { display: flex; gap: 0.2rem; }
#stars button { background: none; border: 0; font-size: 2.2rem; line-height: 1; padding: 0; color: var(--line); cursor: pointer; }
#stars button.on { color: var(--gold); }
.cf-hint { font-size: 0.8rem; color: var(--grey); }
.cf-submit { margin-top: 0.75rem; padding: 1.1rem; border-radius: 14px; font-size: 1rem; font-weight: 700; }
.cf-status { text-align: center; font-size: 0.9rem; color: var(--olive); min-height: 1.2em; }

/* ===== LOGIN SCREEN ===== */
.login-body {
    padding-top: 0;
    background: #0a0a0a;
    color: #fff;
    min-height: 100vh;
    display: grid;
    place-items: center;
}
.login-screen {
    width: min(100%, 520px);
    padding: 3rem 2rem;
    display: grid;
    gap: 2rem;
    justify-items: center;
}
.login-brand { text-align: center; display: grid; gap: 0.5rem; justify-items: center; }
.login-brand img {
    width: 92px; height: 92px;
    border-radius: 50%;
    border: 3px solid rgba(201,162,39,0.5);
    padding: 4px;
    background: #000;
    box-shadow: 0 12px 40px rgba(201,162,39,0.25);
}
.login-brand h1 { font-size: 1.65rem; font-weight: 700; margin: 0.25rem 0 0; }
.login-brand .muted { font-size: 0.9rem; color: #999; }
.role-picker { display: grid; grid-template-columns: 1fr; gap: 1rem; width: 100%; }
@media (min-width: 500px) { .role-picker { grid-template-columns: 1fr 1fr; } }
.role-card {
    background: #141414;
    border: 1.5px solid #262626;
    border-radius: 18px;
    padding: 1.75rem 1.25rem;
    color: #fff;
    text-align: center;
    cursor: pointer;
    display: grid;
    gap: 0.6rem;
    justify-items: center;
    transition: all 0.25s ease;
    font-family: inherit;
}
.role-card:hover { border-color: var(--gold); background: #1a1a1a; transform: translateY(-4px); box-shadow: 0 12px 30px rgba(201,162,39,0.2); }
.role-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(201,162,39,0.12);
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}
.role-title { font-size: 1.05rem; font-weight: 700; }
.role-desc { font-size: 0.8rem; color: #999; line-height: 1.5; }
.auth-view {
    width: 100%;
    background: #141414;
    border: 1px solid #262626;
    border-radius: 20px;
    padding: 2rem 1.75rem;
    display: grid;
    gap: 1.5rem;
}
.auth-view[hidden] { display: none; }
.auth-view h2 { font-size: 1.4rem; font-weight: 700; margin: 0 0 0.25rem; color: #fff; }
.auth-view > p.muted { font-size: 0.9rem; color: #999; }
.back-link { background: none; border: 0; color: #999; font-family: inherit; font-size: 0.85rem; cursor: pointer; padding: 0; justify-self: start; }
.back-link:hover { color: var(--gold); }
.social-buttons { display: grid; gap: 0.65rem; }
.login-body .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font: 600 0.92rem Poppins, sans-serif;
    cursor: pointer;
    border: 1.5px solid #262626;
    background: #0a0a0a;
    color: #fff;
    transition: all 0.15s ease;
}
.login-body .social-btn.google { background: #fff; color: #3c4043; border-color: #fff; }
.login-body .social-btn.facebook { background: #1877f2; color: #fff; border-color: #1877f2; }
.login-body .social-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.divider { display: flex; align-items: center; gap: 0.75rem; color: #666; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: #262626; }
.auth-form { display: grid; gap: 0.85rem; }
.auth-form input {
    padding: 1rem 1.15rem;
    background: #0a0a0a;
    border: 1.5px solid #262626;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
}
.auth-form input::placeholder { color: #666; }
.auth-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,0.15); }
.btn-block { width: 100%; padding: 1rem; border-radius: 12px; font-size: 1rem; font-weight: 700; }
.auth-switch { font-size: 0.88rem; margin-top: 0.75rem; text-align: center; color: #999; }
.auth-switch a { color: var(--gold); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }
.login-footer { font-size: 0.75rem; color: #555; margin-top: 1rem; }

/* ===== ACCOUNT ===== */
.account-wrap {
    display: block;
    min-height: auto;
    padding: 3.5rem 2.5rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.account-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 900px) {
    .account-grid {
        grid-template-columns: 340px 1fr;
        gap: 2.25rem;
    }
}

.account-grid .auth-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    width: 100%;
    margin: 0;
}

.account-profile-card {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.account-orders-card {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    min-height: 420px;
}

.auth-header { text-align: center; margin: 0; }
.avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--gold);
    color: #000;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.65rem;
    margin: 0 auto 0.75rem;
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.28);
}
.auth-header h1 {
    font-size: 1.5rem;
    margin: 0 0 0.25rem;
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 1.2;
}
.auth-header .muted { font-size: 0.85rem; word-break: break-word; }
.account-info {
    display: grid;
    gap: 0.55rem;
    padding: 1.1rem 0;
    margin: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.88rem;
}
.info-row strong {
    color: var(--grey);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    flex-shrink: 0;
}
.info-row span { font-weight: 500; text-align: right; word-break: break-word; }
.account-profile-card .btn-block { margin-top: auto; }
.account-orders-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}
.account-orders-head h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.2rem; }
.account-orders-head .muted { font-size: 0.82rem; margin: 0; }
.account-orders-count {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    color: var(--fg);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
}
.order-history {
    display: grid;
    gap: 0.65rem;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 0.35rem;
    scrollbar-width: thin;
}
.order-history::-webkit-scrollbar { width: 6px; }
.order-history::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.order-history-card {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    display: grid;
    gap: 0.6rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.order-history-card:hover { border-color: var(--gold); transform: translateY(-1px); }
.order-history-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}
.order-history-head strong { font-size: 0.9rem; }
.order-history-items {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.82rem;
    color: var(--grey);
    line-height: 1.55;
}
.order-history-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.6rem;
    border-top: 1px dashed var(--line);
}
.order-history-foot strong { font-size: 1.05rem; color: var(--gold-dark); }
body.dark .order-history-foot strong { color: var(--gold); }
.order-history .empty-orders {
    text-align: center;
    padding: 2.5rem 1.25rem;
    font-size: 0.9rem;
    background: var(--bg-alt);
    border: 1px dashed var(--line);
    border-radius: 12px;
    color: var(--grey);
}
.order-history .empty-orders a { color: var(--gold); font-weight: 600; text-decoration: none; }
.order-history .empty-orders a:hover { text-decoration: underline; }
@media (max-width: 900px) {
    .account-wrap { padding: 2rem 1rem 3rem; }
    .account-grid { gap: 1.25rem; }
    .account-grid .auth-card { padding: 1.5rem 1.25rem; }
    .avatar { width: 68px; height: 68px; font-size: 1.45rem; }
    .auth-header h1 { font-size: 1.35rem; }
    .order-history { max-height: 360px; }
}

/* ===== CART PANEL ===== */
#ov { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,0.5); backdrop-filter: blur(3px); display: none; justify-content: flex-end; }
#ov.open { display: flex; }
#panel {
    background: var(--bg);
    color: var(--fg);
    width: min(100%, 480px);
    height: 100%;
    overflow-y: auto;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: slideIn 0.3s cubic-bezier(0.2,0,0,1);
    box-shadow: -20px 0 60px rgba(0,0,0,0.25);
}
@keyframes slideIn { from { transform: translateX(60px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.panel-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.85rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.panel-header h2 { font-size: 1.5rem; margin: 0; font-weight: 700; }
.panel-subtitle { font-size: 0.88rem; color: var(--grey); }
.panel-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-alt); color: var(--fg); font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; }
.panel-close:hover { background: var(--gold); color: #000; }
.panel-back { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--fg); font-size: 1.1rem; cursor: pointer; display: inline-grid; place-items: center; margin-bottom: 0.75rem; }
.panel-back:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.cart-items { display: grid; gap: 0.75rem; flex: 1; }
.cart-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.15rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.cart-item-name { font-weight: 700; font-size: 1rem; margin-bottom: 0.25rem; }
.cart-item-addons, .cart-item-sugar { font-size: 0.82rem; color: var(--grey); margin-bottom: 0.3rem; }
.cart-item-sugar { color: var(--gold-dark); font-weight: 600; }
.cart-item-price { font-size: 0.82rem; color: var(--grey); }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.cart-qty { display: flex; align-items: center; gap: 0.5rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.4rem; background: var(--bg); }
.cart-qty button { width: 26px; height: 26px; border: 0; background: transparent; color: var(--fg); font-size: 1.05rem; font-weight: 700; cursor: pointer; border-radius: 50%; display: grid; place-items: center; }
.cart-qty button:hover { background: var(--gold); color: #000; }
.cart-item-total { font-weight: 700; font-size: 1rem; }
.cart-remove { background: none; border: 0; color: var(--grey); font-size: 1.1rem; cursor: pointer; }
.cart-remove:hover { color: #c0392b; }
.cart-empty { text-align: center; padding: 4rem 1.5rem; color: var(--grey); }
.cart-empty-icon { font-size: 4rem; margin-bottom: 1rem; opacity: 0.4; }
.cart-summary { border-top: 1px solid var(--line); padding-top: 1.25rem; display: grid; gap: 0.65rem; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 0.95rem; color: var(--grey); }
.cart-summary-total { font-size: 1.4rem; font-weight: 700; color: var(--fg); padding-top: 0.75rem; border-top: 1px dashed var(--line); }
.cart-checkout {
    padding: 1.15rem;
    font-size: 1rem;
    border-radius: 14px;
    background: var(--gold);
    color: #000;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 6px 20px rgba(201,162,39,0.35);
}
.cart-checkout:hover { background: var(--gold-dark); color: #fff; }

/* ===== FORMS ===== */
.form-modern { display: grid; gap: 1.25rem; }
.form-field { display: grid; gap: 0.5rem; }
.field-label { font-size: 0.78rem; font-weight: 700; color: var(--fg); text-transform: uppercase; letter-spacing: 1px; }
.form-field input, .form-field textarea {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-alt);
    color: var(--fg);
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); background: var(--bg); box-shadow: 0 0 0 4px rgba(201,162,39,0.15); }
.form-error { color: #c0392b; font-size: 0.88rem; text-align: center; font-weight: 500; }
.payment-options { display: grid; gap: 0.75rem; margin-top: 0.5rem; }
.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: 2px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
    background: var(--bg-alt);
    position: relative;
}
.payment-option.selected { border-color: var(--gold); background: var(--bg); box-shadow: 0 0 0 4px rgba(201,162,39,0.15); }
.payment-option input[type=radio] { position: absolute; opacity: 0; }
.payment-icon { font-size: 1.6rem; width: 46px; height: 46px; display: grid; place-items: center; background: var(--bg); border-radius: 12px; border: 1px solid var(--line); }
.payment-option.selected .payment-icon { background: var(--gold); border-color: var(--gold); }
.payment-info { display: flex; flex-direction: column; }
.payment-info strong { font-size: 0.95rem; }
.payment-info small { font-size: 0.8rem; color: var(--grey); }
.gcash-box { border: 2px dashed var(--gold); background: rgba(201,162,39,0.06); border-radius: 14px; padding: 1.25rem; text-align: center; margin-top: 1rem; max-height: 0; overflow: hidden; opacity: 0; border-width: 0; transition: all 0.35s ease; }
.gcash-box.show { max-height: 2000px; opacity: 1; padding: 1.25rem; border-width: 2px; }
.gcash-title { font-weight: 700; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; margin-bottom: 1rem; }
.gcash-qr { display: block; width: min(240px, 100%); margin: 0 auto; border-radius: 12px; background: #fff; padding: 10px; }
.gcash-note { font-size: 0.82rem; margin-top: 1rem; color: var(--grey); }

/* ===== GCASH RECEIPT UPLOAD ===== */
.gcash-upload {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--line);
    display: grid;
    gap: 0.75rem;
}
.gcash-upload-label {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    background: var(--bg);
    border: 2px dashed var(--line);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}
.gcash-upload-label:hover {
    border-color: var(--gold);
    background: rgba(201,162,39,0.04);
}
.gcash-upload-icon {
    font-size: 1.4rem;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: rgba(201,162,39,0.12);
    border-radius: 12px;
    flex-shrink: 0;
}
.gcash-upload-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.gcash-upload-text strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--fg);
}
.gcash-upload-text small {
    font-size: 0.78rem;
    color: var(--grey);
}
.gcash-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.5rem;
    background: var(--gold);
    color: #000;
    border: 0;
    border-radius: 12px;
    font: 700 0.92rem Poppins, sans-serif;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 8px 20px rgba(201,162,39,0.35);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.gcash-upload-btn:hover {
    background: var(--gold-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(201,162,39,0.45);
}
.gcash-upload-btn:active {
    transform: translateY(0);
}
.gcash-preview {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
}
.gcash-preview img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--lgrey);
    flex-shrink: 0;
}
.gcash-preview-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
}
.gcash-preview-info span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fg);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gcash-preview-remove {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 0;
    background: var(--bg-alt);
    color: var(--fg);
    font-size: 1.1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.gcash-preview-remove:hover {
    background: #c0392b;
    color: #fff;
}
.gcash-upload-status {
    font-size: 0.82rem;
    color: var(--grey);
    min-height: 1em;
    margin: 0;
    text-align: center;
}

/* ===== ADMIN: RECEIPT THUMB + VERIFY PILL ===== */
.receipt-thumb {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid var(--line);
    background: var(--bg-alt);
    cursor: pointer;
    padding: 0;
    margin-top: 0.45rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.receipt-thumb:hover {
    transform: scale(1.06);
    border-color: var(--gold);
}
.receipt-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.receipt-thumb-zoom {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.receipt-thumb:hover .receipt-thumb-zoom {
    opacity: 1;
}
.verify-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.45rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font: 700 0.72rem Poppins, sans-serif;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.2s ease;
}
.verify-pill.pending {
    background: rgba(230,126,34,0.14);
    color: #E67E22;
    border-color: rgba(230,126,34,0.4);
}
.verify-pill.pending:hover {
    background: #E67E22;
    color: #fff;
}
.verify-pill.verified {
    background: rgba(39,174,96,0.14);
    color: #27AE60;
    border-color: rgba(39,174,96,0.4);
}
.verify-pill.verified:hover {
    background: #27AE60;
    color: #fff;
}
.no-receipt {
    margin-top: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #C0392B;
    background: rgba(192,57,43,0.1);
    border: 1px solid rgba(192,57,43,0.3);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    display: inline-block;
}
.kpi-card.kpi-alert {
    border-color: rgba(230,126,34,0.5);
    background: linear-gradient(180deg, rgba(230,126,34,0.06), transparent);
    animation: kpiPulse 2s ease-in-out infinite;
}
@keyframes kpiPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230,126,34,0.2); }
    50%      { box-shadow: 0 0 0 6px rgba(230,126,34,0.08); }
}

/* ===== RECEIPT LIGHTBOX ===== */
.receipt-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(6px);
    z-index: 10001;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    animation: mockFade 0.2s ease;
}
.receipt-window {
    background: var(--bg);
    color: var(--fg);
    width: 100%;
    max-width: 620px;
    max-height: 92vh;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0,0,0,0.55);
    animation: mockPop 0.25s cubic-bezier(0.2,0,0,1);
}
.receipt-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
}
.receipt-head h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.15rem;
}
.receipt-head .muted {
    font-size: 0.82rem;
    margin: 0;
}
.receipt-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: var(--bg-alt);
    color: var(--fg);
    font-size: 1.35rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.receipt-close:hover {
    background: var(--gold);
    color: #000;
}
.receipt-body {
    padding: 1.25rem;
    overflow-y: auto;
    background: #111;
    display: grid;
    place-items: center;
    flex: 1;
}
.receipt-body img {
    max-width: 100%;
    max-height: 62vh;
    border-radius: 12px;
    display: block;
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.receipt-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}
.receipt-meta {
    font-size: 0.82rem;
    color: var(--grey);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}
.pay-verify-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    margin-left: 0.4rem;
}
.pay-verify-inline.verified { background: rgba(39,174,96,0.14); color: #27AE60; }
.pay-verify-inline.pending { background: rgba(230,126,34,0.14); color: #E67E22; }
.pay-verify-inline.missing { background: rgba(192,57,43,0.12); color: #C0392B; }
.pay-verify-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.9rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}
.pay-verify-pill.verified {
    background: rgba(39,174,96,0.14);
    color: #27AE60;
    border: 1px solid rgba(39,174,96,0.35);
}
.pay-verify-pill.pending {
    background: rgba(230,126,34,0.14);
    color: #E67E22;
    border: 1px solid rgba(230,126,34,0.35);
}
.pay-verify-pill.missing {
    background: rgba(192,57,43,0.12);
    color: #C0392B;
    border: 1px solid rgba(192,57,43,0.35);
}
@media (max-width: 700px) {
    .receipt-window { max-width: 100%; border-radius: 16px; }
    .receipt-head { padding: 1rem 1.15rem; }
    .receipt-body { padding: 1rem; }
    .receipt-body img { max-height: 55vh; }
    .receipt-foot { padding: 0.85rem 1.15rem; }
    .receipt-thumb { width: 44px; height: 44px; }
    .verify-pill { font-size: 0.68rem; padding: 0.35rem 0.6rem; }
}

/* ===== CONFIRM MODAL ===== */
.confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 1rem;
    animation: confirmFade 0.2s ease;
}
@keyframes confirmFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.confirm-window {
    background: var(--bg);
    color: var(--fg);
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    padding: 2rem 1.75rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    box-shadow:
        0 30px 70px -20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    animation: confirmPop 0.25s cubic-bezier(0.2, 0, 0, 1);
}
@keyframes confirmPop {
    from { transform: translateY(12px) scale(0.96); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}
.confirm-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}
.confirm-icon-default { background: rgba(201, 162, 39, 0.14); color: var(--gold); }
.confirm-icon-primary { background: rgba(201, 162, 39, 0.14); color: var(--gold); }
.confirm-icon-danger  { background: rgba(192, 57, 43, 0.14); color: #c0392b; }
.confirm-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.3;
    margin: 0;
    color: var(--fg);
}
.confirm-message {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--grey);
    margin: 0;
    max-width: 34ch;
}
.confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.75rem;
}
.confirm-btn {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font: 700 0.88rem Poppins, sans-serif;
    cursor: pointer;
    border: 0;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}
.confirm-btn:active { transform: translateY(1px); }
.confirm-btn-cancel {
    background: var(--bg-alt);
    color: var(--fg);
    border: 1px solid var(--line);
}
.confirm-btn-cancel:hover { background: var(--line); }
.confirm-btn-ok {
    color: #000;
    background: var(--gold);
    box-shadow: 0 6px 16px rgba(201, 162, 39, 0.28);
}
.confirm-btn-ok:hover {
    background: var(--gold-dark);
    color: #fff;
    box-shadow: 0 10px 24px rgba(201, 162, 39, 0.38);
}
.confirm-btn-danger {
    background: #c0392b;
    color: #fff;
    box-shadow: 0 6px 16px rgba(192, 57, 43, 0.28);
}
.confirm-btn-danger:hover {
    background: #a93226;
    color: #fff;
    box-shadow: 0 10px 24px rgba(192, 57, 43, 0.38);
}
body.dark .confirm-window {
    box-shadow:
        0 30px 70px -20px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
body.dark .confirm-btn-cancel {
    background: #1a1a1a;
    border-color: #2a2a2a;
}
body.dark .confirm-btn-cancel:hover { background: #2a2a2a; }
@media (max-width: 500px) {
    .confirm-window {
        padding: 1.75rem 1.35rem 1.25rem;
        border-radius: 18px;
    }
    .confirm-actions {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }
    .confirm-title { font-size: 1.08rem; }
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 110px;
    right: 24px;
    background: #0d0d0d;
    color: #fff;
    padding: 1rem 1.6rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(14px);
    transition: all 0.3s ease;
    z-index: 80;
    pointer-events: none;
    border-left: 4px solid var(--gold);
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ===== DASHBOARD ===== */
.dashboard-body { padding-top: var(--nav-h); background: var(--bg-alt); }
.dash-layout { max-width: 1600px; margin: 0 auto; padding: 2rem 2.5rem; display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 992px) { .dash-layout { grid-template-columns: 280px 1fr; padding: 2rem 3rem; gap: 2.5rem; } }
.dash-sidebar {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: fit-content;
    position: sticky;
    top: calc(var(--nav-h) + 20px);
    box-shadow: var(--shadow-sm);
}
@media (max-width: 991px) { .dash-sidebar { position: static; } }
.dash-sidebar-brand { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.dash-sidebar-brand img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gold); padding: 2px; }
.dash-sidebar-brand strong { font-size: 0.95rem; font-weight: 700; display: block; }
.dash-sidebar-brand span { font-size: 0.72rem; color: var(--grey); text-transform: uppercase; letter-spacing: 1px; }
.dash-nav { display: flex; flex-direction: column; gap: 0.3rem; }
.dash-nav-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: 10px; color: var(--fg); font-size: 0.92rem; font-weight: 500; }
.dash-nav-link:hover { background: var(--bg-alt); color: var(--gold); }
.dash-nav-link.active { background: var(--gold); color: #000; box-shadow: 0 4px 12px rgba(201,162,39,0.3); }
.dash-nav-badge { margin-left: auto; background: var(--bg-alt); color: var(--fg); font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 999px; }
.dash-nav-link.active .dash-nav-badge { background: #000; color: var(--gold); }
.dash-logout { margin-top: auto; justify-content: center; }
.dash-panel { display: none; }
.dash-panel.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.dash-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 2rem; }
.dash-header h1 { font-size: 2rem; margin: 0 0 0.25rem; }
.dash-date { font-size: 0.85rem; color: var(--grey); background: var(--bg); border: 1px solid var(--line); padding: 0.5rem 1rem; border-radius: 999px; }
.kpi-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 577px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.kpi-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; align-items: center; gap: 1rem; box-shadow: var(--shadow-sm); }
.kpi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.kpi-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-alt); font-size: 1.4rem; }
.kpi-icon.gold-bg { background: var(--gold); color: #000; }
.kpi-icon.olive-bg { background: var(--olive); color: #fff; }
.kpi-icon.grey-bg { background: #4a4a4a; color: #fff; }
.kpi-label { font-size: 0.75rem; color: var(--grey); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.kpi-value { font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.chart-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.chart-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.5rem; }
.chart-header h2 { font-size: 1.15rem; margin: 0; }
.chart { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem; height: 220px; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.chart-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; }
.chart-bar-fill { width: 100%; max-width: 44px; min-height: 4px; background: linear-gradient(180deg, var(--gold), var(--gold-dark)); border-radius: 8px 8px 0 0; }
.chart-bar-label { font-size: 0.72rem; color: var(--grey); margin-top: 0.5rem; }
.chart-bar-value { font-size: 0.7rem; color: var(--gold-dark); font-weight: 700; position: absolute; top: -1.25rem; }
.order-toolbar { display: grid; gap: 0.75rem; grid-template-columns: 1fr; margin-bottom: 1.5rem; }
@media (min-width: 577px) { .order-toolbar { grid-template-columns: 2fr 1fr 1fr; } }
.order-toolbar input, .order-toolbar select { padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--fg); font-family: inherit; font-size: 0.9rem; }
.order-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; background: var(--bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.order-table th { background: #0d0d0d; color: #fff; padding: 1rem 0.85rem; text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
.order-table td { padding: 1rem 0.85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.pay-pill { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.pay-pill.cash { background: rgba(85,107,47,0.15); color: var(--olive); }
.pay-pill.gcash { background: rgba(59,89,152,0.15); color: #3b5998; }
.review-list { display: grid; gap: 1.25rem; }
@media (min-width: 992px) { .review-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1400px) { .review-list { grid-template-columns: repeat(3, 1fr); } }
.review-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.65rem; }
.review-stars { font-size: 1.1rem; letter-spacing: 3px; }
.review-body { margin: 0.5rem 0; font-size: 0.95rem; line-height: 1.6; }
.settings-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 992px) { .settings-grid { grid-template-columns: repeat(3, 1fr); } }
.settings-grid .card { padding: 1.75rem; }
.settings-grid .card h2 { font-size: 1.1rem; margin: 0 0 1rem; }
.settings-grid .card.danger { border-color: rgba(192,57,43,0.4); }
.settings-grid .card.danger h2 { color: #c0392b; }

/* ===== MENU MANAGER ===== */
.mm-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.mm-tab { padding: 0.65rem 1.25rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: 600 0.85rem Poppins, sans-serif; cursor: pointer; }
.mm-tab:hover { border-color: var(--gold); color: var(--gold); }
.mm-tab.active { background: var(--gold); border-color: var(--gold); color: #000; }
.mm-add-category { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.mm-add-category input { flex: 1; min-width: 220px; padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--fg); font-family: inherit; font-size: 0.9rem; }
.mm-group { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); }
.mm-group-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.mm-group-head h3 { font-size: 1.1rem; margin: 0; }
.mm-group-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.mm-group-actions .btn { padding: 0.5rem 1rem; font-size: 0.8rem; }
.mm-items { display: flex; flex-direction: column; gap: 0.75rem; }
.mm-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 1rem; align-items: center; padding: 0.85rem; background: var(--bg-alt); border-radius: 12px; }
.mm-item-img { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; }
.mm-item-info { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.mm-item-info input { flex: 1; min-width: 140px; padding: 0.5rem 0.75rem; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--fg); font-family: inherit; font-size: 0.88rem; }
.mm-del-item { padding: 0.4rem 0.75rem; font-size: 0.85rem; color: #c0392b; border-color: rgba(192,57,43,0.4); }
.mm-del-item:hover { background: #c0392b; color: #fff; }
.mm-save { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; position: sticky; bottom: 1.5rem; background: var(--bg); padding: 1rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ===== FOOTER ===== */
.site-footer { background: #0a0a0a; color: #fff; border-top: 1px solid #1a1a1a; }
.footer-inner { max-width: 1600px; margin: 0 auto; padding: 4rem 2.5rem 2rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 700px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 3rem; padding: 4rem 3rem 2rem; } }

/* NOTE: Footer Brand & Social rules are at the very bottom of this file to ensure they override any generic rules */

.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer-col ul a { color: #ccc; font-size: 0.88rem; }
.footer-col ul a:hover { color: var(--gold); padding-left: 6px; }
.footer-text { color: #b5b5b5; font-size: 0.85rem; line-height: 1.6; margin-bottom: 0.75rem; }
.footer-hours { color: #fff; font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.6rem; }
.footer-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }

/* ===== LIGHTBOX ===== */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
}
#lightbox.open { opacity: 1; pointer-events: all; }
#lightbox img, #lightbox video { max-width: 92vw; max-height: 92vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,0.7); display: block; }
#lightboxClose { position: absolute; top: 1.5rem; right: 1.5rem; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.15); color: #fff; font-size: 2rem; cursor: pointer; display: grid; place-items: center; }

/* ===== MOCK SOCIAL ===== */
.mock-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 1rem;
    animation: mockFade 0.2s ease;
}
@keyframes mockFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.mock-window {
    background: #fff;
    color: #202124;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    animation: mockPop 0.25s cubic-bezier(0.2, 0, 0, 1);
}
@keyframes mockPop {
    from { transform: translateY(12px) scale(0.98); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}
.mock-window-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
}
.mock-window-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.mock-google .mock-window-bar {
    background: #fff;
    color: #202124;
}
.mock-facebook .mock-window-bar {
    background: #1877F2;
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.15);
}
.mock-window-close {
    background: none;
    border: 0;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: inherit;
    transition: background 0.15s ease;
}
.mock-window-close:hover {
    background: rgba(0, 0, 0, 0.08);
}
.mock-facebook .mock-window-close:hover {
    background: rgba(255, 255, 255, 0.2);
}
.mock-window-body {
    padding: 1.75rem 1.5rem 1.25rem;
}
.mock-google .mock-window-body {
    background: #fff;
    color: #202124;
}
.mock-facebook .mock-window-body {
    background: #fff;
    color: #202124;
}
.mock-title {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    margin: 0 0 0.35rem;
    color: #202124;
}
.mock-sub {
    font-size: 0.88rem;
    color: #5f6368;
    text-align: center;
    margin: 0 0 1.5rem;
}
.mock-sub strong {
    color: #202124;
    font-weight: 600;
}
.mock-account-list {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 1rem;
}
.mock-account {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.mock-account:hover {
    background: #f7f8f9;
    border-color: #c5c9ce;
    transform: translateY(-1px);
}
.mock-account:active {
    transform: translateY(0);
}
.mock-account-other {
    border-style: dashed;
}
.mock-account-other:hover {
    background: #f1f3f4;
}
.mock-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.mock-account-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.mock-account-info strong {
    font-size: 0.92rem;
    font-weight: 500;
    color: #202124;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mock-account-info small {
    font-size: 0.78rem;
    color: #5f6368;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mock-demo-note {
    font-size: 0.72rem;
    color: #80868b;
    text-align: center;
    padding-top: 0.85rem;
    border-top: 1px solid #eee;
    margin: 0;
}
.mock-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0 0.5rem;
    gap: 0.4rem;
}
.mock-loading-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.mock-loading .mock-title {
    font-size: 0.95rem;
    color: #5f6368;
    font-weight: 400;
    margin: 0;
}
.mock-loading .mock-sub {
    margin-bottom: 1.25rem;
    font-weight: 500;
    color: #202124;
}
.mock-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid #e8eaed;
    border-top-color: #4285F4;
    border-radius: 50%;
    animation: mockSpin 0.8s linear infinite;
}
.mock-facebook .mock-spinner {
    border-top-color: #1877F2;
}
@keyframes mockSpin {
    to { transform: rotate(360deg); }
}
.mock-form {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1rem;
}
.mock-field {
    display: grid;
    gap: 0.35rem;
}
.mock-field span {
    font-size: 0.78rem;
    font-weight: 600;
    color: #5f6368;
    letter-spacing: 0.3px;
}
.mock-field input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #dadce0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    color: #202124;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.mock-field input::placeholder { color: #9aa0a6; }
.mock-field input:focus {
    outline: none;
    border-color: #4285F4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.18);
}
.mock-facebook .mock-field input:focus {
    border-color: #1877F2;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.18);
}
.mock-form-error {
    color: #d93025;
    font-size: 0.8rem;
    min-height: 1.1em;
    margin: 0;
}
.mock-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
}
.mock-btn-primary,
.mock-btn-ghost {
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    cursor: pointer;
    padding: 0.75rem 1.35rem;
    border: 0;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.mock-btn-primary {
    background: #4285F4;
    color: #fff;
    margin-left: auto;
}
.mock-btn-primary:hover { background: #3367d6; }
.mock-btn-primary:active { transform: translateY(1px); }
.mock-facebook .mock-btn-primary { background: #1877F2; }
.mock-facebook .mock-btn-primary:hover { background: #166fe5; }
.mock-btn-ghost {
    background: transparent;
    color: #5f6368;
    padding: 0.75rem 0.5rem;
}
.mock-btn-ghost:hover {
    color: #202124;
    text-decoration: underline;
}

/* ===== PAGE CURTAIN ===== */
#pageCurtain {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99998;
    display: grid;
    place-items: center;
    pointer-events: none;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.65,0,0.35,1);
}
#pageCurtain.dropping { transform: translateY(0); pointer-events: all; }
#pageCurtain img { width: min(35vw, 180px); border-radius: 50%; }

/* ===== MOBILE ===== */
@media (max-width: 700px) {
    :root { --nav-h: 72px; }
    
    /* Reset padding for mobile to prevent scroll clipping */
    body { padding-top: var(--nav-h); }
    body[data-p="login"] { padding-top: 0; }
    
    /* FIX: Removes the negative margin that was cutting off the top of the hero section */
    body.home { padding-top: 0; }
    body.home #hero { 
        padding-top: var(--nav-h); 
        min-height: 100vh; 
    }

    .nav {
        padding: 0 1rem;
        gap: 0.5rem;
        z-index: 1000;
    }

    /* Bring back the subtitle text on mobile */
    .brand-text span {
        display: block;
        font-size: 0.55rem;
        letter-spacing: 1.5px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }
    
    .brand-text strong { font-size: 0.95rem; }

    /* Account button becomes a circle icon */
    .nav-account { 
        padding: 0.55rem; 
        border-radius: 50%; 
        width: 42px; 
        height: 42px; 
        justify-content: center; 
    }
    .nav-account span { display: none; }

    .tools {
        position: relative;
        z-index: 110;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    #burger {
        width: 44px;
        height: 44px;
        display: grid;
        position: relative;
        z-index: 110;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: background 0.2s ease, border-color 0.2s ease;
    }
    
    #burger:hover,
    #burger[aria-expanded="true"] {
        background: var(--gold);
        border-color: var(--gold);
    }
    #burger[aria-expanded="true"] .burger-line {
        background: #000;
    }

    #links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100vh - var(--nav-h));
        z-index: 999;
        padding: 1.5rem;
        background: #000;
        overflow-y: auto;
        overscroll-behavior: contain;
        animation: slideDownMenu 0.25s ease;
    }
    
    #links a {
        padding: 1.15rem 0;
        font-size: 1.2rem;
        border-top: 1px solid #1a1a1a;
    }
    #links a:first-child { border-top: 0; }

    .wrap { padding: 1.5rem 1rem 4rem; }
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.35rem; }

    .filter-bar { top: var(--nav-h); }
    .menu-group .grid { gap: 1.15rem; }
    .item-card { padding: 1rem; }
    .item-top { grid-template-columns: 84px minmax(0, 1fr); gap: 0.85rem; min-height: 84px; }
    .item-card .menu-img { width: 84px; height: 84px; }
    .item-info { min-height: 84px; }

    .grid.g3 { grid-template-columns: 1fr; }
    .cat-img { aspect-ratio: 4 / 3; max-height: 260px; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
    .gallery-grid .menu-img { aspect-ratio: 1 / 1; }

    .row { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-img.landscape { aspect-ratio: 4 / 3; }

    .login-screen { padding: 2rem 1.25rem; }
    .role-picker { grid-template-columns: 1fr; }
    .role-card { padding: 1.25rem 1rem; }
    .role-icon { width: 50px; height: 50px; font-size: 1.5rem; }
    .auth-view { padding: 1.5rem 1.25rem; }

    .dash-layout { padding: 1.25rem 1rem; gap: 1.5rem; }
    .dash-sidebar { position: static; }
    .dash-nav { flex-direction: row; flex-wrap: wrap; gap: 0.4rem; }
    .dash-nav-link { padding: 0.55rem 0.85rem; font-size: 0.82rem; border: 1px solid var(--line); }
    .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .kpi-card { padding: 1rem; gap: 0.75rem; }
    .kpi-icon { width: 40px; height: 40px; font-size: 1.1rem; }
    .kpi-value { font-size: 1.25rem; }

    .order-table, .order-table thead, .order-table tbody, .order-table tr, .order-table th, .order-table td { display: block; width: 100%; }
    .order-table thead { display: none; }
    .order-table tr { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; margin-bottom: 0.85rem; }
    .order-table td { border: 0; padding: 0.3rem 0; font-size: 0.85rem; }
    .order-table td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--grey); text-transform: uppercase; font-size: 0.7rem; margin-right: 0.5rem; }

    .review-list { grid-template-columns: 1fr; }
    .settings-grid { grid-template-columns: 1fr; }

    #lightbox { padding: 1rem; }
    #lightboxClose { width: 44px; height: 44px; font-size: 1.6rem; top: 0.75rem; right: 0.75rem; }
}

@media (max-width: 380px) {
    :root { --nav-h: 66px; }
    .brand-text span { display: none; }
    #burger { display: grid !important; }
    .gallery-grid { grid-template-columns: 1fr; }
    .kpi-grid { grid-template-columns: 1fr; }
    #fsRange { width: 110px; }
}

/* ===== ORDER TRACKING ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.status-badge-icon {
    font-size: 0.9em;
    line-height: 1;
}
.order-history-status {
    display: flex;
    justify-content: flex-start;
    margin: 0.15rem 0 0.35rem;
}
.track-btn {
    margin-top: 0.5rem;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    border-radius: 10px;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--fg);
    justify-content: center;
    width: 100%;
    box-shadow: none;
}
.track-btn:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    transform: translateY(-1px);
}
.track-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 1rem;
    animation: mockFade 0.2s ease;
}
.track-window {
    background: var(--bg);
    color: var(--fg);
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    animation: mockPop 0.25s cubic-bezier(0.2,0,0,1);
}
.track-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
}
.track-header h3 {
    font-size: 1.15rem;
    margin: 0 0 0.15rem;
    font-weight: 700;
}
.track-header .muted {
    font-size: 0.82rem;
    margin: 0;
}
.track-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: var(--bg-alt);
    color: var(--fg);
    font-size: 1.35rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.track-close:hover {
    background: var(--gold);
    color: #000;
}
.track-body {
    padding: 1.5rem;
    overflow-y: auto;
}
.track-status-hero {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.5rem;
}
.track-status-icon {
    display: inline-grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    font-size: 1.9rem;
    margin-bottom: 0.85rem;
}
.track-status-hero h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}
.track-status-hero p {
    font-size: 0.88rem;
    margin: 0;
}
.track-progress {
    height: 6px;
    border-radius: 999px;
    background: var(--line);
    overflow: hidden;
    margin-bottom: 1.75rem;
}
.track-progress-bar {
    height: 100%;
    border-radius: 999px;
    transition: width 0.5s cubic-bezier(0.2,0,0,1), background 0.3s ease;
}
.track-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: grid;
    gap: 0.1rem;
}
.track-step {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 0.9rem;
    padding: 0.55rem 0;
    position: relative;
}
.track-step::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 26px;
    bottom: -6px;
    width: 2px;
    background: var(--line);
}
.track-step:last-child::before { display: none; }
.track-step-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 2px solid var(--line);
    z-index: 1;
    margin-top: 2px;
}
.track-step.reached .track-step-dot {
    background: var(--gold);
    border-color: var(--gold);
}
.track-step.current .track-step-dot {
    box-shadow: 0 0 0 5px rgba(201,162,39,0.22);
    animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 5px rgba(201,162,39,0.22); }
    50%      { box-shadow: 0 0 0 10px rgba(201,162,39,0.08); }
}
.track-step-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.track-step-info strong {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--grey);
}
.track-step.reached .track-step-info strong {
    color: var(--fg);
}
.track-step.current .track-step-info strong {
    color: var(--gold-dark);
    font-weight: 700;
}
body.dark .track-step.current .track-step-info strong { color: var(--gold); }
.track-step-info small {
    font-size: 0.75rem;
}
.track-summary {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
    display: grid;
    gap: 0.5rem;
}
.track-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--grey);
}
.track-summary-total {
    padding-top: 0.6rem;
    border-top: 1px dashed var(--line);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fg);
}
.status-select {
    padding: 0.45rem 0.7rem;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg-alt);
    color: var(--fg);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3e%3cpath fill='%236b6b6b' d='M0 0l5 6 5-6z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    padding-right: 1.6rem;
}
.status-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201,162,39,0.2);
}

/* ===== SITEMAP PAGE ===== */
.sitemap-page { padding-top: 3rem; max-width: 1300px; }
.sitemap-hero { max-width: 720px; margin: 1rem auto 4rem; text-align: center; }
.sitemap-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    padding: 0.45rem 1.15rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: rgba(201,162,39,0.06);
}
.sitemap-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -1.4px;
    line-height: 1.05;
    margin: 0 0 1rem;
    color: var(--fg);
}
.sitemap-lede { font-size: 1.02rem; color: var(--grey); line-height: 1.6; max-width: 540px; margin: 0 auto; }
.sitemap-divider { width: 60px; height: 3px; background: var(--gold); border-radius: 3px; margin: 1.75rem auto 0; }
.sitemap-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 4rem; }
@media (min-width: 700px) { .sitemap-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; } }
@media (min-width: 1100px) { .sitemap-grid { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; } }
.sitemap-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.65rem;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.sitemap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
    opacity: 0.85;
}
.sitemap-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sitemap-card-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.sitemap-num {
    font-family: Poppins, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: var(--gold);
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(201,162,39,0.4);
    border-radius: 999px;
    background: rgba(201,162,39,0.06);
    line-height: 1;
}
.sitemap-card-head h2 { font-size: 1.1rem; font-weight: 700; margin: 0; letter-spacing: -0.3px; color: var(--fg); }
.sitemap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; }
.sitemap-list li { list-style: none; }
.sitemap-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.5rem;
    color: var(--fg);
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.25s ease;
}
.sitemap-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease; flex-shrink: 0; }
.sitemap-list a:hover { background: var(--bg-alt); color: var(--gold); padding-left: 0.9rem; }
.sitemap-list a:hover .sitemap-dot { background: var(--gold); transform: scale(1.4); box-shadow: 0 0 0 4px rgba(201,162,39,0.2); }
.sitemap-contact {
    background: radial-gradient(ellipse at 10% 50%, rgba(201,162,39,0.08), transparent 55%), var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
}
@media (min-width: 800px) { .sitemap-contact { grid-template-columns: 1fr auto; gap: 2rem; padding: 2.5rem 2.75rem; } }
.sitemap-contact-text h3 { font-size: 1.35rem; font-weight: 700; margin: 0 0 0.35rem; letter-spacing: -0.4px; color: var(--fg); }
.sitemap-contact-text p { font-size: 0.92rem; color: var(--grey); margin: 0; }
.sitemap-contact-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
@media (max-width: 800px) { .sitemap-contact-actions { width: 100%; } .sitemap-contact-actions .btn { flex: 1; text-align: center; justify-content: center; } }
@media (max-width: 700px) {
    .sitemap-page { padding-top: 1.5rem; }
    .sitemap-hero { margin: 0.5rem auto 2.5rem; }
    .sitemap-hero h1 { font-size: 2rem; }
    .sitemap-lede { font-size: 0.92rem; }
    .sitemap-grid { gap: 1rem; margin-bottom: 3rem; }
    .sitemap-card { padding: 1.35rem 1.25rem; }
    .sitemap-card-head h2 { font-size: 1rem; }
    .sitemap-contact { padding: 1.75rem 1.5rem; }
}

/* ===== FINAL FIX FOR GALLERY OVERLAP ===== */
body[data-p="gallery"] .logo-hero {
    display: none !important;
}

.gallery-page {
    padding-top: calc(var(--nav-h) + 2rem) !important;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* =====================================================================
   FOOTER OVERRIDES (MUST BE AT THE VERY BOTTOM TO OVERRIDE PREVIOUS RULES)
   ===================================================================== */

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-brand-text strong { 
    font-size: 1.05rem; 
    font-weight: 700; 
    display: block; 
}
.footer-brand-text span { 
    font-size: 0.82rem; 
    color: #999; 
    display: block; 
    margin-top: 0.2rem; 
}

.footer-tagline {
    color: #b5b5b5;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

.footer-socials {
    display: flex;
    margin-top: 0.5rem;
}

/* FORCE the social button to stay horizontal, no wrapping, no stacking */
.footer-social {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    padding: 0.6rem 1.15rem !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap !important; /* Prevents text stacking */
    width: fit-content !important;
    transition: all 0.2s ease;
}

.footer-social svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
}

.footer-social-fb:hover {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3) !important;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold);
    flex-shrink: 0;
}

.footer-contact a {
    color: #ccc;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--gold);
}

/* Strict layout for the very bottom links */
.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding: 1.5rem 2.5rem;
    text-align: center;
}

.footer-bottom-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: #666;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bottom-links a {
    color: #888 !important;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover,
.footer-bottom-links a.active {
    color: var(--gold) !important;
}

.footer-top {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font: 600 0.75rem Poppins, sans-serif;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

.footer-top:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}

@media (min-width: 700px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .footer-top {
        margin-top: 0;
    }
}

/* ===== DESKTOP FIXES (LOGO & FOOTER) ===== */

/* 1. Hide the giant logo on desktop */
@media (min-width: 992px) {
    .logo-hero {
        display: none !important;
    }
}

/* 2. Restore the Footer Contact Column */
.footer-col h4 { 
    font-size: 0.72rem; 
    font-weight: 700; 
    letter-spacing: 1.5px; 
    text-transform: uppercase; 
    color: var(--gold); 
    margin-bottom: 1rem; 
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold);
    flex-shrink: 0;
}

.footer-contact a {
    color: #ccc;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--gold);
}

/* ===== FOOTER BRAND & LOGO FIX ===== */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(201, 162, 39, 0.6) !important;
    background: #000 !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-brand-text strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1.2;
}

.footer-brand-text span {
    font-size: 0.82rem;
    color: #999;
    display: block;
}

/* ===== CART Z-INDEX FIX ===== */
#ov {
    z-index: 2000 !important; /* Forces the overlay and panel above the navbar */
}

/* ===== CART PANEL DARK MODE FONT FIX ===== */
#panel {
    background: var(--bg);
    color: var(--fg);
}

/* Force all text inside the cart to use the theme's foreground color */
#panel h2, 
#panel h3, 
#panel p,
#panel div,
#panel span {
    color: var(--fg);
}

/* Keep subtitles and muted text grey */
#panel .muted, 
#panel .panel-subtitle,
#panel .cart-item-addons,
#panel .cart-item-price,
#panel .cart-summary-row {
    color: var(--grey) !important;
}

/* Keep the Sugar text gold */
#panel .cart-item-sugar {
    color: var(--gold-dark) !important;
}
body.dark #panel .cart-item-sugar {
    color: var(--gold) !important;
}

/* Cart Item Box Background */
#panel .cart-item {
    background: var(--bg-alt);
    border-color: var(--line);
}

/* Quantity controls */
#panel .cart-qty {
    background: var(--bg);
    border-color: var(--line);
}
#panel .cart-qty button {
    color: var(--fg);
}
#panel .cart-qty button:hover {
    background: var(--gold);
    color: #000;
}

/* Checkout Button */
#panel .cart-checkout {
    background: var(--gold);
    color: #000;
}
#panel .cart-checkout:hover {
    background: var(--gold-dark);
    color: #fff;
}

/* ===== CUSTOMER DARK MODE TOGGLE ===== */
#customerDarkMode:checked + .slider {
    background-color: var(--gold) !important;
}
#customerDarkMode:checked + .slider:before {
    transform: translateX(20px);
}
#customerDarkMode + .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/* ===== CUSTOMER DARK MODE TOGGLE ===== */
#customerDarkMode:checked + .slider {
    background-color: var(--gold) !important;
}
#customerDarkMode:checked + .slider:before {
    transform: translateX(20px);
}
#customerDarkMode + .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/* ===== PROFESSIONAL CONTACT PAGE ===== */
.contact-page {
    max-width: 1200px;
    padding-top: 4rem;
}

/* Hero */
.contact-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}
.contact-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(201,162,39,0.4);
    border-radius: 999px;
    background: rgba(201,162,39,0.08);
}
.contact-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin: 0 0 1.25rem;
    color: var(--fg);
}
.contact-lede {
    font-size: 1.1rem;
    color: var(--grey);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}
.contact-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
    margin: 2rem auto 0;
}

/* Quick Contact Cards */
.quick-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 5rem;
}
@media (min-width: 768px) {
    .quick-contact { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.qc-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 4px 20px -10px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.qc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.qc-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201,162,39,0.3);
    box-shadow: 0 20px 40px -20px rgba(201,162,39,0.2);
}
.qc-card:hover::before { opacity: 1; }

.qc-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--gold);
    font-size: 1.6rem;
    transition: all 0.3s ease;
}
.qc-card:hover .qc-icon {
    background: var(--gold);
    color: #000;
    transform: scale(1.05);
}
.qc-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--fg);
}
.qc-card p {
    font-size: 0.95rem;
    color: var(--grey);
    line-height: 1.6;
    margin: 0;
}
.qc-card .foot-fb {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1877f2;
    background: rgba(24,119,242,0.08);
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(24,119,242,0.2);
    transition: all 0.2s ease;
}
.qc-card .foot-fb:hover {
    background: #1877f2;
    color: #fff;
}

/* Main Grid (Map + Form) */
.contact-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}
@media (min-width: 992px) {
    .contact-main { grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
}

.contact-block-head {
    margin-bottom: 2rem;
}
.contact-block-head h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 0 0.5rem;
    color: var(--fg);
}
.contact-block-head p {
    font-size: 1rem;
    margin: 0;
}

/* Map */
.map-wrapper {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.1);
    aspect-ratio: 4 / 3;
    background: var(--lgrey);
    position: relative;
}
.map {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transition: all 0.5s ease;
}
.map-wrapper:hover .map {
    filter: grayscale(0%) contrast(1) brightness(1);
}
.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold);
    transition: transform 0.2s ease;
}
.map-link:hover {
    transform: translateX(5px);
}

/* Form */
.contact-form {
    display: grid;
    gap: 1.5rem;
    background: var(--bg-alt);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--line);
}
body.dark .contact-form {
    background: var(--bg);
}

.cf-field {
    display: grid;
    gap: 0.5rem;
}
.cf-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 600px) {
    .cf-row { grid-template-columns: 1fr 1fr; }
}

.cf-field label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--fg);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.cf-field input, 
.cf-field textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--line);
    border-radius: 14px;
    background: var(--bg);
    color: var(--fg);
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    transition: all 0.2s ease;
}
.cf-field input:focus, 
.cf-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201,162,39,0.15);
    background: var(--bg);
}

/* Star Rating */
.star-rating-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}
.stars-container {
    display: flex;
    gap: 0.25rem;
}
#stars button {
    background: none;
    border: 0;
    font-size: 2.2rem;
    line-height: 1;
    padding: 0;
    color: var(--line);
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}
#stars button:hover {
    transform: scale(1.15);
}
#stars button.on {
    color: var(--gold);
    text-shadow: 0 4px 12px rgba(201,162,39,0.4);
}
.cf-hint {
    font-size: 0.85rem;
    color: var(--grey);
}

/* Submit Button */
.cf-submit {
    margin-top: 0.5rem;
    padding: 1.1rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    background: var(--gold);
    color: #000;
    box-shadow: 0 8px 24px rgba(201,162,39,0.3);
    transition: all 0.3s ease;
}
.cf-submit:hover {
    background: var(--gold-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(201,162,39,0.4);
}

.cf-status {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--olive);
    min-height: 1.2em;
    margin: 0;
}

/* ===== CONTACT PAGE SPACING FIX ===== */
.contact-page {
    max-width: 1100px !important; /* Reduces the overall width to look more cohesive */
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

/* Tighten the gap between the Map and the Form */
@media (min-width: 992px) {
    .contact-main { 
        grid-template-columns: 1fr 1.1fr !important; 
        gap: 3rem !important; 
    }
}

/* Make the Quick Contact Cards more compact */
.quick-contact {
    gap: 1.25rem !important;
    margin-bottom: 4rem !important;
}
.qc-card {
    padding: 2rem 1.5rem !important;
}

/* Adjust the form padding so it doesn't look overly massive */
.contact-form {
    padding: 2rem !important;
}

/* Fix the hero text spacing */
.contact-hero {
    margin-bottom: 3rem !important;
}

/* ===== CONTACT PAGE WIDER LAYOUT FIX ===== */
.contact-page {
    max-width: 1400px !important; /* Expands the width to fill the screen */
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    margin: 0 auto;
}

/* Adjust the Hero spacing for larger screens */
.contact-hero {
    margin-bottom: 4rem !important;
}

/* Make the Quick Cards larger to fill the space */
.quick-contact {
    gap: 2rem !important;
    margin-bottom: 5rem !important;
}
.qc-card {
    padding: 3rem 2rem !important; /* Adds more breathing room inside the cards */
}

/* Adjust the main grid (Map & Form) to fill the bottom area */
.contact-main {
    grid-template-columns: 1.1fr 1fr !important; /* Gives the Map slightly more width */
    gap: 4rem !important;
}

/* Ensure the form matches the width of the map */
.contact-form {
    padding: 2.5rem !important;
}

/* Responsive check for smaller screens */
@media (max-width: 992px) {
    .contact-page {
        max-width: 100% !important;
    }
    .contact-main {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
}

/* ===== PREMIUM LOGIN SCREEN REDESIGN ===== */
.login-body {
    padding-top: 0;
    background: #050505;
    color: #fff;
    min-height: 100vh;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtle gold glow behind the login box */
.login-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.login-screen {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    padding: 2.5rem 1.5rem;
    display: grid;
    gap: 2rem;
    justify-items: center;
}

.login-brand { text-align: center; display: grid; gap: 0.5rem; justify-items: center; margin-bottom: 1rem; }
.login-brand img {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(201,162,39,0.3);
    padding: 4px;
    background: #000;
    box-shadow: 0 12px 40px rgba(201,162,39,0.25);
}
.login-brand h1 { font-size: 1.5rem; font-weight: 800; margin: 0.5rem 0 0; letter-spacing: -0.5px; }
.login-brand .muted { font-size: 0.9rem; color: #999; }

/* Role Picker */
.role-picker { display: grid; grid-template-columns: 1fr; gap: 1rem; width: 100%; }
.role-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid #262626;
    border-radius: 16px;
    padding: 1.5rem;
    color: #fff;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.2s ease;
    font-family: inherit;
}
.role-card:hover { 
    border-color: var(--gold); 
    background: #1a1a1a; 
    transform: translateY(-2px); 
    box-shadow: 0 10px 30px rgba(201,162,39,0.1); 
}
.role-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(201,162,39,0.1);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.role-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.2rem; display: block; }
.role-desc { font-size: 0.8rem; color: #888; line-height: 1.5; display: block; }

/* Auth View (Login Box) */
.auth-view {
    width: 100%;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid #262626;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: grid;
    gap: 1.5rem;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
}
.auth-view[hidden] { display: none; }

.auth-header { margin-bottom: 0.5rem; }
.auth-header h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.25rem; color: #fff; letter-spacing: -0.5px; }
.auth-header .muted { font-size: 0.9rem; color: #999; }

.back-link { 
    background: none; 
    border: 0; 
    color: #888; 
    font-family: inherit; 
    font-size: 0.85rem; 
    font-weight: 600;
    cursor: pointer; 
    padding: 0; 
    justify-self: start;
    transition: color 0.2s ease;
}
.back-link:hover { color: var(--gold); }

/* Social Buttons */
.social-buttons { display: grid; gap: 0.75rem; }
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font: 600 0.95rem Poppins, sans-serif;
    cursor: pointer;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #fff;
    transition: all 0.2s ease;
}
.social-btn.google { background: #fff; color: #3c4043; border-color: #fff; }
.social-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }

/* Divider */
.divider { display: flex; align-items: center; gap: 1rem; color: #666; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin: 0.5rem 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: #262626; }

/* Inputs with Icons */
.auth-form { display: grid; gap: 1rem; }
.auth-input-group {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-icon {
    position: absolute;
    left: 1.15rem;
    font-size: 1.1rem;
    opacity: 0.6;
    pointer-events: none;
}
.auth-input-group input {
    width: 100%;
    padding: 1.05rem 1rem 1.05rem 3rem; /* Space for icon */
    background: #0a0a0a;
    border: 1.5px solid #262626;
    border-radius: 14px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}
.auth-input-group input::placeholder { color: #666; }
.auth-input-group input:focus { 
    outline: none; 
    border-color: var(--gold); 
    background: #111;
    box-shadow: 0 0 0 4px rgba(201,162,39,0.15); 
}

.form-error { color: #ff4757; font-size: 0.85rem; text-align: center; font-weight: 500; margin: 0; min-height: 1.2em; }

.btn-block { 
    width: 100%; 
    padding: 1.05rem; 
    border-radius: 14px; 
    font-size: 1rem; 
    font-weight: 700; 
    margin-top: 0.5rem;
}

.auth-switch { 
    font-size: 0.9rem; 
    margin-top: 0.5rem; 
    text-align: center; 
    color: #888; 
}
.auth-switch a { color: var(--gold); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

.login-footer { font-size: 0.75rem; color: #555; margin-top: 1rem; }

/* ===== EDIT PROFILE AVATAR ===== */
#editAvatarPreview {
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}
#editAvatarPreview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== ACCOUNT PAGE TWO-COLUMN LAYOUT ===== */
.account-wrap {
    max-width: 1300px !important; /* Widens the container to fit both columns nicely */
}

.account-right-col {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0; /* Prevents flexbox overflow issues */
}

/* Fix for the avatar inside the form */
#editAvatarPreview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure the order history doesn't stretch too far down */
.account-orders-card {
    min-height: 400px;
    max-height: 650px;
    display: flex;
    flex-direction: column;
}

/* On mobile, keep everything stacked */
@media (max-width: 900px) {
    .account-right-col {
        gap: 1.5rem;
    }
}

/* ===== FIX ACCOUNT TWO-COLUMN LAYOUT ===== */
@media (min-width: 900px) {
    .account-grid {
        /* Left column is fixed 340px, Right column takes the rest */
        grid-template-columns: 340px 1fr !important; 
        align-items: start;
    }
    
    .account-right-col {
        /* This forces the right side to be a grid with 2 equal columns */
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; 
        gap: 1.5rem;
        align-items: start;
    }
}

/* ===== ACCOUNT PAGE HEIGHT & WIDTH FIX ===== */
@media (min-width: 900px) {
    /* 1. Make the main grid wider */
    .account-grid {
        grid-template-columns: 320px 1fr !important;
        align-items: stretch !important; /* Forces the left sidebar to match the height of the right side */
    }

    /* 2. Turn the right side into a 2-column grid */
    .account-right-layout {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* 50/50 split */
        gap: 1.5rem;
        align-items: stretch !important; /* Forces both cards to be equal height */
        min-width: 0;
    }

    /* 3. Make both cards flex columns so the content fills the height */
    .account-edit-card,
    .account-orders-card {
        display: flex;
        flex-direction: column;
        height: 100%; /* Stretches to fill the row */
        min-height: auto !important; 
        max-height: 800px; /* Prevents it from getting absurdly tall */
    }

    /* 4. Stretch the scrollable area of the Order History */
    .account-orders-card .order-history {
        flex: 1; /* Takes up all remaining space */
        max-height: none !important; /* Overrides the old 480px limit */
        overflow-y: auto;
    }
}

/* Mobile adjustments (keep them stacked) */
@media (max-width: 899px) {
    .account-right-layout {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ===== AUTH MESSAGES ===== */
#forgotMsg {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 1.2em;
    margin: 0.5rem 0 0;
}

/* ===== NAVBAR ACCOUNT PROFILE CHIP ===== */
.nav-account {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-account img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.1);
    margin-left: -4px; /* Pulls the image slightly left to balance the padding */
}

.nav-account span {
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
}

/* =====================================================================================
   MOBILE FIXES (dashboard + menu manager) - keep at the END of the file so it wins.
   Root cause of the "overlapping off screen" bug: the dashboard's single grid column was
   `1fr` (= minmax(auto, 1fr)), so wide content (nav pills, inputs with min-width) stretched
   the column past the phone screen. `minmax(0, 1fr)` + `min-width: 0` lets it shrink.
   ===================================================================================== */
html, body { max-width: 100%; overflow-x: hidden; }
.dash-layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .dash-layout { grid-template-columns: 280px minmax(0, 1fr); } }
.dash-sidebar, .dash-main, .dash-panel, .dash-header, .dash-header > div { min-width: 0; max-width: 100%; }
.dash-nav { flex-wrap: wrap; }
.dash-header h1, .dash-header p { overflow-wrap: anywhere; }

@media (max-width: 991px) {
    .dash-layout { padding: 1rem; gap: 1rem; }
    .dash-sidebar { padding: 1rem; gap: 1rem; }
    .dash-nav { flex-direction: row; gap: 0.5rem; }
    .dash-nav-link { flex: 1 1 auto; min-width: 0; justify-content: center; padding: 0.6rem 0.75rem; font-size: 0.85rem; white-space: nowrap; }
    .dash-header h1 { font-size: 1.6rem; }
    .chart-card { padding: 1.25rem; }
}

@media (max-width: 640px) {
    /* Menu Manager */
    .mm-tabs { gap: 0.4rem; margin-bottom: 1.25rem; }
    .mm-tab { flex: 1 1 auto; text-align: center; padding: 0.6rem 0.9rem; }
    .mm-add-category { gap: 0.6rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem; }
    .mm-add-category input { min-width: 0; flex: 1 1 100%; width: 100%; box-sizing: border-box; }
    .mm-add-category .btn { flex: 1 1 100%; width: 100%; }
    .mm-group { padding: 1rem; border-radius: 14px; }
    .mm-group-head { align-items: flex-start; }
    .mm-group-head h3 { flex: 1 1 100%; min-width: 0; overflow-wrap: anywhere; }
    .mm-group-actions { flex: 1 1 100%; }
    .mm-group-actions .btn { flex: 1 1 auto; text-align: center; justify-content: center; }
    .mm-item {
        grid-template-columns: 56px minmax(0, 1fr) auto;
        grid-template-areas: "img . del" "info info info";
        gap: 0.6rem 0.75rem;
        padding: 0.75rem;
    }
    .mm-item > .mm-item-img { grid-area: img; width: 56px; height: 56px; }
    .mm-item > .mm-item-info { grid-area: info; min-width: 0; }
    .mm-item > .mm-del-item { grid-area: del; align-self: start; }
    .mm-item-info input { flex: 1 1 100%; min-width: 0; width: 100%; max-width: none !important; box-sizing: border-box; }
    .mm-item-info label.btn { flex: 1 1 100%; text-align: center; justify-content: center; }
    .mm-save { position: static; flex-wrap: wrap; padding: 0.9rem 1rem; }
    .mm-save .btn { flex: 1 1 100%; }
}

/* orders toolbar: let search/filter controls shrink inside narrow phones (320px) */
.order-toolbar > * { min-width: 0; }
.order-toolbar input, .order-toolbar select { width: 100%; max-width: 100%; box-sizing: border-box; }
