﻿/* ════════════════════════════════════════════════════════════
   JUST BITE — MASTER THEME STYLESHEET
   Cleaned, unified & fully theme-consistent (Gold/Amber palette)
════════════════════════════════════════════════════════════ */

:root {
    /* Core palette */
    --pink: #af7c43; /* primary amber-gold (kept var name for compatibility) */
    --pink-deep: #C99A24; /* deep amber (secondary) */
    --pink-light: #FFF3CF; /* light cream-gold */
    --pink-cream: #FFF9E8; /* soft page-tint cream */
    --pink-blush: #f8e4ec; /* pale blush chip background */
    --ink: #1a1a1a; /* text / headings */
    --muted: #666;
    --muted-2: #999;
    --line: #f0f0f0;
    --border: #e0e0e0;
    --white: #ffffff;
    /* Shadows — amber-tinted instead of neutral/pink */
    --shadow-xs: 0 2px 8px rgba(201,154,36,0.12);
    --shadow-sm: 0 4px 14px rgba(201,154,36,0.18);
    --shadow-md: 0 8px 28px rgba(201,154,36,0.14);
    --shadow-lg: 0 14px 32px rgba(201,154,36,0.16);
    --shadow-xl: 0 18px 40px rgba(201,154,36,0.20);
    /* Motion */
    --ease: cubic-bezier(.4,0,.2,1);
    --ease-bounce: cubic-bezier(.36,.07,.19,.97);
    --dur-fast: .2s;
    --dur-base: .3s;
    --dur-slow: .55s;
    /* Radius scale */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 18px;
    --r-xl: 24px;
    --r-pill: 50px;
    --nav-h: 60px;
}

* {
    box-sizing: border-box;
}

/* ══════════════════════════════════════════
   WISHLIST STYLES
══════════════════════════════════════════ */
.wish-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #ccc;
    transition: color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
    box-shadow: var(--shadow-xs);
    z-index: 5;
}

    .wish-btn:hover {
        transform: scale(1.15);
        box-shadow: var(--shadow-sm);
    }

    .wish-btn.active {
        color: var(--pink);
    }

    .wish-btn.pop {
        animation: heartPop .4s var(--ease-bounce);
    }

@keyframes heartPop {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.5);
    }

    60% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

/* ══════════════════════════════════════════
   PRODUCT CARD — entrance animation
══════════════════════════════════════════ */
.product-card {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .45s ease, transform .45s ease, box-shadow var(--dur-base) ease;
    border-radius: var(--r-lg);
}

    .product-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .product-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: var(--shadow-xl) !important;
    }

.card-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-md);
}

    .card-img-wrap img {
        transition: transform var(--dur-slow) ease;
    }

.product-card:hover .card-img-wrap img {
    transform: scale(1.07);
}

.card-body .text-sm {
    display: block;
    margin: 4px 0 8px 0;
    font-weight: 500;
    color: var(--muted);
}

/* ══════════════════════════════════════════
   ADD-TO-CART BUTTON RIPPLE
══════════════════════════════════════════ */
.btn-add {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--r-pill);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-base) var(--ease);
    box-shadow: var(--shadow-xs);
}

    .btn-add:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
    }

    .btn-add .ripple {
        position: absolute;
        border-radius: 50%;
        background: rgba(255,255,255,0.45);
        transform: scale(0);
        animation: ripple .55s linear;
        pointer-events: none;
    }

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ══════════════════════════════════════════
   CATEGORY NAV — active indicator
══════════════════════════════════════════ */
.cat-link {
    position: relative;
    color: var(--ink);
    text-decoration: none;
    transition: color var(--dur-fast) ease;
}

    .cat-link:hover {
        color: var(--pink);
    }

    .cat-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--pink);
        border-radius: 2px;
        transition: width var(--dur-base) var(--ease);
    }

    .cat-link.active {
        color: var(--pink);
    }

        .cat-link.active::after {
            width: 100%;
        }

/* ══════════════════════════════════════════
   CATEGORY CARD — hover lift
══════════════════════════════════════════ */
.cat-card {
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform var(--dur-base) ease, box-shadow var(--dur-base) ease;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
}

    .cat-card:hover {
        transform: translateY(-6px) scale(1.03);
        box-shadow: var(--shadow-lg);
    }

    .cat-card img {
        transition: transform .5s ease;
        display: block;
        width: 100%;
    }

    .cat-card:hover img {
        transform: scale(1.08);
    }

