/* ── BASE ─────────────────────────────────────────────────────── */
* { 
    box-sizing: border-box; 
}
body { 
    font-family: 'Inter', sans-serif; 
    background-color: #fff; 
    color: #111; 
}
.font-serif { 
    font-family: 'Prata', serif; 
}
.accent-gold { 
    color: #C5A059; 
}
.bg-gold { 
    background-color: #C5A059; 
}

/* ── NAV LINKS ────────────────────────────────────────────────── */
.nav-link { position: relative; 
    transition: color 0.3s ease; 
}
.nav-link::after { content: ''; 
    position: absolute; 
    width: 0; 
    height: 1px; 
    bottom: -2px; 
    left: 0; 
    background-color: #C5A059; 
    transition: width 0.3s ease; 
}
.nav-link:hover::after { 
    width: 100%; 
}

/* ── MEGA MENU ────────────────────────────────────────────────── */
.mega-menu { 
    visibility: hidden; 
    opacity: 0; 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    transform: translateY(10px); 
}
.group:hover .mega-menu { 
    visibility: visible; 
    opacity: 1; 
    transform: translateY(0); 
}

/* ── GLASS ────────────────────────────────────────────────────── */
.glass { 
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(10px); 
}

/* ── PRODUCT CARDS ────────────────────────────────────────────── */
.product-card img { 
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); 
}
.product-card:hover img { 
    transform: scale(1.05); 
}

/* Add to Cart: hidden by default, shown on hover (desktop) */
.add-to-cart-btn {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    background: #111;
    color: #fff;
    padding: 1rem 0;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}
.product-card:hover .add-to-cart-btn {
    opacity: 1;
    transform: translateY(0);
}

/* ── SWIPER ───────────────────────────────────────────────────── */
.swiper-button-next,
.swiper-button-prev { 
    color: #111 !important; 
    transform: scale(0.7); 
}

/* ── BRANDS MARQUEE ───────────────────────────────────────────── */
.brands-section { 
    overflow: hidden;
}
.brands-track-wrap { 
    overflow: hidden; 
    margin-top: 28px;
    position: relative; 
    display: flex;
    justify-content: center;
}
.brands-track { 
    display: flex; 
    gap: 0; 
    width: max-content; 
}
.brand-item { 
    padding: 20px 40px; 
    border-right: 1px solid #3a3a3a; 
    display: flex; 
    align-items: center; 
}
.brand-item:first-child {
    border-left: 1px solid #3a3a3a;
}
.brand-name { 
    font-family: 'Prata',serif; 
    font-size: 16px;
    letter-spacing: 0.14em; 
    color: #ffffff; 
    text-transform: uppercase; 
    white-space: nowrap; 
}
@keyframes marquee { 
    from { transform: translateX(0); } to { transform: translateX(-50%); } 
}
/* ── MOBILE MARQUEE ───────────────────────────────────────────── */
.mobile-only {
    display: none;
}
@media (max-width: 768px) {
    .brands-track {
        animation: marquee 30s linear infinite;
    }
    .mobile-only {
        display: contents;
    }
}
@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}
/* ── MOBILE MENU ──────────────────────────────────────────────── 
   FIX: Defined globally (not inside a media query) so it works
   for ALL screen sizes where the hamburger is visible (< 1024px). */
#mobile-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100dvh;
    background: #fff;
    z-index: 200;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease;
}

#mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Hide mobile menu system on desktop */
@media (min-width: 1024px) {
    #mobile-menu,
    #mobile-menu.active {
        display: none;
    }
}
.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #111;
    text-decoration: none;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-heading { font-size: 3.5rem !important; line-height: 1.1; }
}
@media (max-width: 768px) {
    .hero-heading { font-size: 2.5rem !important; }
    
    /* FIX: Swiper overflow-visible causes horizontal scroll on mobile */
    .productSwiper { overflow: hidden !important; }
     
    /* FIX: Add to Cart always visible on touch devices (no hover) */
    .add-to-cart-btn {
        opacity: 1 !important;
        transform: translateY(0) !important;
        position: relative;
        display: block;
    }
}
@media (max-width: 480px) {
    .hero-heading { font-size: 2rem !important; }
    .brand-item { padding: 16px 28px; }
    .brand-name { font-size: 13px; }
}

/* ── SCROLL REVEAL ────────────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}
   
/* ── BEST SELLERS REDESIGN ─────────────────────────────────── */
    .bs-card {
        border-radius: 2px;
        overflow: hidden;
        transition: box-shadow 0.4s ease;
    }
    .bs-card:hover {
        box-shadow: 0 12px 40px rgba(0,0,0,0.10);
    }
    .bs-badge {
        position: absolute;
        top: 14px;
        left: 14px;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.08em;
        padding: 4px 10px;
        z-index: 10;
        text-transform: uppercase;
    }
    /* Tab styling */
    .tab-btn {
        background: none;
        border: none;
        cursor: pointer;
        transition: color 0.3s ease, border-color 0.3s ease;
    }
    .tab-btn.active {
        color: #111;
        border-bottom-color: #111;
    }
    .tab-btn:not(.active) {
        color: #ccc;
        border-bottom-color: transparent;
    }
    /* Add to cart: visible on mobile, hover on desktop */
    @media (max-width: 768px) {
        .bs-add-btn {
            opacity: 1 !important;
            transform: translateY(0) !important;
        }
        /* 2 columns on mobile */
        .productSwiper .swiper-slide { width: calc(50% - 8px); }
    }
/* ── PROMO BANNER ─────────────────────────────────────────────── */
.promo-banner { isolation: isolate; }

/* Slightly dim images on mobile so text stays readable */
/* ── NOTIFICATION SYSTEM ────────────────────────────────────────── */
.notification-toast {
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    min-width: 320px;
    max-width: 420px;
    border-radius: 4px;
    border-left: 4px solid #111; /* Default */
}
.notification-toast.bg-white { background: #fff; }

/* Success state left border */
.notification-toast:has(.text-green-600) { border-left-color: #16a34a; }
/* Error state left border */
.notification-toast:has(.text-red-600) { border-left-color: #dc2626; }

/* Animation Ease */
.notification-toast {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (max-width: 640px) {
    #notification-container {
        right: 1rem;
        left: 1rem;
        bottom: 1.5rem;
    }
    .notification-toast {
        min-width: 0;
        width: 100%;
    }
}