/* Global Styles */
:root {
    /* Colors */
    --primary-color: #ff4757;
    --primary-rgb: 255, 71, 87; /* RGB values for primary color */
    --secondary-color: #1e90ff;
    --dark-color: #2f3542;
    --light-color: #f1f2f6;
    --success-color: #2ed573;
    --warning-color: #ffa502;
    --danger-color: #ff4757;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --border-color: #ddd;
    --bg-light: #f8f9fa;
    --bg-white: #fff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Layout */
    --max-width: 1200px;
    --container-padding: 1rem;
    --header-height: 4rem;
    --footer-padding: 3rem;
    
    /* Font sizes */
    --font-xs: 0.75rem;   /* 12px */
    --font-sm: 0.875rem;  /* 14px */
    --font-base: 1rem;    /* 16px */
    --font-md: 1.125rem;  /* 18px */
    --font-lg: 1.25rem;   /* 20px */
    --font-xl: 1.5rem;    /* 24px */
    --font-2xl: 1.75rem;  /* 28px */
    --font-3xl: 2rem;     /* 32px */
    --font-4xl: 2.5rem;   /* 40px */
    
    /* Spacing */
    --space-xs: 0.25rem;  /* 4px */
    --space-sm: 0.5rem;   /* 8px */
    --space-md: 1rem;     /* 16px */
    --space-lg: 1.5rem;   /* 24px */
    --space-xl: 2rem;     /* 32px */
    --space-2xl: 3rem;    /* 48px */
    --space-3xl: 4rem;    /* 64px */
    
    /* Border radius */
    --radius-sm: 0.25rem;  /* 4px */
    --radius-md: 0.5rem;   /* 8px */
    --radius-lg: 1rem;     /* 16px */
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index layers */
    --z-base: 1;
    --z-header: 100;
    --z-dropdown: 200;
    --z-modal: 300;
    --z-toast: 400;
}

/* Responsive variables */
@media (max-width: 992px) {
    :root {
        --container-padding: 0.75rem;
        --header-height: 3.5rem;
        --footer-padding: 2.5rem;
        --font-4xl: 2.25rem;
        --font-3xl: 1.75rem;
        --space-2xl: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 0.5rem;
        --header-height: 3rem;
        --footer-padding: 2rem;
        --font-4xl: 2rem;
        --font-3xl: 1.5rem;
        --font-2xl: 1.25rem;
        --space-2xl: 2rem;
        --space-xl: 1.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 0.5rem;
        --header-height: 2.75rem;
        --footer-padding: 1.5rem;
        --font-4xl: 1.75rem;
        --font-3xl: 1.5rem;
        --font-2xl: 1.25rem;
        --font-xl: 1.125rem;
        --space-2xl: 1.75rem;
        --space-xl: 1.25rem;
        --space-lg: 1rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
    padding-top: 70px; /* Add padding to account for fixed header */
}

body.dark-mode {
    background-color: #121212;
    color: #f1f1f1;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: var(--space-sm) var(--space-md);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: var(--font-base);
    transition: all 0.3s ease;
}

.btn:hover {
    background: #ff2e43;
    transform: translateY(-2px);
}

.btn-small {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-sm);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--dark-color);
    position: relative;
    padding-bottom: var(--space-md);
    font-size: var(--font-2xl);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-color);
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.1);
    position: fixed; /* Fixed at the top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Higher z-index to stay on top */
}

body.dark-mode header {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-md);
    position: relative;
    flex-wrap: wrap;
}

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}

@media (max-width: 992px) {
    nav {
        position: relative;
        left: 0;
        transform: none;
        width: 100%;
        order: 3;
        margin-top: var(--space-sm);
    }
}

.logo {
    margin-right: 30px; /* Add space between logo and nav */
    z-index: 10; /* Ensure logo stays above other elements */
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.logo h1 {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: var(--font-xl);
    }
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: 500;
    padding: var(--space-sm) var(--space-xs);
    transition: all 0.3s ease;
    position: relative;
    font-size: var(--font-base);
}

