/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F46E5;
    --secondary-color: #7C3AED;
    --success-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    --dark: #1F2937;
    --light: #F9FAFB;
    --border: #E5E7EB;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* dropdown for products */

.nav-dropdown {
            position: relative;
            display: inline-block;
        }

        .nav-dropdown-toggle {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            cursor: pointer;
        }

        .nav-dropdown-toggle i {
            font-size: 0.7rem;
            transition: transform 0.3s ease;
        }

        .nav-dropdown:hover .nav-dropdown-toggle i {
            transform: rotate(180deg);
        }

        .nav-dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            min-width: 150px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            border-radius: 8px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1000;
            margin-top: 0.5rem;
        }

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

        .nav-dropdown-menu a {
            display: block;
            padding: 0.75rem 1.25rem;
            color: #333;
            text-decoration: none;
            transition: background 0.2s ease;
            font-size: 0.95rem;
        }

        .nav-dropdown-menu a:first-child {
            border-radius: 8px 8px 0 0;
        }

        .nav-dropdown-menu a:last-child {
            border-radius: 0 0 8px 8px;
        }

        .nav-dropdown-menu a:hover {
            background: #f5f7fa;
            color: #667eea;
        }

/* Header Styles */
#header,
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 1;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.header-content,
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Hamburger Menu */
.hamburger {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1001;
    margin-right: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Sidebar Container and Layout */
.Sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.Sidebar.open { 
    left: 0; 
}

.Sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    font-weight: bold;
    font-size: 1.1rem;
}

.Sidebar-menu {
    list-style: none;
    padding: 1rem 0;
}

.Sidebar-menu a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: #374151;
    text-decoration: none;
    transition: background 0.2s;
}

.Sidebar-menu a:hover { 
    background: #f3f4f6; 
}

.Sidebar-menu a.active {
    color: #667eea;
    background: #f3f4f6;
}

.dropdown-arrow {
    margin-left: auto;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.has-dropdown { 
    position: relative; 
}

.dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fafafa;
    border-top: 1px solid #eee;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.dropdown-menu li a {
    padding: 0.75rem 1.5rem 0.75rem 3rem;
    font-size: 0.95rem;
    color: #555;
    justify-content: flex-start;
}

.has-dropdown.open > .dropdown-menu {
    max-height: 300px;
}

.has-dropdown.open > a .dropdown-arrow {
    transform: rotate(180deg);
}

.Overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.Overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    cursor: pointer;
}

.logo i {
    font-size: 2rem;
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Navigation */
.nav-menu,
.main-nav {
    flex: 1;
}

.nav-menu ul,
.main-nav {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link,
.main-nav a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
}

.nav-link:hover,
.main-nav a:hover {
    opacity: 0.8;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    outline: none;
    transition: var(--transition);
    width: 200px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box input:focus {
    background: rgba(255, 255, 255, 0.3);
    width: 250px;
}

.search-box i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

.icon-btn,
.search-icon,
.wishlist-icon,
.cart-icon-header,
.user-icon {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.icon-btn:hover,
.search-icon:hover,
.wishlist-icon:hover,
.cart-icon-header:hover,
.user-icon:hover {
    transform: scale(1.1);
}

.badge,
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Hero Section Products */
.Hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 1;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.Hero-title,
.Hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s;
}

.Hero-subtitle,
.Hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s 0.2s backwards;
}

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

/* ============================================
   ENHANCED HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #4f46e5 50%, #7c3aed 100%);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* Grid Pattern Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAxMCAwIEwgMCAwIDAgMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgyNTUsMjU1LDI1NSwwLjEpIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=');
    opacity: 0.3;
    z-index: 0;
}

/* Dark Overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

/* Hero Container */
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Badge/Announcement */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    animation: fadeInUp 0.8s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero Title */
.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* CTA Buttons */
.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.btn {
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: white;
    color: #2563eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-stat-item {
    text-align: left;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    display: block;
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s ease 0.3s backwards;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets and below */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 2rem;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-container {
        padding: 3rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        margin-bottom: 3rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 2rem;
        padding-top: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .hero-container {
        padding: 2rem 1rem;
    }
    
    .hero-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding-top: 1.5rem;
        text-align: center;
    }
    
    .hero-stat-item {
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

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

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

.btn-secondary {
    background: var(--border);
    color: var(--dark);
}

.btn-secondary:hover {
    background: #D1D5DB;
}

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

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

/*============================================ */
.categories-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    margin-top: -1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.category-card {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
    color: white;
}

/* Animated background effect */
.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.4s ease;
    transform: scale(0.5);
}

.category-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.category-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.35);
}

