/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #6366f1;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    /* Neutrals */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --light: #f1f5f9;
    --white: #ffffff;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

/* ===== CATEGORY NAV BAR ===== */
.category-nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0.4rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    width: 100%;
}

.category-nav-wrapper {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
    padding: 0.2rem 1rem;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 1025px) {
    .category-nav-wrapper {
        overflow-x: visible;
    }
}

@media (max-width: 1024px) {
    .category-nav-wrapper {
        justify-content: flex-start;
    }
}

.category-nav-wrapper::-webkit-scrollbar {
    display: none;
}

.category-item {
    text-decoration: none;
    color: #4b5563;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
}

.category-item i:not(.fa-chevron-down) {
    font-size: 0.9rem;
    color: var(--primary);
    opacity: 0.8;
}

.category-item:hover {
    color: var(--primary);
    background: #f3f4f6;
}

.category-item.active {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    font-weight: 600;
}

.category-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.category-dropdown:hover .category-item {
    color: var(--primary);
    background: #f3f4f6;
}

/* Dropdown specific refinements */
.category-dropdown-content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 1001;
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

.category-dropdown:hover .category-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.category-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.category-dropdown-item {
    color: var(--dark-light);
    padding: 0.7rem 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.category-dropdown-item:hover {
    background-color: rgba(79, 70, 229, 0.05);
    color: var(--primary);
}

.category-dropdown-item i {
    font-size: 0.95rem;
    width: 20px;
    text-align: center;
    color: var(--primary-light);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.category-item {
    text-decoration: none;
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
}

.category-item i {
    font-size: 1rem;
    color: var(--primary);
    opacity: 0.7;
}

.category-item:hover {
    color: var(--primary);
    background: var(--white);
    border-color: rgba(79, 70, 229, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.category-item.active {
    color: var(--white);
    background: var(--primary);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.category-item.active i {
    color: var(--white);
    opacity: 1;
}

@media (max-width: 1024px) {
    .category-nav-wrapper {
        justify-content: flex-start;
    }
}

/* Adjust Hero and main content top margin to account for two fixed bars */
.hero {
    margin-top: 115px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    height: 70px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-wrapper {
        height: 60px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo img {
        height: 35px !important;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 28px !important;
    }
}

@media (max-width: 360px) {
    .logo img {
        height: 24px !important;
    }
}

.logo i {
    color: var(--primary);
    font-size: 1.4rem;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

@media (min-width: 769px) {
    .nav-links {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.nav-link {
    color: var(--dark-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

@media (max-width: 768px) {
    .nav-actions {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .nav-actions {
        gap: 6px;
    }
}

@media (max-width: 380px) {
    .nav-actions {
        gap: 4px;
    }
}

.search-box-wrapper {
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--light);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.search-box:focus-within {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-box i {
    color: var(--gray);
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 200px;
    font-family: var(--font-primary);
}

/* Search Dropdown Styles */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 400px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-dropdown.active {
    display: block;
}

.search-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition-base);
    border-bottom: 1px solid var(--light);
}

.search-dropdown-item:last-child {
    border-bottom: none;
}

.search-dropdown-item:hover {
    background: var(--light);
}

.search-dropdown-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.search-dropdown-info {
    flex: 1;
    min-width: 0;
}

.search-dropdown-name {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 4px;
    font-size: 0.95rem;
    line-height: 1.3;
}

.search-dropdown-category {
    font-size: 0.75rem;
    color: var(--gray);
}

.search-dropdown-price {
    font-weight: 600;
    color: var(--primary);
    flex-shrink: 0;
}

.search-dropdown-empty {
    padding: 20px;
    text-align: center;
    color: var(--gray);
}

.search-dropdown-empty i {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
    opacity: 0.5;
}

.icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--light);
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .icon-btn {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .icon-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .icon-btn {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .nav-actions {
        gap: 3px;
    }
}

.icon-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .badge {
        width: 16px;
        height: 16px;
        font-size: 0.65rem;
        top: -4px;
        right: -4px;
    }
}

@media (max-width: 480px) {
    .badge {
        width: 14px;
        height: 14px;
        font-size: 0.6rem;
        top: -3px;
        right: -3px;
    }
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--light);
    color: var(--dark);
    cursor: pointer;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    transition: var(--transition-base);
}

.mobile-menu-btn:hover {
    background: var(--primary);
    color: var(--white);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

    #desktopSearch {
        display: none;
    }

    #mobileSearchBtn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mobile-menu-btn {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }
    
    #mobileSearchBtn {
        display: flex;
    }
}

@media (max-width: 360px) {
    .mobile-menu-btn {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}

#mobileSearchBtn {
    display: none;
}

/* Mobile Search Overlay */
.mobile-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    animation: fadeIn 300ms ease;
}

.mobile-search-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.mobile-search-box {
    width: 100%;
    background: var(--white);
    padding: var(--spacing-lg) var(--spacing-md);
    margin-top: 70px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.close-search-btn {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 36px;
    height: 36px;
    border: none;
    background: var(--light);
    color: var(--dark);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.close-search-btn:hover {
    background: var(--primary);
    color: var(--white);
}

#mobileSearchInput {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    transition: var(--transition-base);
}

#mobileSearchInput:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.mobile-search-results {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    z-index: 1900;
    transition: left 0ms ease;
}

.mobile-menu-overlay.active {
    display: block;
    left: 0;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1901;
    overflow-y: auto;
    animation: slideInMenu 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
    padding-top: 70px;
}

@keyframes slideInMenu {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.close-menu-btn {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    border: none;
    background: var(--light);
    color: var(--dark);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.close-menu-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: var(--spacing-md);
}

.mobile-nav-link {
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition-base);
    display: block;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: calc(var(--spacing-lg) + 8px);
}

/* ===== IMAGE SLIDER ===== */
.image-slider-section {
    width: 100vw;
    height: 340px;
    margin-top: 80px;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    background: #000;
    position: relative;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease-in-out;
    will-change: transform;
}

.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease-in-out;
}

.slider-slide:hover img {
    transform: scale(1.02);
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.slider-dot.active {
    background: var(--white);
    width: 36px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
    .image-slider-section {
        height: 340px;
    }
}

@media (max-width: 768px) {
    .image-slider-section {
        height: 280px;
        margin-top: 70px;
    }
    
    .slider-dots {
        bottom: 18px;
        gap: 12px;
        padding: 8px 16px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-dot.active {
        width: 32px;
    }
}

@media (max-width: 640px) {
    .image-slider-section {
        height: 220px;
        margin-top: 65px;
    }
    
    .slider-dots {
        bottom: 15px;
        gap: 10px;
        padding: 7px 14px;
    }
    
    .slider-dot {
        width: 9px;
        height: 9px;
    }
    
    .slider-dot.active {
        width: 28px;
    }
}

@media (max-width: 480px) {
    .image-slider-section {
        height: 180px;
        margin-top: 60px;
    }
    
    .slider-dots {
        bottom: 12px;
        gap: 8px;
        padding: 6px 12px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-dot.active {
        width: 24px;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-2xl) 0;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.05), transparent);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    top: -200px;
    left: -200px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-top: 0;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        margin-top: 70px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        margin-top: 70px;
        padding: var(--spacing-lg) 0;
    }
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--dark);
    letter-spacing: -1px;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
    max-width: 540px;
}

@media (max-width: 768px) {
    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
    }
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.load-more-container {
    text-align: center;
    margin-top: var(--spacing-xl);
}

#loadMoreBtn {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

#loadMoreBtn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.15);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
}

@media (max-width: 768px) {
    .hero-stats {
        gap: var(--spacing-md);
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: var(--spacing-md);
        justify-content: space-around;
    }
}

.stat-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
}

.stat-item p {
    color: var(--gray);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .stat-item h3 {
        font-size: 1.4rem;
    }

    .stat-item p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .stat-item h3 {
        font-size: 1.2rem;
    }

    .stat-item p {
        font-size: 0.75rem;
    }
}

.hero-image {
    position: relative;
    height: 400px;
    animation: fadeInRight 1s ease;
}

@media (max-width: 1024px) {
    .hero-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        height: 280px;
        margin-top: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .hero-image {
        height: 220px;
        margin-top: var(--spacing-sm);
    }
}

.hero-card {
    position: absolute;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transition: var(--transition-base);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card:hover {
    transform: translateY(-10px) scale(1.05);
    z-index: 10;
}

.card-1 {
    width: 220px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: cardFloat 6s infinite ease-in-out;
}

.card-2 {
    width: 150px;
    height: 180px;
    top: 0;
    right: 0;
    animation: cardFloat 6s infinite ease-in-out;
    animation-delay: -2s;
}

.card-3 {
    width: 130px;
    height: 160px;
    bottom: 0;
    left: 0;
    animation: cardFloat 6s infinite ease-in-out;
    animation-delay: -4s;
}

@media (max-width: 1024px) {
    .card-1 {
        width: 200px;
        height: 260px;
    }

    .card-2 {
        width: 130px;
        height: 160px;
    }

    .card-3 {
        width: 110px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    .card-1 {
        width: 180px;
        height: 240px;
    }

    .card-2 {
        width: 120px;
        height: 150px;
    }

    .card-3 {
        width: 100px;
        height: 130px;
    }
}

@media (max-width: 480px) {
    .card-1 {
        width: 140px;
        height: 180px;
    }

    .card-2 {
        width: 90px;
        height: 110px;
    }

    .card-3 {
        width: 75px;
        height: 95px;
    }
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.card-badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-xl);
    animation: pulse 3s infinite ease-in-out;
}

@media (max-width: 1024px) {
    .floating-element {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .floating-element {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        display: none;
    }
}

.element-1 {
    top: 20%;
    left: 10%;
    color: var(--accent);
}

.element-2 {
    top: 60%;
    right: 10%;
    color: var(--secondary);
    animation-delay: -1s;
}

.element-3 {
    bottom: 20%;
    right: 30%;
    color: var(--primary);
    animation-delay: -2s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== SECTIONS ===== */
/* section {
    padding: var(--spacing-2xl) 0;
} */

@media (max-width: 768px) {
    section {
        padding: var(--spacing-xl) 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: var(--spacing-lg) 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-light);
    border-radius: var(--radius-full);
}

.section-alt {
    background-color: #f8fafc;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--dark);
    letter-spacing: -0.5px;
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-description {
        font-size: 0.95rem;
    }
}

/* ===== CATEGORIES ===== */
.categories {
    background: var(--light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-sm);
}

.category-card {
    position: relative;
    background: var(--white);
    padding: var(--spacing-md) var(--spacing-sm);
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
    z-index: 0;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.category-card:hover .category-icon,
.category-card:hover h3,
.category-card:hover p {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
    transition: var(--transition-base);
    position: relative;
    z-index: 1;
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    transition: var(--transition-base);
    position: relative;
    z-index: 1;
}

.category-card p {
    color: var(--gray);
    font-size: 0.875rem;
    transition: var(--transition-base);
    position: relative;
    z-index: 1;
}

/* Compact Category Cards */
.categories-grid.compact {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: var(--spacing-sm);
    width: 100%;
}

.category-card.compact {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
}

.category-card.compact .category-icon {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
}

.category-card.compact h3 {
    font-size: 0.75rem;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.2;
}

.category-card.compact p {
    display: none;
}

/* ===== MEGA MENU STYLES ===== */
.mega-menu-section {
    padding: var(--spacing-2xl) 0;
    background: #f8fafc;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.mega-menu-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .mega-menu-container {
        gap: 4px;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .mega-menu-container {
        gap: 3px;
        padding: 0 3px;
        overflow-x: auto;
        justify-content: flex-start;
        scroll-behavior: smooth;
    }
    
    .mega-menu-container::-webkit-scrollbar {
        height: 4px;
    }
    
    .mega-menu-container::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .mega-menu-container::-webkit-scrollbar-thumb {
        background: var(--gray-light);
        border-radius: var(--radius-full);
    }
}

.mega-menu-btn {
    padding: 12px 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--white);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-light);
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .mega-menu-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .mega-menu-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}

.mega-menu-btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.mega-menu-btn i {
    color: var(--primary);
    font-size: 1.1rem;
}

.mega-menu-dropdown {
    position: relative;
    flex-shrink: 0;
    z-index: 1000;
}

.mega-menu-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
    z-index: 1001;
}

.mega-menu-btn.has-dropdown {
    position: relative;
}

.mega-menu-btn.has-dropdown i:last-child {
    font-size: 0.75rem;
    margin-left: 4px;
    transition: transform 300ms ease;
}

.mega-menu-dropdown:hover .mega-menu-btn.has-dropdown i:last-child {
    transform: rotate(180deg);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    min-width: 220px;
    margin-top: 0;
    z-index: 1002;
    animation: slideDown 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.mega-menu-dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: var(--dark);
    text-decoration: none;
    transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 3px solid transparent;
    font-weight: 500;
    font-size: 0.9rem;
}

.dropdown-item i {
    color: var(--primary);
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.dropdown-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: calc(16px + 4px);
}

/* Responsive Mega Menu */
@media (max-width: 768px) {
    .mega-menu-container {
        gap: var(--spacing-sm);
    }
    
    .mega-menu-btn {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: 0.85rem;
    }
    
    .dropdown-menu {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .mega-menu-container {
        gap: var(--spacing-xs);
    }
    
    .mega-menu-btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.8rem;
    }
    
    .mega-menu-btn i {
        font-size: 0.85rem;
    }
}

/* ===== PRODUCTS ===== */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.filter-group {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-xs) var(--spacing-md);
    border: 2px solid var(--gray-light);
    background: var(--white);
    border-radius: var(--radius-full);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.controls-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.layout-switcher {
    display: flex;
    gap: var(--spacing-xs);
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 4px;
}

.layout-btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    color: var(--gray);
    font-size: 1.1rem;
}

.layout-btn:hover {
    background: var(--light);
    color: var(--primary);
}

.layout-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.sort-select {
    padding: var(--spacing-xs) var(--spacing-md);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-weight: 500;
    cursor: pointer;
    background: var(--white);
    outline: none;
    transition: var(--transition-base);
}

.sort-select:focus {
    border-color: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

@media (max-width: 480px) {
    .product-card {
        border-radius: var(--radius-lg);
    }
}

.product-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-details-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.view-details-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.product-actions {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition-base);
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.action-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.product-info {
    padding: 0.85rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-description {
    display: none;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: 0.5rem;
}

.stars {
    color: var(--accent);
    font-size: 0.875rem;
}

.rating-count {
    font-size: 0.75rem;
    color: var(--gray);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.price-original {
    font-size: 0.85rem;
    color: var(--gray-light);
    text-decoration: line-through;
}

.add-to-cart-btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: #f8fafc;
    color: var(--dark);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.add-to-cart-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.add-to-cart-btn i {
    font-size: 0.9rem;
}

/* List Layout */
.products-grid.list-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.products-grid.list-layout .product-card {
    display: flex;
    flex-direction: row;
}

.products-grid.list-layout .product-image {
    width: 250px;
    height: 200px;
    flex-shrink: 0;
}

.products-grid.list-layout .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--spacing-lg);
}

.products-grid.list-layout .product-name {
    font-size: 1.25rem;
    -webkit-line-clamp: 1;
}

.products-grid.list-layout .product-description {
    display: block;
    color: var(--gray);
    font-size: 0.875rem;
    margin: var(--spacing-sm) 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-grid.list-layout .product-footer {
    margin-top: auto;
}

.products-grid.list-layout .add-to-cart-btn {
    width: auto;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
}

/* Masonry Layout */
.products-grid.masonry-layout {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.products-grid.masonry-layout .product-card:nth-child(3n+1) .product-image {
    height: 350px;
}

.products-grid.masonry-layout .product-card:nth-child(3n+2) .product-image {
    height: 280px;
}

.products-grid.masonry-layout .product-card:nth-child(3n+3) .product-image {
    height: 320px;
}

.add-to-cart-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-xl);
}

.load-more-container {
    text-align: center;
}

.view-all-container {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ===== PRODUCT SLIDER ===== */
.featured-slider {
    background: #fdfdfd;
    overflow: hidden;
}

/* .slider-container {
    position: relative;
    padding: 0 60px;
} */

.products-slider {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--spacing-sm) 0;
}

.products-slider::-webkit-scrollbar {
    display: none;
}

.products-slider .product-card {
    min-width: 220px;
    flex-shrink: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: none;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* ===== PRODUCTS GRID VARIATIONS ===== */
.products-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--spacing-md);
}

.products-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

/* ===== SUSTAINABLE PRODUCTS MOSAIC REDESIGN ===== */
.sustainable-section {
    padding: 100px 0;
    position: relative;
    background: #fdfdfd;
}

.sustainable-flex-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.sustainable-content {
    flex: 1;
    min-width: 300px;
}

.sustainable-content .section-badge {
    margin-bottom: 20px;
}

.sustainable-content .section-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-align: left;
}

.sustainable-content .section-description {
    text-align: left;
    max-width: 450px;
    margin: 0 0 40px 0;
    font-size: 1.1rem;
    color: #666;
}

.sustainable-mosaic-wrapper {
    flex: 1.5;
    min-width: 450px;
}

.sustainable-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(170px, auto);
    gap: 20px;
}

