/* assets/css/style.css - Design System for Wholesale Leezord ("Light Luxury" Aesthetic) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root {
    /* Color System */
    --primary: #C9A227;
    --primary-hover: #B8901E;
    --secondary: #2B2621;
    --background: #FAF7F0;
    --surface: #FFFFFF;
    --text-primary: #2B2621;
    --text-secondary: #6B645A;
    --border: #E8E1D3;
    --success: #4C8C4A;
    --error: #C0392B;
    --hover-overlay: rgba(201, 162, 39, 0.08);
    --shadow-soft: 0 4px 20px rgba(43, 38, 33, 0.04);
    --shadow-medium: 0 10px 30px rgba(43, 38, 33, 0.08);

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Transition */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.25;
    margin-bottom: 0.5em;
}

.text-gold {
    color: var(--primary);
}

/* Grid & Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
}

/* Header Utilities */
.top-bar {
    background-color: var(--secondary);
    color: var(--background);
    font-size: 12px;
    font-weight: 500;
    padding: 8px 0;
    letter-spacing: 0.05em;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.top-bar-marquee {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a:hover {
    color: var(--primary);
}

.main-header {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    gap: 24px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--primary);
}

.search-bar {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.search-form {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
    background: var(--surface);
    transition: var(--transition);
}

.search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--hover-overlay);
}

.search-select {
    border: none;
    border-right: 1px solid var(--border);
    background: #FAF7F0;
    padding: 0 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-secondary);
    outline: none;
}

.search-input {
    flex: 1;
    border: none;
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    background: transparent;
}

.search-btn {
    border: none;
    background: var(--primary);
    color: #fff;
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-hover);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.action-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
}

.action-item:hover {
    color: var(--primary);
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1;
}

/* Mega Menu Navigation */
.main-nav {
    background-color: var(--surface);
    border-top: 1px solid rgba(232, 225, 211, 0.5);
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
    margin-top: 4px;
}

.nav-item:hover .nav-link {
    color: var(--primary);
}

.nav-item:hover .nav-link::after {
    width: 100%;
}

/* Simple Dropdown Menu */
.nav-item.dropdown {
    position: relative !important;
}

.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 200px !important;
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-top: 2px solid var(--primary) !important;
    box-shadow: var(--shadow-medium) !important;
    padding: 12px 0 !important;
    list-style: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.2s ease !important;
    z-index: 100 !important;
    margin: 0 !important;
    display: block !important;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
}

.dropdown-menu li {
    width: 100% !important;
}

.dropdown-menu li a {
    display: block !important;
    padding: 8px 20px !important;
    color: var(--text-primary) !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
    border: none !important;
    text-align: left !important;
}

.dropdown-menu li a:hover {
    background: var(--background-alt) !important;
    color: var(--primary) !important;
}

/* Mobile-only menu items - hidden on desktop */
.mobile-only-link {
    display: none !important;
}

.mega-col h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--secondary);
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

.mega-col ul {
    list-style: none;
}

.mega-col li {
    margin-bottom: 8px;
}

.mega-col a {
    font-size: 14px;
    color: var(--text-secondary);
}

.mega-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.mega-promo {
    background: var(--background);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    border: 1px dashed var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slideshow .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.5s ease-in-out;
}

.hero-slideshow .hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.35) 100%) !important;
}

.hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    position: relative;
    max-width: 600px;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.3);
}

.hero-content h1.hero-title {
    font-size: 48px;
    color: #FFFFFF !important;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p.hero-text {
    font-size: 18px;
    color: #F5F5F0 !important;
    margin-bottom: 30px;
    font-weight: 500;
    line-height: 1.6;
}

.hero-content .hero-subtitle {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .hero {
        height: 400px;
    }
    .hero-content h1.hero-title {
        font-size: 32px;
    }
    .hero-content p.hero-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--background);
}

.btn-secondary:hover {
    background-color: #403831;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Live Real-time Search Dropdown */
.live-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    z-index: 9999;
    max-height: 420px;
    overflow-y: auto;
    margin-top: 6px;
    padding: 8px 0;
}

.live-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.live-search-item:last-child {
    border-bottom: none;
}

.live-search-item:hover {
    background: #f8fafc;
}

.live-search-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.live-search-info {
    flex: 1;
    min-width: 0;
}

.live-search-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-search-meta {
    font-size: 0.76rem;
    color: #64748b;
    display: flex;
    gap: 8px;
    margin-top: 2px;
}

.live-search-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #d97706;
    flex-shrink: 0;
}

.live-search-footer {
    padding: 10px 14px;
    text-align: center;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #d97706;
}

.live-search-footer a {
    color: #d97706;
    text-decoration: none;
}

.live-search-footer a:hover {
    text-decoration: underline;
}

.btn-disabled {
    background-color: #E8E1D3;
    color: #9E968A;
    cursor: not-allowed;
}

/* Trust Strip */
.trust-strip {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-icon {
    font-size: 24px;
    color: var(--primary);
}

.trust-text h5 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.trust-text p {
    font-size: 12px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Cards & Section headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

.section-header h2 {
    font-size: 32px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.category-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 60px 16px 24px 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    z-index: 1;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary);
}

.category-card .icon {
    display: none; /* Removed in favor of bg images */
}

.category-card h3 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .category-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 12px;
        scrollbar-width: none; /* Hide scrollbar for cleaner look */
    }
    
    .category-grid::-webkit-scrollbar {
        display: none;
    }
    
    .category-card {
        flex: 0 0 75%;
        scroll-snap-align: center;
        height: 220px;
    }
}

/* Product Card Grid (Carousel) */
.product-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    padding-bottom: 24px;
    scrollbar-width: thin;
}

.product-grid::-webkit-scrollbar {
    height: 8px;
}
.product-grid::-webkit-scrollbar-track {
    background: var(--background);
    border-radius: 4px;
}
.product-grid::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}
.product-grid::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.product-card {
    flex: 0 0 calc(25% - 18px); /* 4 items per row */
    scroll-snap-align: start;
}

@media (max-width: 1024px) {
    .product-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .product-grid {
        gap: 16px;
        padding-bottom: 16px;
        scrollbar-width: none;
    }
    .product-grid::-webkit-scrollbar {
        display: none;
    }
    .product-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

/* Product Card Component */
.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(201, 162, 39, 0.5);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 10;
}

.product-image-container {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: #fbfbfb;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.product-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.03);
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.product-title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.product-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.product-display-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.product-mrp {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.product-discount {
    font-size: 11px;
    color: var(--success);
    font-weight: 600;
}

.product-card-footer {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.qty-stepper button {
    border: none;
    background: none;
    width: 28px;
    height: 32px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.qty-stepper button:hover {
    background: var(--hover-overlay);
    color: var(--primary);
}

.qty-stepper input {
    width: 32px;
    height: 32px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    outline: none;
}

.add-to-cart-btn {
    flex-grow: 1;
    border: none;
    background: var(--secondary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background: var(--primary);
}

/* Why Choose Us */
.why-choose-us {
    background: var(--surface);
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-top: 40px;
    overflow: hidden;
}

.features-marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    display: flex;
}

.features-marquee-track {
    display: inline-flex;
    animation: featuresMarquee 25s linear infinite;
    gap: 60px;
    padding-right: 60px;
}

.marquee-item {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@keyframes featuresMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-33.33%, 0, 0);
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Reseller CTA Section */
.reseller-cta {
    background: linear-gradient(rgba(21, 18, 16, 0.75), rgba(21, 18, 16, 0.85)), url('../images/reseller_cta_bg.png') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.reseller-cta::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    top: -50px;
    left: -50px;
}

.reseller-cta .container {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.reseller-cta h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 16px;
}

.reseller-cta p {
    color: var(--border);
    margin-bottom: 30px;
}

/* Newsletter Section */
.newsletter {
    padding: 60px 0;
    background: var(--background);
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-box h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.newsletter-box p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-input {
    flex-grow: 1;
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
}

.newsletter-input:focus {
    border-color: var(--primary);
}

.newsletter-btn {
    border-radius: 30px;
}

/* Footer & Floating WhatsApp */
/* ===== EDGE-TO-EDGE FULL-WIDTH SITE FOOTER ===== */
footer.site-footer {
    width: 100% !important;
    max-width: 100vw !important;
    background-color: #2B2621 !important; /* Full bleed edge-to-edge dark background */
    color: #B5ADA3;
    padding: 60px 0 0 0;
    font-size: 14px;
    box-sizing: border-box;
    display: block;
    margin: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

.footer-col {
    text-align: left;
}

.footer-brand-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    display: inline-block;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-brand-logo span {
    color: var(--primary);
}

.footer-brand-desc {
    color: #B5ADA3;
    line-height: 1.65;
    margin-bottom: 16px;
    font-size: 13.5px;
}

.footer-gstin-badge {
    font-weight: 600;
    color: #FFFFFF;
    margin-top: 14px;
    font-size: 13.5px;
}

/* Headings */
.footer-heading {
    color: #E8D9A8 !important; /* Soft light gold heading */
    font-size: 14.5px !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-top: 0 !important;
}

/* Navigation Lists */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #B5ADA3;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* Contact Rows */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: #B5ADA3;
    line-height: 1.5;
}

.contact-icon {
    flex-shrink: 0;
    font-size: 15px;
}

/* High Contrast WhatsApp Button */
.whatsapp-btn {
    background: #C9A227 !important; /* Solid gold background */
    color: #1A1A1A !important; /* High contrast dark text */
    font-weight: 700 !important;
    padding: 12px 28px !important;
    border-radius: 30px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    font-size: 13.5px !important;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.15);
}

.whatsapp-btn:hover {
    background: #B08D1F !important; /* Slightly darker gold on hover */
    color: #1A1A1A !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(201, 162, 39, 0.28) !important;
}

/* Social Icon Badges (40px Circles) */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    justify-content: flex-start;
}

.social-links a {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    color: #1A1A1A;
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Bottom Copyright Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8C8276;
    font-size: 13px;
    margin-top: 20px;
}

.footer-trust-badges {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Responsive Footer (< 768px Mobile) */
@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-col {
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .contact-row {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .footer-trust-badges {
        flex-direction: column;
        gap: 8px;
    }
}

.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Cart Page Rules Widget */
.cart-rule-widget {
    background: #FFFBF0;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.cart-rule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cart-rule-title {
    font-size: 15px;
    font-weight: 600;
}

.cart-progress-container {
    background: #E8E1D3;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.cart-progress-bar {
    background: var(--primary);
    height: 100%;
    width: 0%;
    transition: width 0.5s ease;
}

.cart-rule-status {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
}

.status-badge-meet {
    color: var(--success);
    font-weight: 700;
}

.status-badge-fail {
    color: var(--error);
    font-weight: 700;
}

/* Page Layouts & Typography Focus */
.page-title {
    text-align: center;
    padding: 40px 0;
    background: #FAF7F0;
    border-bottom: 1px solid var(--border);
}

.page-title h1 {
    font-size: 36px;
    margin: 0;
}

.layout-sidebar {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding: 40px 0;
}

@media (max-width: 992px) {
    .layout-sidebar {
        grid-template-columns: 1fr;
    }
}

.sidebar-filters {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.filter-group {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.filter-group:last-child {
    border: none;
    margin: 0;
    padding: 0;
}

.filter-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Custom form fields */
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
    cursor: pointer;
}

.form-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

/* Detail page layout */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 40px 0;
}

@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    padding-top: 100%;
    position: relative;
}

.main-image-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-strip {
    display: flex;
    gap: 12px;
}

.thumbnail-box {
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 80px;
    height: 80px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.thumbnail-box:hover, .thumbnail-box.active {
    border-color: var(--primary);
}

.thumbnail-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-title {
    font-size: 32px;
    margin-bottom: 8px;
}

.detail-sku {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.detail-prices {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.detail-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.detail-mrp {
    font-size: 16px;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.detail-discount {
    background: var(--success);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.variant-picker {
    margin-bottom: 24px;
}

.variant-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.variant-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.variant-pill {
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: var(--surface);
    transition: var(--transition);
}

.variant-pill:hover, .variant-pill.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--hover-overlay);
}

.purchase-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.detail-stepper {
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
    height: 48px;
}

.detail-stepper button {
    width: 40px;
    height: 48px;
}

.detail-stepper input {
    width: 50px;
    height: 48px;
}

.detail-btn-cart {
    flex-grow: 1;
    border-radius: 30px;
    height: 48px;
}

.detail-tabs {
    margin-top: 40px;
    border-top: 1px solid var(--border);
}

.tab-nav {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    padding: 15px 0;
    font-size: 15px;
    font-weight: 600;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.tab-content {
    padding: 24px 0;
    font-size: 15px;
    color: var(--text-secondary);
}

/* Authentication Page Forms */
.auth-container {
    max-width: 460px;
    margin: 60px auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 16px;
    font-weight: 600;
    cursor: pointer;
    background: #FAF7F0;
    color: var(--text-secondary);
    transition: var(--transition);
}

.auth-tab.active {
    background: var(--surface);
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary);
}

.auth-form-box {
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--hover-overlay);
}

.form-group select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%236B645A' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.form-alert {
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
}

.form-alert-error {
    background: #FADBD8;
    color: var(--error);
    border: 1px solid #F5B7B1;
}

.form-alert-success {
    background: #D4EFDF;
    color: var(--success);
    border: 1px solid #A9DFBF;
}

/* Cart Table Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    padding: 40px 0;
}

@media (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.checkout-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkout-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

@media (max-width: 576px) {
    .checkout-grid-2, .checkout-grid-3 {
        grid-template-columns: 1fr;
    }
}

.account-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 992px) {
    .account-layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.cart-table-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    overflow-x: auto;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

.cart-table td {
    padding: 20px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 250px;
}

.cart-product-img {
    width: 64px;
    height: 64px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    object-fit: cover;
}

.cart-product-title {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
}

.cart-product-variant {
    font-size: 12px;
    color: var(--text-secondary);
}

.cart-remove-btn {
    border: none;
    background: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 18px;
}

.cart-remove-btn:hover {
    color: var(--error);
}

.summary-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
}

.summary-card h3 {
    font-family: var(--font-body);
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
}

.summary-row.total {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
}

.empty-state {
    text-align: center;
    padding: 60px 24px;
}

.empty-state .icon {
    font-size: 64px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Order Stepper (Timeline) */
.order-timeline {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    position: relative;
}

.order-timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #E8E1D3;
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    background: var(--background);
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #E8E1D3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 10px;
    transition: var(--transition);
}

.timeline-step.active .step-dot {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.timeline-step.completed .step-dot {
    border-color: var(--success);
    background: var(--success);
    color: #fff;
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.timeline-step.active .step-label {
    color: var(--primary);
}

.timeline-step.completed .step-label {
    color: var(--success);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
}

.toast {
    background: var(--surface);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-medium);
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left-color: var(--success);
}

.toast.error {
    border-left-color: var(--error);
}

/* Admin Utilities & Utilitarian Styles */
.admin-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--secondary);
    color: #fff;
    padding: 24px 0;
    width: 260px;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 2px 0 12px rgba(0,0,0,0.15);
    z-index: 100;
}

.admin-sidebar-header {
    padding: 0 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 4px 6px -6px rgba(0,0,0,0.4);
    margin-bottom: 12px;
}

.admin-nav-list {
    list-style: none;
    margin-top: 12px;
    padding: 0;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid transparent;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

.admin-nav-link .nav-icon {
    font-size: 18px;
    display: inline-block;
    transition: transform 0.2s ease, filter 0.2s ease;
    width: 20px;
    text-align: center;
}

.admin-nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.03);
}

.admin-nav-link:hover .nav-icon {
    transform: scale(1.15);
    filter: brightness(1.2);
}

.admin-nav-link.active {
    color: #fff;
    background: rgba(201, 162, 39, 0.08);
    border-left-color: var(--primary);
    font-weight: 600;
}

.admin-nav-link.active .nav-icon {
    filter: drop-shadow(0 0 6px rgba(201, 162, 39, 0.7));
    transform: scale(1.1);
}

.admin-content {
    background: #FAF7F0;
    padding: 40px;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
}

.admin-header-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.admin-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
    overflow-x: auto;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.stat-val {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
}

@media (max-width: 992px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        display: block !important;
        padding: 20px 16px !important;
        border-bottom: 1px solid var(--border);
    }
    .admin-sidebar-header {
        text-align: center;
        padding-bottom: 16px;
    }
    .admin-nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 12px;
        justify-content: center;
    }
    .admin-nav-link {
        padding: 8px 16px !important;
        border-radius: 20px;
        border: 1.5px solid rgba(255,255,255,0.15) !important;
        background: rgba(255,255,255,0.05);
        border-left: none !important;
    }
    .admin-nav-link:hover, .admin-nav-link.active {
        background: var(--primary) !important;
        color: var(--secondary) !important;
        border-color: var(--primary) !important;
    }
    .admin-content {
        padding: 20px 16px !important;
    }
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th, .admin-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background: #FAF7F0;
    font-weight: 600;
    color: var(--text-primary);
}