/* Category Icon Container */
.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.category-card i {
    font-size: 3rem;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

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

.category-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: white;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.category-count {
    font-size: 0.95rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* Arrow indicator */
.category-arrow {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Alternate gradient colors for each category */
.category-card:nth-child(1) {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.category-card:nth-child(2) {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

.category-card:nth-child(3) {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
}

.category-card:nth-child(4) {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

.category-card:nth-child(5) {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.category-card:nth-child(6) {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.category-card:nth-child(7) {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
}

.category-card:nth-child(8) {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.category-card:nth-child(9) {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

/* Add more for additional categories */
.category-card:nth-child(10) {
    background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%);
}

.category-card:nth-child(11) {
    background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
}

.category-card:nth-child(12) {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .category-card {
        padding: 2rem 1.5rem;
    }
    
    .category-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 1rem;
    }
    
    .category-card i {
        font-size: 2.5rem;
    }
    
    .category-card h3 {
        font-size: 1.2rem;
    }
    
    .category-count {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .category-icon {
        width: 55px;
        height: 55px;
    }
    
    .category-card i {
        font-size: 2rem;
    }
    
    .category-card h3 {
        font-size: 1rem;
    }
}

/* ============================================
   FEATURED PRODUCTS SECTION
   ============================================ */
.products-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-header > div {
    flex: 1;
}

.section-subtitle {
    text-align: left;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Filter Tabs */
.filter-tabs,
.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-btn {
    padding: 0.75rem 1.75rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-btn.active {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.filter-btn:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Featured Products Grid */
.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Featured Product Card */
.featured-card {
    background: white;
    border-radius: 20px;
    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;
    border: 2px solid transparent;
}

.featured-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

/* Badge */
.featured-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-badge.hot {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    animation: pulse 2s infinite;
}

.featured-badge.new {
    background: linear-gradient(135deg, #10b981, #059669);
}

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

/* Wishlist Button */
.featured-wishlist-btn {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-wishlist-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.featured-wishlist-btn i {
    font-size: 20px;
    color: #e91e63;
}

.featured-wishlist-btn.active i {
    color: #e91e63;
    font-weight: 900;
}

/* Featured Image */
.featured-image {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.featured-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Featured Content */
.featured-content {
    padding: 1.5rem;
}

.featured-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3rem;
}

/* Rating */
.featured-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.featured-rating i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-left: 0.5rem;
}

/* Featured Footer */
.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #f3f4f6;
}

.featured-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Cart Button */
.featured-cart-btn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.featured-cart-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.featured-cart-btn i {
    font-size: 1.1rem;
}

/* View All Button */
.featured-view-all {
    text-align: center;
    margin-top: 3rem;
}

.btn-view-all {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.btn-view-all i {
    transition: transform 0.3s ease;
}

.btn-view-all:hover i {
    transform: translateX(5px);
}

/* ============================================
   ENHANCED BRAND SECTION
   ============================================ */
.brand-section {
    padding: 5rem 0;
    background: white;
}

.brand-logo-selection {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(79, 70, 229, 0.03));
    border-radius: 24px;
    text-align: center;
    border: 2px solid rgba(37, 99, 235, 0.1);
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.brand-item {
    display: block;
    text-decoration: none;
}

.brand-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.brand-card:hover {
    border-color: #2563eb;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
}

.brand-logo {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.brand-card:hover .brand-logo {
    opacity: 1;
    filter: grayscale(0%);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .section-subtitle {
        text-align: left;
    }
    
    .filter-tabs {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }
    
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .featured-image {
        height: 180px;
        padding: 1rem;
    }
    
    .featured-content {
        padding: 1rem;
    }
    
    .featured-title {
        font-size: 1rem;
        min-height: auto;
    }
    
    .current-price {
        font-size: 1.25rem;
    }
    
    .featured-cart-btn {
        width: 45px;
        height: 45px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .brand-card {
        padding: 1rem;
        min-height: 80px;
    }
    
    .brand-logo {
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .featured-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.7rem;
    }
    
    .featured-wishlist-btn {
        width: 38px;
        height: 38px;
    }
    
    .featured-image {
        height: 150px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Contact Section */
.contact-section {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;

    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,

.contact-form textarea {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}


/* Product Section 

html,body {
    height: 100%;
    margin: 0;

}

body {

    min-height: 100vh;
    display: flex;
    flex-direction: column;    
}

main{
    flex: 1;
}*/

.product-section {
    max-width: 1400px;
    margin: 0 auto 4rem;
    scroll-margin-top: 150px;
   
}

/* Card Container */
.card-container {
    max-width: 1400px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 1rem;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

/* Wishlist button on card */
.card-wishlist-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.card-wishlist-btn i {
    font-size: 18px;
    color: #e91e63;
    transition: all 0.3s ease;
}

.card-wishlist-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.card-wishlist-btn.in-wishlist i {
    color: #e91e63;
}

.card-wishlist-btn:not(.in-wishlist) i {
    color: #ccc;
}

.card-wishlist-btn.in-wishlist {
    animation: heartBeat 0.3s ease;
}

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

.card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    transition: transform 0.3s;
    display: block;
    overflow: hidden;
    object-fit: contain;
}

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

.card-content {
    padding: 1.5rem;
}

.card-content h5 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cost {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.add-to-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-to-cart:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.add-to-cart:active {
    transform: scale(0.95);
}

/* Product Details Overlay Styles */
.product-details-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.product-details-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.product-details-container {
    background: white;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
}

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

.product-details-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f44336;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    line-height: 1;
}

.product-details-close:hover {
    background: #d32f2f;
    transform: rotate(90deg);
}

.product-details-content {
    display: flex;
    gap: 30px;
    padding: 40px;
}

.product-details-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-details-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-details-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-details-info h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

.product-details-specs {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    flex-grow: 1;
}

.product-details-specs p {
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
}

.product-details-specs p:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: bold;
}

.product-details-price-section {
    border-top: 2px solid #e0e0e0;
    padding-top: 20px;
}

.product-details-price {
    font-size: 32px;
    font-weight: bold;
    color: #6366f1;
    margin-bottom: 20px;
}

.product-details-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-details-add-cart,
.product-details-wishlist,
.product-details-whatsapp {
    flex: 1;
    min-width: 150px;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.product-details-add-cart {
    background: #6366f1;
    color: white;
}

.product-details-add-cart:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.product-details-wishlist {
    background: #fff;
    color: #e91e63;
    border: 2px solid #e91e63;
}

.product-details-wishlist:hover {
    background: #e91e63;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

.product-details-wishlist.in-wishlist {
    background: #e91e63;
    color: white;
}

.product-details-whatsapp {
    background: #25D366;
    color: white;
}

.product-details-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.product-details-add-cart i,
.product-details-wishlist i,
.product-details-whatsapp i {
    font-size: 18px;
}

/* Features Section */
.features-section {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #6B7280;
}

/* Cart Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    position: relative;        
}

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

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
}

.footer-col p {
    color: #9CA3AF;
    line-height: 1.8;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #9CA3AF;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
}

/* MOBILE RESPONSIVE STYLES */
@media (max-width: 768px) {
    /* Header adjustments */
    .header-content,
    .header-container {
        padding: 0 0.5rem;
        gap: 0.5rem;
    }
    
    .logo {
        padding-left: 0;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .search-box {
        display: none;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero-title,
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle,
    .hero-content p {
        font-size: 0.95rem;
    }
    
    /* Brand logos */
    .brand-logo-selection {
        padding: 1rem 0;
        margin-bottom: 1.5rem;
    }
    
    .brand-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .logo-grid {
        gap: 1.5rem;
    }
    
    .brand-logo {
        max-width: 60px;
    }
    
    /* Product cards - FORCE 2 COLUMNS */
    .card-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
        padding: 1rem 0.5rem;
    }
    
    .card {
        width: 100%;
        min-width: 0;
    }
    
    .card-wishlist-btn {
        width: 32px;
        height: 32px;
        top: 0.5rem;
        left: 0.5rem;
    }
    
    .card-wishlist-btn i {
        font-size: 14px;
    }
    
    .card-badge {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .card img {
        height: 180px;
    }
    
    .card-content {
        padding: 0.75rem;
    }
    
    .card-content h5 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .card-content p {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
    }
    
    .card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .cost {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .add-to-cart {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Product details overlay mobile */
    .product-details-container {
        max-width: 95%;
        margin: 10px auto;
    }
    
    .product-details-content {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .product-details-image {
        margin-bottom: 10px;
    }
    
    .product-details-info h2 {
        font-size: 24px;
        margin-top: 0;
    }
    
    .product-details-price {
        font-size: 26px;
    }
    
    .product-details-buttons {
        flex-direction: column;
    }
    
    .product-details-add-cart,
    .product-details-wishlist,
    .product-details-whatsapp {
        width: 100%;
        min-width: auto;
    }
    
    /* Sidebar full width on mobile */
    .sidebar {
        width: 100%;
        right: -100%;
    }
    
    /* Categories */
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    /* Section title */
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Filter buttons scrollable */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .filter-buttons {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    /* Force 2 columns on smallest screens */
    .card-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
        padding: 0.75rem 0.25rem;
    }
    
    .card-wishlist-btn {
        width: 28px;
        height: 28px;
        top: 0.4rem;
        left: 0.4rem;
    }
    
    .card-wishlist-btn i {
        font-size: 12px;
    }
    
    .card-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }
    
    .card img {
        height: 150px;
    }
    
    .card-content {
        padding: 0.5rem;
    }
    
    .card-content h5 {
        font-size: 0.85rem;
    }
    
    .card-content p {
        font-size: 0.7rem;
        -webkit-line-clamp: 2;
    }
    
    .cost {
        font-size: 1rem;
    }
    
    .add-to-cart {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .add-to-cart i {
        font-size: 0.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
}

/* Cart Items Styling */
.cart-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

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

.cart-item-details h4 {
    font-size: 14px;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.cart-item-price {
    color: #007bff;
    font-weight: bold;
    margin: 5px 0;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.cart-item-quantity button {
    width: 25px;
    height: 25px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cart-item-quantity button:hover {
    background: #f0f0f0;
}

.cart-item-remove {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.cart-item-remove:hover {
    background: #c82333;
}

.empty-cart-message {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

/*.sidebar.active {
    right: 0;
}