/* Base card styling (Compact) */
.sustainable-card {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    height: 100%;
    min-height: 200px;
}

.sustainable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(76, 175, 80, 0.12);
    border-color: rgba(76, 175, 80, 0.2);
    z-index: 10;
}

.sustainable-card .leaf-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: rgba(232, 245, 233, 0.9);
    color: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    z-index: 5;
    backdrop-filter: blur(4px);
}

.sustainable-card .image-wrapper {
    width: 100%;
    height: 140px;
    background: #f9f9f9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 12px;
    flex-shrink: 0;
    overflow: hidden;
}

.sustainable-card .image-wrapper img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: all 0.5s ease;
}

.sustainable-card:hover .image-wrapper img {
    transform: scale(1.1);
}

.sustainable-card .quick-actions {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 6;
    pointer-events: none;
}

.sustainable-card:hover .quick-actions {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.sustainable-card .quick-actions button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    font-size: 0.8rem;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sustainable-card .quick-actions button:hover {
    background: #4caf50;
    color: #fff;
    transform: scale(1.1);
}

.sustainable-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.sustainable-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.sustainable-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 5px;
}

.sustainable-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #4caf50;
}

.sustainable-card .add-to-cart-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #2c3e50;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sustainable-card .add-to-cart-btn:hover {
    background: #4caf50;
    transform: scale(1.1);
}

