/* --- PREMIUM MAISON ZYRA SCROLLBAR --- */
::-webkit-scrollbar {
    width: 12px !important;
    height: 12px !important;
}

::-webkit-scrollbar-track {
    background: #1a1a1a !important;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5) !important;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #D4AF37 0%, #a6892c 100%) !important;
    border-radius: 10px !important;
    border: 3px solid #1a1a1a !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4) !important;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f9e29c 0%, #D4AF37 100%) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6) !important;
}

/* For Firefox */
html {
    scrollbar-width: auto;
    scrollbar-color: #D4AF37 #1a1a1a;
}

/* Elegant Typography & Modern Reset */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #D4AF37;
    /* Royal Gold */
    --accent-glow: rgba(212, 175, 55, 0.4);
    --bg-light: #FDFDFD;
    --white: #ffffff;
    --text-muted: #7f8c8d;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 35px;
    --header-font: 'Playfair Display', serif;
    --body-font: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Cart & Checkout Variables */
    --cart-accent: #D4AF37;
    --cart-primary: #1a1a1a;
    --cart-gradient: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    --cart-glass: rgba(255, 255, 255, 0.9);
    --cart-shadow: rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-light);
    color: var(--primary-color);
    font-family: var(--body-font);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.section-title {
    font-family: var(--header-font);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- HEADER & NAVIGATION --- */
.top-announcement {
    background: #000;
    color: #fff;
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10000;
}

.announcement-slider {
    display: flex;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

.announcement-item {
    padding: 0 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- MODERN HEADER SYSTEM --- */
.navbar {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 25px 0;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 9998 !important;
    position: fixed !important;
    top: 40px !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    /* Always below announcement bar */
    overflow: visible !important;
}

.navbar .container-fluid {
    overflow: visible !important;
    max-width: 100%;
}

.navbar-collapse {
    overflow: visible !important;
}

.navbar-nav {
    flex-wrap: nowrap;
    overflow: visible !important;
}

@media (max-width: 1199px) {
    .navbar-nav {
        flex-direction: column;
        overflow-y: auto;
        max-height: 70vh;
    }
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    top: 40px !important;
    /* Always below announcement bar */
    z-index: 9998 !important;
    position: fixed !important;
}

/* On non-home pages, navbar should always be visible with white background but still below announcement */
body:not(.home-page) .navbar,
.navbar.always-visible {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    top: 40px !important;
    /* Always below announcement bar */
    z-index: 9998 !important;
    position: fixed !important;
}

.navbar-brand img {
    height: 50px;
    transition: var(--transition);
    filter: brightness(0);
    /* Black logo by default for safety */
}

.navbar.scrolled .navbar-brand img {
    height: 42px;
    filter: none;
    /* Original color (gold/black) when scrolled */
}

.nav-link {
    font-family: var(--body-font);
    font-size: 13px;
    /* Restored to be visible and clear */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Reduced from 1.5px */
    color: #fff !important;
    padding: 10px 12px !important;
    /* Slightly reduced for perfect fit */
    /* Increased for better spacing */
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.navbar.scrolled .nav-link {
    color: #000 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.navbar.scrolled .nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-icon-link {
    color: #fff !important;
    font-size: 20px;
    /* Slightly reduced */
    padding: 5px 8px;
    /* Reduced padding */
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    position: relative;
    text-decoration: none;
}

.navbar.scrolled .nav-icon-link {
    color: #000 !important;
}

.nav-icon-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #FF3B30;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #000;
}

.navbar.scrolled .cart-badge {
    border-color: #fff;
}

/* Mobile Toggler */
.toggler-icon {
    width: 25px;
    height: 2px;
    background: #fff;
    display: block;
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .toggler-icon {
    background: #000;
}

/* Offcanvas Premium */
.offcanvas {
    border-right: none;
    width: 340px !important;
}

.offcanvas-header {
    padding: 30px;
    border-bottom: 1px solid #f9f9f9;
}

.offcanvas-body {
    padding: 40px 30px;
}

.mobile-nav-link {
    display: block;
    font-size: 26px;
    font-family: var(--header-font);
    font-weight: 900;
    color: #333;
    text-decoration: none;
    margin-bottom: 20px;
    transition: var(--transition);
}

.mobile-nav-link.active {
    color: var(--accent-color);
}

.mobile-nav-link:hover {
    padding-left: 10px;
    color: var(--accent-color);
}

/* --- HERO SECTION WITH VIDEO --- */
.hero-video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* Ensure YouTube iframe covers container */
.hero-video-bg iframe {
    width: 100vw;
    height: 56.25vw;
    /* 16:9 Aspect Ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    /* 16:9 Aspect Ratio */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
    padding-top: 80px;
}

.hero-title-main {
    font-size: clamp(48px, 8vw, 90px);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-premium {
    padding: 18px 45px;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-premium-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-premium-light:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 10px 30px var(--accent-glow);
}

/* --- NEW YEAR SPECIAL BANNER --- */
.new-year-banner {
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.firework {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    box-shadow: 0 0 100px 20px var(--accent-color);
    opacity: 0.3;
}

.new-year-content {
    position: relative;
    z-index: 2;
}

.ny-title {
    font-size: clamp(40px, 6vw, 70px);
    margin-bottom: 15px;
    background: linear-gradient(to right, #D4AF37, #FFF, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s infinite linear;
    background-size: 200% auto;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* --- ADVANCED PRODUCT CARDS (FLUTTER INSPIRED) --- */
.mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 992px) {
    .mobile-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

.modern-product-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 12px;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modern-product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.2);
}

.card-img-wrapper {
    position: relative;
    border-radius: calc(var(--border-radius-md) - 5px);
    overflow: hidden;
    margin-bottom: 15px;
    background: #fdfdfd;
}

.card-img-wrapper img {
    width: 100%;
    aspect-ratio: 1/1.2;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modern-product-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.badge-save {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #FF3B30;
    color: #fff;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.3);
    z-index: 2;
}

.badge-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #000;
    color: var(--accent-color);
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 5px;
    text-transform: uppercase;
    z-index: 2;
    border: 1px solid var(--accent-color);
}

.badge-new {
    background: #27ae60;
    color: #fff;
    border: none;
}

.badge-limited {
    background: linear-gradient(45deg, #000, #444);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.product-meta {
    padding: 0 5px;
    text-align: center;
}

.product-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: #2D3436;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.price-old {
    text-decoration: line-through;
    color: red;
    font-size: 13px;
}

.price-new {
    font-weight: 800;
    color: #000;
    font-size: 16px;
}

.btn-add-cart {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    margin-top: auto;
}

.btn-add-cart:hover {
    background: var(--accent-color);
    box-shadow: 0 5px 15px var(--accent-glow);
}

/* --- MOBILE SPECIFIC (FLUTTER STYLE) --- */
@media (max-width: 768px) {
    .navbar {
        padding: 0 20px !important;
        height: 70px !important;
        background: var(--white) !important;
    }

    .mobile-grid {
        gap: 15px;
        padding: 0 15px;
    }

    .modern-product-card {
        padding: 8px;
        border-radius: 18px;
    }

    .product-title {
        font-size: 11px;
        height: 34px;
    }

    .price-new {
        font-size: 14px;
    }

    .btn-add-cart {
        padding: 10px;
        font-size: 10px;
        border-radius: 10px;
    }

    .section-title {
        font-size: 28px;
        padding-left: 15px;
    }

    .hero-content-wrapper {
        text-align: center;
        padding-bottom: 100px;
    }
}

/* --- TESTIMONIALS PREMIUM --- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}

/* --- CRAZY DEALS REFINED --- */
.crazy-deal-banner {
    height: 350px;
    border-radius: var(--border-radius-md);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: #fff;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.crazy-deal-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    border-radius: var(--border-radius-md);
    z-index: -1;
}

/* --- PRODUCT DETAILS PAGE ENHANCEMENTS --- */
.product-gallery {
    position: sticky;
    top: 100px;
}

.product-image-main {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.product-image-main img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.product-info-column {
    padding-left: 30px;
}

.product-label-new {
    background: var(--accent-color);
    color: #fff;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.note-ticker {
    background: #fdfdfd;
    border-left: 3px solid var(--accent-color);
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.quantity-selector-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: #000;
    color: #fff;
}

.btn-buy-now {
    background: #27ae60;
    color: #fff;
    border: none !important;
    padding: 15px 40px;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    flex-grow: 1;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-buy-now:hover {
    background: #2ecc71;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
    color: #fff;
}

@media (max-width: 991px) {
    .product-info-column {
        padding-left: 0;
        margin-top: 30px;
    }
}

/* --- CART PAGE PREMIUM --- */
.cart-card {
    background: #fff;
    border-radius: var(--border-radius-md);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    margin-bottom: 20px;
    transition: var(--transition);
}

.cart-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.cart-item-img {
    width: 90px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
}

.order-summary-box {
    background: #fff;
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.01);
    position: sticky;
    top: 120px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.summary-total {
    border-top: 1px solid #f5f5f5;
    padding-top: 25px;
    margin-top: 25px;
    font-size: 24px;
    font-weight: 800;
    color: #000;
}

/* --- EMPTY CART WOW --- */
.empty-cart-container {
    padding: 120px 0;
    text-align: center;
}

.empty-cart-icon {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2.5s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0) scale(1.05);
    }

    50% {
        transform: translateY(-30px) scale(0.95);
    }
}

/* --- INDEX ENHANCEMENTS --- */
.category-bubble {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 32px;
    font-weight: 900;
    color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f9f9f9;
    transition: var(--transition);
}

.category-bubble:hover {
    background: #000;
    color: var(--accent-color);
    transform: scale(1.1) rotate(8deg);
    border-color: #000;
}

.deal-content.glass {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.2), transparent);
    margin: 100px 0;
}

.premium-gradient-text {
    background: linear-gradient(45deg, #000 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== GLOBAL TEXT VISIBILITY FIXES ===== */
/* Ensure all product card text is visible */
.product-title,
.product-name-modern,
.product-name,
.card-title,
h6[style*="color:black"],
p[style*="color:black"],
span[style*="color:black"] {
    color: #000 !important;
}

/* Fix text in cards with white backgrounds */
.bg-white h1,
.bg-white h2,
.bg-white h3,
.bg-white h4,
.bg-white h5,
.bg-white h6,
.bg-white p,
.bg-white span,
.bg-white a:not(.btn) {
    color: #000 !important;
}

/* Ensure contrast in light cards */
.modern-product-card,
.modern-product-card-flutter,
.cart-card-modern,
.summary-card-modern {
    color: #000 !important;
}

.modern-product-card h6,
.modern-product-card p,
.modern-product-card span,
.modern-product-card-flutter h6,
.modern-product-card-flutter p,
.modern-product-card-flutter span {
    color: #000 !important;
}

/* Fix price visibility */
.price-new,
.price-wrapper,
.price-section-modern {
    color: #000 !important;
}

.price-new span,
.price-wrapper span {
    color: #000 !important;
}

/* ===== SEARCH HIGHLIGHT ===== */
.search-highlight {
    background-color: #FFC20D;
    color: #000;
    padding: 0 4px;
    border-radius: 4px;
    font-weight: bold;
}

@media (max-width: 1199px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
        padding: 20px 0;
    }

    .navbar-nav {
        padding: 0 15px;
    }

    .nav-link {
        padding: 12px 15px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
}

/* ===== MOBILE ENHANCEMENTS ===== */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container,
    .container-fluid {
        overflow-x: hidden;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure text is readable on mobile */
    .modern-product-card-flutter,
    .cart-card-modern {
        font-size: 14px;
    }

    .product-name-modern {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
}

/* ===== FLUTTER-LIKE ANIMATIONS ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-product-card-flutter {
    animation: slideInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.modern-product-card-flutter:nth-child(1) {
    animation-delay: 0.1s;
}

.modern-product-card-flutter:nth-child(2) {
    animation-delay: 0.2s;
}

.modern-product-card-flutter:nth-child(3) {
    animation-delay: 0.3s;
}

.modern-product-card-flutter:nth-child(4) {
    animation-delay: 0.4s;
}

.modern-product-card-flutter:nth-child(5) {
    animation-delay: 0.5s;
}

.modern-product-card-flutter:nth-child(6) {
    animation-delay: 0.6s;
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== LOADING STATES ===== */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ===== ADVANCED HOME COMPONENTS ===== */
.craftsmanship-card {
    background: #fff;
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.craftsmanship-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.step-number {
    font-family: var(--header-font);
    font-size: 60px;
    line-height: 1;
    opacity: 0.1;
    font-weight: 900;
    margin-bottom: -30px;
}

.flash-sale-timer {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.timer-unit {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 15px;
    min-width: 80px;
    backdrop-filter: blur(10px);
}

.timer-val {
    font-size: 24px;
    font-weight: 900;
    display: block;
}

.timer-label {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.7;
}

.newsletter-box {
    background: linear-gradient(135deg, #111 0%, #000 100%);
    border-radius: 40px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.newsletter-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.2;
}



/* --- PREMIUM NEW YEAR SALE POPUP --- */
.ny-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 200000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: opacity 0.5s ease;
}

.ny-popup-content {
    width: 90%;
    max-width: 600px;
    background: #000 url('../image/new_year_banner.png') center/cover no-repeat;
    border-radius: 30px;
    padding: 60px 40px;
    position: relative;
    text-align: center;
    border: 1px solid var(--accent-glow);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
    overflow: hidden;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 200001;
}

/* Layered black overlay for text readability */
.ny-popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: -1;
}

/* Content inside popup needs to stay above overlay */
.ny-popup-content>* {
    position: relative;
    z-index: 1;
}


.ny-popup-overlay.active {
    display: flex;
}

.ny-popup-overlay.active .ny-popup-content {
    transform: scale(1);
    opacity: 1;
}

.ny-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ny-close-btn:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.ny-badge {
    background: var(--accent-color);
    color: #000;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.ny-title-main {
    font-family: var(--header-font);
    font-size: clamp(32px, 5vw, 48px);
    color: #fff;
    margin-bottom: 10px;
    font-weight: 900;
}

.ny-offer {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 30px;
}

.ny-btn {
    background: #fff;
    color: #000;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    border: none;
}

.ny-btn:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}