/* ══════════════════════════════════════════
   WISHLIST / CART BADGES ON NAV
══════════════════════════════════════════ */
.wish-badge,
.cart-badge,
.nav-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--pink);
    color: var(--white);
    font-size: .65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    pointer-events: none;
    transition: transform var(--dur-fast) ease;
    line-height: 1;
}

.nav-badge {
    top: 2px;
    right: 2px;
    font-size: .62rem;
    min-width: 17px;
    height: 17px;
    padding: 0 3px;
}

.badge-pop {
    animation: badgePop .35s ease;
}

@keyframes badgePop {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.5);
    }

    70% {
        transform: scale(0.85);
    }

    100% {
        transform: scale(1);
    }
}

/* ══════════════════════════════════════════
   FILTER BAR (category pills)
══════════════════════════════════════════ */
.filter-bar {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    animation: fadeSlideIn .4s ease both;
}

.filter-pill {
    padding: .36rem 1rem;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: .82rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
    white-space: nowrap;
}

    .filter-pill:hover {
        transform: scale(1.05);
        border-color: var(--pink);
        color: var(--pink);
    }

    .filter-pill.active {
        background: var(--pink);
        color: var(--white);
        border-color: var(--pink);
    }

/* ══════════════════════════════════════════
   NO PRODUCTS IN CATEGORY
══════════════════════════════════════════ */
#noResults {
    display: none;
    text-align: center;
    padding: 4rem 0;
    color: var(--muted-2);
    animation: fadeSlideIn .3s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ══════════════════════════════════════════
   TOAST (wishlist / general)
══════════════════════════════════════════ */
.toast-wish {
    background: var(--pink-deep) !important;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ══════════════════════════════════════════
   SKELETON shimmer
══════════════════════════════════════════ */
@keyframes shimmer {
    0% {
        background-position: -600px 0;
    }

    100% {
        background-position: 600px 0;
    }
}

.skel-img, .skel-line, .skel-btn, .skel-cat-img, .skel-cat-txt {
    background: linear-gradient(90deg, var(--line) 25%, var(--border) 50%, var(--line) 75%);
    background-size: 600px 100%;
    animation: shimmer 1.4s infinite linear;
    border-radius: var(--r-sm);
}

/* ══════════════════════════════════════════
   SECTION COUNT BADGE
══════════════════════════════════════════ */
.section-count {
    background: var(--pink-blush);
    color: var(--pink-deep);
    font-size: .75rem;
    font-weight: 700;
    padding: .2rem .65rem;
    border-radius: var(--r-pill);
    margin-left: .6rem;
    vertical-align: middle;
}

/* ══════════════════════════════════════════
   INTRO SECTION
══════════════════════════════════════════ */
.intro-section {
    padding: 80px 20px 40px;
    background: linear-gradient(180deg, var(--white) 0%, var(--pink-cream) 100%);
    text-align: center;
    overflow: hidden;
}

.intro-container {
    max-width: 900px;
    margin: 0 auto;
}

.intro-badge {
    display: inline-block;
    background: var(--pink-blush);
    color: var(--pink);
    padding: 6px 16px;
    border-radius: var(--r-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.intro-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

    .intro-title span {
        color: var(--pink);
        background: linear-gradient(90deg, var(--pink), var(--pink-deep));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.intro-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.intro-line {
    width: 60px;
    height: 4px;
    background: var(--pink);
    margin: 0 auto;
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    animation: scaleIn 0.6s ease 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@media (max-width: 768px) {
    .intro-section {
        padding: 50px 15px 30px;
    }

    .intro-title {
        font-size: 2.2rem;
    }
}

/* ══════════════════════════════════════════
   HERO BANNER SLIDER
══════════════════════════════════════════ */
.hero-wrap {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
    background: #121212;
}

#heroSlider, .slides-track, .slide {
    width: 100%;
    height: 100%;
}

.slides-track {
    display: flex;
    transition: transform 0.7s var(--ease);
}

.slide {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 6s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26,17,4,0.85) 0%, rgba(26,17,4,0.4) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.slide-inner {
    max-width: 650px;
    color: var(--white);
}

.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: var(--white);
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.slide-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--pink-light);
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.slide-btns {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: var(--r-pill);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all var(--dur-base) ease;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
        background: linear-gradient(135deg, var(--pink-deep) 0%, var(--pink) 100%);
    }

.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: var(--r-pill);
    transition: all var(--dur-base) ease;
}

    .btn-outline:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--white);
        transform: translateY(-3px);
    }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--dur-base) ease;
}

    .slider-arrow:hover {
        background: var(--pink);
        border-color: var(--pink);
        color: var(--white);
        transform: translateY(-50%) scale(1.05);
    }

    .slider-arrow.left {
        left: 24px;
    }

    .slider-arrow.right {
        right: 24px;
    }

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all var(--dur-base) var(--ease);
}

    .dot.active {
        background: var(--pink);
        width: 28px;
        border-radius: 5px;
    }