/* Mosaic Item Placements */
.sustainable-card:nth-child(1) { grid-area: 1 / 1 / 3 / 4; } /* Large Hero Card */
.sustainable-card:nth-child(2) { grid-area: 1 / 4 / 3 / 7; } /* Wide Card */
.sustainable-card:nth-child(3) { grid-area: 3 / 1 / 5 / 3; } /* Small Tall */
.sustainable-card:nth-child(4) { grid-area: 3 / 3 / 5 / 5; } /* Small Square */
.sustainable-card:nth-child(5) { grid-area: 3 / 5 / 5 / 7; } /* Small Square */

/* Overrides for specific placements */
.sustainable-card:nth-child(1) .image-wrapper,
.sustainable-card:nth-child(2) .image-wrapper {
    height: 190px;
}

.sustainable-card:nth-child(1) .sustainable-name {
    font-size: 1.25rem;
    -webkit-line-clamp: 2;
}

@media (max-width: 1024px) {
    .sustainable-content .section-title {
        font-size: 2.5rem;
    }
    .sustainable-flex-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .sustainable-section { padding: 60px 0; }
    .sustainable-flex-container { flex-direction: column; align-items: stretch; }
    .sustainable-content { text-align: center; }
    .sustainable-content .section-title, 
    .sustainable-content .section-description { text-align: center; margin-left: auto; margin-right: auto; }
    .sustainable-mosaic-wrapper { min-width: 100%; }
    .sustainable-mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    .sustainable-card { width: calc(50% - 8px); grid-area: auto !important; }
}