.admin-table tr:hover td {
    background: rgba(201, 162, 39, 0.02);
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-pending { background: #FCF3CF; color: #B7950B; }
.status-contacted { background: #D4E6F1; color: #2471A3; }
.status-confirmed { background: #D4EFDF; color: #196F3D; }
.status-shipped { background: #E8DAEF; color: #7D3C98; }
.status-delivered { background: #D5F5E3; color: #1E8449; }
.status-cancelled { background: #FADBD8; color: #943126; }

/* ---------------------------------------------------
   PREMIUM UI OVERHAUL & MOBILE RESPONSIVENESS
--------------------------------------------------- */

/* Product Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    border-color: #E8E1D3; /* Subtle premium border hover */
}

.product-image-container {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: #F9F9F9; /* Very light gray placeholder background */
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.03);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary);
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title:hover {
    color: var(--primary);
}

.product-prices {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.product-display-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
}

.product-mrp {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.product-discount {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(201, 162, 39, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.product-card-footer {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    height: 36px;
}

.qty-btn-minus, .qty-btn-plus {
    width: 32px;
    height: 100%;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-primary);
}

.qty-btn-minus:hover, .qty-btn-plus:hover {
    background: #F4F4F4;
}

.qty-input {
    width: 36px;
    height: 100%;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.add-to-cart-btn {
    flex: 1;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    height: 36px;
}

.add-to-cart-btn:hover {
    background: #B7950B;
}

/* Mobile Responsiveness (2-column products) */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* Enforce 2 columns */
        gap: 12px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-title {
        font-size: 14px;
    }
    
    .product-display-price {
        font-size: 16px;
    }
    
    .product-card-footer {
        flex-direction: column;
    }
    
    .add-to-cart-btn {
        width: 100%;
    }
    
    .qty-stepper {
        width: 100%;
        justify-content: space-between;
    }
    
    .qty-input {
        flex: 1;
    }
}

/* --- Mobile Menu & Responsive Fixes --- */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-row {
        gap: 12px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface);
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .main-nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-link {
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
    }
    
    .search-bar {
        display: none; /* Often too wide for mobile headers alongside logo, hide in favor of the new shop hero or dedicated mobile search */
    }
    
    .shop-hero {
        padding: 40px 15px !important;
    }
    .shop-hero h1 {
        font-size: 28px !important;
    }
    .hero-search-form {
        flex-direction: column;
    }
    .hero-search-form button {
        margin-top: 8px;
        padding: 12px;
    }
}

/* ---------------------------------------------------
   LIGHT LUXURY MINIMALIST STYLING OVERRIDES (V3.0)
   --------------------------------------------------- */

/* Global Logo Size Override */
.logo img {
    max-height: 72px !important;
    height: 72px !important;
    width: auto !important;
    display: block;
}

.auth-header-logo img {
    max-height: 75px !important;
    height: 75px !important;
    width: auto !important;
    display: block;
    margin: 0 auto;
}

.sidebar-logo img,
.admin-sidebar-logo img {
    max-height: 58px !important;
    height: 58px !important;
    width: auto !important;
}

/* Horizontal Carousels on Homepage */
.carousel-container {
    position: relative;
    width: 100%;
}

.product-carousel, .category-carousel {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 20px !important;
    padding: 10px 4px 20px 4px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
}

.product-carousel::-webkit-scrollbar, .category-carousel::-webkit-scrollbar {
    display: none !important;
}

.product-carousel .product-card {
    flex: 0 0 calc(25% - 15px) !important;
    scroll-snap-align: start !important;
    margin-bottom: 0 !important;
}

.category-carousel .category-card {
    flex: 0 0 calc(25% - 15px) !important;
    scroll-snap-align: start !important;
}

@media (max-width: 1024px) {
    .product-carousel .product-card, .category-carousel .category-card {
        flex: 0 0 calc(33.333% - 14px) !important;
    }
}

@media (max-width: 768px) {
    .product-carousel .product-card, .category-carousel .category-card {
        flex: 0 0 calc(50% - 10px) !important;
    }
}

@media (max-width: 480px) {
    .product-carousel .product-card, .category-carousel .category-card {
        flex: 0 0 80% !important;
        scroll-snap-align: center !important;
    }
}

/* Sleek Carousel Arrows */
.carousel-nav-btn:hover {
    background-color: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

/* Premium Minimalist Product Card Overhaul */
.product-card {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    padding: 10px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    box-shadow: var(--shadow-soft) !important;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 30px rgba(43, 38, 33, 0.08) !important;
    border-color: rgba(201, 162, 39, 0.4) !important;
}

/* Aspect Ratio 4:5 Image Container */
.product-image-container {
    aspect-ratio: 4 / 5 !important;
    padding-top: 0 !important;
    height: auto !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #FAF7F0 !important;
    border: none !important;
    display: block;
    width: 100%;
}

.product-image-container img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.product-image-container .primary-img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    z-index: 1 !important;
}

.product-image-container .secondary-img {
    opacity: 0 !important;
    z-index: 2 !important;
    transition: opacity 0.4s ease !important;
}

/* Secondary image fades in on top only when present */
.product-card:hover .product-image-container .secondary-img {
    opacity: 1 !important;
}

/* Primary image stays 100% visible with a subtle scale effect on hover */
.product-card:hover .product-image-container .primary-img {
    opacity: 1 !important;
    transform: scale(1.04) !important;
}

/* Pop up Add to Cart Button */
.hover-add-to-cart {
    position: absolute !important;
    bottom: 12px !important;
    left: 12px !important;
    right: 12px !important;
    transform: translateY(20px) !important;
    opacity: 0 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    z-index: 25 !important;
    pointer-events: auto !important;
}

.product-card:hover .hover-add-to-cart,
.product-card:focus-within .hover-add-to-cart,
.product-card:active .hover-add-to-cart {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* Add to Cart Premium Button Styles */
.add-to-cart-btn-premium {
    width: 100%;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-btn-premium:hover {
    background-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(43, 38, 33, 0.3);
}

/* Hide Quantity stepper on cards */
.product-card .product-card-footer {
    display: none !important;
}

/* Hide tags & category on product cards */
.product-card .product-category {
    display: none !important;
}

.product-card .product-badge {
    display: none !important;
}

/* Clean Info styling */
.product-card .product-info {
    padding: 12px 6px 4px 6px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.product-card .product-title {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    margin-bottom: 8px !important;
    height: 40px !important;
    line-height: 1.4 !important;
}

.product-card .product-prices {
    display: flex !important;
    justify-content: flex-start !important;
    margin: 0 !important;
}

.product-card .product-display-price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
}

.product-card .product-mrp, .product-card .product-discount {
    display: none !important;
}

/* Single Product Detail Aspect Ratio 4:5 & 1:1 Column Ratio */
.product-detail-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 48px !important;
    padding: 40px 0 !important;
    align-items: start !important;
}

@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
}

.main-image-box {
    aspect-ratio: 4 / 5 !important;
    max-height: 520px !important; /* Limit desktop height to prevent oversized layout */
    padding-top: 0 !important;
    height: auto !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    border: 1px solid var(--border) !important;
    background: #FAF7F0 !important;
    width: 100% !important;
}

.main-image-box img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* Show full landscape/portrait images without cropping */
}

/* Desktop-only sticky product gallery layout */
@media (min-width: 769px) {
    .gallery-container {
        position: sticky !important;
        top: 110px !important;
        z-index: 10 !important;
    }
}

/* Shop Page Top Filter Bar */
.shop-top-bar select, .shop-top-bar input {
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    background: var(--surface) !important;
    outline: none !important;
    color: var(--text-primary) !important;
    transition: var(--transition) !important;
}

.shop-top-bar select:focus, .shop-top-bar input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--hover-overlay) !important;
}

/* Minimalist Trust Strip Alignment Override */
.trust-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
}

@media (max-width: 580px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .trust-item {
        gap: 8px !important;
    }
    .trust-text h5 {
        font-size: 11px !important;
    }
    .trust-text p {
        font-size: 9px !important;
    }
    .trust-icon svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* Stats Counter Grid Override */
@media (max-width: 768px) {
    .stats-counter-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
}

@media (max-width: 480px) {
    .stats-counter-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .stat-counter-item .counter-number {
        font-size: 26px !important;
        margin-bottom: 4px !important;
    }
    .stat-counter-item div:last-child {
        font-size: 9px !important;
        letter-spacing: 0.5px !important;
    }
}

/* --- Mobile Header, Top Bar Marquee & Menu Drawer --- */
.top-bar-container {
    display: none !important;
}
.top-bar-marquee {
    display: block !important;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.marquee-content {
    display: inline-flex;
    gap: 40px;
    animation: marquee 20s linear infinite;
    padding-left: 10px;
}
.marquee-content span {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--background);
    flex-shrink: 0;
}
@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 768px) {
    .main-header {
        background-color: var(--surface) !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
    }
    .main-image-box {
        max-height: 380px !important; /* Prevent huge oversized image on mobile screens */
    }
    .top-bar-container {
        display: none !important;
    }
    .top-bar-marquee {
        display: block !important;
    }
    .header-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
        padding: 12px 0 !important;
        height: 70px !important;
    }
    .header-row .logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 10 !important;
        margin: 0 !important;
    }
    .header-row .logo img {
        max-height: 58px !important;
        width: auto !important;
    }
    .mobile-menu-toggle {
        display: block !important;
        order: 3 !important;
        margin-left: auto !important;
        position: relative !important;
        z-index: 2000 !important;
        background: transparent !important;
        border: none !important;
        padding: 8px !important;
        color: var(--text-primary) !important;
    }
    .header-actions {
        display: none !important;
    }
    .search-bar {
        display: none !important;
    }
    
    /* Nav Drawer container */
    .main-nav {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: auto !important; /* Override desktop/tablet left positioning */
        right: -300px !important; /* Slide in from right */
        width: 280px !important;
        height: 100vh !important;
        background: var(--surface) !important;
        z-index: 1050 !important;
        box-shadow: var(--shadow-medium) !important;
        transition: var(--transition) !important;
        padding: 80px 24px 40px 24px !important;
        overflow-y: auto !important;
        border-top: none !important;
    }
    .main-nav.active {
        right: 0 !important;
    }
    .nav-list {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    .nav-item {
        width: 100% !important;
    }
    .nav-link {
        padding: 12px 0 !important;
        font-size: 16px !important;
        border-bottom: 1px solid var(--border) !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .nav-link::after {
        display: none !important;
    }
    
    /* Render mobile-only links inside menu */
    .mobile-menu-actions {
        display: block !important;
    }

    /* Mobile-only menu items - visible on mobile */
    .mobile-only-link {
        display: block !important;
    }

    /* Mobile Categories Normal Dropdown Panel */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 0 0 16px !important;
        display: none !important; /* Collapsed by default */
        opacity: 1 !important;
        visibility: visible !important;
        gap: 8px !important;
    }
    .dropdown-menu.open {
        display: block !important;
    }
    .dropdown-menu li {
        width: 100% !important;
    }
    .dropdown-menu li a {
        padding: 8px 0 !important;
        font-size: 14px !important;
        color: var(--text-secondary) !important;
        border: none !important;
        display: block !important;
    }

    /* Mobile Horizontal Thumbnail Strip Scroll */
    .thumbnail-strip {
        display: flex !important;
        gap: 12px !important;
        overflow-x: auto !important;
        padding-bottom: 8px !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
    }
    .thumbnail-box {
        flex-shrink: 0 !important;
    }

    /* Prevent single product image and details layout overflow on mobile */
    .gallery-container {
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    .main-image-box {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 4 / 5 !important;
        max-height: 380px !important;
        height: auto !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* Prevent tabs and description content overflow on mobile */
    .detail-tabs {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        margin-top: 30px !important;
    }
    .tab-nav {
        gap: 15px !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        display: flex !important;
    }
    .tab-btn {
        flex-shrink: 0 !important;
    }
    .tab-content {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 0 !important;
    }
}

/* --- Mobile Filter Drawer for Shop Page --- */
.sidebar-overlay {
    display: none;
}
@media (max-width: 992px) {
    .mobile-filter-btn {
        display: inline-flex !important;
    }
    .sidebar-filters {
        position: fixed !important;
        top: 0 !important;
        left: -320px !important; /* Start off-screen */
        width: 300px !important;
        height: 100vh !important;
        z-index: 1100 !important;
        background: var(--surface) !important;
        box-shadow: var(--shadow-medium) !important;
        transition: var(--transition) !important;
        overflow-y: auto !important;
        padding: 30px 24px !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    .sidebar-filters.open {
        left: 0 !important;
    }
    .sidebar-filters-header {
        display: flex !important;
    }
    .sidebar-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(43, 38, 33, 0.5) !important;
        backdrop-filter: blur(4px) !important;
        z-index: 1090 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: var(--transition) !important;
    }
    .sidebar-overlay.open {
        opacity: 1 !important;
        visibility: visible !important;
    }
    .layout-sidebar {
        grid-template-columns: 1fr !important;
        padding-top: 15px !important;
    }
}

/* Hide mobile menu close button on desktop */
.close-menu-btn {
    display: none !important;
}

/* Ensure button text never wraps to two lines in B2B catalog/detail/mobile views */
button, .btn, .btn-primary, .add-to-cart-btn-premium {
    white-space: nowrap !important;
    font-size: clamp(10px, 2.8vw, 14px) !important;
}

/* Mobile Sticky Footer Nav Bar - Hidden by default on desktop */
.mobile-sticky-footer-nav {
    display: none !important;
}

/* Mobile Sticky Footer Nav Bar styling */
@media (max-width: 768px) {
    .mobile-sticky-footer-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border);
        justify-content: space-around;
        align-items: center;
        z-index: 99999;
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .mobile-sticky-footer-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 10px;
        font-weight: 500;
        gap: 4px;
        flex: 1;
        transition: color 0.2s ease;
    }
    
    .mobile-sticky-footer-nav .nav-item svg {
        stroke: var(--text-secondary);
        transition: stroke 0.2s ease;
    }
    
    .mobile-sticky-footer-nav .nav-item.active {
        color: var(--primary);
    }
    
    .mobile-sticky-footer-nav .nav-item.active svg {
        stroke: var(--primary);
    }
    
    /* Add padding offset to body so content isn't covered by sticky footer */
    body {
        padding-bottom: 70px !important;
    }

    /* Trust Strip mobile adjustments */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        padding: 0 10px;
    }
    
    .trust-item {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        background: var(--surface);
        padding: 16px 12px !important;
        border-radius: 12px;
        border: 1px solid var(--border);
        box-shadow: var(--shadow-small);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
        opacity: 0;
        transform: translateY(20px);
    }
    
    .trust-item.animate-in {
        opacity: 1;
        transform: translateY(0);
    }
    
    .trust-item p {
        display: none !important; /* Hide description text on mobile */
    }
    
    .trust-item h5 {
        font-size: 12px !important;
        margin-top: 8px !important;
        margin-bottom: 0 !important;
    }
    
    /* Stats grid mobile adjustments */
    .stats-counter-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .stat-counter-item .counter-number {
        font-size: 32px !important;
    }
    
    .stat-counter-item div:last-child {
        font-size: 10px !important;
    }
    
    /* Mobile Close Menu Drawer Button */
    .close-menu-btn {
        display: block !important;
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        background: transparent !important;
        border: none !important;
        color: var(--text-primary) !important;
        cursor: pointer !important;
        z-index: 1100 !important;
        padding: 5px !important;
    }
    .close-menu-btn svg {
        stroke: var(--text-primary) !important;
    }

    /* Floating WhatsApp mobile adjustments */
    .floating-whatsapp {
        bottom: 85px !important;
        right: 16px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 20px !important;
        z-index: 9999 !important;
    }

    /* Premium search bar mobile stack */
    .hero-search-form-premium {
        flex-direction: column !important;
        border-radius: 16px !important;
        padding: 10px !important;
        gap: 8px !important;
    }
    .hero-search-form-premium select {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border) !important;
        padding-bottom: 8px !important;
        height: 38px !important;
    }
    .hero-search-form-premium input {
        width: 100% !important;
        padding: 8px 4px !important;
    }
    .hero-search-form-premium button {
        width: 100% !important;
        padding: 10px !important;
        justify-content: center !important;
        border-radius: 50px !important;
    }
}