@media (max-width: 768px) {
    .hero-wrap {
        height: 420px;
    }

    .slide-content {
        padding: 0 1.2rem;
    }

    .slide-btns {
        gap: 0.8rem;
    }

    .btn-primary, .btn-outline {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .slider-arrow {
        display: none;
    }
}

/* ══════════════════════════════════════════
   NAVBAR — Complete Responsive
══════════════════════════════════════════ */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.09);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    padding: 0 16px;
    gap: 10px;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--pink);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-search-wrap {
    display: none;
    align-items: center;
    flex: 1;
    max-width: 420px;
    background: #f5f5f5;
    border-radius: var(--r-pill);
    padding: 0 14px;
    gap: 8px;
    height: 40px;
}

.nav-search-ico {
    color: #aaa;
    font-size: .95rem;
    flex-shrink: 0;
}

.nav-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: .9rem;
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
}

    .nav-search-input::placeholder {
        color: #bbb;
    }

.nav-search-clear {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: .85rem;
    padding: 0;
    line-height: 1;
}

.desktop-nav-links {
    display: none;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--ink);
    font-size: .875rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    transition: color var(--dur-fast) ease;
    white-space: nowrap;
}

    .nav-link:hover {
        color: var(--pink);
    }

.nav-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.nav-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--ink);
    position: relative;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}

    .nav-icon-btn:hover {
        background: #f5f5f5;
        color: var(--pink);
    }

.mobile-only {
    display: none !important;
}

.mobile-search-bar {
    display: none;
    border-top: 1px solid var(--line);
    animation: navSlideDown .22s ease;
}

    .mobile-search-bar.open {
        display: block;
    }

.mobile-search-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
}

.mobile-search-input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: 25px;
    padding: 9px 16px;
    font-size: .95rem;
    outline: none;
    font-family: 'DM Sans', sans-serif;
    transition: border-color var(--dur-fast) ease;
}

    .mobile-search-input:focus {
        border-color: var(--pink);
    }

.mobile-search-close {
    background: none;
    border: none;
    font-size: 1.15rem;
    color: #888;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    border-top: 1px solid var(--line);
    background: var(--white);
    padding: 6px 0 12px;
    animation: navSlideDown .22s ease;
}

    .mobile-menu.open {
        display: flex;
    }

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 1rem;
    color: var(--ink);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    transition: background .15s ease, color .15s ease;
}

    .mobile-menu-link i {
        width: 20px;
        text-align: center;
        color: var(--pink);
        font-size: 1rem;
    }

    .mobile-menu-link:hover {
        background: var(--pink-cream);
        color: var(--pink);
    }

    .mobile-menu-link:active {
        background: var(--pink-light);
    }

@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive breakpoints ── */
@media (max-width: 767px) {
    .mobile-only {
        display: flex !important;
    }

    .nav-search-wrap, .desktop-nav-links {
        display: none !important;
    }

    .nav-icon-btn {
        font-size: 1.15rem;
        padding: 7px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .nav-search-wrap {
        display: flex;
    }

    .desktop-nav-links {
        display: none;
    }

    .hamburgerBtn {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .nav-search-wrap {
        display: flex;
    }

    .desktop-nav-links {
        display: flex;
    }

    .mobile-only {
        display: none !important;
    }
}

/* ══════════════════════════════════════════
   CATEGORY SCROLL STRIP
══════════════════════════════════════════ */
.cat-scroll-section {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}

.cat-scroll-wrap {
    position: relative;
}

.cat-scroll-track {
    display: flex;
    align-items: center;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 48px;
    scrollbar-width: none;
    cursor: grab;
}

    .cat-scroll-track::-webkit-scrollbar {
        display: none;
    }

    .cat-scroll-track.grabbing {
        cursor: grabbing;
    }

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
    opacity: 0;
    transform: translateY(18px) scale(0.88);
    transition: opacity .4s ease, transform .4s ease;
}

    .cat-item.visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

.cat-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    border: 2.5px solid var(--line);
    transition: border-color var(--dur-base) ease, transform var(--dur-base) ease, box-shadow var(--dur-base) ease;
    position: relative;
    background: linear-gradient(135deg, var(--pink-cream) 0%, var(--pink-light) 100%);
}

    .cat-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