@media (max-width: 480px) {
    .sustainable-card { width: 100%; }
}

/* ===== PRODUCTS LIST LAYOUT ===== */
.products-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.products-list .product-card {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.products-list .product-image {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.products-list .product-info {
    flex: 1;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.products-list .product-name {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.products-list .product-description {
    display: block;
    color: var(--gray);
    font-size: 0.95rem;
    margin: var(--spacing-sm) 0;
    line-height: 1.6;
}

.products-list .product-footer {
    margin-top: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.products-list .add-to-cart-btn {
    width: auto;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-size: 1rem;
}

.products-list .add-to-cart-btn i {
    margin-right: var(--spacing-xs);
}

/* ===== TOP RATED FEATURED GRID LAYOUT ===== */
.top-rated-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f8 100%);
    position: relative;
    overflow: hidden;
}

.top-rated-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.top-rated-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(107, 107, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.top-rated-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 280px;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

/* Featured Large Card - First Item */
.top-rated-grid .product-card:nth-child(1) {
    grid-column: span 6;
    grid-row: span 2;
}

.top-rated-grid .product-card:nth-child(1) .product-image {
    height: 400px;
}

.top-rated-grid .product-card:nth-child(1) .product-info {
    padding: var(--spacing-xl);
}

.top-rated-grid .product-card:nth-child(1) .product-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.top-rated-grid .product-card:nth-child(1) .product-description {
    display: block;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

/* Medium Cards - 2nd and 3rd items */
.top-rated-grid .product-card:nth-child(2),
.top-rated-grid .product-card:nth-child(3) {
    grid-column: span 3;
    grid-row: span 1;
}

.top-rated-grid .product-card:nth-child(2) .product-image,
.top-rated-grid .product-card:nth-child(3) .product-image {
    height: 180px;
}

/* Regular Cards - 4th to 9th items */
.top-rated-grid .product-card:nth-child(n+4) {
    grid-column: span 4;
    grid-row: span 1;
}

.top-rated-grid .product-card:nth-child(n+4) .product-image {
    height: 180px;
}

/* Enhanced Product Card Styling for Top Rated */
.top-rated-grid .product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-rated-grid .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(107, 107, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.top-rated-grid .product-card:hover::before {
    opacity: 1;
}

.top-rated-grid .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Rating Badge Enhancement */
.top-rated-grid .product-rating {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    z-index: 2;
}

.top-rated-grid .product-rating i {
    color: #ff6b6b;
    font-size: 0.85rem;
}

/* Best Seller Badge for Top Item */
.top-rated-grid .product-card:nth-child(1) .product-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

/* ===== PROMOTIONAL BANNERS ===== */
.promotional-banner {
    padding: 40px;
    overflow: hidden;
    position: relative;
}

.promotional-banner .banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

.promotional-banner .banner-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.promotional-banner h2 {
    font-size: 2.5rem;
    font-family: var(--font-display);
    line-height: 1.2;
    margin: 0;
}

.promotional-banner p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray);
    margin: 0;
}

.promotional-banner .banner-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    max-height: 300px;
}

.promotional-banner .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.promotional-banner:hover .banner-image img {
    transform: scale(1.05);
}

/* Banner 1 - Corporate Gifts */
.banner-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.banner-1 .banner-text h2,
.banner-1 .banner-text p {
    color: var(--white);
}

/* Banner 2 - Seasonal Offers */
.banner-2 {
    background: linear-gradient(135deg, #d4a574 0%, #c69c6d 50%, #b8945f 100%),
                repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(139, 90, 43, 0.1) 2px, rgba(139, 90, 43, 0.1) 4px),
                repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(101, 67, 33, 0.08) 2px, rgba(101, 67, 33, 0.08) 4px);
    background-attachment: fixed;
    color: var(--dark);
    position: relative;
    padding: 40px;
}

.banner-2 .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 90, 43, 0.1) 0%, transparent 50%);
}