/* ==========================================================================
   PREMIUM PRODUCT PAGE ALIGNMENTS & UI OVERRIDES
   ========================================================================== */

/* Left Image & Right Content Column Balance & Proportions */
@media (min-width: 769px) {
    .product-detail-layout {
        display: grid !important;
        grid-template-columns: 46% 54% !important; /* Balanced columns: content gets slightly more room */
        gap: 56px !important; /* Generous gap for premium look */
        padding: 40px 0 !important;
        align-items: start !important; /* Start allows sticky container to slide, while top aligns cleanly */
    }
}

/* Desktop-only sticky product gallery layout */
@media (min-width: 769px) {
    .gallery-container {
        position: sticky !important;
        top: 110px !important;
        z-index: 10 !important;
    }
}

.main-image-box {
    background: #FFFFFF !important; /* White background to blend with white-background images */
    box-shadow: 0 8px 30px rgba(43, 38, 33, 0.05) !important; /* Soft premium shadow */
    border: 1px solid rgba(232, 225, 211, 0.6) !important;
}

/* Right-side Column Spacing & Vertical Rhythm */
.detail-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important; /* Major block spacing */
}

.detail-header-block {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important; /* Spacing between related sub-elements */
}

.product-category {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: var(--primary) !important;
    margin-bottom: 0 !important;
    display: inline-block !important;
}

.detail-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important; /* Better title line-height */
    margin-bottom: 4px !important; /* Spacing below title */
    color: var(--secondary) !important;
}

.detail-sku {
    font-size: 13px !important;
    color: var(--text-secondary) !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* Premium Card-style blocks for Prices and Purchase Actions */
.detail-prices {
    background: #FFFFFF !important;
    border-radius: 12px !important;
    padding: 28px 32px !important; /* Generous internal padding */
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-soft) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: flex-start !important;
}

.price-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.price-label {
    font-size: 11px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    color: var(--text-secondary) !important;
    letter-spacing: 0.05em !important;
}

.detail-price {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    line-height: 1 !important;
}

.detail-price .per-pc {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
}

.mrp-container {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border-top: 1px dashed var(--border) !important;
    width: 100% !important;
    padding-top: 12px !important;
    margin-top: 4px !important;
}

.detail-mrp {
    font-size: 14px !important;
    color: var(--text-secondary) !important;
    text-decoration: line-through !important;
}

.detail-discount {
    background: var(--success) !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
}

/* GST Note Spacing */
.detail-gst-note {
    font-size: 12px !important;
    color: var(--text-secondary) !important;
    margin-top: -8px !important; /* Spaced out but tight with prices */
    margin-bottom: 8px !important; /* Breathing room before description */
}

/* Short Description Spacing */
.detail-short-desc {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 8px !important;
}

/* Purchase Actions Box */
.purchase-actions {
    background: #FFFFFF !important;
    border-radius: 12px !important;
    padding: 28px 32px !important; /* Consistent with price card */
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-soft) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important; /* Spacing between primary and secondary actions */
    margin-top: 8px !important; /* Extra spacing separating it from description */
}

/* Quantity selector + Add to Cart Row */
.quantity-cart-row {
    display: flex !important;
    align-items: center !important; /* Center vertically */
    gap: 16px !important; /* Even spacing */
    width: 100% !important;
    flex-wrap: wrap !important;
}

.qty-stepper.detail-stepper {
    border: 1px solid var(--border) !important;
    border-radius: 30px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    height: 48px !important; /* Uniform height */
    width: 130px !important;
    background: var(--background) !important;
}