@media (max-width: 768px) {
    nav ul {
        justify-content: space-between;
        width: 100%;
    }
    
    nav ul li {
        margin-left: 0;
    }
    
    nav ul li a {
        padding: var(--space-xs) var(--space-xs);
        font-size: var(--font-sm);
    }
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

.cart a, .wishlist-nav a {
    position: relative;
    font-size: var(--font-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    .cart a, .wishlist-nav a {
        font-size: var(--font-base);
    }
}

.cart a:hover, .wishlist-nav a:hover,
.cart a.active, .wishlist-nav a.active {
    color: var(--primary-color);
}

/* User Auth Links */
.user-auth {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.auth-link {
    display: flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    font-weight: 500;
    font-size: var(--font-sm);
    transition: all 0.3s ease;
    color: var(--dark-color);
    text-decoration: none;
}

@media (max-width: 768px) {
    .user-auth {
        margin-right: 0;
    }
    
    .auth-link {
        padding: var(--space-xs) var(--space-xs);
        font-size: var(--font-xs);
    }
}

.auth-link i {
    margin-right: 5px;
}

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

.auth-link.register {
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    margin-left: 10px;
    padding: 8px 15px;
}

.auth-link.register:hover {
    background-color: #ff2e43;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(var(--primary-rgb), 0.3);
}

body.dark-mode .auth-link {
    color: #f1f1f1;
}

body.dark-mode .auth-link:hover {
    color: var(--primary-color);
}

.cart a span, .wishlist-nav a span {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background-color: var(--primary-color);
    color: white;
    font-size: var(--font-xs);
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

@media (max-width: 480px) {
    .cart a span, .wishlist-nav a span {
        top: -0.375rem;
        right: -0.375rem;
        width: 1rem;
        height: 1rem;
        font-size: 0.625rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.85), rgba(180, 9, 20, 0.8) 40%, rgba(90, 0, 10, 0.9)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

@media (max-width: 992px) {
    .hero {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
}

body.dark-mode .hero {
    background: linear-gradient(135deg, rgba(180, 9, 20, 0.9), rgba(120, 9, 15, 0.9) 40%, rgba(60, 0, 8, 0.95)), url('images/hero-bg.jpg');
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: var(--font-4xl);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

@media (max-width: 992px) {
    .hero-content h2 {
        font-size: var(--font-3xl);
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: var(--font-2xl);
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: var(--font-xl);
    }
}

.hero-content p {
    font-size: var(--font-md);
    margin-bottom: var(--space-xl);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-content p {
        font-size: var(--font-base);
        margin-bottom: var(--space-lg);
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .hero-content p {
        font-size: var(--font-sm);
        margin-bottom: var(--space-md);
        max-width: 100%;
    }
}

/* Featured Categories */
.featured-categories {
    padding: var(--space-2xl) 0;
}

@media (max-width: 768px) {
    .featured-categories {
        padding: var(--space-xl) 0;
    }
}

@media (max-width: 480px) {
    .featured-categories {
        padding: var(--space-lg) 0;
    }
}

.categories-slider,
.products-slider {
    padding: var(--space-md) 0 var(--space-2xl);
    position: relative;
}

@media (max-width: 768px) {
    .categories-slider,
    .products-slider {
        padding: var(--space-md) 0 var(--space-xl);
    }
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.category {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 300px;
}

body.dark-mode .category {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.category-img {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.category img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hotstar-img {
    object-position: bottom; /* or adjust as needed */
}

.hotstar-products-img {
    object-position: 50% 50%;
}

.category:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category:hover .category-overlay {
    opacity: 1;
}

.category-info {
    padding: 15px;
    text-align: center;
}

.category-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

body.dark-mode .category-info h3 {
    color: #f1f1f1;
}

.category-info p {
    color: #666;
    font-size: 14px;
}

body.dark-mode .category-info p {
    color: #aaa;
}

/* Intro Section */
.intro-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.intro-section.compact {
    padding: 30px 0;
}

body.dark-mode .intro-section {
    background-color: #1a1a1a;
}

.benefits {
    padding: var(--space-2xl) 0;
    background-color: #f9f9f9;
}

@media (max-width: 768px) {
    .benefits {
        padding: var(--space-xl) 0;
    }
}

@media (max-width: 480px) {
    .benefits {
        padding: var(--space-lg) 0;
    }
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        gap: var(--space-md);
        margin-top: var(--space-lg);
    }
}

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

.benefit-item {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(233, 43, 43, 0.85), rgba(233, 41, 41, 0.943));
    color: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: var(--space-md);
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.benefit-item i {
    font-size: 18px;
    margin-right: 10px;
}

.benefit-item span {
    font-weight: 600;
    font-size: 15px;
}

body.dark-mode .benefit-item {
    background: linear-gradient(135deg, rgba(180, 9, 20, 0.9), rgba(90, 0, 10, 0.9));
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.benefit-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

body.dark-mode .benefit-card {
    background-color: #2a2a2a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

body.dark-mode .benefit-card p {
    color: #aaa;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

body.dark-mode .section-subtitle {
    color: #aaa;
}

/* Category Themes */
.netflix-theme {
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(to right, #E50914, #B20710) border-box;
}

.netflix-theme:hover {
    box-shadow: 0 10px 25px rgba(229, 9, 20, 0.15);
}

.netflix-theme .category-label {
    background-color: rgba(229, 9, 20, 0.8);
}

.prime-theme {
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(to right, #00A8E1, #0066B2) border-box;
}

.prime-theme:hover {
    box-shadow: 0 10px 25px rgba(0, 168, 225, 0.15);
}

.prime-theme .category-label {
    background-color: rgba(0, 168, 225, 0.8);
}

.hotstar-theme {
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(to right, #1F80E0, #8B3DFF) border-box;
}

.hotstar-theme:hover {
    box-shadow: 0 10px 25px rgba(31, 128, 224, 0.15);
}

.hotstar-theme .category-label {
    background-color: rgba(31, 128, 224, 0.8);
}

.youtube-theme {
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(to right, #FF0000, #CC0000) border-box;
}

.youtube-theme:hover {
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.15);
}

.youtube-theme .category-label {
    background-color: rgba(255, 0, 0, 0.8);
}

/* Category Label */
.category-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category:hover .category-label {
    padding-bottom: 15px;
}

/* Category CTA */
.category-cta {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.category-cta i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.category-cta:hover {
    color: var(--secondary-color);
}

.category-cta:hover i {
    transform: translateX(3px);
}

/* Enhanced Category Styling */
.category {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

body.dark-mode .category {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.category:hover {
    transform: translateY(-10px);
}

.category-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category:hover .category-overlay {
    opacity: 1;
}

.category-info {
    padding: 20px;
    text-align: center;
}

.category-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--dark-color);
}

body.dark-mode .category-info h3 {
    color: #f1f1f1;
}

.category-info p {
    color: #666;
    font-size: 15px;
    margin-bottom: 10px;
}

body.dark-mode .category-info p {
    color: #aaa;
}

/* Featured Products */
.featured-products {
    padding: 60px 0;
    background-color: #f8f9fa;
}

body.dark-mode .featured-products {
    background-color: #1a1a1a;
}

.product {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 0.1875rem 0.625rem var(--shadow-color);
    transition: var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (max-width: 768px) {
    .product {
        border-radius: var(--radius-sm);
    }
}

@media (max-width: 480px) {
    .product {
        margin-bottom: var(--space-sm);
    }
}

body.dark-mode .product {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.product:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--success-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.wishlist-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8);
    color: #ccc;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.wishlist-icon:hover {
    color: var(--danger-color);
    transform: scale(1.1);
}

.wishlist-icon.active {
    color: var(--danger-color);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

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

.overlay-content {
    text-align: center;
    padding: 15px;
    width: 85%;
    max-width: 280px;
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.product:hover .overlay-content {
    transform: translateY(-5px);
}

.overlay-content p {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 15px;
    letter-spacing: 0.3px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
}

.view-details-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #333;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.view-details-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Mobile optimizations for overlay */
@media screen and (max-width: 768px) {
    .overlay-content {
        padding: 12px;
        width: 90%;
        max-width: 250px;
    }
    
    .overlay-content p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .view-details-btn {
        padding: 7px 12px;
        font-size: 14px;
    }
    
    /* Mobile touch behavior for best selling products */
    .best-selling .product-overlay {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .best-selling .product.active .product-overlay {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .overlay-content {
        padding: 10px;
        width: 92%;
        max-width: 220px;
    }
    
    .overlay-content p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .view-details-btn {
        padding: 6px 10px;
        font-size: 13px;
        margin-top: 8px;
    }
    
    /* Enhanced mobile popup for best selling products */
    .best-selling .product-overlay {
        background: rgba(0, 0, 0, 0.85);
    }
    
    .best-selling .overlay-content {
        animation: popup-appear 0.3s ease-out;
    }
    
    @keyframes popup-appear {
        0% { transform: scale(0.8); opacity: 0; }
        100% { transform: scale(1); opacity: 1; }
    }
}

/* Highlight effect for products when selected from View Details */
@keyframes highlight-pulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(var(--primary-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}

.highlight-product {
    animation: highlight-pulse 1.5s ease-in-out infinite;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transform: scale(1.02);
    transition: all 0.3s ease;
    z-index: 10;
}

.product-info {
    padding: var(--space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .product-info {
        padding: var(--space-sm);
    }
}

.product-info h3 {
    font-size: var(--font-md);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .product-info h3 {
        font-size: var(--font-base);
    }
}

@media (max-width: 480px) {
    .product-info h3 {
        font-size: var(--font-sm);
    }
}

.product-info p {
    color: #666;
    font-size: var(--font-sm);
    margin-bottom: var(--space-sm);
}

@media (max-width: 480px) {
    .product-info p {
        font-size: var(--font-xs);
    }
}

body.dark-mode .product-info p {
    color: #aaa;
}

.rating {
    margin-bottom: 10px;
    color: #ffa502;
}

.price {
    margin-bottom: var(--space-sm);
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
}

@media (max-width: 480px) {
    .price {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.125rem;
    }
}

.price .original {
    text-decoration: line-through;
    color: #999;
    font-size: var(--font-sm);
}

@media (max-width: 480px) {
    .price .original {
        font-size: var(--font-xs);
    }
}

.price .discounted {
    color: var(--primary-color);
    font-size: var(--font-md);
    font-weight: 700;
}

@media (max-width: 768px) {
    .price .discounted {
        font-size: var(--font-base);
    }
}

@media (max-width: 480px) {
    .price .discounted {
        font-size: var(--font-sm);
    }
}

.duration {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

body.dark-mode .duration {
    color: #aaa;
}

.product-features {
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

body.dark-mode .product-features {
    color: #aaa;
}

.product-features ul {
    list-style: none;
    padding-left: 0;
}

.product-features li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

.product-features li:before {
    content: '✓';
    color: var(--success-color);
    position: absolute;
    left: 0;
}

.show-more {
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
    display: inline-block;
}

.show-more:hover {
    text-decoration: underline;
}

.add-to-cart-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: auto;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.add-to-cart-btn i {
    margin-right: 8px;
}

.add-to-cart-btn:hover {
    background: #ff2e43;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .add-to-cart-btn {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

body.dark-mode .add-to-cart-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

body.dark-mode .add-to-cart-btn i {
    color: #fff;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: var(--space-sm);
    gap: var(--space-xs);
}

@media (max-width: 480px) {
    .product-actions {
        flex-direction: column;
        gap: var(--space-xs);
    }
}

/* Swiper Adjustments */
.swiper-slide {
    height: auto; /* Allow slides to size based on content */
    padding: 10px; /* Add padding around each slide */
}

.swiper-container {
    padding: 10px 0 50px; /* Add padding to container */
    margin: 0 -10px; /* Compensate for slide padding */
}

.swiper-button-next, 
.swiper-button-prev {
    top: 45%;
}

/* Responsive Swiper */
@media (max-width: 1200px) {
    .swiper-container {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .categories-slider .swiper-slide,
    .products-slider .swiper-slide {
        width: 33.33%;
    }
}

@media (max-width: 768px) {
    .categories-slider .swiper-slide,
    .products-slider .swiper-slide {
        width: 50%;
    }
    
    .product-img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .categories-slider .swiper-slide,
    .products-slider .swiper-slide {
        width: 100%;
    }
    
    .product-img {
        height: 200px;
    }
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonial {
    min-width: 300px;
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 14px;
    color: #777;
}

.testimonial-form-group {
    margin-bottom: var(--space-md);
}

@media (max-width: 480px) {
    .testimonial-form-group {
        margin-bottom: var(--space-sm);
    }
}

/* Newsletter */
.newsletter {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

body.dark-mode .newsletter {
    background-color: #1a1a1a;
}

.newsletter h2 {
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

#newsletter-form input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: var(--font-base);
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    #newsletter-form input {
        padding: var(--space-xs) var(--space-sm);
        font-size: var(--font-sm);
    }
}

#newsletter-form button {
    padding: 12px 20px;
    font-weight: 600;
    min-width: 80px;
}

#newsletter-form input:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: var(--space-2xl) 0 var(--space-md);
}

@media (max-width: 768px) {
    footer {
        padding: var(--space-xl) 0 var(--space-md);
    }
}

@media (max-width: 480px) {
    footer {
        padding: var(--space-lg) 0 var(--space-sm);
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column h3 {
    font-size: var(--font-md);
    margin-bottom: var(--space-md);
    color: #fff;
    position: relative;
    padding-bottom: var(--space-sm);
}

@media (max-width: 480px) {
    .footer-column h3 {
        font-size: var(--font-base);
        margin-bottom: var(--space-sm);
    }
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-column p {
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

@media (max-width: 480px) {
    .footer-links li {
        margin-bottom: var(--space-xs);
    }
}

.footer-links a {
    color: #bbb;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .social-links {
        gap: var(--space-xs);
        margin-top: var(--space-sm);
    }
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #bbb;
    font-size: 14px;
}

.footer-bottom a {
    color: var(--primary-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.85), rgba(180, 9, 20, 0.8) 40%, rgba(90, 0, 10, 0.9)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.contact-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: float 6s ease-in-out infinite;
}

.contact-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.contact-shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

body.dark-mode .page-header {
    background: linear-gradient(135deg, rgba(180, 9, 20, 0.9), rgba(120, 9, 15, 0.9) 40%, rgba(60, 0, 8, 0.95)), url('images/hero-bg.jpg');
}

.page-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

/* Product Filters */
.product-filters {
    background: #fff;
    padding: 20px;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

@media (min-width: 769px) {
    .filter-group {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: relative;
        transition: all 0.3s ease;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.07);
    }
    
    .filter-group:last-child {
        border-bottom: none;
        margin-bottom: 5px;
        padding-bottom: 5px;
    }
    
    .filter-group:hover {
        transform: translateY(-2px);
    }
    
    .filter-label {
        margin-bottom: 10px;
        font-weight: 600;
        font-size: 14px;
        color: #555;
        display: flex;
        align-items: center;
        transition: color 0.3s ease;
    }
    
    .filter-label::before {
        content: '';
        display: inline-block;
        width: 4px;
        height: 4px;
        background-color: #ff4757;
        border-radius: 50%;
        margin-right: 8px;
        opacity: 0.8;
    }
    
    .filter-group:hover .filter-label {
        color: #ff4757;
    }
    
    body.dark-mode .filter-label {
        color: #e0e0e0;
    }
}

@media (min-width: 769px) {
    .filter-select {
        padding: 12px 15px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background-color: #f9f9f9;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 16px;
        padding-right: 40px;
        font-weight: 500;
        color: #444;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        width: 100%;
    }
    
    .filter-select:hover {
        border-color: #ff4757;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    }
    
    .filter-select:focus {
        outline: none;
        border-color: #ff4757;
        box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
    }
    
    body.dark-mode .filter-select {
        background-color: #333;
        border-color: #444;
        color: #e0e0e0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e0e0e0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }
    
    body.dark-mode .filter-select:hover {
        border-color: #ff4757;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    }
}

/* Products List */
.products-list {
    padding: 10px 0 60px;
}

@media (min-width: 769px) {
    .products-list {
        margin-left: 310px; /* Space for the filter sidebar */
        padding-top: 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .quick-nav {
        margin-left: 310px; /* Match products-list margin */
        width: calc(100% - 310px);
    }
}

.category-title {
    margin: 40px 0 20px;
    padding-left: 10px;
    border-left: 4px solid var(--primary-color);
}

/* Products Grid Layout */
.products {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Sticky Filter Bar */
.filter-section {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 70px;
    z-index: 90;
    transition: all 0.3s ease;
}

body.dark-mode .filter-section {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-color);
}

.filter-select {
    padding: 8px 12px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-top: 70px; /* Add padding to account for fixed header */
}

.filter-select:hover {
    border-color: var(--primary-color);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.2);
}

#filter-button {
    margin-left: auto;
}

@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    #filter-button {
        width: 100%;
        margin-top: 10px;
    }
}

/* Cart Page */
.cart-section {
    padding: 60px 0;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-bottom: 30px;
}

.cart-container {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
    .cart-container {
        border-radius: var(--radius-sm);
        margin-bottom: var(--space-md);
    }
}

.cart-header {
    background: #f8f9fa;
    padding: var(--space-md);
    font-weight: 700;
    font-size: var(--font-base);
}

@media (max-width: 768px) {
    .cart-header {
        padding: var(--space-sm);
        font-size: var(--font-sm);
    }
}

.cart-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
    align-items: center;
    padding: var(--space-md);
    gap: var(--space-sm);
}

@media (max-width: 992px) {
    .cart-row {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .cart-row {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        padding: var(--space-sm);
        gap: var(--space-xs);
        font-size: var(--font-sm);
    }
}

@media (max-width: 480px) {
    .cart-row {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        text-align: center;
        gap: var(--space-xs);
        padding: var(--space-sm) var(--space-xs);
        border-bottom: 1px solid #eee;
    }
    
    .cart-header {
        display: none;
    }
}

.cart-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

@media (max-width: 480px) {
    .cart-item {
        flex-direction: column;
        margin-bottom: var(--space-sm);
    }
}

.cart-item img {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
    .cart-item img {
        width: 4rem;
        height: 4rem;
    }
}

@media (max-width: 480px) {
    .cart-item img {
        width: 6rem;
        height: 6rem;
        margin-bottom: var(--space-xs);
    }
}

.cart-item-details h3 {
    font-size: var(--font-base);
    margin-bottom: var(--space-xs);
}

@media (max-width: 768px) {
    .cart-item-details h3 {
        font-size: var(--font-sm);
    }
}

@media (max-width: 480px) {
    .cart-item-details {
        text-align: center;
        width: 100%;
    }
}

.cart-item-details p {
    font-size: var(--font-sm);
    color: #666;
}

@media (max-width: 480px) {
    .cart-item-details p {
        font-size: var(--font-xs);
    }
}

.cart-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 5px 10px;
    background: #f9f9f9;
    width: 100px;
    justify-content: space-between;
}

.quantity-control button {
    background: transparent;
    border: none;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: var(--font-base);
    font-weight: bold;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

@media (max-width: 480px) {
    .quantity-control button {
        width: 2rem;
        height: 2rem;
    }
}

.quantity-control button:hover {
    background: #eee;
    color: var(--primary-color);
}

.quantity-control input {
    width: 2rem;
    text-align: center;
    border: none;
    background: transparent;
    font-size: var(--font-sm);
    font-weight: 600;
}

@media (max-width: 480px) {
    .quantity-control input {
        width: 2.5rem;
        font-size: var(--font-base);
    }
}

.cart-remove button {
    background: transparent;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    font-size: var(--font-md);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

@media (max-width: 480px) {
    .cart-remove {
        margin: var(--space-xs) auto;
    }
    
    .cart-remove button {
        width: 2.5rem;
        height: 2.5rem;
        font-size: var(--font-lg);
    }
}

.cart-remove button:hover {
    background: rgba(255, 71, 87, 0.1);
    transform: scale(1.1);
}

.cart-sidebar {
    align-self: flex-start;
}

.order-summary {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: sticky;
    top: 100px;
}

.order-summary h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.summary-row.subtotal {
    font-weight: 500;
}

.summary-row.discount {
    color: #777;
}

.summary-row.discount span:last-child {
    color: #28a745;
}

.summary-row.tax {
    color: #e67e22;
    font-weight: 500;
}

.summary-row.total {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
    border-bottom: none;
    margin-bottom: 25px;
}

.promo-code-sidebar {
    margin-bottom: 25px;
}

.promo-form {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.promo-form input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: var(--font-base);
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .promo-form input {
        padding: var(--space-xs) var(--space-sm);
        font-size: var(--font-sm);
    }
}

.promo-form button {
    padding: 12px 20px;
    font-weight: 600;
    min-width: 80px;
}

#promo-message,
#sidebar-promo-message {
    font-size: var(--font-sm);
    margin-top: var(--space-sm);
}

@media (max-width: 480px) {
    #promo-message,
    #sidebar-promo-message {
        font-size: var(--font-xs);
    }
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

@media (max-width: 768px) {
    .cart-actions {
        gap: var(--space-sm);
    }
}

.checkout-btn {
    padding: var(--space-sm) var(--space-md);
    font-weight: 600;
    font-size: var(--font-base);
}

@media (max-width: 480px) {
    .checkout-btn {
        padding: var(--space-sm) var(--space-sm);
        font-size: var(--font-sm);
        width: 100%;
    }
}

.continue-btn {
    text-align: center;
}

.mobile-cart-summary {
    display: none;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.1);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
    .mobile-cart-summary {
        padding: var(--space-sm);
        margin-bottom: var(--space-md);
        border-radius: var(--radius-sm);
    }
}

.promo-code {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.1);
    padding: var(--space-md);
}

@media (max-width: 768px) {
    .promo-code {
        padding: var(--space-sm);
        border-radius: var(--radius-sm);
    }
}

.promo-code h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

/* Responsive Design for Cart Page */
@media (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        display: none;
    }
    
    .mobile-cart-summary {
        display: block;
    }
}

@media (max-width: 768px) {
    .cart-row {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .cart-header .cart-price,
    .cart-header .cart-remove,
    .cart-price,
    .cart-remove {
        display: none;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .cart-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cart-actions a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .cart-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }
    
    .cart-header {
        display: none;
    }
    
    .cart-item {
        align-items: center;
    }
    
    .cart-quantity,
    .cart-total {
        justify-content: center;
    }
    
    .cart-remove {
        display: flex;
        justify-content: center;
    }
    
    .mobile-cart-summary .cart-summary {
        margin-bottom: 20px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        margin-top: 15px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .section-title {
        font-size: 24px;
    }

    #newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    #newsletter-form input,
    #newsletter-form button {
        width: 100%;
        border-radius: 5px;
    }
}

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

    .hero-content h2 {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    #newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    #newsletter-form input,
    #newsletter-form button {
        width: 100%;
        border-radius: 5px;
    }
}

/* Intro Content for Products Page */
.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

body.dark-mode .intro-text {
    color: #aaa;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

@media (min-width: 769px) {
    .filter-section.desktop-filter {
        margin-bottom: 30px;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        position: sticky;
        top: 80px; /* Position below header */
        z-index: 10; /* Lower than header */
        float: left;
        width: 280px;
        margin-right: 30px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        scrollbar-width: thin;
    }
    
    .filter-section.desktop-filter::-webkit-scrollbar {
        width: 4px;
    }
    
    .filter-section.desktop-filter::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .filter-section.desktop-filter::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 10px;
    }
    
    .filter-section.desktop-filter::-webkit-scrollbar-thumb:hover {
        background: #a1a1a1;
    }
    
    .filter-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 25px;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 8px rgba(0, 0, 0, 0.03);
        position: relative;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .filter-container h3 {
        font-size: 18px;
        margin: 0 0 15px 0;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
        color: #333;
        font-weight: 600;
        text-align: center;
    }
    
    body.dark-mode .filter-container h3 {
        color: #e0e0e0;
        border-bottom: 1px solid #3a3a3a;
    }
    
    .filter-container:hover {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07), 0 5px 15px rgba(0, 0, 0, 0.05);
        transform: translateY(-2px);
    }
    
    .filter-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #ff4757, #ff6b81);
    }
    
    body.dark-mode .filter-container {
        background-color: #2a2a2a;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 1px 8px rgba(0, 0, 0, 0.1);
        border: 1px solid #3a3a3a;
    }
}

.badge {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

body.dark-mode .badge {
    background-color: #1e1e1e;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.badge i {
    color: var(--success-color);
    font-size: 20px;
    margin-right: 10px;
}

.badge span {
    font-weight: 600;
    color: var(--dark-color);
}

body.dark-mode .badge span {
    color: #f1f1f1;
}

/* Product Themes */
.product.netflix-theme {
    border-top: 4px solid #E50914;
}

.product.prime-theme {
    border-top: 4px solid #00A8E1;
}

.product.hotstar-theme {
    border-top: 4px solid #1F80E0;
}

.product.youtube-theme {
    border-top: 4px solid #FF0000;
}

/* Footer */
.footer {
    background-color: #2f3542;
    color: #fff;
    padding: 60px 0 30px;
}

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

@media (max-width: 480px) {
    .footer {
        padding: 25px 0 15px;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        gap: 25px;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 15px;
        margin-bottom: 15px;
    }
}

.footer-column h3 {
    font-size: var(--font-md);
    margin-bottom: var(--space-md);
    color: #fff;
    position: relative;
    padding-bottom: var(--space-sm);
}

@media (max-width: 480px) {
    .footer-column h3 {
        font-size: var(--font-base);
        margin-bottom: var(--space-sm);
    }
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-column p {
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

@media (max-width: 480px) {
    .footer-links li {
        margin-bottom: var(--space-xs);
    }
}

.footer-links a {
    color: #bbb;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .social-links {
        gap: var(--space-xs);
        margin-top: var(--space-sm);
    }
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #bbb;
    font-size: 14px;
}

.footer-bottom a {
    color: var(--primary-color);
}

/* Improved Spacing */
.section {
    margin-bottom: 60px;
}

.mb-8 {
    margin-bottom: 40px;
}

/* Dark mode toggle removed */

body.dark-mode .dark-mode-toggle {
    background-color: #f1f1f1;
    color: #121212;
}

.dark-mode-toggle:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.dark-mode-toggle i {
    font-size: 24px;
}

/* Ensure dark mode toggle is visible on mobile and positioned correctly */
@media (max-width: 768px) {
    .dark-mode-toggle {
        bottom: 80px; /* Keep above the ticker */
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .dark-mode-toggle i {
        font-size: 20px;
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Transition for smooth dark mode toggle */
body, header, .category, .product, .benefit-card, 
.filter-section, .filter-select, .badge, .intro-section,
input, textarea, select, .cart-summary, .quantity-control,
.message-container, button, a, .dark-mode-toggle {
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Comprehensive Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #f1f1f1;
}

/* Header & Navigation */
body.dark-mode header {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode nav ul li a {
    color: #e1e1e1;
}

body.dark-mode nav ul li a::after {
    background: var(--primary-color);
}

body.dark-mode .cart a {
    color: #e1f1f1;
}

/* Hero Section */
body.dark-mode .hero {
    background: linear-gradient(135deg, rgba(180, 9, 20, 0.9), rgba(120, 9, 15, 0.9) 40%, rgba(60, 0, 8, 0.95)), url('images/hero-bg.jpg');
}

/* Buttons */
body.dark-mode .btn {
    background: var(--primary-color);
    color: #fff;
}

body.dark-mode .btn-outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

body.dark-mode .btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Sections */
body.dark-mode .section-title {
    color: #f1f1f1;
}

body.dark-mode .section-title::after {
    background: var(--primary-color);
}

body.dark-mode .section-subtitle,
body.dark-mode .intro-text {
    color: #aaa;
}

body.dark-mode .page-header {
    background: linear-gradient(135deg, rgba(180, 9, 20, 0.9), rgba(120, 9, 15, 0.9) 40%, rgba(60, 0, 8, 0.95)), url('images/hero-bg.jpg');
}

body.dark-mode .intro-section,
body.dark-mode .featured-products,
body.dark-mode .testimonials,
body.dark-mode .newsletter {
    background-color: #1a1a1a;
}

/* Cards & Containers */
body.dark-mode .category,
body.dark-mode .product,
body.dark-mode .benefit-card,
body.dark-mode .testimonial,
body.dark-mode .cart-item {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .category-info h3,
body.dark-mode .product-info h3,
body.dark-mode .benefit-card h3,
body.dark-mode .testimonial h3 {
    color: #f1f1f1;
}

body.dark-mode .category-info p,
body.dark-mode .product-info p,
body.dark-mode .benefit-card p,
body.dark-mode .testimonial p,
body.dark-mode .duration,
body.dark-mode .product-features {
    color: #aaa;
}

/* Filter Section */
body.dark-mode .filter-section {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .filter-label {
    color: #e1e1e1;
}

body.dark-mode .filter-select {
    background-color: #2a2a2a;
    border-color: #444;
    color: #e1e1e1;
}

body.dark-mode .filter-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.2);
}

/* Badges & Trust Indicators */
body.dark-mode .badge,
body.dark-mode .bundle-card,
body.dark-mode .category {
    background-color: #1e1e1e;
}

body.dark-mode .badge span {
    color: #e1e1e1;
}

body.dark-mode .product-badge,
body.dark-mode .discount-badge {
    background-color: var(--primary-color);
    color: #fff;
}

/* Cart Page */
body.dark-mode .cart-section {
    background-color: #121212;
}

body.dark-mode .cart-summary {
    background-color: #1e1e1e;
    border-color: #333;
}

body.dark-mode .cart-summary h3 {
    color: #f1f1f1;
}

body.dark-mode .cart-summary-row {
    border-color: #333;
}

body.dark-mode .cart-summary-label,
body.dark-mode .cart-summary-value {
    color: #e1e1e1;
}

body.dark-mode .promo-code-input {
    background-color: #2a2a2a;
    border-color: #444;
    color: #e1e1e1;
}

body.dark-mode .promo-code-input:focus {
    border-color: var(--primary-color);
}

body.dark-mode .quantity-control {
    background-color: #2a2a2a;
    border: 1px solid #444;
}

body.dark-mode .quantity-control button {
    color: #e1e1e1;
}

body.dark-mode .quantity-control button:hover {
    background-color: #333;
    color: var(--primary-color);
}

body.dark-mode .quantity-control input {
    background-color: #2a2a2a;
    color: #e1e1e1;
    border-color: #444;
}

/* Forms */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background-color: #2a2a2a;
    border-color: #444;
    color: #e1e1e1;
}

body.dark-mode input:focus,
body.dark-mode textarea:focus,
body.dark-mode select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.2);
}

body.dark-mode label {
    color: #e1e1e1;
}

body.dark-mode ::placeholder {
    color: #888;
}

/* Newsletter */
body.dark-mode .newsletter {
    background-color: #1a1a1a;
}

body.dark-mode .newsletter h2 {
    color: #f1f1f1;
}

body.dark-mode .newsletter p {
    color: #aaa;
}

/* Footer - already dark */
body.dark-mode .footer {
    background-color: #111;
}

body.dark-mode .footer-bottom {
    border-color: #333;
}

/* Messages */
body.dark-mode .message-container {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .message-container.info {
    border-color: var(--secondary-color);
}

body.dark-mode .message-container.success {
    border-color: var(--success-color);
}

body.dark-mode .message-container.warning {
    border-color: var(--warning-color);
}

body.dark-mode .message-container.danger {
    border-color: var(--danger-color);
}

/* Dark Mode Toggle */
body.dark-mode .dark-mode-toggle {
    background-color: #f1f1f1;
    color: #121212;
}

body.dark-mode .dark-mode-toggle:hover {
    background-color: #fff;
}

/* Ensure icons remain visible */
body.dark-mode .fas,
body.dark-mode .far,
body.dark-mode .fab,
body.dark-mode .fa {
    color: inherit;
}

body.dark-mode .rating {
    color: #ffa502; /* Keep star ratings gold */
}

body.dark-mode .benefit-icon,
body.dark-mode .social-links a,
body.dark-mode .add-to-cart-btn i {
    color: inherit; /* Inherit from parent to ensure visibility */
}

/* Transition for smooth dark mode toggle */
body, header, .category, .product, .benefit-card, 
.filter-section, .filter-select, .badge, .intro-section,
input, textarea, select, .cart-summary, .quantity-control,
.message-container, button, a, .dark-mode-toggle {
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Product Page Specific Dark Mode Styles */
body.dark-mode .category-title {
    color: #f1f1f1;
}

body.dark-mode .product-features {
    color: #aaa;
}

body.dark-mode .product-features li {
    color: #aaa;
}

body.dark-mode .product-features li i {
    color: var(--primary-color);
}

body.dark-mode .product-price {
    color: #f1f1f1;
}

body.dark-mode .product-price .original-price {
    color: #888;
}

body.dark-mode .expand-features {
    color: var(--primary-color);
}

body.dark-mode .wishlist-icon {
    background-color: rgba(30, 30, 30, 0.8);
}

body.dark-mode .wishlist-icon i {
    color: #e1e1e1;
}

body.dark-mode .wishlist-icon i.fas {
    color: var(--primary-color);
}

body.dark-mode .filter-section {
    background-color: #1e1e1e;
}

body.dark-mode .filter-label {
    color: #e1e1e1;
}

body.dark-mode .filter-select {
    background-color: #2a2a2a;
    border-color: #444;
    color: #e1e1e1;
}

body.dark-mode .filter-button {
    background-color: var(--primary-color);
    color: #fff;
}

body.dark-mode .filter-button:hover {
    background-color: var(--secondary-color);
}

body.dark-mode .product-badge {
    background-color: var(--primary-color);
    color: #fff;
}

body.dark-mode .discount-badge {
    background-color: var(--success-color);
    color: #fff;
}

body.dark-mode .product-info h3 a {
    color: #f1f1f1;
}

body.dark-mode .product-info h3 a:hover {
    color: var(--primary-color);
}

/* Fix for product page specific elements */
body.dark-mode .filter-sticky {
    background-color: #1e1e1e;
    border-bottom: 1px solid #333;
}

body.dark-mode .product-grid {
    background-color: #121212;
}

body.dark-mode .no-products-message {
    color: #e1e1e1;
    background-color: #1e1e1e;
    border: 1px solid #333;
}

/* Cart Animation in Dark Mode */
body.dark-mode .cart-animation {
    background-color: rgba(30, 30, 30, 0.9);
    border: 1px solid #333;
    color: #f1f1f1;
}

body.dark-mode .empty-cart-message {
    background-color: #1e1e1e;
    border: 1px solid #333;
    color: #e1e1e1;
}

/* Quantity Controls in Dark Mode */
body.dark-mode .quantity-control {
    background-color: #2a2a2a;
    border: 1px solid #444;
}

body.dark-mode .quantity-control button {
    color: #e1e1e1;
    border-color: #444;
}

body.dark-mode .quantity-control button:hover {
    background-color: #333;
}

body.dark-mode .quantity-control input {
    background-color: #2a2a2a;
    color: #e1e1e1;
    border-color: #444;
}

/* Cart Page Dark Mode Styles */
body.dark-mode .cart-section {
    background-color: #121212;
    color: #f1f1f1;
}

body.dark-mode .cart-container {
    background-color: #1e1e1e;
    border: 1px solid #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .cart-header {
    background-color: #2a2a2a;
    border-bottom: 1px solid #333;
}

body.dark-mode .cart-header-item,
body.dark-mode .cart-price,
body.dark-mode .cart-quantity,
body.dark-mode .cart-total,
body.dark-mode .cart-remove {
    color: #f1f1f1;
}

body.dark-mode .cart-row {
    border-bottom: 1px solid #333;
}

body.dark-mode .cart-item-details h3 {
    color: #f1f1f1;
}

body.dark-mode .cart-item-details p {
    color: #aaa;
}

body.dark-mode .cart-item-price {
    color: #f1f1f1;
}

body.dark-mode .cart-item-price .original-price {
    color: #888;
}

body.dark-mode #empty-cart-message {
    background-color: #1e1e1e;
    color: #e1e1e1;
    border: 1px solid #333;
}

body.dark-mode #empty-cart-message a {
    color: var(--primary-color);
}

/* Order Summary Dark Mode */
body.dark-mode .order-summary,
body.dark-mode .cart-summary {
    background-color: #1e1e1e;
    border: 1px solid #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .order-summary h3,
body.dark-mode .cart-summary h3 {
    color: #f1f1f1;
    border-bottom: 1px solid #333;
}

body.dark-mode .summary-row {
    border-bottom: 1px solid #333;
    color: #e1e1e1;
}

body.dark-mode .summary-row span {
    color: #e1e1e1;
}

body.dark-mode .summary-row.total {
    background-color: #2a2a2a;
}

body.dark-mode .summary-row.total span {
    color: #f1f1f1;
}

/* Hide subtotal container in dark mode */
body.dark-mode .mobile-cart-summary .summary-row.subtotal,
body.dark-mode .order-summary .summary-row:first-child {
    display: none;
}

/* Promo Code Section Dark Mode */
body.dark-mode .promo-code,
body.dark-mode .promo-code-sidebar {
    background-color: #1e1e1e;
    border: 1px solid #333;
}

body.dark-mode .promo-code h3 {
    color: #f1f1f1;
}

body.dark-mode .promo-form {
    border-bottom: 1px solid #333;
}

body.dark-mode #promo-code,
body.dark-mode #sidebar-promo-code {
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #e1e1e1;
}

body.dark-mode #promo-code::placeholder,
body.dark-mode #sidebar-promo-code::placeholder {
    color: #888;
}

body.dark-mode #apply-promo,
body.dark-mode #sidebar-apply-promo {
    background-color: var(--primary-color);
    color: #fff;
}

body.dark-mode #apply-promo:hover,
body.dark-mode #sidebar-apply-promo:hover {
    background-color: var(--secondary-color);
}

body.dark-mode #promo-message,
body.dark-mode #sidebar-promo-message {
    color: #e1e1e1;
}

body.dark-mode #promo-message.success,
body.dark-mode #sidebar-promo-message.success {
    color: var(--success-color);
}

body.dark-mode #promo-message.error,
body.dark-mode #sidebar-promo-message.error {
    color: var(--danger-color);
}

/* Cart Actions Dark Mode */
body.dark-mode .cart-actions {
    border-top: 1px solid #333;
}

body.dark-mode .checkout-btn {
    background-color: var(--success-color);
    color: #fff;
}

body.dark-mode .checkout-btn:hover {
    background-color: #28a745;
}

body.dark-mode .continue-btn {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

body.dark-mode .continue-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Mobile Cart Summary Dark Mode */
body.dark-mode .mobile-cart-summary {
    background-color: #1e1e1e;
    border-top: 1px solid #333;
}

/* Quantity Controls in Dark Mode */
body.dark-mode .quantity-control {
    background-color: #2a2a2a;
    border: 1px solid #444;
}

body.dark-mode .quantity-control button {
    color: #e1e1e1;
    background-color: #333;
    border-color: #444;
}

body.dark-mode .quantity-control button:hover {
    background-color: #444;
    color: var(--primary-color);
}

body.dark-mode .quantity-control input {
    background-color: #2a2a2a;
    color: #e1e1e1;
    border-color: #444;
}

/* Recommended Products in Dark Mode */
body.dark-mode .recommended-products {
    background-color: #121212;
}

body.dark-mode .recommended-products .section-title {
    color: #f1f1f1;
}

/* Limited Deal Ticker */
.limited-deal-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 12px 0;
    z-index: 10;
    border-top: 1px solid rgba(255, 71, 87, 0.3);
}

.ticker-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    font-weight: 600;
}

.ticker-icon {
    font-size: 22px;
    color: var(--primary-color);
    animation: pulse 1.5s infinite;
}

.ticker-timer {
    background-color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
    animation: glow 2s infinite alternate;
}

.ticker-timer.urgent {
    background-color: #ff2e43;
    color: #fff;
    font-weight: 800;
    animation: urgentPulse 1s infinite alternate;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.9);
    transform: scale(1.05);
}

@keyframes urgentPulse {
    0% { transform: scale(1); background-color: #ff2e43; }
    50% { transform: scale(1.1); background-color: #ff4757; }
    100% { transform: scale(1); background-color: #ff2e43; }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes glow {
    from { box-shadow: 0 0 5px rgba(255, 71, 87, 0.5); }
    to { box-shadow: 0 0 15px rgba(255, 71, 87, 0.8), 0 0 20px rgba(255, 71, 87, 0.5); }
}

.ticker-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.ticker-cta {
    background-color: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-left: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.ticker-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 71, 87, 0.3);
}

/* Dark Mode Adjustments */
body.dark-mode .benefit-card {
    background-color: #1e1e1e;
}

body.dark-mode .badge,
body.dark-mode .bundle-card,
body.dark-mode .category {
    background-color: #1e1e1e;
}

body.dark-mode .limited-deal-ticker {
    background-color: rgba(20, 20, 20, 0.9);
}

body.dark-mode .bundle-header {
    background: linear-gradient(to right, var(--primary-color), #333);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bundle-content {
        flex-direction: column;
    }
    
    .bundle-logos {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .categories {
        grid-template-columns: 1fr;
    }
    
    .bundles {
        grid-template-columns: 1fr;
    }
    
    .header-icons {
        margin-left: auto;
    }
    
    .dark-mode-toggle {
        position: relative;
        top: auto;
        right: auto;
    }
}

/* Wishlist Styles */
.wishlist-nav {
    margin-left: 15px;
    margin-right: 15px;
}

.wishlist-nav a {
    color: var(--dark-color);
    font-size: 18px;
    position: relative;
    transition: color 0.3s ease;
}

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

.wishlist-nav a.active {
    color: var(--primary-color);
}

.wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.wishlist-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.wishlist-icon:hover {
    transform: scale(1.1);
    background-color: white;
}

.wishlist-icon i {
    color: #999;
    font-size: 18px;
    transition: all 0.3s ease;
}

.wishlist-icon i.fas {
    color: var(--primary-color);
}

.wishlist-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    min-height: 400px;
}

.wishlist-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.wishlist-item {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.wishlist-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.wishlist-item-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

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

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

.wishlist-item-details h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--dark-color);
}

.wishlist-item-details p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.wishlist-item-price {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.wishlist-item-price .current-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 10px;
}

.wishlist-item-price .original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.wishlist-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 150px;
}

.remove-wishlist-btn {
    background-color: transparent;
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

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

.empty-wishlist-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

.empty-wishlist-message a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Dark Mode Wishlist Styles */
body.dark-mode .wishlist-nav a {
    color: #e1e1e1;
}

body.dark-mode .wishlist-nav a:hover,
body.dark-mode .wishlist-nav a.active {
    color: var(--primary-color);
}

body.dark-mode .wishlist-section {
    background-color: #121212;
}

body.dark-mode .wishlist-container {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .wishlist-item {
    border-bottom: 1px solid #333;
}

body.dark-mode .wishlist-item-details h3 {
    color: #f1f1f1;
}

body.dark-mode .wishlist-item-details p {
    color: #aaa;
}

body.dark-mode .wishlist-item-price .original-price {
    color: #777;
}

body.dark-mode .remove-wishlist-btn {
    background-color: transparent;
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
}

body.dark-mode .remove-wishlist-btn:hover {
    background-color: var(--danger-color);
    color: #f1f1f1;
}

body.dark-mode .empty-wishlist-message {
    color: #aaa;
}

body.dark-mode .wishlist-icon {
    background-color: rgba(30, 30, 30, 0.8);
}

body.dark-mode .wishlist-icon:hover {
    background-color: #2a2a2a;
}

body.dark-mode .wishlist-icon i {
    color: #aaa;
}

body.dark-mode .wishlist-icon i.fas {
    color: var(--primary-color);
}

/* Responsive Wishlist Styles */
@media (max-width: 768px) {
    .wishlist-item {
        flex-direction: column;
    }
    
    .wishlist-item-img {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .wishlist-item-actions {
        margin-top: 15px;
        flex-direction: row;
        width: 100%;
    }
    
    .wishlist-item-actions button {
        flex: 1;
    }
}

/* Header Icons Group */
.header-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.wishlist-icon-container,
.cart-icon-container {
    position: relative;
    margin: 0 5px;
}

.nav-icon {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

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

.wishlist-count,
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.nav-icon:hover .wishlist-count,
.nav-icon:hover .cart-count {
    transform: scale(1.1);
}

/* Enhanced Hero Section */
.hero {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.85), rgba(180, 9, 20, 0.8) 40%, rgba(90, 0, 10, 0.9)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
}

.streaming-logos {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Enhanced Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

@media (min-width: 769px) {
    #filter-button-desktop {
        padding: 12px 24px;
        background: linear-gradient(135deg, #ff4757, #ff6b81);
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
        font-size: 14px;
        letter-spacing: 0.5px;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: 0 4px 6px rgba(255, 71, 87, 0.2);
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }
    
    #filter-button-desktop::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
        transition: left 0.7s ease;
    }
    
    #filter-button-desktop:hover {
        transform: translateY(-2px);
        box-shadow: 0 7px 14px rgba(255, 71, 87, 0.3);
        background: linear-gradient(135deg, #ff3748, #ff5a70);
    }
    
    #filter-button-desktop:hover::before {
        left: 100%;
    }
    
    #filter-button-desktop:active {
        transform: translateY(1px);
        box-shadow: 0 2px 4px rgba(255, 71, 87, 0.2);
    }
    
    #filter-button-desktop::after {
        content: '\f0b0';
        font-family: 'Font Awesome 5 Free';
        margin-left: 8px;
        font-weight: 900;
    }
    
    body.dark-mode #filter-button-desktop {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3);
}

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Enhanced Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
    padding: var(--space-md);
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        gap: var(--space-md);
        margin-top: var(--space-lg);
    }
}

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

.benefit-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover .benefit-icon {
    transform: rotateY(360deg);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 71, 87, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    transition: transform 0.8s ease;
}

.benefit-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
}

.badge {
    background-color: white;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.badge i {
    color: var(--success-color);
    font-size: 20px;
}

.badge span {
    font-weight: 600;
    color: var(--dark-color);
}

/* Enhanced Categories Section */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category:hover .category-overlay {
    opacity: 1;
}

.category-cta {
    color: white;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.category:hover .category-cta {
    transform: translateY(-10px);
}

.category-info {
    padding: 20px;
    text-align: center;
}

.category-info h3 {
    margin-bottom: 8px;
    font-size: 18px;
    color: var(--dark-color);
}

.category-info p {
    color: #666;
    margin-bottom: 10px;
}

.category-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.category-link:hover {
    gap: 10px;
}

/* Product Badges */
.bundle-badge,
.customer-favorite-badge,
.limited-stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    z-index: 5;
}

.bundle-badge {
    background-color: #6c5ce7;
    color: white;
}

.customer-favorite-badge {
    background-color: #fdcb6e;
    color: #333;
}

.limited-stock-badge {
    background-color: #e17055;
    color: white;
}

/* Bundle Deals Section */
.bundle-deals {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.bundles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.bundle-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.bundle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.bundle-header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bundle-header h3 {
    margin: 0;
    font-size: 18px;
}

.bundle-badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.bundle-content {
    padding: 20px;
    display: flex;
    gap: 20px;
}

.bundle-logos {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bundle-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.bundle-plus {
    font-size: 18px;
    font-weight: bold;
    color: #666;
}

.bundle-details {
    flex: 1;
}

.bundle-details p {
    margin-bottom: 10px;
    color: #666;
}

.bundle-price {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

.discounted-price {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
}

/* Animation for elements when they come into view */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Dark Mode Adjustments */
body.dark-mode .benefit-card {
    background-color: #1e1e1e;
}

body.dark-mode .badge,
body.dark-mode .bundle-card,
body.dark-mode .category {
    background-color: #1e1e1e;
}

body.dark-mode .limited-deal-ticker {
    background-color: rgba(20, 20, 20, 0.9);
}

body.dark-mode .bundle-header {
    background: linear-gradient(to right, var(--primary-color), #333);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bundle-content {
        flex-direction: column;
    }
    
    .bundle-logos {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .categories {
        grid-template-columns: 1fr;
    }
    
    .bundles {
        grid-template-columns: 1fr;
    }
    
    .header-icons {
        margin-left: auto;
    }
    
    .dark-mode-toggle {
        position: relative;
        top: auto;
        right: auto;
    }
}

/* Developer Tools */
.dev-tools {
    margin-top: 15px;
    text-align: center;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.btn-sm:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

body.dark-mode .btn-sm {
    background-color: #495057;
    border-color: #495057;
}

body.dark-mode .btn-sm:hover {
    background-color: #343a40;
    border-color: #343a40;
}

/* About Page Styles */

/* Trust Metrics Section */
.trust-metrics-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.trust-metrics {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-metric {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.trust-metric:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.metric-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 71, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.metric-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.metric-content h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.metric-content p {
    color: #666;
    margin: 0;
}

/* Why Trust Us Section */
.why-trust-us-section {
    padding: 60px 0;
    background-color: white;
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.trust-feature {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.trust-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 71, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.5s ease;
}

.trust-feature:hover .trust-icon {
    transform: rotateY(360deg);
}

.trust-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.trust-feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.trust-feature p {
    color: #666;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    height: 100%;
}

.testimonial-content {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 18px;
    margin-right: 2px;
}

.testimonial-content p {
    flex-grow: 1;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 16px;
    color: var(--dark-color);
}

.testimonial-author span {
    font-size: 14px;
    color: #666;
}

/* Team Section Improvements */
.team-section {
    padding: 60px 0;
    background-color: white;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h3 {
    margin: 20px 0 5px;
    font-size: 18px;
    color: var(--dark-color);
}

.team-member p {
    color: #666;
    margin-bottom: 15px;
}

.team-member .social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-bottom: 20px;
}

.team-member .social a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 71, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.team-member .social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Partnerships Section */
.partnerships-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #666;
}

.platform-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.platform-logo {
    width: 120px;
    height: 80px;
    background-color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.platform-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.payment-partners {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-partner {
    width: 100px;
    height: 60px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.payment-partner:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.payment-partner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Dark Mode Styles for About Page */
body.dark-mode .trust-metrics-section {
    background-color: #121212;
}

body.dark-mode .trust-metric {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .metric-content h3 {
    color: #f1f1f1;
}

body.dark-mode .metric-content p {
    color: #aaa;
}

body.dark-mode .why-trust-us-section {
    background-color: #121212;
}

body.dark-mode .trust-feature {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .trust-feature h3 {
    color: #f1f1f1;
}

body.dark-mode .trust-feature p {
    color: #aaa;
}

body.dark-mode .testimonials-section {
    background-color: #121212;
}

body.dark-mode .testimonial-content {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .testimonial-content p {
    color: #aaa;
}

body.dark-mode .testimonial-author h4 {
    color: #f1f1f1;
}

body.dark-mode .testimonial-author span {
    color: #888;
}

body.dark-mode .team-section {
    background-color: #121212;
}

body.dark-mode .team-member {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .team-member h3 {
    color: #f1f1f1;
}

body.dark-mode .team-member p {
    color: #aaa;
}

body.dark-mode .partnerships-section {
    background-color: #121212;
}

body.dark-mode .section-subtitle {
    color: #aaa;
}

body.dark-mode .platform-logo,
body.dark-mode .payment-partner {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .section-title {
    color: #f1f1f1;
}

/* Contact Page Enhancements */

/* Quick Contact Section */
.quick-contact-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.quick-contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.quick-contact-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 71, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.quick-contact-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.quick-contact-card p {
    color: #666;
    margin: 0;
}

/* Enhanced Contact Form */
.contact-form select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

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

.trust-reminder {
    display: flex;
    align-items: center;
    background-color: rgba(255, 71, 87, 0.05);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.trust-reminder i {
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 15px;
}

.trust-reminder p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Location Info */
.map-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.location-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
}

.location-info h4 {
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.location-info p {
    margin: 5px 0;
    color: #666;
}

/* WhatsApp Chat Button */
.whatsapp-chat {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.whatsapp-chat a {
    display: flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-chat a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-chat i {
    font-size: 24px;
    margin-right: 10px;
}

.whatsapp-chat span {
    font-weight: 500;
}

/* Dark Mode Styles */
body.dark-mode .quick-contact-section {
    background-color: #121212;
}

body.dark-mode .quick-contact-card {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .quick-contact-card h3 {
    color: #f1f1f1;
}

body.dark-mode .quick-contact-card p {
    color: #aaa;
}

body.dark-mode .contact-form select {
    background-color: #1e1e1e;
    border-color: #333;
    color: #f1f1f1;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1f1f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

body.dark-mode .trust-reminder {
    background-color: rgba(255, 71, 87, 0.1);
}

body.dark-mode .trust-reminder p {
    color: #aaa;
}

body.dark-mode .location-info {
    background-color: rgba(30, 30, 30, 0.9);
}

body.dark-mode .location-info h4 {
    color: #f1f1f1;
}

body.dark-mode .location-info p {
    color: #aaa;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .quick-contact-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .whatsapp-chat {
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-chat a {
        padding: 10px 15px;
    }
    
    .whatsapp-chat i {
        font-size: 20px;
        margin-right: 8px;
    }
    
    .whatsapp-chat span {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .quick-contact-container {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-chat a {
        padding: 10px;
    }
    
    .whatsapp-chat span {
        display: none;
    }
    
    .whatsapp-chat i {
        margin-right: 0;
    }
}

/* Mobile Optimization Improvements */

/* Fix header and navigation for mobile */
@media (max-width: 768px) {
    body {
        padding-top: 100px; /* Increased padding for mobile header */
    }
    
    header .container {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 15px;
    }
    
    .logo {
        flex: 1;
        text-align: left;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    nav ul {
        justify-content: space-between;
        padding: 0;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        padding: 8px 10px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .cart, .wishlist-nav {
        margin-left: 5px;
        display: flex;
        align-items: center;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-right: 10px;
    }
    
    /* Fix the stray dash */
    .stray-dash {
        display: none;
    }
    
    /* Hero section improvements */
    .hero {
        padding: 40px 0 80px;
        margin-top: 30px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .hero-content .btn {
        margin-bottom: 30px;
        position: relative;
        z-index: 5;
    }
    
    /* Limited deal ticker improvements */
    .limited-deal-ticker {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .ticker-content {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .ticker-icon {
        font-size: 16px;
    }
    
    .ticker-highlight {
        font-size: 14px;
    }
    
    .ticker-timer {
        font-size: 16px;
        margin: 0 5px;
    }
    
    .ticker-cta {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    /* Improve color contrast */
    .hero {
        background-color: rgba(52, 58, 64, 0.95);
    }
    
    .hero-content h2,
    .hero-content p {
        color: #ffffff;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }
    
    /* Fix About Us link in navigation */
    nav ul li a[href="about.html"] {
        white-space: nowrap;
    }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }
    
    nav ul li a {
        padding: 6px 8px;
        font-size: 13px;
    }
    
    .hero-content h2 {
        font-size: 22px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .ticker-content {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .ticker-timer {
        margin: 5px;
    }
    
    /* Adjust benefits grid for mobile */
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        margin-bottom: 15px;
    }
}

/* Fix dark mode toggle position on mobile */
@media (max-width: 768px) {
    .dark-mode-toggle {
        bottom: 80px; /* Keep above the ticker */
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .dark-mode-toggle i {
        font-size: 20px;
    }
}

/* Quick Navigation Styles */
.quick-nav {
    background-color: #f8f9fa;
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    position: relative; /* Changed to relative for desktop */
    z-index: 10; /* Lower z-index than header */
    margin-top: 20px; /* Added margin-top to create space after filter */
}

/* Add scroll margin to category titles for proper navigation */
.category-title {
    scroll-margin-top: 120px; /* Increased margin to ensure content is fully visible below the sticky nav */
    padding-top: 20px; /* Add some padding for better visual spacing */
}

body.dark-mode .quick-nav {
    background-color: #2a2a2a;
    border-bottom: 1px solid #3a3a3a;
}

.quick-nav-links {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping by default */
    justify-content: center;
    gap: 10px;
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Hide scrollbar on Firefox */
    -ms-overflow-style: none; /* Hide scrollbar on IE/Edge */
    padding-bottom: 5px; /* Add space for scrollbar */
}

/* Hide scrollbar on Chrome/Safari */
.quick-nav-links::-webkit-scrollbar {
    display: none;
}

.quick-nav-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #fff;
    color: #333;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
    flex-shrink: 0; /* Prevent buttons from shrinking */
}

body.dark-mode .quick-nav-link {
    background-color: #333;
    color: #f8f9fa;
}

.quick-nav-link:hover {
    background-color: #ff6b6b;
    color: white;
    transform: translateY(-2px);
}

body.dark-mode .quick-nav-link:hover {
    background-color: #ff6b6b;
    color: white;
}

/* Category badge colors */
.hoichoi-badge {
    background-color: #7b68ee;
}

.zee5-badge {
    background-color: #0f4a8a;
}

.sonyliv-badge {
    background-color: #b22222;
}

/* Mobile Quick Navigation Optimization */
@media (max-width: 768px) {
    .quick-nav {
        padding: 10px 0;
        margin-bottom: 15px;
        position: sticky;
        top: 50px; /* Position below mobile header - adjusted to match actual header height */
        z-index: 99;
    }
    
    .quick-nav .container {
        padding: 0 10px;
    }
    
    .quick-nav-links {
        justify-content: flex-start; /* Align to the left for better scrolling UX */
        gap: 8px;
    }
    
    .quick-nav-link {
        padding: 6px 12px;
        font-size: 13px;
        font-weight: 500;
    }
    
    /* Adjust scroll margin for mobile */
    .category-title {
        scroll-margin-top: 100px;
    }
}

/* Mobile Header Optimization */
@media (max-width: 768px) {
    /* Fix header layout */
    header {
        position: fixed; /* Keep fixed positioning on mobile */
        top: 0;
        background-color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000; /* Higher z-index to stay on top */
    }
    
    body.dark-mode header {
        background-color: #1e1e1e;
    }
    
    header .container {
        display: grid;
        grid-template-areas: 
            "logo cart wishlist"
            "nav nav nav";
        grid-template-columns: 1fr auto auto;
        align-items: center;
        padding: 15px;
        gap: 15px;
        position: relative;
    }
    
    .logo {
        grid-area: logo;
        text-align: left;
        margin-right: 0;
        padding-right: 10px; /* Add padding to prevent overflow */
    }
    
    .logo h1 {
        font-size: 20px; /* Slightly smaller font for better fit */
        margin: 0;
        white-space: nowrap; /* Prevent text wrapping */
    }
    
    nav {
        grid-area: nav;
        position: relative;
        width: 100%;
        margin-top: 10px;
        left: 0;
        transform: none;
    }
    
    nav ul {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    nav ul li {
        margin: 0;
        text-align: center; /* Center text for better appearance */
    }
    
    nav ul li a {
        padding: 8px 5px;
        font-size: 14px;
        white-space: nowrap; /* Prevent text wrapping */
    }
    
    /* Fix cart and wishlist positioning */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .cart, .wishlist-nav {
        margin-left: 5px;
    }
    
    .cart {
        grid-area: cart;
        margin: 0;
        padding-right: 10px;
    }
    
    .wishlist-nav {
        grid-area: wishlist;
        margin: 0;
    }
    
    /* Improved limited time offer for mobile */
    .limited-deal-ticker {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        background: linear-gradient(to right, #ff4757, #ff6b81);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .ticker-content {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        padding: 8px 12px;
        overflow-x: auto;
        -ms-overflow-style: none;  /* Hide scrollbar in IE and Edge */
        scrollbar-width: none;  /* Hide scrollbar in Firefox */
        white-space: nowrap;
    }
    
    .ticker-content::-webkit-scrollbar {
        display: none; /* Hide scrollbar in Chrome/Safari/Opera */
    }
    
    .ticker-icon {
        font-size: 16px;
        margin-right: 8px;
        animation: pulse 1.5s infinite;
    }
    
    .ticker-highlight {
        font-weight: 700;
        margin: 0 3px;
    }

    .ticker-timer {
        font-weight: 700;
        margin: 0 5px;
        background-color: rgba(255, 71, 87, 0.2);
        padding: 3px 6px;
        border-radius: 4px;
    }

    .ticker-cta {
        margin-left: auto;
        padding: 4px 10px;
        font-size: 13px;
        font-weight: 600;
        background-color: white;
        color: var(--primary-color);
        border-radius: 4px;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .ticker-cta:hover {
        background-color: #f1f1f1;
        transform: translateY(-2px);
    }
    
    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.2); }
        100% { transform: scale(1); }
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }
    
    nav ul li a {
        padding: 6px;
        font-size: 13px;
    }
    
    .ticker-content {
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .ticker-icon {
        font-size: 14px;
    }
    
    .ticker-timer {
        padding: 2px 4px;
    }
    
    .ticker-cta {
        padding: 3px 8px;
        font-size: 12px;
    }
}

/* Fix for category filter to scroll normally */
@media (max-width: 768px) {
    .product-sidebar {
        position: relative;
        top: auto;
        width: 100%;
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .filter-section {
        margin-bottom: 15px;
    }
}

/* Dark mode toggle in the navigation bar */
.dark-mode-toggle {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.dark-mode-toggle i {
    font-size: 24px;
}

/* Ensure dark mode toggle is visible on mobile and positioned correctly */
@media (max-width: 768px) {
    .dark-mode-toggle {
        bottom: 80px; /* Keep above the ticker */
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .dark-mode-toggle i {
        font-size: 20px;
    }
}

/* Fix filter section to scroll normally on mobile */
@media (max-width: 768px) {
    .filter-section {
        position: relative;
        top: auto;
        z-index: 1;
        margin-bottom: 20px;
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    
    body.dark-mode .filter-section {
        background-color: #1e1e1e;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }
    
    .filter-container {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }
    
    .filter-group {
        width: 100%;
        margin-bottom: 12px;
    }
    
    .filter-label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
    }
    
    .filter-select {
        width: 100%;
        padding: 12px;
        border-radius: 8px;
        border: 1px solid #ddd;
        background-color: #f9f9f9;
        font-size: 14px;
    }
    
    body.dark-mode .filter-select {
        background-color: #2a2a2a;
        border-color: #444;
        color: #e1e1e1;
    }
}