.banner-2 .banner-content {
    grid-template-columns: 1fr;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.banner-2 .banner-icon {
    font-size: 3rem;
    color: #8b5a2b;
}

.banner-2 h2,
.banner-2 p {
    color: var(--dark) !important;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.banner-2 .btn-accent {
    background: linear-gradient(135deg, #8b5a2b 0%, #6b4423 100%);
    color: var(--white);
    border: none;
}

.banner-2 .btn-accent:hover {
    background: linear-gradient(135deg, #6b4423 0%, #5a3a1a 100%);
    transform: translateY(-2px);
}

/* Banner 3 - Event Solutions */
.banner-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: var(--white);
}

.banner-3 .banner-text h2,
.banner-3 .banner-text p {
    color: var(--white);
}

.banner-3 .banner-content {
    grid-template-columns: 1fr 1fr;
}

/* Banner 4 - Eco-Friendly */
.banner-4 {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: var(--white);
}

.banner-4 .banner-text h2,
.banner-4 .banner-text p {
    color: var(--white);
}

.banner-4 .banner-content {
    grid-template-columns: 1fr 1fr;
}

/* ===== UPDATED BANNER STYLES ===== */

/* Flash Sale Banner */
.flash-sale-banner {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding: var(--spacing-2xl) 0;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    pointer-events: none;
}

.flash-pulse {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: none;
}

.flash-pulse:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.flash-pulse:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: 5%;
    animation-delay: 1s;
}

.flash-pulse:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    animation-delay: 2s;
}

.banner-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.banner-left {
    color: var(--white);
}

.sale-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.sale-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.sale-subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.banner-right {
    display: flex;
    justify-content: center;
}

.discount-showcase {
    display: flex;
    gap: var(--spacing-lg);
}

.discount-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    transition: all var(--transition-base);
}

.discount-item:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-8px);
}

.discount-value {
    font-size: 2.5rem;
    font-weight: 900;
}

.discount-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Event Banner */
.event-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: var(--spacing-2xl) 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.banner-overlay-event {
    position: absolute;
    top: 0;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.banner-content-event {
    flex: 1;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.event-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.event-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.event-subtitle {
    font-size: 1.05rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.event-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.event-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
    font-weight: 500;
}

.event-feature i {
    color: #4ade80;
    font-size: 1.2rem;
}

.banner-image-event {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.banner-image-event img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Eco Banner */
.eco-banner {
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
}

.eco-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.eco-leaf {
    position: absolute;
    opacity: 0.08;
    font-size: 10rem;
    pointer-events: none;
}

.eco-leaf-1 {
    top: -20px;
    right: 10%;
    animation: float 20s infinite ease-in-out;
}

.eco-leaf-2 {
    top: 50%;
    right: 5%;
    animation: float 25s infinite ease-in-out reverse;
}

.eco-leaf-3 {
    bottom: 10%;
    left: 10%;
    animation: float 30s infinite ease-in-out;
}

.eco-leaf-4 {
    top: 30%;
    left: 5%;
    animation: float 28s infinite ease-in-out reverse;
}

.eco-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.eco-left {
    color: var(--white);
}

.eco-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
}

.eco-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.eco-description {
    font-size: 1.05rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.eco-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.benefit {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
    font-weight: 500;
}

.benefit-icon {
    font-size: 1.5rem;
}

.eco-right img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Category Tabs Section */
.category-tabs-section {
    padding: var(--spacing-2xl) 0;
    background: var(--light);
}

.category-tabs {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--gray-light);
}

.category-tab {
    padding: 0.6rem 1.2rem;
    border: none;
    background: var(--white);
    color: var(--dark);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    letter-spacing: 0.3px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.category-tab i {
    font-size: 0.9rem;
}

.category-tab:hover {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.category-tab.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.category-content {
    animation: fadeIn 0.3s ease-in;
}

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

/* Stats Section */
.stats-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    position: relative;
    overflow: visible;
    z-index: 0;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -3%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.stat-box {
    text-align: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: #ffd700;
    opacity: 0.9;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 2px;
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.stat-desc {
    font-size: 0.8rem;
    opacity: 0.8;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-lg) 0;
    background: #c29a6b; /* Base MDF/Wood color */
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(0,0,0,0.03) 40px, rgba(0,0,0,0.03) 80px),
        linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(0,0,0,0.1)),
        url('https://www.transparenttextures.com/patterns/wood-pattern-light.png'); /* Adding a subtle wood pattern */
    color: #3e2723; /* Darker brown for contrast on wood */
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.1);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -2%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-display);
    color: #3e2723;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.3);
}

