/* styles.css */
/* ===== BASE STYLES ===== */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #f97316;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --success: #22c55e;
    --danger: #ef4444;
    --radius: 12px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: #f8fafc;
    color: var(--dark);
    line-height: 1.6;
    position: relative;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.logo i {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.icon-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.icon-btn:hover {
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: var(--transition);
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-links a {
    text-decoration: none;
    color: var(--dark);
    font-size: 1.1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-links a:hover {
    background: var(--light-gray);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -100px;
    right: -100px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -100px;
    left: -100px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: white;
    color: var(--primary);
    border: 2px solid white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.hero-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
    border: 8px solid rgba(255, 255, 255, 0.2);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== CATEGORIES ===== */
.section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ede9fe;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: var(--primary);
}

.category-name {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== PRODUCTS ===== */
.products {
    background: #f1f5f9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #c7d2fe, #ddd6fe);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-rating {
    color: #f59e0b;
    margin-bottom: 1rem;
    display: flex;
    gap: 2px;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
}

.old-price {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 1rem;
    margin-left: 0.5rem;
}

.add-to-cart {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* ===== SPECIAL OFFER ===== */
.offer {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: white;
    border-radius: var(--radius);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow);
}

.offer-content {
    padding: 3rem;
}

.offer-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.offer-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.offer-code {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.timer {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.timer-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
    backdrop-filter: blur(10px);
}

.timer-value {
    font-size: 2rem;
    font-weight: 700;
}

.timer-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.offer-image {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Enhanced Testimonial Section */
        .testimonials {
            padding: 5rem 2rem;
            background: linear-gradient(135deg, #f8fafc, #f1f5f9);
            position: relative;
            overflow: hidden;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
            z-index: 2;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            color: #0f172a;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #4f46e5, #f97316);
            border-radius: 2px;
        }

        .section-subtitle {
            color: #64748b;
            font-size: 1.2rem;
            max-width: 700px;
            margin: 1rem auto 0;
            line-height: 1.6;
        }

        /* Testimonial Grid */
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .testimonial-card {
            background: white;
            border-radius: 16px;
            padding: 2.5rem 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(226, 232, 240, 0.5);
        }

        .testimonial-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(79, 70, 229, 0.15);
            border-color: rgba(79, 70, 229, 0.2);
        }

        /* Quote Icon */
        .testimonial-card::before {
            content: "";
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 5rem;
            font-family: Georgia, serif;
            color: rgba(79, 70, 229, 0.05);
            line-height: 1;
            z-index: 0;
        }

        /* Rating */
        .testimonial-rating {
            color: #f59e0b;
            margin-bottom: 1.5rem;
            display: flex;
            gap: 4px;
            font-size: 1.2rem;
            position: relative;
            z-index: 2;
        }

        /* Testimonial Text */
        .testimonial-text {
            font-style: italic;
            margin-bottom: 1.8rem;
            position: relative;
            padding-left: 1.5rem;
            line-height: 1.7;
            color: #334155;
            position: relative;
            z-index: 2;
        }

        .testimonial-text::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background: linear-gradient(to bottom, #4f46e5, #7c3aed);
            border-radius: 4px;
        }

        /* Author */
        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1.2rem;
            position: relative;
            z-index: 2;
        }

        .author-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(45deg, #4f46e5, #8b5cf6);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 1.3rem;
            flex-shrink: 0;
        }

        .author-info h4 {
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: 0.2rem;
            color: #0f172a;
        }

        .author-info p {
            color: #64748b;
            font-size: 0.95rem;
        }

        /* Decorative Elements */
        .testimonials::before {
            content: '';
            position: absolute;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.03), rgba(249, 115, 22, 0.03));
            top: -100px;
            right: -100px;
        }

        .testimonials::after {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.03), rgba(79, 70, 229, 0.03));
            bottom: -80px;
            left: -80px;
        }

        /* Navigation Dots */
        .testimonial-dots {
            display: none;
            justify-content: center;
            gap: 10px;
            margin-top: 3rem;
        }

        .testimonial-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #cbd5e1;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .testimonial-dot.active {
            background: #4f46e5;
            transform: scale(1.2);
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .testimonials-grid {
                gap: 2rem;
            }
            
            .testimonial-card {
                padding: 2rem 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .section-title {
                font-size: 2.2rem;
            }
            
            .section-title::after {
                width: 70px;
                height: 3px;
            }
            
            .testimonials-grid {
                grid-template-columns: 1fr;
                max-width: 600px;
            }
            
            .testimonial-card {
                padding: 2rem;
            }
            
            .testimonial-text {
                font-size: 1.05rem;
            }
            
            .testimonials::before,
            .testimonials::after {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .testimonials {
                padding: 4rem 1.5rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .section-subtitle {
                font-size: 1.05rem;
            }
            
            .testimonial-card {
                padding: 1.8rem 1.5rem;
            }
            
            .testimonial-text {
                padding-left: 1rem;
                font-size: 1rem;
            }
            
            .testimonial-text::before {
                width: 3px;
            }
            
            .testimonial-rating {
                font-size: 1.1rem;
            }
            
            .author-avatar {
                width: 50px;
                height: 50px;
                font-size: 1.1rem;
            }
            
            .author-info h4 {
                font-size: 1.1rem;
            }
        }
/* ===== NEWSLETTER ===== */
.newsletter {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    border-radius: var(--radius);
    padding: 4rem 2rem;
    text-align: center;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.newsletter-desc {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.btn-newsletter {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-newsletter:hover {
    background: var(--primary-dark);
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    display: none;
}

.cart-overlay.active {
    display: block;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--dark);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--light-gray);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.remove-item {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
}

.cart-total {
    padding: 1.5rem;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.cart-total p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-btn {
    width: 100%;
    margin-top: 1rem;
}

.empty-cart-message {
    text-align: center;
    padding: 3rem 0;
    color: var(--gray);
}

.empty-cart-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--light-gray);
}

/* Add this to styles.css */
/* ===== TAB NAVIGATION ===== */
.tab-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray);
    transition: var(--transition);
    position: relative;
    flex: 1;
    text-align: center;
}

.tab-btn.active {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.tab-btn:hover:not(.active) {
    color: var(--dark);
    background: rgba(79, 70, 229, 0.03);
}

/* ===== ACTIVE STATE FOR TOP NAV ===== */
.nav-links a.active {
    color: var(--primary);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

/* ===== MOBILE MENU IMPROVEMENTS ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: var(--transition);
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-links a {
    text-decoration: none;
    color: var(--dark);
    font-size: 1.1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-links a:hover {
    background: var(--light-gray);
}

.mobile-menu-links a.active {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

/* ===== TAB ANIMATIONS ===== */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Rest of existing styles... */
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .offer {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 320px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .offer-content {
        padding: 2rem;
    }
    
    .offer-title {
        font-size: 2rem;
    }
    
    .timer {
        flex-wrap: wrap;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Add these responsive styles at the end */
@media (max-width: 768px) {
    /* Consistent mobile header */
    .header-container {
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    /* Mobile menu improvements */
    .mobile-menu {
        width: 100%;
        right: -100%;
    }
    
    .mobile-menu.active {
        right: 0;
    }
    
    /* Tab navigation improvements */
    .tab-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
    
    /* Profile page improvements */
    .profile-container {
        margin: 20px;
        padding: 1.5rem;
    }
    
    .profile-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .profile-actions button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    /* Single column layouts */
    .products-grid, 
    .deals-container, 
    .categories-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Spacing adjustments */
    .page-container {
        padding: 2rem 1rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    /* Cart sidebar full width */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