.qty-stepper.detail-stepper button {
    border: none !important;
    background: transparent !important;
    width: 40px !important;
    height: 100% !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    color: var(--text-primary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.qty-stepper.detail-stepper button:hover {
    background: rgba(201, 162, 39, 0.1) !important;
    color: var(--primary) !important;
}

.qty-stepper.detail-stepper input {
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    width: 50px !important;
    height: 100% !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: var(--text-primary) !important;
}

.detail-btn-cart.add-to-cart-btn {
    height: 48px !important; /* Uniform height */
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 0.02em !important;
    background: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    color: #FFFFFF !important;
    transition: var(--transition) !important;
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.2) !important;
    flex-grow: 1 !important;
    padding: 0 24px !important; /* Balanced padding */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.detail-btn-cart.add-to-cart-btn:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.3) !important;
}

/* Secondary Actions Layout (Wishlist, Share, Images ZIP) */
.action-buttons-row {
    display: flex !important;
    gap: 12px !important;
    width: 100% !important;
    align-items: center !important;
}

.btn-action-round {
    width: 48px !important; /* Same height and width to make it a perfect circle */
    height: 48px !important; /* Uniform height */
    border-radius: 30px !important; /* Consistent border radius */
    border: 1px solid var(--border) !important;
    background: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-secondary) !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.btn-action-round:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    background: var(--hover-overlay) !important;
    transform: translateY(-1px) !important;
}

.btn-action-text {
    flex-grow: 1 !important;
    height: 48px !important; /* Uniform height */
    border-radius: 30px !important; /* Consistent border radius */
    border: 1px solid var(--primary) !important;
    background: transparent !important;
    color: var(--primary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
}

.btn-action-text:hover {
    background: var(--primary) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.15) !important;
}

/* Scrollable Horizontal Thumbnails Gallery */
.thumbnail-strip {
    display: flex !important;
    gap: 10px !important; /* Consistent 10px gap */
    overflow-x: auto !important;
    padding: 6px 2px !important;
    scrollbar-width: thin !important;
    scrollbar-color: var(--primary) transparent !important;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 6px !important;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background-color: var(--primary) !important;
    border-radius: 10px !important;
}

.thumbnail-box {
    flex-shrink: 0 !important;
    border-radius: 8px !important; /* Consistent border-radius */
    border: 2px solid var(--border) !important; /* Consistent default border outline */
    transition: var(--transition) !important;
    background: #FFFFFF !important;
    width: 72px !important;
    height: 72px !important;
    aspect-ratio: 1 / 1 !important; /* Equal size aspect ratio 1:1 */
    cursor: pointer !important;
    overflow: hidden !important;
}

.thumbnail-box:hover {
    border-color: var(--primary) !important; /* Hover highlight state */
}

.thumbnail-box.active {
    border-color: var(--primary) !important; /* Active highlight state */
    box-shadow: 0 0 0 3px var(--hover-overlay) !important;
}

/* Tabs Section Overrides & Centered Alignment */
.detail-tabs {
    margin-top: 50px !important;
    border-top: none !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 16px !important;
}

.tab-nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 36px !important;
    border-bottom: 2px solid var(--border) !important;
    margin-bottom: 30px !important;
    flex-wrap: wrap !important;
}

.tab-btn {
    padding: 14px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    color: var(--text-secondary) !important;
    border: none !important;
    background: none !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.25s ease !important;
}

.tab-btn:hover {
    color: var(--primary) !important;
}

.tab-btn.active {
    color: var(--primary) !important;
}

.tab-btn.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: var(--primary) !important;
    border-radius: 3px 3px 0 0 !important;
}

.accordion-content .content-inner {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 12px 10px !important;
    line-height: 1.85 !important;
    font-size: 15px !important;
    color: var(--text-secondary) !important;
}

.accordion-content .content-inner h3,
.accordion-content .content-inner h4 {
    color: var(--text-primary) !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    margin-top: 20px !important;
    margin-bottom: 12px !important;
}

.accordion-content .content-inner ul {
    padding-left: 24px !important;
    margin-bottom: 20px !important;
}

.accordion-content .content-inner li {
    margin-bottom: 12px !important;
    line-height: 1.8 !important;
}

.accordion-content .content-inner li strong {
    color: var(--text-primary) !important;
}

.tab-content {
    background: #FFFFFF !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    padding: 24px !important;
    line-height: 1.7 !important;
    font-size: 14px !important;
    color: var(--text-secondary) !important;
    box-shadow: 0 4px 20px rgba(43, 38, 33, 0.02) !important;
}

/* Responsive Mobile Viewport Overrides */
@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr !important;
        gap: 28px !important; /* Reduced layout gap */
        padding: 24px 0 !important;
    }
    
    .detail-info {
        gap: 16px !important; /* Reduced vertical rhythm */
    }
    
    .detail-header-block {
        gap: 10px !important; /* Reduced sub-element gap */
    }
    
    .detail-title {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }
    
    .detail-prices {
        padding: 20px 24px !important; /* Reduced padding */
        gap: 10px !important;
    }
    
    .detail-gst-note {
        margin-top: -4px !important;
        margin-bottom: 4px !important;
    }
    
    .detail-short-desc {
        margin-bottom: 4px !important;
    }
    
    .purchase-actions {
        padding: 20px 24px !important; /* Reduced padding */
        gap: 16px !important;
        margin-top: 0 !important; /* Handled by flex gap */
    }
    
    .quantity-cart-row {
        gap: 12px !important;
    }
    
    .detail-btn-cart.add-to-cart-btn {
        flex-grow: 1 !important;
    }
    
    .thumbnail-box {
        width: 64px !important;
        height: 64px !important;
    }
}

/* Auth 3D Flip Card & Premium Styling */
.auth-page-container {
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.auth-perspective-wrapper {
    perspective: 1500px;
    width: 100%;
    max-width: 500px;
    position: relative;
    transition: height 0.4s ease;
}

.auth-flipper {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.auth-flipper.flipped {
    transform: rotateY(180deg);
}

.auth-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    backface-visibility: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(43, 38, 33, 0.08);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.auth-card:hover {
    box-shadow: 0 20px 45px rgba(201, 162, 39, 0.12);
}

.auth-card-front {
    z-index: 2;
    transform: rotateY(0deg);
}

.auth-card-back {
    transform: rotateY(180deg);
}

.auth-card-inner {
    padding: 40px;
}

@media (max-width: 480px) {
    .auth-card-inner {
        padding: 24px;
    }
}

.auth-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 8px;
    color: var(--secondary);
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 30px;
}

/* Form Groups and Inputs */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background-color: var(--background);
    color: var(--text-primary);
    transition: all 0.25s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}

/* Button & Loading states */
.btn-auth-submit {
    width: 100%;
    margin-top: 15px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
}

.btn-auth-submit .btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: auth-spin 0.8s linear infinite;
    position: absolute;
}

.btn-auth-submit.loading .btn-text {
    visibility: hidden;
}

.btn-auth-submit.loading .btn-spinner {
    display: block;
}

@keyframes auth-spin {
    to { transform: rotate(360deg); }
}

/* Google OAuth custom styling */
.google-auth-box {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.google-divider {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border);
    line-height: 0.1em;
    margin: 20px 0 10px 0;
}

.google-divider span {
    background: var(--surface);
    padding: 0 15px;
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Custom Google Button */
.custom-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    gap: 12px;
}

.custom-google-btn:hover {
    background: var(--background);
    border-color: #bbb;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.custom-google-btn svg {
    width: 18px;
    height: 18px;
}

/* Validation status indicators */
.input-with-validation {
    position: relative;
}

.input-with-validation .form-control {
    padding-right: 40px;
}

.validation-status-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: all 0.2s ease;
}

.validation-status-icon.valid::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    font-size: 14px;
}

.validation-status-icon.invalid::before {
    content: '✗';
    color: var(--error);
    font-weight: 700;
    font-size: 14px;
}

/* Form alerts */
.form-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
}

.form-alert-error {
    background-color: #FDF2F2;
    border: 1px solid #FBD5D5;
    color: var(--error);
}

.form-alert-success {
    background-color: #F3FAF7;
    border: 1px solid #DEF7EC;
    color: var(--success);
}

/* Switch link */
.auth-switch-link {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
    color: var(--text-secondary);
}

.auth-switch-link a {
    color: var(--primary);
    font-weight: 600;
}

.auth-switch-link a:hover {
    text-decoration: underline;
}

/* Error Shake Animation */
.shake {
    animation: auth-shake 0.4s ease-in-out;
}

@keyframes auth-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* Toast Notifications UI System */
.toast-container {
    position: fixed !important;
    top: 24px !important;
    right: 24px !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    pointer-events: none !important;
    max-width: 90vw !important;
}

.toast {
    background: #1E293B !important;
    color: #FFFFFF !important;
    padding: 14px 22px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: var(--font-body, inherit) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    opacity: 0 !important;
    transform: translateY(-20px) scale(0.95) !important;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    pointer-events: auto !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.toast.show {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.toast.success {
    background: #15803D !important;
    color: #FFFFFF !important;
    border-color: #22C55E !important;
}

.toast.error {
    background: #B91C1C !important;
    color: #FFFFFF !important;
    border-color: #EF4444 !important;
}

.toast.info {
    background: #1E40AF !important;
    color: #FFFFFF !important;
    border-color: #3B82F6 !important;
}

.toast-icon {
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.toast-message {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

/* ==========================================================================
   WHOLESALE LEEZORD - HOMEPAGE OPTIMIZATIONS & PREMIUM UX ADDITIONS
   ========================================================================== */

/* 1. Scroll Reveal Animations (Safe Fallback to avoid blank screens) */
.scroll-reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* 2. Premium Homepage Section Headers */
.homepage-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-top: 60px;
}
.homepage-section-header .header-text-col {
    text-align: left;
}
.homepage-section-header .header-text-col h2 {
    margin: 0;
    font-size: 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}
.homepage-section-header .header-text-col h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}
.homepage-section-header .header-text-col p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 6px;
    margin-bottom: 0;
}
.homepage-section-header .header-actions-col {
    display: flex;
    gap: 12px;
    align-items: center;
}
.homepage-section-header .btn-outline-view-all {
    padding: 6px 16px !important;
    font-size: 12px !important;
    border-radius: 30px !important;
    margin: 0 !important;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}
.homepage-section-header .btn-outline-view-all:hover {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
}
.homepage-section-header .carousel-nav-arrows {
    display: flex;
    gap: 8px;
}
.homepage-section-header .carousel-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
    font-size: 18px;
    line-height: 1;
}
.homepage-section-header .carousel-nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* 3. Breathable Section Padding */
.homepage-section {
    padding: 60px 0;
}