.cat-item:hover .cat-circle {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(244,166,35,0.18);
    transform: translateY(-4px);
}

    .cat-item:hover .cat-circle img {
        transform: scale(1.1);
    }

.cat-item.active .cat-circle {
    border-color: var(--pink);
    border-width: 3px;
    box-shadow: 0 0 0 4px rgba(244,166,35,0.22);
}

.cat-item.active .cat-label {
    color: var(--pink);
    font-weight: 700;
}

.cat-label {
    font-size: 11.5px;
    font-weight: 500;
    color: #444;
    text-align: center;
    max-width: 72px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--dur-base) ease;
}

.cat-pulse-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--pink);
    opacity: 0;
    pointer-events: none;
}

.cat-item.active .cat-pulse-ring {
    animation: pulseRing 1.8s ease infinite;
}

@keyframes pulseRing {
    0% {
        opacity: .7;
        transform: scale(1);
    }

    70% {
        opacity: 0;
        transform: scale(1.35);
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

.active-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pink);
    margin: 0 auto;
    opacity: 0;
    transform: scale(0);
    transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.cat-item.active .active-dot {
    opacity: 1;
    transform: scale(1);
}

.cat-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    font-size: 18px;
    color: #555;
    box-shadow: var(--shadow-xs);
    transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}

    .cat-scroll-arrow:hover {
        background: var(--pink);
        color: var(--white);
        border-color: var(--pink);
    }

    .cat-scroll-arrow.left {
        left: 6px;
    }

    .cat-scroll-arrow.right {
        right: 6px;
    }

/* ══════════════════════════════════════════
   NAV USER BUTTON — logged-in state
══════════════════════════════════════════ */
#userNavBtn.logged-in {
    color: var(--pink);
    background: var(--pink-blush);
}

    #userNavBtn.logged-in:hover {
        background: var(--pink-light);
        color: var(--pink-deep);
    }

/* ══════════════════════════════════════════
   FUN STATS SECTION (fs-*)
══════════════════════════════════════════ */
.fs-section {
    position: relative;
    background: var(--white);
    padding: 80px 24px;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
}

.fs-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--pink-light);
    opacity: .35;
    pointer-events: none;
}

.fs-heading {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 56px;
}

.fs-badge {
    display: inline-block;
    background: var(--pink-light);
    color: var(--pink-deep);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 40px;
    margin-bottom: 14px;
}

.fs-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--ink);
    line-height: 1.15;
}

    .fs-title span {
        color: var(--pink);
    }

.fs-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 320px;
}

.float-cake {
    position: absolute;
    font-size: 36px;
    pointer-events: none;
    will-change: transform;
    filter: drop-shadow(0 6px 14px rgba(201,154,36,.18));
    animation: floatEmoji 3.6s ease-in-out infinite;
}

@keyframes floatEmoji {
    0%,100% {
        transform: translateY(0) rotate(-4deg);
    }

    50% {
        transform: translateY(-20px) rotate(6deg);
    }
}

.stat-card {
    position: absolute;
    background: var(--white);
    border: 2px solid var(--pink-light);
    border-radius: 20px;
    padding: 18px 22px;
    text-align: center;
    min-width: 130px;
    box-shadow: var(--shadow-md);
    z-index: 3;
    will-change: transform;
    animation: floatCard 3.2s ease-in-out infinite;
}

@keyframes floatCard {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.stat-card .s-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--pink);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card .s-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted-2);
    white-space: nowrap;
}

.stat-card .s-icon {
    font-size: 22px;
    margin-bottom: 6px;
    display: block;
}

.stat-card.big {
    min-width: 160px;
    border-color: var(--pink);
    background: linear-gradient(135deg, var(--white) 0%, var(--pink-cream) 100%);
}

    .stat-card.big .s-num {
        font-size: 2.6rem;
    }

.fs-divider {
    width: 60px;
    height: 4px;
    background: var(--pink);
    border-radius: 2px;
    margin: 20px auto 0;
}

.sparkle {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    animation: sparkleAnim 2.4s ease-in-out infinite;
}

@keyframes sparkleAnim {
    0%,100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }

    40% {
        opacity: .9;
        transform: scale(1.1) rotate(20deg);
    }

    70% {
        opacity: .5;
        transform: scale(.8) rotate(-10deg);
    }
}