.cta-content p {
    font-size: 1.05rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
    color: #4e342e;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 0.8rem 2.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-buttons .btn-primary {
    background: #3e2723;
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(62, 39, 35, 0.3);
}

.cta-buttons .btn-primary:hover {
    background: #5d4037;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(62, 39, 35, 0.4);
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #3e2723;
    color: #3e2723;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Button Variants */
.btn-white {
    background: var(--white);
    color: var(--dark);
    border: none;
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    border: none;
    font-weight: 600;
}

.btn-accent:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.btn-success {
    background: var(--success);
    color: var(--white);
    border: none;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .top-rated-grid {
        grid-auto-rows: 260px;
    }
    
    .top-rated-grid .product-card:nth-child(1) {
        grid-column: span 12;
        grid-row: span 1;
    }
    
    .top-rated-grid .product-card:nth-child(1) .product-image {
        height: 300px;
    }
    
    .top-rated-grid .product-card:nth-child(2),
    .top-rated-grid .product-card:nth-child(3) {
        grid-column: span 6;
    }
    
    .top-rated-grid .product-card:nth-child(n+4) {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .top-rated-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: var(--spacing-md);
    }
    
    .top-rated-grid .product-card:nth-child(1),
    .top-rated-grid .product-card:nth-child(2),
    .top-rated-grid .product-card:nth-child(3),
    .top-rated-grid .product-card:nth-child(n+4) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .top-rated-grid .product-card .product-image {
        height: 250px !important;
    }
    
    .top-rated-grid .product-card:nth-child(1) .product-info {
        padding: var(--spacing-lg);
    }
}

/* ===== SECTION SPACING ===== */
.products-section {
    padding: var(--spacing-2xl) 0;
}

/* ===== FEATURES ===== */
/* ===== COMPACT FEATURES BAR ===== */
.features {
    padding: 30px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 200px;
    padding: 10px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.feature-card p {
    font-size: 0.75rem;
    color: #777;
    margin: 0;
}

@media (max-width: 992px) {
    .features-grid {
        justify-content: center;
    }
    .feature-card {
        flex: 0 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .feature-card {
        flex: 0 1 100%;
    }
}

/* ===== NEWSLETTER ===== */
.newsletter {
    background: var(--gradient-primary);
    color: var(--white);
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .newsletter-content {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .newsletter-content {
        gap: var(--spacing-md);
    }
}

.newsletter-text h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

@media (max-width: 768px) {
    .newsletter-text h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .newsletter-text h2 {
        font-size: 1.2rem;
    }
}

.newsletter-text p {
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    flex: 1;
    max-width: 500px;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .newsletter-form {
        gap: var(--spacing-xs);
    }
}

.newsletter-input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    outline: none;
}

.newsletter-form .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.newsletter-form .btn-primary:hover {
    background: var(--light);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-logo i {
    color: var(--primary);
    font-size: 1.4rem;
}

.footer-section p {
    color: var(--gray-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.footer-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-section ul li a:hover {
    color: var(--primary);
    padding-left: var(--spacing-xs);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--dark-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--dark-light);
    color: var(--gray-light);
}

.footer-bottom i {
    color: var(--danger);
}

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-2xl);
    z-index: 2000;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--gray-light);
}

.cart-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.close-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--light);
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: var(--danger);
    color: var(--white);
}

.cart-items,
.cart-items-sidebar {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-md);
}

.cart-item,
.cart-item-sidebar {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-sm);
    background: var(--light);
    align-items: center;
}

.cart-item-sidebar img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-sidebar .item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-item-sidebar .item-details h4 {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark);
    margin: 0;
    line-height: 1.4;
}

.cart-item-sidebar .item-details .item-price {
    color: #000;
    font-weight: 600;
    font-size: 0.85rem;
}

.cart-item-sidebar .remove-btn {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--light);
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-sidebar .remove-btn:hover {
    background: var(--danger);
    color: var(--white);
    transform: scale(1.1);
}

.empty-cart-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
    color: var(--gray);
}

.empty-cart-sidebar i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-cart-sidebar p {
    font-size: 1rem;
    font-weight: 500;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    font-size: 0.875rem;
}

.cart-item-price {
    color: #000;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.qty-btn {
    width: 25px;
    height: 25px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition-base);
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition-base);
}

.cart-item-remove:hover {
    transform: scale(1.2);
}

.cart-footer {
    padding: var(--spacing-md);
    border-top: 1px solid var(--gray-light);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
    font-weight: 700;
}