/* 4. Sticky Parallax Promo Banners */
.promo-banner-parallax {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 60px 0;
    background-attachment: fixed;
    overflow: hidden;
}
.promo-banner-1 {
    background-image: url('../images/banner_1.jpg');
}
.promo-banner-2 {
    background-image: url('../images/banner_2.jpg');
}
.promo-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    z-index: 2;
}
.promo-banner-parallax .banner-text-wrapper {
    max-width: 650px;
    color: #ffffff;
    position: relative;
    z-index: 3;
}
.promo-banner-parallax .banner-text-wrapper h2 {
    font-size: 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.promo-banner-parallax .banner-text-wrapper p {
    font-size: 16px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}
.promo-banner-parallax .banner-text-wrapper .btn-primary {
    font-size: 13px !important;
    padding: 12px 30px !important;
    border-radius: 30px !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--secondary) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.promo-banner-parallax .banner-text-wrapper .btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

/* 5. How It Works Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
    position: relative;
}
@media (min-width: 769px) {
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 10%;
        right: 10%;
        height: 2px;
        background-image: linear-gradient(to right, var(--border) 50%, rgba(255,255,255,0) 0%);
        background-position: top;
        background-size: 15px 1px;
        background-repeat: repeat-x;
        z-index: 1;
    }
}
.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary);
}
.step-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(201, 162, 39, 0.3);
}
.step-icon {
    color: var(--primary);
    margin-bottom: 20px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.step-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--secondary);
}
.step-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 6. Testimonials Carousel */
.testimonials-wrapper {
    overflow: hidden;
    position: relative;
    padding: 10px 4px 30px 4px;
}
.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease-in-out;
}
.testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow-soft);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary);
}
.quote-icon {
    font-size: 60px;
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1;
    position: absolute;
    top: 15px;
    right: 30px;
    opacity: 0.2;
}
.testimonial-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    z-index: 2;
}
.testimonial-author h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--secondary);
}
.testimonial-author span {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}
.testimonial-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
    font-size: 18px;
    line-height: 1;
}
.testimonial-nav-btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* 7. Mobile UX Layout Modifications */
@media (max-width: 768px) {
    .homepage-section.container {
        padding-top: 44px !important;
        padding-bottom: 44px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .homepage-section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-bottom: 1px solid var(--border);
        padding-bottom: 24px;
        margin-top: 40px;
    }
    .homepage-section-header .header-text-col {
        text-align: center;
        width: 100%;
    }
    .homepage-section-header .header-text-col h2 {
        font-size: 24px;
        padding-bottom: 10px;
    }
    .homepage-section-header .header-text-col h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .homepage-section-header .header-text-col p {
        max-width: 85%;
        margin: 8px auto 0 auto;
        font-size: 13px;
        line-height: 1.4;
    }
    .homepage-section-header .header-actions-col {
        margin-top: 18px;
        width: 100%;
        justify-content: center;
    }

    /* Steps grid responsive */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .step-card {
        padding: 30px 20px;
    }

    /* Testimonials responsive */
    .testimonials-track {
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 16px !important;
        transform: none !important;
        scrollbar-width: none !important;
    }
    .testimonials-track::-webkit-scrollbar {
        display: none !important;
    }
    .testimonial-card {
        flex: 0 0 85% !important;
        scroll-snap-align: center !important;
    }
    .testimonials-wrapper {
        overflow-x: visible;
    }

    /* Static banner mobile fallback */
    .promo-banner-parallax {
        height: 380px;
        margin: 40px 0;
        background-attachment: scroll !important;
    }
    .promo-banner-parallax .banner-text-wrapper h2 {
        font-size: 26px;
        margin-bottom: 12px;
    }
    .promo-banner-parallax .banner-text-wrapper p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .promo-banner-parallax .banner-text-wrapper .btn-primary {
        padding: 10px 24px !important;
        font-size: 12px !important;
    }

    /* Peeking scroll carousels for categories & products */
    .product-carousel .product-card, .category-carousel .category-card {
        flex: 0 0 72% !important;
        scroll-snap-align: center !important;
    }
}

@media (max-width: 480px) {
    .product-carousel .product-card, .category-carousel .category-card {
        flex: 0 0 78% !important;
        scroll-snap-align: center !important;
    }
}

/* 8. Categories Grid Redesign */
.categories-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.category-card-premium {
    position: relative;
    aspect-ratio: 4 / 3;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    cursor: pointer;
}

.category-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(201, 162, 39, 0.18);
    border-color: var(--primary);
}

.category-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background-color: #FAF7F0;
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-out;
}

.category-card-premium:hover .category-image-wrapper img {
    transform: scale(1.06);
}

.category-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.category-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
    color: #ffffff;
}

.category-content-overlay h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.category-content-overlay .product-count-badge {
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

@media (max-width: 1024px) {
    .categories-page-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .categories-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .category-content-overlay {
        padding: 16px;
    }
    .category-content-overlay h3 {
        font-size: 16px;
    }
    .category-content-overlay .product-count-badge {
        font-size: 10px;
    }
}

/* 9. Image Skeleton Shimmer Loader */
.main-image-box {
    position: relative;
    background-color: #FAF7F0;
    overflow: hidden;
}
.main-image-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #F0ECE3 25%, #E8E2D5 50%, #F0ECE3 75%);
    background-size: 200% 100%;
    animation: shimmer-effect 1.5s infinite linear;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
}
.main-image-box.loaded::before {
    opacity: 0;
}
@keyframes shimmer-effect {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* 10. Purchase Actions Redesign (Add to Cart & Buy Now) */
.purchase-action-container {
    margin-top: 24px;
    margin-bottom: 24px;
}
.quantity-cart-row-premium {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}
.detail-stepper-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 110px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--surface);
    padding: 0 8px;
    flex-shrink: 0;
}
.detail-stepper-premium .qty-btn-minus,
.detail-stepper-premium .qty-btn-plus {
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.detail-stepper-premium .qty-btn-minus:hover,
.detail-stepper-premium .qty-btn-plus:hover {
    color: var(--primary);
}
.detail-stepper-premium .qty-input {
    width: 36px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
    outline: none;
}
.action-buttons-group {
    display: flex;
    gap: 12px;
    flex-grow: 1;
}
.btn-detail-add-to-cart,
.btn-detail-buy-now {
    flex: 1;
    height: 48px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.2s cubic-bezier(0.25, 0.8, 0.25, 1),
                background-color 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease;
    border: 2px solid var(--primary);
    min-width: 130px;
}
.btn-detail-add-to-cart {
    background: transparent;
    color: var(--primary);
}
.btn-detail-add-to-cart:hover {
    background-color: var(--primary);
    color: var(--secondary);
}
.btn-detail-buy-now {
    background-color: var(--primary);
    color: var(--secondary);
}
.btn-detail-buy-now:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.25);
}
@media (max-width: 768px) {
    .quantity-cart-row-premium {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .detail-stepper-premium {
        width: 100%;
        max-width: 150px;
        margin: 0 auto;
    }
    .action-buttons-group {
        width: 100%;
    }
}

/* 11. Sticky Mobile Action Bar */
/* Flipkart-Style Sticky Mobile Action Bar */
.sticky-mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    box-shadow: 0 -4px 16px rgba(43, 38, 33, 0.12);
    border-top: 1px solid var(--border);
    z-index: 9999;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: none; /* Hidden by default, activated on mobile */
}

@media (max-width: 768px) {
    .sticky-mobile-action-bar {
        display: block;
    }
    .sticky-mobile-action-bar.show-bar {
        transform: translateY(0);
    }
}

/* Premium Category Card Styling */
.category-card-premium {
    position: relative;
    border-radius: 18px; /* Softer rounded corners */
    overflow: hidden;
    display: block;
    aspect-ratio: 4/3;
    border: 1px solid rgba(201, 162, 39, 0.15); /* Inset gold border */
    box-shadow: 0 4px 12px rgba(43, 38, 33, 0.05);
    background: var(--surface);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.category-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-out;
}

.category-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.65) 100%);
    opacity: 0.85;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Icon Badge Accent */
.category-icon-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-icon-badge svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
}

.category-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-content-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    font-family: var(--font-heading);
    transition: transform 0.3s ease;
    display: inline-block;
    position: relative;
    align-self: flex-start;
}

/* Animating underline */
.category-content-overlay h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.category-content-overlay .product-count-badge {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    display: block;
}

.category-explore-cta {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin-top: 4px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    align-self: flex-start;
}

/* Hover States (Desktop Only) */
@media (min-width: 769px) {
    .category-card-premium:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
    }
    
    .category-card-premium:hover .category-image-wrapper img {
        transform: scale(1.08);
    }
    
    .category-card-premium:hover .category-gradient-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.75) 100%);
    }
    
    .category-card-premium:hover .category-icon-badge {
        transform: scale(1.1);
    }
    
    .category-card-premium:hover .category-content-overlay h3 {
        transform: translateY(-4px);
    }
    
    .category-card-premium:hover .category-content-overlay h3::after {
        width: 100%;
    }
    
    .category-card-premium:hover .category-explore-cta {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .category-icon-badge {
        width: 28px;
        height: 28px;
        top: 10px;
        left: 10px;
    }
    .category-icon-badge svg {
        width: 13px;
        height: 13px;
    }
    .category-content-overlay h3 {
        font-size: 16px;
    }
    .category-content-overlay .product-count-badge {
        font-size: 10px;
        color: rgba(255, 255, 255, 0.9);
    }
    .category-explore-cta {
        display: none; /* Hide on mobile since no hover */
    }
}

/* Product Details Tabs & Accordion */
.detail-tabs {
    margin-top: 40px;
    border-top: 1px solid var(--border);
    padding-top: 32px;
}

.tab-nav {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

/* Accordion Styling */
.product-accordion .accordion-header {
    display: none; /* Hide on desktop */
    width: 100%;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    outline: none;
}

.product-accordion .accordion-item {
    margin-bottom: 8px;
}

.product-accordion .accordion-content {
    display: none; /* Hide inactive content on desktop */
    padding: 15px 5px;
}

.product-accordion .accordion-item.active .accordion-content {
    display: block;
}

/* Spec Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.spec-table tr {
    border-bottom: 1px solid var(--border);
}

.spec-table td {
    padding: 12px;
    font-size: 14px;
    text-align: left;
}

.spec-table td:first-child {
    font-weight: 600;
    color: var(--text-secondary);
    width: 35%;
    background-color: rgba(0, 0, 0, 0.02);
}

/* Rating Summary */
.rating-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    background: #FAF7F0;
    padding: 16px 20px;
    border-radius: 12px;
}

.rating-score {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
}

.rating-stars {
    color: var(--primary);
    font-size: 18px;
    letter-spacing: 1px;
}

.rating-count {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.review-author {
    font-weight: 600;
    font-size: 13px;
}

.review-stars {
    color: var(--primary);
    font-size: 12px;
}

.review-text {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

/* Premium Bottom Navigation Active Indicator & Effects */
.mobile-sticky-footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--surface);
    display: none; /* Activated on mobile */
    grid-template-columns: repeat(5, 1fr);
    box-shadow: 0 -4px 16px rgba(43, 38, 33, 0.08);
    border-top: 1px solid var(--border);
    border-radius: 16px 16px 0 0; /* Premium rounded top corners */
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom);
    animation: nav-slide-up 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes nav-slide-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.mobile-sticky-footer-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.mobile-sticky-footer-nav .nav-item.active {
    color: var(--primary);
}

.mobile-sticky-footer-nav .nav-item svg {
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Icon scale bounce on active */
.mobile-sticky-footer-nav .nav-item.active svg {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(201, 162, 39, 0.2));
}

/* Tap Scale bounce keyframes */
@keyframes nav-bounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1); }
}
.nav-bounce {
    animation: nav-bounce 0.25s ease-out;
}

/* Active Indicator Line */
.mobile-nav-indicator {
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 20%; /* 100% / 5 items */
    height: 3px;
    display: flex;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.mobile-nav-indicator::after {
    content: '';
    width: 20px;
    height: 100%;
    background-color: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 6px var(--primary);
}

/* Position indicator based on active child */
.mobile-sticky-footer-nav:has(.nav-item:nth-child(1).active) .mobile-nav-indicator {
    transform: translateX(0%);
}
.mobile-sticky-footer-nav:has(.nav-item:nth-child(2).active) .mobile-nav-indicator {
    transform: translateX(100%);
}
.mobile-sticky-footer-nav:has(.nav-item:nth-child(3).active) .mobile-nav-indicator {
    transform: translateX(200%);
}
.mobile-sticky-footer-nav:has(.nav-item:nth-child(4).active) .mobile-nav-indicator {
    transform: translateX(300%);
}
.mobile-sticky-footer-nav:has(.nav-item:nth-child(5).active) .mobile-nav-indicator {
    transform: translateX(400%);
}

/* Cart Badge Pulsing animation */
@keyframes badge-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}
.pulse-animation {
    animation: badge-pulse 0.3s ease-out;
}

/* Responsive Tabs / Accordion */
@media (max-width: 768px) {
    .tab-nav {
        display: none; /* Hide tab buttons on mobile */
    }
    
    .product-accordion .accordion-header {
        display: flex; /* Show accordion toggles */
    }
    
    .product-accordion .accordion-content {
        display: none; /* Collapsed by default on mobile */
        border: 1px solid var(--border);
        border-top: none;
        border-radius: 0 0 8px 8px;
        margin-top: -9px;
        margin-bottom: 8px;
        padding: 16px;
        background: var(--surface);
    }
    
    .product-accordion .accordion-item.active .accordion-content {
        display: block;
    }
    
    .product-accordion .accordion-item.active .accordion-header {
        border-radius: 8px 8px 0 0;
        border-color: var(--primary);
        color: var(--primary);
    }
}