.line-deco {
    position: absolute;
    border-radius: 40px;
    opacity: .12;
    background: var(--pink);
    pointer-events: none;
}

.count-up {
    transition: all .1s;
}

@media (max-width: 600px) {
    .fs-inner {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .stat-card, .float-cake {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
    }

    .float-cake {
        display: inline-block;
    }
}

/* ══════════════════════════════════════════
   DRAWER LINKS
══════════════════════════════════════════ */
.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: background .15s ease;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
}

    .drawer-link:hover {
        background: var(--pink-cream);
        color: var(--pink);
    }

    .drawer-link.active {
        background: var(--pink-light);
        color: var(--pink);
        font-weight: 600;
    }

.drawer-link-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.drawer-link.active .drawer-link-icon {
    background: var(--white);
    color: var(--pink);
}

.drawer-count-badge {
    margin-left: auto;
    background: var(--pink-light);
    color: var(--pink);
    font-size: 10px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 10px;
}

/* ══════════════════════════════════════════
   MOBILE BANNER — Blink Highlight + Curved Corners
══════════════════════════════════════════ */
@media (max-width: 767px) {
    .hero-wrap {
        height: 380px;
        border-radius: 0 0 28px 28px;
        overflow: hidden;
    }

    .slide-overlay {
        background: linear-gradient(160deg, rgba(26,17,4,0.80) 0%, rgba(26,17,4,0.35) 60%, rgba(0,0,0,0.05) 100%);
    }

    .slide-title {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .slide-sub {
        font-size: 0.88rem;
        margin-bottom: 1.4rem;
        opacity: 0.85;
    }

    .slide.active .slide-bg {
        animation: mobileBannerBlink 1.8s ease-out forwards;
    }

    @keyframes mobileBannerBlink {
        0% {
            opacity: 0.4;
            transform: scale(1.04);
        }

        30% {
            opacity: 1;
            transform: scale(1.02);
        }

        60% {
            opacity: 0.85;
            transform: scale(1.01);
        }

        80% {
            opacity: 1;
            transform: scale(1.005);
        }

        100% {
            opacity: 1;
            transform: scale(1);
        }
    }

    .slides-track {
        transition: transform 0.55s var(--ease);
    }

    .hero-wrap::before, .hero-wrap::after {
        content: '';
        position: absolute;
        top: 0;
        width: 18px;
        height: 100%;
        z-index: 3;
        pointer-events: none;
    }

    .hero-wrap::before {
        left: 0;
        background: linear-gradient(to right, rgba(255,255,255,0.18) 0%, transparent 100%);
        border-radius: 18px 0 0 18px;
    }

    .hero-wrap::after {
        right: 0;
        background: linear-gradient(to left, rgba(255,255,255,0.18) 0%, transparent 100%);
        border-radius: 0 18px 18px 0;
    }

    .slider-dots {
        bottom: 14px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

        .dot.active {
            width: 22px;
        }

    .slide-content {
        padding: 0 1rem;
        align-items: flex-end;
        padding-bottom: 52px;
    }

    .slide-btns {
        flex-direction: column;
        gap: 0.6rem;
        align-items: flex-start;
    }

    .btn-primary, .btn-outline {
        font-size: 0.85rem;
        padding: 0.65rem 1.4rem;
        display: inline-block;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .hero-wrap {
        height: 320px;
        border-radius: 0 0 20px 20px;
    }

    .slide-title {
        font-size: 1.35rem;
    }

    .slide-sub {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-wrap {
        height: 480px;
        border-radius: 0 0 24px 24px;
    }
}

/* ══════════════════════════════════════════
   BANNER IMAGE — responsive object-fit
══════════════════════════════════════════ */
.slide-bg-img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #5A2E12;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 6s ease;
}

.slide.active .slide-img {
    transform: scale(1.02);
}

@media (max-width: 767px) {
    .hero-wrap {
        height: auto !important;
        min-height: unset !important;
        max-height: unset !important;
    }

    .slide {
        height: auto;
    }

    .slide-bg-img-wrap {
        position: relative;
        inset: unset;
        width: 100%;
        height: auto;
    }

    .slide-img {
        width: 100%;
        height: auto;
        object-fit: unset;
        max-height: 420px;
        object-position: center;
    }

    .slide-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
    }

    .slide-content {
        position: absolute;
        bottom: 40px;
        left: 0;
        right: 0;
        top: unset;
        padding: 0 1rem;
        align-items: flex-end;
    }
}