.total-amount {
    color: #000;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-2xl);
    max-width: 1200px;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.modal-close:hover {
    background: var(--danger);
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: var(--spacing-xl);
}

/* Enhanced Product Modal */
.modal-product-enhanced {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

/* Gallery Section */
.modal-gallery {
    position: relative;
}

.gallery-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge-discount {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

.badge-featured {
    background: linear-gradient(135deg, #ffd93d, #ffb800);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: var(--shadow-md);
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    box-shadow: var(--shadow-lg);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-main img.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}

.zoom-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    border: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.gallery-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.gallery-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.gallery-thumb:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

.gallery-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Section */
.modal-product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-header {
    border-bottom: 2px solid var(--gray-light);
    padding-bottom: 1.5rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.product-sku {
    color: var(--gray);
    font-size: 0.85rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-rating-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.rating-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
}

.rating-count {
    color: var(--gray);
    font-size: 0.95rem;
}

.write-review-btn {
    background: none;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.write-review-btn:hover {
    background: var(--primary);
    color: white;
}

.product-price-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    margin-top: 1rem;
}

.price-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.modal .price-current,
.product-price-section .price-current {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
}

.modal .price-original,
.product-price-section .price-original {
    font-size: 1.5rem;
    color: var(--gray);
    text-decoration: line-through;
}

.price-savings {
    color: var(--success);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
}

.stock-status.in-stock {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.stock-status.out-stock {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Tabs */
.product-tabs {
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background: var(--light);
    border-bottom: 2px solid var(--gray-light);
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active {
    color: var(--primary);
    background: white;
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-btn:hover {
    color: var(--primary);
}

.tabs-content {
    padding: 1.5rem;
    min-height: 200px;
}

.tab-panel {
    display: none;
    animation: fadeInUp 0.3s ease;
}

.tab-panel.active {
    display: block;
}

.product-description {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark);
    font-weight: 500;
}

.product-features li i {
    color: var(--success);
    font-size: 1.1rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--gray-light);
}

.specs-table td {
    padding: 1rem 0;
}

.specs-table td:first-child {
    width: 40%;
    color: var(--gray);
}

/* Reviews */
.reviews-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.summary-score {
    text-align: center;
}

.score-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.score-stars {
    margin: 0.5rem 0;
}

.score-text {
    color: var(--gray);
    font-size: 0.9rem;
}

.summary-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar-label {
    min-width: 50px;
    font-size: 0.9rem;
    color: var(--gray);
}

.bar-track {
    flex: 1;
    height: 8px;
    background: var(--gray-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

.bar-percentage {
    min-width: 45px;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.review-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    gap: 1rem;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.review-date {
    font-size: 0.85rem;
    color: var(--gray);
}

.review-rating {
    display: flex;
    gap: 0.25rem;
}

.review-content {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.review-footer {
    display: flex;
    gap: 1rem;
}

.review-action {
    background: none;
    border: 1px solid var(--gray-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--gray);
    transition: all 0.3s ease;
}

.review-action:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

/* Actions Section */
.product-actions-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--radius-xl);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-selector label {
    font-weight: 600;
    color: var(--dark);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 0.25rem;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

#productQuantity {
    width: 60px;
    text-align: center;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.secondary-actions {
    display: flex;
    justify-content: space-around;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

.action-link {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.action-link:hover {
    color: var(--primary);
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.trust-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
}

/* Related Products */
.related-products-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-light);
}

.related-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark);
}

.related-title i {
    color: var(--primary);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.related-product-card {
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.related-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--light);
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-product-card:hover .related-image img {
    transform: scale(1.1);
}

.related-info {
    padding: 1rem;
}

.related-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.related-rating span {
    font-weight: 600;
    color: var(--gray);
}

.related-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-price .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.related-price .old-price {
    font-size: 0.9rem;
    color: var(--gray);
    text-decoration: line-through;
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 4000;
}

.loading-spinner.active {
    display: flex;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modal-product {
        grid-template-columns: 1fr;
    }
    
    .modal-product-enhanced {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-main {
        height: 400px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-summary {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Promotional Banners Responsive */
    .promotional-banner .banner-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .banner-1 .banner-content,
    .banner-3 .banner-content,
    .banner-4 .banner-content {
        grid-template-columns: 1fr;
    }

    .promotional-banner h2 {
        font-size: 1.8rem;
    }

    .promotional-banner p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .search-box input {
        width: 150px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .modal-body {
        padding: var(--spacing-md);
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .modal .price-current,
    .product-price-section .price-current {
        font-size: 2rem;
    }
    
    .modal .price-original,
    .product-price-section .price-original {
        font-size: 1.2rem;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn {
        border-bottom: 1px solid var(--gray-light);
    }
    
    .tab-btn:last-child {
        border-bottom: none;
    }

    /* Promotional Banners Mobile */
    .promotional-banner {
        padding: var(--spacing-lg) 0;
    }

    .promotional-banner .banner-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .promotional-banner h2 {
        font-size: 1.5rem;
    }

    .promotional-banner p {
        font-size: 0.95rem;
    }

    .banner-2 .banner-content {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .banner-2 .banner-icon {
        font-size: 2rem;
    }

    .banner-2 {
        background-attachment: scroll;
    }
    
    .gallery-main {
        height: 300px;
    }
    
    .secondary-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .action-link {
        justify-content: center;
        padding: 0.75rem;
        border: 1px solid var(--gray-light);
        border-radius: var(--radius-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Product Layouts Responsive */
    .products-list .product-card {
        flex-direction: column;
    }
    
    .products-list .product-image {
        width: 100%;
        height: 250px;
    }
    
    .slider-container {
        padding: 0 50px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .products-slider .product-card {
        min-width: 280px;
    }
    
    .products-grid-3,
    .products-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .filter-btn {
        font-size: 0.85rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .controls-group {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }
    
    .layout-switcher {
        width: 100%;
        justify-content: center;
    }
    
    .sort-select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

/* ===== MEGA DEALS SECTION (FLIPKART STYLE) ===== */
.mega-deals-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
    will-change: auto;
}

.mega-deals-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mega-deals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
    z-index: 2;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.deals-badge {
    display: inline-block;
    width: fit-content;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deals-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
}

.view-all-link:hover {
    background: rgba(99, 102, 241, 0.1);
    gap: var(--spacing-md);
}

.deals-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    z-index: 2;
    transform: translateZ(0);
    will-change: auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    background: white;
    border-radius: var(--radius-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.15);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.deals-scroll-container {
    width: 100%;
    overflow-x: auto;
    padding: 0 50px;
    scroll-behavior: auto;
}

.deals-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.deals-scroll-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-full);
}

.deals-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
}

.deals-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.6);
}

.deals-grid {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-md) 0;
    min-width: max-content;
}

.deal-card {
    flex: 0 0 220px;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    will-change: transform;
    backface-visibility: hidden;
    transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 350ms ease, border-color 350ms ease;
}

.deal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.deal-image-container {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.deal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    backface-visibility: hidden;
    transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.deal-card:hover .deal-image-container img {
    transform: scale(1.08);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    color: white;
    padding: 6px 10px;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
}

.rating-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 6px 10px;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.deal-content {
    padding: var(--spacing-md);
}

.deal-category {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 600;
}

.deal-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-price-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--spacing-sm);
}

.deal-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.deal-original-price {
    font-size: 0.85rem;
    color: var(--gray);
    text-decoration: line-through;
}

.deal-savings {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
}

.deal-footer {
    display: flex;
    gap: var(--spacing-xs);
}

.deal-btn {
    flex: 1;
    padding: 8px;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.deal-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.deal-wishlist-btn {
    width: 36px;
    min-width: 36px;
    padding: 8px;
    border: 1px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.deal-wishlist-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Responsive Mega Deals */
@media (max-width: 768px) {
    .mega-deals-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .deals-title {
        font-size: 1.5rem;
    }

    .deals-scroll-container {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .deal-card {
        flex: 0 0 180px;
    }

    .deal-image-container {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .mega-deals-section {
        padding: var(--spacing-xl) 0;
    }

    .deals-title {
        font-size: 1.3rem;
    }

    .deals-scroll-container {
        padding: 0 30px;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .deal-card {
        flex: 0 0 160px;
    }

    .deal-image-container {
        height: 140px;
    }

    .deal-content {
        padding: var(--spacing-sm);
    }

    .deal-name {
        font-size: 0.85rem;
    }
}

/* ===== RESPONSIVE BANNER STYLES ===== */
@media (max-width: 768px) {
    .banner-container {
        grid-template-columns: 1fr;
    }

    .sale-title {
        font-size: 1.8rem;
    }

    .discount-showcase {
        flex-direction: row;
        justify-content: space-around;
    }

    .discount-item {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .discount-value {
        font-size: 2rem;
    }

    .event-banner {
        padding: var(--spacing-xl) 0;
    }

    .banner-content-event {
        text-align: center;
    }

    .event-title {
        font-size: 1.6rem;
    }

    .banner-image-event {
        margin-top: var(--spacing-lg);
    }

    .banner-image-event img {
        max-width: 100%;
    }

    .eco-content-wrapper {
        grid-template-columns: 1fr;
    }

    .eco-title {
        font-size: 1.6rem;
    }

    .eco-left {
        text-align: center;
    }

    .eco-right {
        margin-top: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .flash-sale-banner {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }

    .banner-container {
        grid-template-columns: 1fr;
    }

    .sale-title {
        font-size: 1.4rem;
    }

    .sale-subtitle {
        font-size: 0.95rem;
    }

    .discount-showcase {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .discount-item {
        padding: var(--spacing-md);
    }

    .discount-value {
        font-size: 1.8rem;
    }

    .event-banner {
        min-height: auto;
    }

    .event-title {
        font-size: 1.3rem;
    }

    .event-icon-circle {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .eco-title {
        font-size: 1.3rem;
    }

    .eco-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Responsive Category Tabs */
@media (max-width: 768px) {
    .category-tabs {
        gap: 0.5rem;
        margin-bottom: var(--spacing-lg);
        padding: var(--spacing-md) 0;
    }

    .category-tab {
        padding: 0.5rem 0.9rem;
        font-size: 0.8rem;
        gap: 0.4rem;
    }

    .category-tab i {
        font-size: 0.8rem;
    }

    .category-tab.active::after {
        bottom: -6px;
        width: 5px;
        height: 5px;
    }
}

@media (max-width: 480px) {
    .category-tabs {
        gap: 0.3rem;
        padding: var(--spacing-md) 0;
    }

    .category-tab {
        padding: 0.45rem 0.7rem;
        font-size: 0.72rem;
        gap: 0.3rem;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    }

    .category-tab i {
        font-size: 0.75rem;
    }

    .category-tab:hover {
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    }

    .category-tab:hover i {
        transform: scale(1.1);
    }
}

/* Responsive Stats & CTA */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .stat-box {
        padding: var(--spacing-md);
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        gap: var(--spacing-sm);
    }

    .btn {
        font-size: 0.95rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

@media (max-width: 320px) {
    .mobile-menu-content {
        width: 85%;
        max-width: 280px;
    }

    .mobile-search-box {
        margin-top: 65px;
        padding: var(--spacing-md) var(--spacing-sm);
    }

    #mobileSearchInput {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.95rem;
    }

    .close-search-btn,
    .close-menu-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .mobile-nav-link {
        padding: var(--spacing-md) var(--spacing-md);
        font-size: 0.95rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.hidden {
    display: none;
}

.visible {
    display: block;
}