/* ============================================================
   CART — Clear Cart button & Modal
   ============================================================ */
.cart-table-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}

.clear-cart-btn {
    background: transparent;
    border: 1.5px solid #e53e3e;
    color: #e53e3e;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}
.clear-cart-btn:hover {
    background: #e53e3e;
    color: #fff;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-box {
    background: var(--surface);
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modalPop 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalPop {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ============================================================
   CHECKOUT — Dropship Toggle & Fields
   ============================================================ */
.dropship-toggle-row {
    background: #FFFBF0;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0 0;
    transition: border-color 0.2s;
}
.dropship-toggle-row:focus-within { border-color: var(--primary); }

.toggle-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    user-select: none;
}
.toggle-info { flex: 1; }
.toggle-title {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: var(--secondary);
}
.toggle-subtitle {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 3px;
}

/* Toggle switch */
.toggle-switch-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.toggle-switch-wrap input[type=checkbox] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.toggle-slider {
    display: block;
    width: 48px;
    height: 26px;
    background: #ddd;
    border-radius: 26px;
    position: relative;
    transition: background 0.3s;
    cursor: pointer;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    top: 3px; left: 3px;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle-switch-wrap input:checked + .toggle-slider {
    background: var(--primary);
}
.toggle-switch-wrap input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.dropship-fields-container {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
    margin-top: 0;
}
.dropship-fields-container.active {
    max-height: 800px;
    opacity: 1;
    margin-top: 16px;
}
.dropship-fields-inner {
    background: #F9F6FF;
    border: 1.5px dashed var(--primary);
    border-radius: 10px;
    padding: 20px;
}

/* ============================================================
   CHECKOUT — Payment Options
   ============================================================ */
.payment-method-section {
    margin-top: 28px;
    padding-top: 8px;
}
.payment-options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}
.payment-option-card {
    display: block;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: var(--surface);
}
.payment-option-card:has(input:checked) {
    border-color: var(--primary);
    background: #FFFBF0;
}
.payment-option-card input[type=radio] { display: none; }
.payment-option-body {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.payment-option-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.payment-option-title { font-weight: 700; font-size: 14px; color: var(--secondary); }
.payment-option-desc { font-size: 12px; color: var(--text-secondary); margin-top: 3px; line-height: 1.5; }

.payment-info-box {
    background: #EFF8FF;
    border: 1px solid #BEE3F8;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 13px;
    color: #2B6CB0;
    line-height: 1.6;
}
.payment-info-box strong { color: #1A4A7A; }
.payment-info-box a { color: var(--primary); text-decoration: underline; }

/* ============================================================
   HOMEPAGE — Short About Section
   ============================================================ */
.homepage-about-section {
    padding: 90px 0;
    background: var(--background);
}
.about-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-tag {
    display: inline-block;
    background: rgba(201,162,39,0.12);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.about-text-col h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    line-height: 1.25;
    color: var(--secondary);
    margin-bottom: 18px;
}
.about-text-col p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}
.about-stats-row {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.about-stat {
    flex: 1;
    padding: 0 20px;
    border-right: 1px solid var(--border);
}
.about-stat:first-child { padding-left: 0; }
.about-stat:last-child { border-right: none; }
.about-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.about-stat span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 4px;
}
.about-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.about-image-frame:hover img { transform: scale(1.04); }
.about-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.about-image-badge span { color: var(--success); margin-right: 4px; }

/* ============================================================
   HOMEPAGE — Contact Form Section
   ============================================================ */
.homepage-contact-section {
    padding: 90px 0;
    background: #F9F5EE;
}
.contact-two-col {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    align-items: start;
}
.contact-info-card {
    padding-right: 20px;
}
.contact-info-card h2 {
    font-family: var(--font-heading);
    font-size: 34px;
    color: var(--secondary);
    margin-bottom: 14px;
}
.contact-info-card > p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
}
.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.contact-detail-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}
.contact-detail-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
}
.contact-detail-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
    text-decoration: none;
    line-height: 1.5;
}
a.contact-detail-value:hover { color: var(--primary); }

.contact-form-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.contact-form-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

/* ============================================================
   HOMEPAGE — Google Map Section
   ============================================================ */
.homepage-map-section {
    padding: 70px 0;
    background: var(--background);
}
.map-section-header {
    text-align: center;
    margin-bottom: 36px;
}
.map-section-header h2 {
    font-family: var(--font-heading);
    font-size: 34px;
    color: var(--secondary);
    margin-bottom: 8px;
}
.map-section-header p {
    color: var(--text-secondary);
    font-size: 15px;
}
.map-embed-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.map-directions-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.map-directions-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    color: #fff;
}

/* ============================================================
   HOMEPAGE — Contact Form JS feedback message
   ============================================================ */
.contact-msg-success {
    background: #F0FFF4;
    border: 1px solid #9AE6B4;
    color: #276749;
}
.contact-msg-error {
    background: #FFF5F5;
    border: 1px solid #FEB2B2;
    color: #9B2C2C;
}

/* ============================================================
   RESPONSIVE — New Sections Mobile
   ============================================================ */
@media (max-width: 768px) {
    .about-two-col {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .about-image-col { order: -1; }
    .about-text-col h2 { font-size: 28px; }
    .about-stats-row { gap: 0; }
    .about-stat { padding: 0 12px; }
    .about-stat strong { font-size: 20px; }
    .homepage-about-section { padding: 60px 0; }

    .contact-two-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-info-card { padding-right: 0; }
    .contact-info-card h2 { font-size: 26px; }
    .contact-form-card { padding: 24px 18px; }
    .homepage-contact-section { padding: 60px 0; }

    .homepage-map-section { padding: 50px 0; }
    .map-embed-wrapper iframe { height: 280px; }
    .map-section-header h2 { font-size: 26px; }

    /* Checkout payment cards */
    .payment-option-icon { font-size: 20px; }
    .payment-option-title { font-size: 13px; }
    .payment-option-desc { font-size: 11px; }

    /* Cart header row */
    .cart-table-header-row { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE CART CARD LAYOUT
═══════════════════════════════════════════════════════ */

/* Full-width cart container with safe padding */
.cart-page-wrap {
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Desktop: show table, hide mobile cards */
.cart-table-desktop { display: table; width: 100%; }
.cart-mobile-cards  { display: none; }

/* Mobile cart card styles */
.cart-mobile-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.cmc-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.cmc-img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--border);
    flex-shrink: 0;
    background: #f9f9f9;
}
.cmc-info { flex: 1; min-width: 0; }
.cmc-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.4;
    display: block;
    word-break: break-word;
}
.cmc-variant {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
}
.cmc-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 6px;
}
.cmc-remove {
    background: none;
    border: 1px solid #EECECE;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C0392B;
    transition: var(--transition);
}
.cmc-remove:hover { background: #FFF5F5; }
.cmc-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}
.cmc-line-total {
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
}

@media (max-width: 767px) {
    /* Cart page */
    .cart-page-wrap { padding: 0 14px; }
    .cart-layout { grid-template-columns: 1fr; }

    /* Show cards, hide table */
    .cart-table-desktop { display: none !important; }
    .cart-mobile-cards  { display: block; }

    /* Summary card full width, no overflow */
    .summary-card { width: 100%; box-sizing: border-box; }
    .cart-items-col, .cart-summary-col { width: 100%; min-width: 0; }

    /* Checkout button — full width, no truncation */
    .proceed-checkout-btn {
        width: 100% !important;
        white-space: normal !important;
        text-align: center !important;
        padding: 14px 16px !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    /* Rule widget responsive */
    .cart-rule-widget { padding: 14px; }
    .cart-rule-header { flex-direction: column; gap: 4px; align-items: flex-start; }
    .cart-rule-status { flex-direction: column; gap: 6px; }
    .cart-rule-title { font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════
   RESELLER DASHBOARD — FULL STYLES
═══════════════════════════════════════════════════════ */

.dashboard-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}

/* ─── Sidebar ─── */
.dashboard-sidebar {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.dash-user-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
    background: linear-gradient(135deg, var(--secondary) 0%, #3D3730 100%);
    color: #fff;
}
.dash-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    color: var(--secondary);
}
.dash-user-name { font-weight: 700; font-size: 14px; line-height: 1.3; }
.dash-user-biz { font-size: 11px; opacity: 0.7; margin-top: 2px; }

.dash-nav { padding: 10px 0; }
.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
    border-left: 3px solid transparent;
    cursor: pointer;
}
.dash-nav-item:hover { background: var(--hover-overlay); color: var(--primary); }
.dash-nav-item.active {
    background: var(--hover-overlay);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 700;
}
.dash-nav-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.dash-nav-sep { border-top: 1px solid var(--border); margin: 8px 16px; }
.dash-nav-logout { color: #C0392B; }
.dash-nav-logout:hover { background: #FFF5F5; color: #C0392B; }

/* Mobile tabs — hidden on desktop */
.dash-mobile-tabs { display: none; }

/* ─── Dashboard Content ─── */
.dashboard-content { min-width: 0; }
.dash-section-header { margin-bottom: 24px; }
.dash-section-header h2 { font-family: var(--font-heading); font-size: 24px; color: var(--secondary); }

/* Stats Grid */
.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 4px;
}
.dash-stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}
.dash-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 10px;
}
.dash-stat-value { font-size: 22px; font-weight: 700; color: var(--secondary); line-height: 1; }
.dash-stat-label { font-size: 11px; color: var(--text-secondary); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.3px; }

/* Cards */
.dash-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: var(--shadow-soft);
}
.dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.dash-card-header h3 { font-family: var(--font-body); font-size: 15px; font-weight: 700; }

/* Recent orders mini-rows */
.dash-order-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.dash-order-row:last-child { border-bottom: none; }
.dash-order-id { flex: 1; min-width: 0; }
.dash-order-meta { text-align: right; line-height: 1.6; white-space: nowrap; }
.dash-tag-dropship {
    display: inline-block;
    background: #EDE9FE;
    color: #6B46C1;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    text-transform: uppercase;
}
.status-badge-dash {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: #F3F4F6;
    color: #4B5563;
    white-space: nowrap;
    flex-shrink: 0;
}
.status-badge-dash.delivered { background: #D1FAE5; color: #065F46; }
.status-badge-dash.shipped   { background: #DBEAFE; color: #1E40AF; }
.status-badge-dash.cancelled { background: #FEE2E2; color: #991B1B; }
.status-badge-dash.confirmed { background: #FEF3C7; color: #92400E; }

/* Quick Actions */
.dash-quick-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.dash-action-btn {
    padding: 10px 18px;
    border-radius: 30px;
    border: 1.5px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    transition: var(--transition);
    white-space: nowrap;
}
.dash-action-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--hover-overlay); }

/* Empty state */
.dash-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    background: #FAFAFA;
    border-radius: 10px;
    border: 1px dashed var(--border);
}

/* ─── Orders Tab ─── */
.orders-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.ofilter {
    padding: 7px 16px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}
.ofilter:hover, .ofilter.active { border-color: var(--primary); color: var(--primary); background: var(--hover-overlay); }

.order-card-full {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.2s;
}
.order-card-full:hover { box-shadow: var(--shadow-medium); }
.ocf-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
}
.ocf-left { flex: 1; min-width: 0; }
.ocf-meta { font-size: 11px; color: var(--text-secondary); margin-top: 3px; }
.ocf-right { text-align: right; line-height: 1.8; }
.ocf-status {
    display: inline-block;
    background: #F3F4F6;
    color: #374151;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ocf-status.cancelled { background: #FEE2E2; color: #991B1B; }
.ocf-chevron { font-size: 12px; color: var(--text-secondary); flex-shrink: 0; transition: transform 0.2s; }
.ocf-detail { padding: 0 20px 20px; border-top: 1px solid var(--border); }

/* Order Timeline */
.order-timeline {
    display: flex;
    align-items: center;
    margin: 16px 0 20px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.tl-step { display: flex; flex-direction: column; align-items: center; gap: 5px; flex-shrink: 0; }
.tl-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    transition: var(--transition);
}
.tl-step.done .tl-dot { background: var(--primary); color: var(--secondary); }
.tl-label { font-size: 10px; color: var(--text-secondary); white-space: nowrap; text-align: center; }
.tl-step.done .tl-label { color: var(--primary); font-weight: 600; }
.tl-line { flex: 1; height: 2px; background: #E5E7EB; min-width: 20px; transition: var(--transition); }
.tl-line.done { background: var(--primary); }

/* Order items list */
.ocf-items-list { display: flex; flex-direction: column; gap: 8px; }
.ocf-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #FAFAFA;
    border-radius: 6px;
    font-size: 12px;
}
.ocf-item-title { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ocf-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
    padding: 14px 16px;
    background: #FAFAFA;
    border-radius: 8px;
}

/* ─── Addresses ─── */
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.addr-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    background: #fff;
    position: relative;
    transition: var(--transition);
}
.addr-card.default { background: #FFFBF0; border-color: var(--primary); }
.addr-card:hover { box-shadow: var(--shadow-medium); }
.addr-default-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.addr-text { font-size: 13px; line-height: 1.6; color: var(--text-primary); margin-bottom: 12px; }
.addr-actions { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.addr-act-link { font-weight: 600; color: var(--primary); }
.addr-act-link.del { color: #C0392B; }

/* ─── Admin table (reused in payments tab) ─── */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border);
}
.admin-table td {
    padding: 12px 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--hover-overlay); }

/* ─── Utility ─── */
.checkout-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* ═══ MOBILE DASHBOARD ═══ */
@media (max-width: 900px) {
    .dashboard-layout { grid-template-columns: 1fr; gap: 0; }
    .dashboard-sidebar { display: none; }

    .dash-mobile-tabs {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 12px 0 16px;
        margin-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .dash-mobile-tabs::-webkit-scrollbar { display: none; }
    .dash-mobile-tab {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        border-radius: 30px;
        border: 1.5px solid var(--border);
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
        color: var(--text-secondary);
        background: #fff;
        flex-shrink: 0;
        transition: var(--transition);
    }
    .dash-mobile-tab.active { border-color: var(--primary); color: var(--primary); background: var(--hover-overlay); }

    .dash-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .dash-stat-value { font-size: 18px; }
    .checkout-grid-2, .checkout-grid-3 { grid-template-columns: 1fr; }
    .ocf-header { flex-wrap: wrap; }
    .ocf-right { width: 100%; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
    .ocf-info-row { grid-template-columns: 1fr; }
    .addr-grid { grid-template-columns: 1fr; }
    .dash-quick-actions { flex-direction: column; }
    .dash-action-btn { text-align: center; }
    .order-card-full { border-radius: 10px; }
    .dash-order-row { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .dash-stats-grid { grid-template-columns: 1fr 1fr; }
    .dash-stat-card { padding: 14px 12px; }
    .dash-section-header h2 { font-size: 20px; }
    .admin-table { font-size: 12px; }
    .admin-table th, .admin-table td { padding: 8px 8px; }
    .orders-filter-tabs { gap: 6px; }
    .ofilter { padding: 6px 12px; font-size: 11px; }
}

/* ─── Promo Banners Background Images ─── */
.promo-banner-1 {
    background-image: url('../images/banner_1.png');
}
.promo-banner-2 {
    background-image: url('../images/banner_2.png');
}

@media (max-width: 768px) {
    .promo-banner-1 {
        background-image: url('../images/banner_1_mobile.png') !important;
    }
    .promo-banner-2 {
        background-image: url('../images/banner_2_mobile.png') !important;
    }
}

/* ─── Realtime Search Dropdown ─── */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 8px;
    display: none;
}

.search-results-dropdown.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: var(--hover-overlay);
}

.search-result-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.search-result-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    font-family: var(--font-body);
    line-height: 1.4;
    word-break: break-word;
}

.search-result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
}

.search-result-sku {
    font-family: monospace;
}

.search-result-price {
    font-weight: 700;
    color: var(--primary);
}

.search-results-loading {
    padding: 16px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.search-results-empty {
    padding: 16px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==========================================================================
   Admin UI Overhaul & Polish (Light Luxury & Deep Charcoal Dark Mode)
   ========================================================================== */

/* Active Sidebar indicators and hover transitions */
.admin-nav-link {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-nav-link:hover {
    background: var(--hover-overlay);
    color: var(--primary) !important;
}
.admin-nav-link.active {
    background: rgba(201, 162, 39, 0.08);
    border-left: 4px solid var(--primary);
    color: var(--primary) !important;
    font-weight: 600;
}

/* Admin Top Bar */
.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
    margin: -40px -40px 32px -40px; /* Offset the parent admin-content padding */
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.sidebar-toggle-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-primary);
    padding: 6px;
    border-radius: 4px;
    transition: var(--transition);
}
.sidebar-toggle-btn:hover {
    background: var(--hover-overlay);
}

.topbar-search-form {
    display: flex;
    align-items: center;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 6px 16px;
    max-width: 380px;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.topbar-search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}
.topbar-search-form input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    flex: 1;
    color: var(--text-primary);
    padding: 2px 0;
    line-height: 1.5;
    display: flex;
    align-items: center;
}
.topbar-search-form button {
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-secondary);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: var(--transition);
}
.theme-toggle-btn:hover {
    background: var(--hover-overlay);
}

/* Notification Widget */
.notification-widget {
    position: relative;
}
.notification-bell {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    position: relative;
    padding: 6px;
    border-radius: 50%;
    transition: var(--transition);
}
.notification-bell:hover {
    background: var(--hover-overlay);
}
.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--error);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    border: 2px solid var(--surface);
    line-height: 1;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    margin-top: 10px;
    display: none;
    z-index: 1000;
    overflow: hidden;
}
.notification-dropdown.active {
    display: block;
    animation: dropdownFade 0.2s ease;
}
.notification-dropdown .dropdown-header {
    background: var(--background);
    padding: 12px 16px;
    font-weight: 700;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}
.notification-dropdown .dropdown-body {
    max-height: 280px;
    overflow-y: auto;
}
.notification-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 12.5px;
    transition: var(--transition);
}
.notification-dropdown .dropdown-item:last-child {
    border-bottom: none;
}
.notification-dropdown .dropdown-item:hover {
    background: var(--hover-overlay);
}
.notification-dropdown .dropdown-item.empty {
    justify-content: center;
    color: var(--text-secondary);
    padding: 24px 16px;
}

/* Profile Dropdown Widget */
.admin-profile-widget {
    position: relative;
}
.profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 20px;
    transition: var(--transition);
}
.profile-trigger:hover {
    background: var(--hover-overlay);
}
.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.profile-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
}
.profile-chevron {
    font-size: 9px;
    color: var(--text-secondary);
}

.profile-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 180px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    margin-top: 10px;
    display: none;
    z-index: 1000;
    padding: 6px 0;
}
.profile-dropdown-menu.active {
    display: block;
    animation: dropdownFade 0.2s ease;
}
.dropdown-menu-item {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}
.dropdown-menu-item:hover {
    background: var(--hover-overlay);
    color: var(--primary);
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Collapsible Sidebar Styles */
.admin-layout {
    /* Auto layout grid handles sidebar width change */
}

.sidebar-collapsed {
    /* Grid template columns remains auto 1fr */
}

.sidebar-collapsed .sidebar-logo-full {
    display: none !important;
}

.sidebar-collapsed .sidebar-logo-mini {
    display: inline-block !important;
    text-align: center;
}

.sidebar-collapsed .admin-sidebar {
    width: 80px;
    padding: 24px 0;
    align-items: center;
}

.sidebar-collapsed .admin-nav-link span:not(.nav-icon) {
    display: none !important;
}

.sidebar-collapsed .admin-nav-link {
    justify-content: center;
    padding: 14px 0;
    border-left-width: 4px;
}

.sidebar-collapsed .admin-nav-list li[style*="margin-top"] {
    margin-top: 20px !important;
}

/* Sidebar Collapsed Tooltips */
.sidebar-collapsed .admin-nav-link::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--secondary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
}

.sidebar-collapsed .admin-nav-link:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(15px);
}

/* Staggered Sidebar Load Animation */
@keyframes slideInSidebar {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.admin-nav-list li {
    animation: slideInSidebar 0.35s ease forwards;
    opacity: 0;
}

.admin-nav-list li:nth-child(1) { animation-delay: 0.04s; }
.admin-nav-list li:nth-child(2) { animation-delay: 0.08s; }
.admin-nav-list li:nth-child(3) { animation-delay: 0.12s; }
.admin-nav-list li:nth-child(4) { animation-delay: 0.16s; }
.admin-nav-list li:nth-child(5) { animation-delay: 0.20s; }
.admin-nav-list li:nth-child(6) { animation-delay: 0.24s; }
.admin-nav-list li:nth-child(7) { animation-delay: 0.28s; }
.admin-nav-list li:nth-child(8) { animation-delay: 0.32s; }
.admin-nav-list li:nth-child(9) { animation-delay: 0.36s; }

/* Notification Badge Pulse */
@keyframes pulseBadge {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.notification-badge {
    animation: pulseBadge 1.8s infinite;
}

/* Dropdown Menu Animations */
.profile-dropdown-menu, .notification-dropdown {
    transform-origin: top right;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.2s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.2s ease;
    pointer-events: none;
    display: block !important;
}

.profile-dropdown-menu.active, .notification-dropdown.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Stat Cards Trend and Circles */
.stat-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(43, 38, 33, 0.04);
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(43, 38, 33, 0.08);
}
.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.stat-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hover-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.stat-trend {
    font-size: 11px;
    font-weight: 600;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.stat-trend.up {
    color: var(--success);
}
.stat-trend.down {
    color: var(--error);
}

/* Cards global style update */
.admin-card {
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    padding: 24px;
}

/* Skeleton Shimmer Loading States */
.skeleton-box {
    display: inline-block;
    height: 20px;
    width: 100%;
    background: linear-gradient(90deg, var(--border) 25%, var(--background) 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}
.skeleton-card {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Dark Theme Overrides */
body.dark-theme {
    --background: #151412;
    --surface: #1E1C1A;
    --text-primary: #ECE9E4;
    --text-secondary: #AAA49A;
    --border: #32302D;
    --hover-overlay: rgba(201, 162, 39, 0.12);
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.2);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.35);
}
body.dark-theme .admin-sidebar {
    background: #110F0E;
}
body.dark-theme .admin-content {
    background: #151412;
}
body.dark-theme .admin-topbar {
    background: #1E1C1A;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
body.dark-theme input, body.dark-theme textarea, body.dark-theme select {
    background: #23211F !important;
    color: #ECE9E4 !important;
    border-color: #383633 !important;
}
body.dark-theme .status-badge {
    background: #2D271E;
}
body.dark-theme .admin-card, body.dark-theme .stat-card {
    border-color: #32302D;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
body.dark-theme .table th {
    background-color: #23211F;
    border-bottom: 2px solid #383633;
}
body.dark-theme .table td {
    border-bottom: 1px solid #32302D;
}

/* ============================================================
   CIRCULAR CATEGORY CAROUSEL — PREMIUM REDESIGN
   ============================================================ */
.category-carousel.circular-category-carousel {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 24px !important;
    padding: 16px 8px 24px 8px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
    justify-content: space-between;
}

@media (max-width: 1024px) {
    .category-carousel.circular-category-carousel {
        justify-content: flex-start;
        gap: 20px !important;
    }
}

.category-carousel.circular-category-carousel::-webkit-scrollbar {
    display: none !important;
}

.category-card-circular {
    flex: 0 0 calc(16.666% - 20px) !important;
    max-width: 160px;
    min-width: 120px;
    scroll-snap-align: start !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media (max-width: 992px) {
    .category-card-circular {
        flex: 0 0 135px !important;
    }
}

@media (max-width: 600px) {
    .category-card-circular {
        flex: 0 0 105px !important;
        scroll-snap-align: center !important;
    }
}

.category-circle-outer {
    position: relative;
    width: 124px;
    height: 124px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.6), rgba(201, 162, 39, 0.15), rgba(201, 162, 39, 0.8));
    box-shadow: 0 8px 20px rgba(43, 38, 33, 0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-circle-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: #FAF7F0;
}

.category-circle-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.category-circle-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,0,0,0) 50%, rgba(0,0,0,0.2) 100%);
    transition: opacity 0.3s ease;
}

.category-circle-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2B2621;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.category-circle-badge svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
    transition: stroke 0.3s ease;
}

.category-info {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
    text-align: center;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-count {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    display: block;
    margin-top: 2px;
}

/* Circular Category Card Hover Effects */
.category-card-circular:hover .category-circle-outer {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 14px 28px rgba(201, 162, 39, 0.25);
    background: linear-gradient(135deg, var(--primary), #e6c875, var(--primary));
}

.category-card-circular:hover .category-circle-wrapper img {
    transform: scale(1.12);
}

.category-card-circular:hover .category-circle-badge {
    background: var(--primary);
    transform: scale(1.15) rotate(5deg);
}

.category-card-circular:hover .category-circle-badge svg {
    stroke: #2B2621;
}

.category-card-circular:hover .category-title {
    color: var(--primary);
}

@media (max-width: 600px) {
    .category-circle-outer {
        width: 90px;
        height: 90px;
        padding: 3px;
    }
    .category-circle-badge {
        width: 26px;
        height: 26px;
        bottom: 0px;
        right: 0px;
    }
    .category-circle-badge svg {
        width: 12px;
        height: 12px;
    }
    .category-title {
        font-size: 13px;
    }
    .category-count {
        font-size: 11px;
    }
}

/* ============================================================
   PREMIUM SIDEBAR FILTERS
   ============================================================ */
.premium-sidebar-filters {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    padding: 28px !important;
    box-shadow: 0 4px 20px rgba(43, 38, 33, 0.03) !important;
    position: sticky;
    top: 100px;
}

.filter-group-premium {
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
}

.filter-group-premium:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.filter-title-premium {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
}

.filter-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Radio Custom Option */
.filter-radio-label, .filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    user-select: none;
}

.filter-radio-label:hover, .filter-checkbox-label:hover {
    color: var(--primary);
}

.filter-radio-label input[type="radio"], .filter-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom Radio Circle */
.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 50%;
    position: relative;
    transition: border-color 0.25s ease, background-color 0.25s ease;
    background: #FAF7F0;
    flex-shrink: 0;
}

.filter-radio-label input[type="radio"]:checked ~ .radio-custom {
    border-color: var(--primary);
    background-color: var(--primary);
}

.filter-radio-label input[type="radio"]:checked ~ .radio-custom::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FAF7F0;
}

.filter-radio-label input[type="radio"]:checked ~ .label-text {
    color: var(--secondary);
    font-weight: 600;
}

/* Custom Checkbox */
.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    position: relative;
    transition: border-color 0.25s ease, background-color 0.25s ease;
    background: #FAF7F0;
    flex-shrink: 0;
}

.filter-checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom {
    border-color: var(--primary);
    background-color: var(--primary);
}

.filter-checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #FAF7F0;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox-label input[type="checkbox"]:checked ~ .label-text {
    color: var(--secondary);
    font-weight: 600;
}

/* Price range inline grid */
.price-input-fields {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.price-input-col {
    position: relative;
    flex: 1;
}

.price-input-col .currency-label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-input-col input {
    width: 100%;
    padding: 10px 10px 10px 24px !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    background: #FAF7F0 !important;
    outline: none !important;
    transition: border-color 0.2s ease;
}

.price-input-col input:focus {
    border-color: var(--primary) !important;
}

.price-range-connector {
    color: var(--text-secondary);
    font-weight: 600;
}

.preset-price-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.price-preset-tag {
    background: #FAF7F0;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.price-preset-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--surface);
}

/* Premium Form Control Select */
.form-control-premium {
    width: 100%;
    padding: 10px 14px !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: var(--text-primary) !important;
    background: #FAF7F0 !important;
    outline: none !important;
    cursor: pointer;
    font-weight: 500;
}

.form-control-premium:focus {
    border-color: var(--primary) !important;
}

/* Reset Button */
.reset-filters-btn-premium {
    width: 100%;
    padding: 12px 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px !important;
    display: block;
    text-align: center;
    border: 2px solid var(--border) !important;
    color: var(--text-primary) !important;
    background: transparent !important;
    transition: var(--transition);
    margin-top: 10px;
}

.reset-filters-btn-premium:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.08);
}

/* Sidebar Header Display Rules */
.sidebar-filters-header {
    display: none !important;
}

.close-filters-btn {
    display: none !important;
}

@media (max-width: 992px) {
    .sidebar-filters-header {
        display: flex !important;
    }
    .close-filters-btn {
        display: block !important;
    }
}

/* ===== VIDEO REELS CAROUSEL STYLES ===== */
.video-reels-section {
    margin-top: 50px;
    margin-bottom: 50px;
}

.reels-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 4px 20px 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    box-sizing: border-box;
}
.reels-carousel::-webkit-scrollbar {
    display: none;
}

.reel-card {
    flex: 0 0 220px;
    width: 220px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid rgba(201, 162, 39, 0.25);
    scroll-snap-align: start;
    background: #000000;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.reel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(201, 162, 39, 0.25);
    border-color: #C9A227;
}

.reel-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.reel-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reel-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.reel-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(43, 38, 33, 0.85);
    backdrop-filter: blur(8px);
    color: #C9A227;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    pointer-events: none;
    letter-spacing: 0.5px;
}

@media (max-width: 640px) {
    .reel-card {
        flex: 0 0 170px;
        width: 170px;
        height: 300px;
        border-radius: 16px;
    }
}

/* ========================================================= */
/* HERO SLIDESHOW & PROMO BANNER PARALLAX ENGINE */
/* ========================================================= */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0f172a;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, transform 6s ease-out;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.55) 60%, rgba(15, 23, 42, 0.78) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 650px;
    color: #ffffff;
}

/* PARALLAX PROMO BANNERS */
.promo-banner-parallax {
    position: relative;
    min-height: 380px;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.promo-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.banner-text-wrapper {
    max-width: 700px;
    color: #ffffff;
}

.banner-text-wrapper h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.banner-text-wrapper p {
    font-size: 1.1rem;
    color: #f1f5f9;
    margin-bottom: 24px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* CIRCULAR CATEGORIES & MOBILE GRID */
.carousel-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 20px;
}

.circular-category-carousel {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.category-card-circular {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    flex-shrink: 0;
    width: 130px;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card-circular:hover {
    transform: translateY(-6px);
}

.category-circle-outer {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 12px;
}

.category-circle-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #d97706;
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.2);
    position: relative;
    background: #ffffff;
}

.category-circle-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card-circular:hover .category-circle-wrapper img {
    transform: scale(1.12);
}

.category-circle-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0) 50%, rgba(0,0,0,0.2) 100%);
}

.category-circle-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #d97706;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    border: 2px solid #ffffff;
}

.category-circle-badge svg {
    width: 16px;
    height: 16px;
}

.category-info {
    width: 100%;
}

.category-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-count {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* MOBILE CIRCULAR CATEGORY GRID ENGINE */
@media (max-width: 768px) {
    .promo-banner-parallax {
        min-height: 280px;
        background-attachment: scroll;
        margin: 24px 0;
    }
    
    .banner-text-wrapper h2 {
        font-size: 1.5rem;
    }

    .banner-text-wrapper p {
        font-size: 0.95rem;
    }

    .carousel-container {
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;
    }

    .circular-category-carousel {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 16px !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        overflow-x: auto !important;
    }

    .category-card-circular {
        flex: 0 0 auto !important;
        width: 100px !important;
        scroll-snap-align: start;
    }

    .category-circle-outer {
        width: 82px;
        height: 82px;
    }

    .category-title {
        font-size: 0.82rem;
    }

    .category-count {
        font-size: 0.72rem;
    }
}

@media (max-width: 420px) {
    .category-card-circular {
        width: 85px !important;
    }

    .category-circle-outer {
        width: 72px;
        height: 72px;
    }
}

/* ========================================================= */
/* FLOATING BOTTOM-RIGHT PIP DEMO VIDEO WIDGET */
/* ========================================================= */
.pip-video-container {
    position: fixed;
    bottom: 85px;
    right: 24px;
    width: 150px;
    height: 250px;
    z-index: 9999;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    border: 2px solid #d97706;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pip-video-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(217, 119, 6, 0.4);
}

.pip-video-controls {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    display: flex;
    gap: 6px;
}

.pip-btn {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}

.pip-btn:hover {
    background: #d97706;
    color: #ffffff;
}

.pip-video-body {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

.pip-video-label {
    position: absolute;
    bottom: 6px;
    left: 8px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #d97706;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .pip-video-container {
        bottom: 80px;
        right: 16px;
        width: 125px;
        height: 210px;
    }
}

/* ============================================================
   Cart Page & Product Page 2-Column Spacing & Grid System
   ============================================================ */
.cart-page-wrap {
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 40px 60px 40px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.cart-layout {
    display: grid !important;
    grid-template-columns: 1.6fr 1fr !important;
    gap: 32px !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 900px) {
    .cart-page-wrap {
        padding: 0 20px 40px 20px !important;
    }
    .cart-layout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

@media (max-width: 600px) {
    .pdp-related-2col-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* Center-align Header Logo on Mobile Viewports */
@media (max-width: 768px) {
    .main-header .logo,
    .main-header a.logo {
        margin: 0 auto !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .main-header .logo img {
        margin: 0 auto !important;
    }
}

/* ============================================================
   Sticky Header System
   ============================================================ */
.main-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
}

/* Interactive Elements Pointer Events Safety Rule */
button, a, input, select, textarea, [data-action], .add-to-cart-btn, .buy-now-btn, .tab-btn, .qty-btn-minus, .qty-btn-plus, .cart-remove-btn {
    pointer-events: auto !important;
}

/* ============================================================
   SCROLL PERFORMANCE & INTERACTIVE OVERLAY SAFETY PATCH
   ============================================================ */
html, body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100% !important;
    position: relative !important;
}

/* Background Attachment Scroll Fix (Prevents Screen Sticking) */
.promo-banner-parallax, .hero, .hero-slide {
    background-attachment: scroll !important;
}

/* Hero Banner & Slides Pointer Events (Clickable -> shop.php) */
.hero,
.hero-wrapper-link,
.hero-slideshow, 
.hero-slide {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.promo-banner-overlay, 
.reel-gradient-overlay {
    pointer-events: none !important;
}

/* Elevate interactive hero content above background overlays */
.hero .container, 
.hero-content, 
.hero-btn, 
.hero-title, 
.hero-subtitle, 
.hero-text, 
.banner-text-wrapper, 
.banner-text-wrapper * {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

/* Ensure all buttons, links, and form inputs are clickable */
a, button, input, select, textarea, .btn, .hero-btn, .add-to-cart-btn-premium {
    pointer-events: auto !important;
    cursor: pointer;
}

/* Hero Content Glassmorphism Card to prevent text clash with background image graphics */
.hero-content {
    position: relative;
    max-width: 620px;
    background: rgba(15, 23, 42, 0.76) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    padding: 36px 40px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45) !important;
}

/* Remove Hero Black Overlay Opacity completely */
.hero-overlay {
    display: none !important;
    background: transparent !important;
    opacity: 0 !important;
}

/* ============================================================
   MOBILE RESPONSIVE HERO BANNER, 2-ITEM CAROUSELS & 2-COL STEPS
   ============================================================ */
@media (max-width: 768px) {
    .hero {
        min-height: auto !important;
        height: 56.25vw !important;
        max-height: 280px !important;
    }
    .hero-slideshow, .hero-slide {
        background-size: cover !important;
        background-position: center center !important;
    }

    /* 2-Column Compact Product Grid & Carousel for Mobile */
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 4px !important;
    }
    .product-carousel {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 10px !important;
        padding-bottom: 12px !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .product-carousel .product-card {
        flex: 0 0 calc(50% - 5px) !important;
        min-width: calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        scroll-snap-align: start !important;
    }
    .product-image-container {
        aspect-ratio: 4/5 !important;
        border-radius: 8px !important;
    }
    .product-title {
        font-size: 12px !important;
        min-height: 32px !important;
        line-height: 1.3 !important;
    }
    .product-display-price {
        font-size: 14px !important;
    }
    .add-to-cart-btn-premium {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

    /* Why Resellers Choose Us (3-Step Section) 2-Column Mobile Grid */
    .steps-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .step-card {
        padding: 14px 10px !important;
    }
    .step-card h4 {
        font-size: 13px !important;
        margin-bottom: 4px !important;
    }
    .step-card p {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
    .step-icon {
        width: 28px !important;
        height: 28px !important;
        margin-bottom: 8px !important;
    }
}


