/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #FF3C3C, #FF0000);
    --primary-color: #FF3C3C;
    --secondary-color: #FF0000;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo h2 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.8rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-color);
}

.search-btn {
    background: var(--primary-gradient);
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius);
    color: white;
    cursor: pointer;
    margin-left: 0.5rem;
}

.action-icons {
    display: flex;
    gap: 1rem;
}

.icon-link {
    position: relative;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.icon-link:hover {
    color: var(--primary-color);
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 60, 60, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--text-dark);
}

/* Products Section */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.action-btn {
    background: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.action-btn:hover {
    background: var(--primary-gradient);
    color: white;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.add-to-cart {
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 60, 60, 0.3);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .search-box {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: white;
    padding: 2rem;
    overflow-y: auto;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-list li {
    margin-bottom: 1rem;
}

.mobile-nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.mobile-nav-list a:hover {
    color: var(--primary-color);
}

/* Dark Mode */
.dark-mode {
    --text-dark: #ffffff;
    --text-light: #cccccc;
    --bg-white: #1a1a1a;
    --bg-light: #2d2d2d;
    --border-color: #444444;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 1rem;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-info {
    padding: 1.5rem;
}

.category-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.btn-outline {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
}

/* Image Slider */
.product-slider {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-color);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: white;
    color: var(--primary-color);
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonials Slider */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.rating {
    color: #ffc107;
}

.rating .fa-star:not(.active) {
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .slide img {
        height: 300px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
/* Hero Slider */
.hero-slider-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
    z-index: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding-top: 150px;
}

.hero-slide h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-slide p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    opacity: 0.9;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    z-index: 3;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Testimonials */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content .rating {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-content .rating .fa-star {
    color: #ddd;
}

.testimonial-content .rating .fa-star.active {
    color: #ffc107;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.testimonial-author h4 {
    color: #333;
    margin: 0;
    font-weight: 600;
}

/* Responsive Hero Slider */
@media (max-width: 768px) {
    .hero-slider-section {
        height: 400px;
    }
    
    .hero-slide h1 {
        font-size: 2.2rem;
    }
    
    .hero-slide p {
        font-size: 1.1rem;
    }
    
    .hero-slide .hero-content {
        padding-top: 100px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-slide h1 {
        font-size: 1.8rem;
    }
    
    .hero-slide p {
        font-size: 1rem;
    }
}

/* Header Styles */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 30px;
}

/* Logo */
.logo a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Navigation */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #e74c3c;
}

/* Search Box Wrapper - Desktop */
.search-box-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box {
    padding: 10px 40px 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 13px;
    width: 200px;
    font-family: 'Poppins', sans-serif;
    color: #999;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.search-box:focus {
    outline: none;
    background-color: #fff;
    border-color: #e74c3c;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    width: 16px;
    height: 16px;
    fill: #999;
    cursor: pointer;
    pointer-events: none;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-top: 5px;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-icon {
    position: relative;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.action-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.action-icon:hover {
    color: #e74c3c;
}

.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    padding: 0 4px;
    line-height: 1;
}

/* Mobile Header Right Section */
.mobile-header-right {
    display: none;
    align-items: center;
    gap: 15px;
}

.mobile-search-toggle {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    width: 28px;
    height: 28px;
}

.mobile-search-toggle svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.mobile-search-toggle:hover {
    color: #e74c3c;
}

.mobile-cart {
    display: none;
    position: relative;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
}

.mobile-cart svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1001;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn svg {
    width: 100%;
    height: 100%;
    fill: #333;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-btn .menu-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.mobile-menu-btn .close-icon {
    opacity: 0;
    transform: rotate(180deg);
}

.mobile-menu-btn.active .menu-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

.mobile-menu-btn.active .close-icon {
    opacity: 1;
    transform: rotate(0deg);
    fill: #333;
}

/* Mobile Search Bar */
.mobile-search-bar {
    display: none;
    position: relative;
    margin-bottom: 15px;
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}

.mobile-search-bar.active {
    display: block;
}

.mobile-search-box {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #999;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.mobile-search-box:focus {
    outline: none;
    background-color: #fff;
    border-color: #e74c3c;
}

.mobile-search-input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    fill: #999;
    cursor: pointer;
    pointer-events: none;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: white;
    padding: 80px 20px 30px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 0;
}

.mobile-nav-list a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.mobile-nav-list a:hover {
    color: #e74c3c;
}

.admin-divider {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-list {
        gap: 25px;
    }
    
    .search-box {
        width: 150px;
    }
    
    .header-content {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 12px 0;
        gap: 10px;
        position: relative;
        z-index: 1002;
    }
    
    .nav {
        display: none;
    }
    
    .search-box-wrapper {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-header-right {
        display: flex;
        position: relative;
        z-index: 1002;
    }
    
    .mobile-search-toggle {
        display: flex;
        width: 36px;
        height: 36px;
    }
    
    .mobile-cart {
        display: flex !important;
        width: 36px;
        height: 36px;
    }
    
    .mobile-cart svg {
        width: 24px;
        height: 24px;
    }
    
    .mobile-menu-btn {
        display: flex;
        width: 36px;
        height: 36px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .mobile-cart .badge {
        top: 0;
        right: 0;
        min-width: 16px;
        height: 16px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }
    
    .mobile-header-right {
        gap: 12px;
    }
    
    .mobile-search-toggle {
        width: 34px;
        height: 34px;
    }
    
    .mobile-menu-btn {
        width: 34px;
        height: 34px;
    }
    
    .mobile-menu-content {
        max-width: 280px;
    }
    
    .mobile-cart {
        width: 34px;
        height: 34px;
    }
    
    .mobile-cart svg {
        width: 22px;
        height: 22px;
    }
}


/* Featured Categories - container basics */
.section.featured-categories {
  padding: 48px 0;
  background: #fff;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: #222;
}

.section.featured-categories .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Title */
.section-title {
  text-align: center;
  margin-bottom: 28px;
}

.section-title h2 {
  font-size: 30px;
  line-height: 1.05;
  margin: 0 0 8px;
  font-weight: 700;
  color: #111;
}

.section-title .muted-accent {
  color: #e74c3c; /* red highlight like banner */
}

.section-title .section-sub {
  color: #666;
  font-size: 15px;
  margin: 0;
  letter-spacing: 0.1px;
}

/* Grid layout */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}

/* Card */
.category-card {
  background: linear-gradient(180deg, #fff 0%, #fff 100%);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(12, 18, 24, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(12, 18, 24, 0.09);
}

/* Link wrapper fills the card */
.category-card .card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* Image area */
.category-media {
  position: relative;
  width: 100%;
  padding-top: 66.66%; /* 3:2 aspect ratio - matches banner feel */
  overflow: hidden;
  background: #f8f8f8;
}

.category-media img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  display: block;
}

/* If image is portrait, ensure it still covers */
.category-media img.landscape {
  width: 100%;
  height: auto;
}

/* Products badge in bottom-left of image */
.category-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}

/* Card body */
.category-body {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Category title */
.category-body h3 {
  margin: 0;
  font-size: 16px;
  color: #111;
  font-weight: 600;
}

/* Explore button (styled like tag) */
.explore-btn {
  display: inline-block;
  background: transparent;
  color: #e74c3c;
  border: 1px solid #e74c3c;
  padding: 8px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}

/* Accessibility: focus states for keyboard users */
.category-card .card-link:focus,
.category-card .card-link:focus-visible {
  outline: 3px solid rgba(231,76,60,0.14);
  outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .section.featured-categories {
    padding: 40px 0;
  }

  .section-title h2 {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .category-media {
    padding-top: 56.25%; /* slightly taller on mobile */
  }

  .section.featured-categories {
    padding: 28px 0;
  }

  .section-title h2 {
    font-size: 22px;
  }
}

/* Small visual polish to resemble the banner's spacing */
.category-card + .category-card {
  /* optional small rule for consistent spacing visual */
}

/* Header Styles */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 30px;
}

/* Logo */
.logo a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Navigation */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #e74c3c;
}

.nav-list a.active {
    color: #e74c3c;
}

/* Search Box Wrapper - Desktop */
.search-box-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box {
    padding: 10px 40px 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 13px;
    width: 200px;
    font-family: 'Poppins', sans-serif;
    color: #999;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.search-box:focus {
    outline: none;
    background-color: #fff;
    border-color: #e74c3c;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    width: 16px;
    height: 16px;
    fill: #999;
    cursor: pointer;
    pointer-events: none;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-top: 5px;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-icon {
    position: relative;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.action-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.action-icon:hover {
    color: #e74c3c;
}

.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    padding: 0 4px;
    line-height: 1;
}

/* Mobile Header Right Section */
.mobile-header-right {
    display: none;
    align-items: center;
    gap: 15px;
}

.mobile-search-toggle {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    width: 28px;
    height: 28px;
}

.mobile-search-toggle svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.mobile-search-toggle:hover {
    color: #e74c3c;
}

.mobile-cart {
    display: none;
    position: relative;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
}

.mobile-cart svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1001;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn svg {
    width: 100%;
    height: 100%;
    fill: #333;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-btn .close-icon {
    opacity: 0;
    transform: rotate(180deg);
    fill: none;
    stroke: #333;
    stroke-width: 0.5;
    stroke-linecap: round;
}

.mobile-menu-btn .menu-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.mobile-menu-btn .close-icon {
    opacity: 0;
    transform: rotate(180deg);
}

.mobile-menu-btn.active .menu-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

.mobile-menu-btn.active .close-icon {
    opacity: 1;
    transform: rotate(0deg);
    fill: #333;
}

/* Mobile Search Bar */
.mobile-search-bar {
    display: none;
    position: relative;
    margin-bottom: 15px;
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}

.mobile-search-bar.active {
    display: block;
}

.mobile-search-box {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #999;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.mobile-search-box:focus {
    outline: none;
    background-color: #fff;
    border-color: #e74c3c;
}

.mobile-search-input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    fill: #999;
    cursor: pointer;
    pointer-events: none;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: white;
    padding: 80px 20px 30px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 0;
}

.mobile-nav-list a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.mobile-nav-list a:hover {
    color: #e74c3c;
}

.mobile-nav-list a.active {
    color: #e74c3c;
}

.admin-divider {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-list {
        gap: 25px;
    }
    
    .search-box {
        width: 150px;
    }
    
    .header-content {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header {
        position: relative;
        z-index: 1001;
    }
    
    .header-content {
        padding: 12px 0;
        gap: 10px;
    }
    
    .nav {
        display: none;
    }
    
    .search-box-wrapper {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-header-right {
        display: flex;
    }
    
    .mobile-search-toggle {
        display: flex;
        width: 36px;
        height: 36px;
    }
    
    .mobile-cart {
        display: flex !important;
        width: 36px;
        height: 36px;
    }
    
    .mobile-cart svg {
        width: 24px;
        height: 24px;
    }
    
    .mobile-menu-btn {
        display: flex;
        width: 36px;
        height: 36px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .mobile-cart .badge {
        top: 0;
        right: 0;
        min-width: 16px;
        height: 16px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }
    
    .mobile-header-right {
        gap: 12px;
    }
    
    .mobile-search-toggle {
        width: 34px;
        height: 34px;
    }
    
    .mobile-menu-btn {
        width: 34px;
        height: 34px;
    }
    
    .mobile-menu-content {
        max-width: 280px;
    }
    
    .mobile-cart {
        width: 34px;
        height: 34px;
    }
    
    .mobile-cart svg {
        width: 22px;
        height: 22px;
    }
}

/* Header Styles */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 30px;
}

/* Logo */
.logo a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Navigation */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #e74c3c;
}

.nav-list a.active {
    color: #e74c3c;
}

/* Search Box Wrapper - Desktop */
.search-box-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box {
    padding: 10px 40px 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 13px;
    width: 200px;
    font-family: 'Poppins', sans-serif;
    color: #999;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.search-box:focus {
    outline: none;
    background-color: #fff;
    border-color: #e74c3c;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    width: 16px;
    height: 16px;
    fill: #999;
    cursor: pointer;
    pointer-events: none;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-top: 5px;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-icon {
    position: relative;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.action-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.action-icon:hover {
    color: #e74c3c;
}

.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    padding: 0 4px;
    line-height: 1;
}

/* Mobile Header Right Section */
.mobile-header-right {
    display: none;
    align-items: center;
    gap: 15px;
}

.mobile-search-toggle {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    width: 28px;
    height: 28px;
}

.mobile-search-toggle svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.mobile-search-toggle:hover {
    color: #e74c3c;
}

.mobile-cart {
    display: none;
    position: relative;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
}

.mobile-cart svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1001;
    padding: 0;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.mobile-menu-btn svg {
    width: 100%;
    height: 100%;
    fill: #333;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-btn .close-icon {
    opacity: 0;
    transform: rotate(180deg);
    fill: none;
    stroke: #333;
    stroke-width: 1;
    stroke-linecap: round;
}

.mobile-menu-btn .menu-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.mobile-menu-btn .close-icon {
    opacity: 0;
    transform: rotate(180deg);
}

.mobile-menu-btn.active .menu-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

.mobile-menu-btn.active .close-icon {
    opacity: 1;
    transform: rotate(0deg);
    fill: #333;
}

/* Mobile Search Bar */
.mobile-search-bar {
    display: none;
    position: relative;
    margin: 0 -20px 0 -20px;
    border-top: 1px solid #e0e0e0;
    padding: 15px 28px;
    background-color: #ffffff;
}

.mobile-search-bar.active {
    display: block;
}

.mobile-search-box {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.mobile-search-box:focus {
    outline: none;
    background-color: #fff;
    border-color: #e74c3c;
}

.mobile-search-box::placeholder {
    color: #999;
}

.mobile-search-input-icon {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    width: 18px;
    height: 18px;
    fill: #e74c3c;
    cursor: pointer;
    pointer-events: none;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: white;
    padding: 80px 20px 30px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 0;
}

.mobile-nav-list a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.mobile-nav-list a:hover {
    color: #e74c3c;
}

.mobile-nav-list a.active {
    color: #e74c3c;
}

.admin-divider {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-list {
        gap: 25px;
    }
    
    .search-box {
        width: 150px;
    }
    
    .header-content {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header {
        position: relative;
        z-index: 1001;
    }
    
    .header .container {
        padding: 0 12px;
    }
    
    .header-content {
        padding: 12px 0;
        gap: 10px;
    }
    
    .nav {
        display: none;
    }
    
    .search-box-wrapper {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-header-right {
        display: flex;
        gap: 12px;
    }
    
    .mobile-search-toggle {
        display: flex;
        width: 36px;
        height: 36px;
    }
    
    .mobile-cart {
        display: flex !important;
        width: 36px;
        height: 36px;
    }
    
    .mobile-cart svg {
        width: 24px;
        height: 24px;
    }
    
    .mobile-menu-btn {
        display: flex;
        width: 36px;
        height: 36px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .mobile-cart .badge {
        top: 0;
        right: 0;
        min-width: 16px;
        height: 16px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }
    
    .mobile-header-right {
        gap: 12px;
    }
    
    .mobile-search-toggle {
        width: 34px;
        height: 34px;
    }
    
    .mobile-menu-btn {
        width: 34px;
        height: 34px;
    }
    
    .mobile-menu-content {
        max-width: 280px;
    }
    
    .mobile-cart {
        width: 34px;
        height: 34px;
    }
    
    .mobile-cart svg {
        width: 22px;
        height: 22px;
    }
}
/* ========================================
   Featured Categories Section
   ======================================== */

.featured-categories {
  padding: 60px 20px 80px;
  background: #ffffff;
}

.categories-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Header Styles */
.categories-header {
  text-align: center;
  margin-bottom: 45px;
}

.categories-title {
  font-size: 40px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.categories-title .accent-text {
  color: #dc3545;
}

.categories-subtitle {
  font-size: 15px;
  color: #5a5a5a;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

/* Grid Layout */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 10px;
}

/* Category Card */
.category-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: none;
  transition: all 0.3s ease;
  height: 170px;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.category-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  width: 100%;
  height: 100%;
}

/* Image Wrapper */
.category-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #e0e0e0;
}

.category-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.category-card:hover .category-image {
  transform: scale(1.05);
}

/* Gradient Overlay - Matching exact design */
.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.02) 15%,
    rgba(0, 0, 0, 0.1) 35%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.55) 85%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
}

/* Content */
.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 22px;
  z-index: 2;
}

.category-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.category-count {
  font-size: 13px;
  color: #ffffff;
  margin: 0;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

/* ========================================
   Large Desktop (1400px+)
   ======================================== */

@media screen and (min-width: 1400px) {
  .categories-container {
    max-width: 1400px;
  }
  
  .categories-grid {
    gap: 35px;
  }
  
  .category-card {
    height: 190px;
  }
  
  .category-name {
    font-size: 22px;
  }
  
  .category-count {
    font-size: 14px;
  }
}

/* ========================================
   Desktop (1200px - 1399px)
   ======================================== */

@media screen and (max-width: 1399px) and (min-width: 1200px) {
  .categories-grid {
    gap: 28px;
  }
  
  .category-card {
    height: 180px;
  }
}

/* ========================================
   Tablet Landscape (1024px - 1199px)
   ======================================== */

@media screen and (max-width: 1199px) and (min-width: 1024px) {
  .featured-categories {
    padding: 50px 20px 70px;
  }

  .categories-title {
    font-size: 36px;
  }

  .categories-header {
    margin-bottom: 40px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .category-card {
    height: 190px;
    border-radius: 22px;
  }

  .category-name {
    font-size: 22px;
  }
}

/* ========================================
   Tablet Portrait (768px - 1023px)
   ======================================== */

@media screen and (max-width: 1023px) and (min-width: 768px) {
  .featured-categories {
    padding: 50px 20px 60px;
  }

  .categories-title {
    font-size: 34px;
  }

  .categories-subtitle {
    font-size: 14px;
  }

  .categories-header {
    margin-bottom: 35px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 5px;
  }

  .category-card {
    height: 200px;
    border-radius: 18px;
  }

  .category-name {
    font-size: 20px;
  }

  .category-content {
    padding: 18px 18px 20px;
  }
}

/* ========================================
   Mobile Landscape (640px - 767px)
   ======================================== */

@media screen and (max-width: 767px) and (min-width: 640px) {
  .featured-categories {
    padding: 45px 16px 55px;
  }

  .categories-header {
    margin-bottom: 32px;
  }

  .categories-title {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .categories-subtitle {
    font-size: 14px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 0;
  }

  .category-card {
    height: 180px;
    border-radius: 16px;
  }

  .category-content {
    padding: 16px 16px 18px;
  }

  .category-name {
    font-size: 18px;
    margin-bottom: 3px;
  }

  .category-count {
    font-size: 12px;
  }
}

/* ========================================
   Mobile Portrait (up to 639px)
   ======================================== */

@media screen and (max-width: 639px) {
  .featured-categories {
    padding: 40px 16px 50px;
  }

  .categories-header {
    margin-bottom: 28px;
  }

  .categories-title {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .categories-subtitle {
    font-size: 13px;
  }

  /* 2 Columns on Mobile */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0;
  }

  .category-card {
    height: 140px;
    border-radius: 14px;
  }

  .category-content {
    padding: 14px 14px 16px;
  }

  .category-name {
    font-size: 16px;
    margin-bottom: 3px;
  }

  .category-count {
    font-size: 11px;
  }

  .category-card:hover {
    transform: translateY(-2px);
  }
}

/* ========================================
   Small Mobile (up to 480px)
   ======================================== */

@media screen and (max-width: 480px) {
  .featured-categories {
    padding: 35px 14px 45px;
  }

  .categories-title {
    font-size: 26px;
  }

  .categories-subtitle {
    font-size: 12px;
  }

  .categories-grid {
    gap: 12px;
  }

  .category-card {
    height: 150px;
    border-radius: 12px;
  }

  .category-content {
    padding: 12px 12px 14px;
  }

  .category-name {
    font-size: 15px;
  }

  .category-count {
    font-size: 11px;
  }
}

/* ========================================
   Extra Small Mobile (up to 360px)
   ======================================== */

@media screen and (max-width: 360px) {
  .featured-categories {
    padding: 30px 12px 40px;
  }

  .categories-title {
    font-size: 24px;
  }

  .categories-grid {
    gap: 10px;
  }

  .category-card {
    height: 130px;
    border-radius: 12px;
  }

  .category-content {
    padding: 10px 10px 12px;
  }

  .category-name {
    font-size: 14px;
  }

  .category-count {
    font-size: 10px;
  }
}

/* ========================================
   Accessibility & Touch Improvements
   ======================================== */

@media (hover: none) and (pointer: coarse) {
  .category-card:hover {
    transform: none;
  }
  
  .category-card:active {
    transform: scale(0.98);
  }
  
  .category-card:hover .category-image {
    transform: scale(1);
  }
}

/* Focus States for Keyboard Navigation */
.category-link:focus {
  outline: 3px solid #dc3545;
  outline-offset: 2px;
  border-radius: 20px;
}

.category-link:focus-visible {
  outline: 3px solid #dc3545;
  outline-offset: 2px;
  border-radius: 20px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .category-card,
  .category-image,
  .category-overlay {
    transition: none;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .category-card {
    border: 2px solid #000;
  }
  
  .category-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.2) 30%,
      rgba(0, 0, 0, 0.4) 70%,
      rgba(0, 0, 0, 0.8) 100%
    );
  }
}

/* ========================================
   Featured Categories Section
   ======================================== */

.featured-categories {
  padding: 60px 20px 80px;
  background: #ffffff;
}

.categories-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Header Styles */
.categories-header {
  text-align: center;
  margin-bottom: 45px;
}

.categories-title {
  font-size: 40px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.categories-title .accent-text {
  color: #dc3545;
}

.categories-subtitle {
  font-size: 15px;
  color: #5a5a5a;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

/* Grid Layout */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 10px;
}

/* Category Card */
.category-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: none;
  transition: all 0.3s ease;
  height: 170px;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.category-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  width: 100%;
  height: 100%;
}

/* Image Wrapper */
.category-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #e0e0e0;
}

.category-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.category-card:hover .category-image {
  transform: scale(1.05);
}

/* Gradient Overlay - Matching exact design */
.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.02) 15%,
    rgba(0, 0, 0, 0.1) 35%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.55) 85%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
}

/* Content */
.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 22px;
  z-index: 2;
}

.category-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.category-count {
  font-size: 13px;
  color: #ffffff;
  margin: 0;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

/* ========================================
   Large Desktop (1400px+)
   ======================================== */

@media screen and (min-width: 1400px) {
  .categories-container {
    max-width: 1400px;
  }
  
  .categories-grid {
    gap: 35px;
  }
  
  .category-card {
    height: 190px;
  }
  
  .category-name {
    font-size: 22px;
  }
  
  .category-count {
    font-size: 14px;
  }
}

/* ========================================
   Desktop (1200px - 1399px)
   ======================================== */

@media screen and (max-width: 1399px) and (min-width: 1200px) {
  .categories-grid {
    gap: 28px;
  }
  
  .category-card {
    height: 180px;
  }
}

/* ========================================
   Tablet Landscape (1024px - 1199px)
   ======================================== */

@media screen and (max-width: 1199px) and (min-width: 1024px) {
  .featured-categories {
    padding: 50px 20px 70px;
  }

  .categories-title {
    font-size: 36px;
  }

  .categories-header {
    margin-bottom: 40px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .category-card {
    height: 190px;
    border-radius: 22px;
  }

  .category-name {
    font-size: 22px;
  }
}

/* ========================================
   Tablet Portrait (768px - 1023px)
   ======================================== */

@media screen and (max-width: 1023px) and (min-width: 768px) {
  .featured-categories {
    padding: 50px 20px 60px;
  }

  .categories-title {
    font-size: 34px;
  }

  .categories-subtitle {
    font-size: 14px;
  }

  .categories-header {
    margin-bottom: 35px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 5px;
  }

  .category-card {
    height: 200px;
    border-radius: 18px;
  }

  .category-name {
    font-size: 20px;
  }

  .category-content {
    padding: 18px 18px 20px;
  }
}

/* ========================================
   Mobile Landscape (640px - 767px)
   ======================================== */

@media screen and (max-width: 767px) and (min-width: 640px) {
  .featured-categories {
    padding: 45px 16px 55px;
  }

  .categories-header {
    margin-bottom: 32px;
  }

  .categories-title {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .categories-subtitle {
    font-size: 14px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 0;
  }

  .category-card {
    height: 180px;
    border-radius: 16px;
  }

  .category-content {
    padding: 16px 16px 18px;
  }

  .category-name {
    font-size: 18px;
    margin-bottom: 3px;
  }

  .category-count {
    font-size: 12px;
  }
}

/* ========================================
   Mobile Portrait (up to 639px)
   ======================================== */

@media screen and (max-width: 639px) {
  .featured-categories {
    padding: 40px 16px 50px;
  }

  .categories-header {
    margin-bottom: 28px;
  }

  .categories-title {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .categories-subtitle {
    font-size: 13px;
  }

  /* 2 Columns on Mobile */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0;
  }

  .category-card {
    height: 130px;
    border-radius: 20px;
  }

  .category-content {
    padding: 12px 12px 14px;
  }

  .category-name {
    font-size: 15px;
    margin-bottom: 2px;
  }

  .category-count {
    font-size: 11px;
  }

  .category-card:hover {
    transform: translateY(-2px);
  }
}

/* ========================================
   Small Mobile (up to 480px)
   ======================================== */

@media screen and (max-width: 480px) {
  .featured-categories {
    padding: 35px 14px 45px;
  }

  .categories-title {
    font-size: 26px;
  }

  .categories-subtitle {
    font-size: 12px;
  }

  .categories-grid {
    gap: 12px;
  }

  .category-card {
    height: 120px;
    border-radius: 22px;
  }

  .category-content {
    padding: 10px 10px 12px;
  }

  .category-name {
    font-size: 14px;
  }

  .category-count {
    font-size: 10px;
  }
}

/* ========================================
   Extra Small Mobile (up to 360px)
   ======================================== */

@media screen and (max-width: 360px) {
  .featured-categories {
    padding: 30px 12px 40px;
  }

  .categories-title {
    font-size: 24px;
  }

  .categories-grid {
    gap: 10px;
  }

  .category-card {
    height: 110px;
    border-radius: 20px;
  }

  .category-content {
    padding: 9px 9px 11px;
  }

  .category-name {
    font-size: 13px;
  }

  .category-count {
    font-size: 10px;
  }
}

/* ========================================
   Accessibility & Touch Improvements
   ======================================== */

@media (hover: none) and (pointer: coarse) {
  .category-card:hover {
    transform: none;
  }
  
  .category-card:active {
    transform: scale(0.98);
  }
  
  .category-card:hover .category-image {
    transform: scale(1);
  }
}

/* Focus States for Keyboard Navigation */
.category-link:focus {
  outline: 3px solid #dc3545;
  outline-offset: 2px;
  border-radius: 20px;
}

.category-link:focus-visible {
  outline: 3px solid #dc3545;
  outline-offset: 2px;
  border-radius: 20px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .category-card,
  .category-image,
  .category-overlay {
    transition: none;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .category-card {
    border: 2px solid #000;
  }
  
  .category-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.2) 30%,
      rgba(0, 0, 0, 0.4) 70%,
      rgba(0, 0, 0, 0.8) 100%
    );
  }
}

/* ========================================
   Featured Products Section - Optimized
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.featured-products {
  padding: 80px 20px;
  background: #f5f5f5;
  font-family: 'Poppins', sans-serif;
}

.products-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Header */
.products-header {
  text-align: center;
  margin-bottom: 50px;
}

.products-title {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.products-title .accent-text {
  color: #dc3545;
}

.products-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
}

/* Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

/* Product Card - Optimized */
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex: 1;
}

/* Image Wrapper - Optimized */
.product-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 70%;
  background: #fafafa;
  overflow: hidden;
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

/* Wishlist Icon */
.wishlist-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.wishlist-icon:hover {
  transform: scale(1.1);
  background: #dc3545;
}

.wishlist-icon svg {
  width: 16px;
  height: 16px;
  stroke: #666;
  fill: none;
  transition: all 0.3s ease;
}

.wishlist-icon:hover svg {
  stroke: #fff;
  fill: #fff;
}

/* Discount Badge */
.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #dc3545;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Product Details - Optimized */
.product-details {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}

.product-material {
  font-size: 13px;
  color: #666;
  margin: 0;
  font-weight: 400;
}

/* Product Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: #ffc107;
  font-size: 14px;
}

.star.empty {
  color: #e0e0e0;
}

.star.half {
  background: linear-gradient(90deg, #ffc107 50%, #e0e0e0 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.review-count {
  font-size: 12px;
  color: #666;
  font-weight: 400;
}

/* Pricing - Optimized */
.product-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.current-price {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.5px;
}

.original-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

/* Buttons - Single Line Aligned */
.product-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 12px;
}

.btn-add-cart,
.btn-buy-now {
  padding: 11px 16px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.btn-add-cart {
  background: #dc3545;
  color: #fff;
}

.btn-add-cart:hover {
  background: #c82333;
}

.btn-buy-now {
  background: transparent;
  color: #dc3545;
  border: 2px solid #dc3545;
}

.btn-buy-now:hover {
  background: #dc3545;
  color: #fff;
}

/* Footer */
.products-footer {
  text-align: center;
  margin-top: 50px;
}

.btn-view-all {
  display: inline-block;
  padding: 14px 36px;
  background: #dc3545;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-view-all:hover {
  background: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(220, 53, 69, 0.3);
}

/* No Products */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Desktop Large */
@media screen and (min-width: 1400px) {
  .products-container {
    max-width: 1400px;
  }
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

/* Desktop */
@media screen and (min-width: 1200px) and (max-width: 1399px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablet Landscape */
@media screen and (min-width: 1024px) and (max-width: 1199px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .products-title {
    font-size: 38px;
  }
}

/* Tablet Portrait */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .featured-products {
    padding: 60px 20px;
  }
  .products-title {
    font-size: 36px;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Mobile Landscape */
@media screen and (min-width: 640px) and (max-width: 767px) {
  .featured-products {
    padding: 50px 16px;
  }
  .products-title {
    font-size: 32px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Mobile Portrait */
@media screen and (max-width: 639px) {
  .featured-products {
    padding: 40px 12px;
  }
  .products-title {
    font-size: 28px;
  }
  .products-subtitle {
    font-size: 14px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-card {
    border-radius: 10px;
    max-width: 100%;
    margin: 0;
  }
  .product-image-wrapper {
    padding-bottom: 75%;
  }
  .product-details {
    padding: 8px;
    gap: 1px;
  }
  .product-name {
    font-size: 12px;
    min-height: 30px;
    line-height: 1.25;
    margin: 0;
  }
  .product-material {
    font-size: 11px;
    margin: 0;
  }
  .product-rating {
    gap: 4px;
    margin: 0;
  }
  .star {
    font-size: 12px;
  }
  .review-count {
    font-size: 10px;
  }
  .product-pricing {
    gap: 6px;
    margin: 0;
  }
  .current-price {
    font-size: 16px;
  }
  .original-price {
    font-size: 12px;
  }
  .product-buttons {
    padding: 0 8px 8px;
    gap: 6px;
  }
  .btn-add-cart,
  .btn-buy-now {
    padding: 8px 6px;
    font-size: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    line-height: 1.2;
  }
  .btn-add-cart svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  .btn-buy-now {
    border-width: 1.5px;
  }
  .discount-badge {
    font-size: 9px;
    padding: 4px 8px;
    top: 8px;
    left: 8px;
  }
  .wishlist-icon {
    width: 28px;
    height: 28px;
    top: 8px;
    right: 8px;
  }
  .wishlist-icon svg {
    width: 14px;
    height: 14px;
  }
  .products-footer {
    margin-top: 40px;
  }
  .btn-view-all {
    padding: 10px 28px;
    font-size: 13px;
    border-radius: 10px;
  }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
  .products-title {
    font-size: 24px;
  }
  .products-grid {
    gap: 12px;
  }
  .product-card {
    border-radius: 10px;
    max-width: 100%;
  }
  .product-details {
    padding: 8px;
  }
  .product-name {
    font-size: 11px;
    min-height: 32px;
  }
  .product-material {
    font-size: 10px;
  }
  .current-price {
    font-size: 14px;
  }
  .original-price {
    font-size: 11px;
  }
  .product-buttons {
    padding: 0 8px 8px;
  }
  .btn-add-cart,
  .btn-buy-now {
    padding: 7px 6px;
    font-size: 9px;
  }
  .btn-view-all {
    padding: 9px 24px;
    font-size: 12px;
    border-radius: 10px;
  }
}

/* Extra Small */
@media screen and (max-width: 360px) {
  .featured-products {
    padding: 30px 8px;
  }
  .products-title {
    font-size: 22px;
  }
  .products-grid {
    gap: 10px;
  }
  .product-details {
    padding: 7px;
  }
  .product-name {
    font-size: 11px;
    min-height: 32px;
  }
  .product-material {
    font-size: 9px;
  }
  .current-price {
    font-size: 13px;
  }
  .original-price {
    font-size: 10px;
  }
  .product-buttons {
    padding: 0 7px 7px;
  }
  .btn-add-cart,
  .btn-buy-now {
    padding: 6px 5px;
    font-size: 8px;
  }
  .star {
    font-size: 10px;
  }
  .review-count {
    font-size: 9px;
  }
  .btn-view-all {
    padding: 8px 20px;
    font-size: 11px;
    border-radius: 10px;
  }
}

/* ========================================
   Accessibility & Performance
   ======================================== */

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover {
    transform: none;
  }
  .product-card:active {
    transform: scale(0.98);
  }
  .product-card:hover .product-image {
    transform: none;
  }
}

/* Focus States - Remove red border on click */
.product-link:focus,
.product-link:focus-visible,
.product-link:active {
  outline: none;
}

.btn-add-cart:focus-visible,
.btn-buy-now:focus-visible,
.btn-view-all:focus-visible {
  outline: 2px solid #dc3545;
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* High Contrast */
@media (prefers-contrast: high) {
  .product-card {
    border: 2px solid #000;
  }
}

/* Print */
@media print {
  .product-buttons,
  .products-footer,
  .wishlist-icon {
    display: none;
  }
}

/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Testimonials Section */
.testimonials-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f8f8f8 0%, #ffffff 50%);
    font-family: 'Poppins', sans-serif;
}

.testimonials-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Styles */
.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    color: #2c2c2c;
}

.testimonials-title .love-text {
    color: #ff3c3c;
}

.testimonials-subtitle {
    font-size: 15px;
    color: #6b6b6b;
    font-weight: 400;
    margin: 0;
}

/* Slider Wrapper with Arrows */
.testimonials-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-arrow {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #ff3c3c;
    color: #ff3c3c;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.slider-arrow:hover {
    background: #ff3c3c;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 60, 60, 0.3);
}

.slider-arrow:active {
    transform: scale(0.95);
}

/* Slider Container */
.testimonials-slider-container {
    flex: 1;
    overflow: hidden;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px;
}

/* Testimonial Card */
.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid #f0f0f0;
}

.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Testimonial Top Section (Avatar + Name + Stars) */
.testimonial-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #f0f0f0;
    position: relative;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-letter {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.user-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #2c2c2c;
    line-height: 1.3;
}

/* Rating Stars */
.rating {
    display: flex;
    gap: 3px;
}

.rating i {
    font-size: 14px;
    color: #e0e0e0;
}

.rating i.filled {
    color: #ffa500;
}

/* Testimonial Content */
.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #5a5a5a;
    margin: 0;
    font-style: italic;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet View (2 columns) */
@media (max-width: 1024px) {
    .testimonials-section {
        padding: 60px 16px;
    }
    
    .testimonials-title {
        font-size: 36px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Mobile View (1 column) */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 50px 16px;
    }
    
    .testimonials-header {
        margin-bottom: 35px;
    }
    
    .testimonials-title {
        font-size: 28px;
    }
    
    .testimonials-subtitle {
        font-size: 13px;
    }
    
    .testimonials-slider-wrapper {
        gap: 12px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 5px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .user-avatar {
        width: 50px;
        height: 50px;
    }
    
    .avatar-letter {
        font-size: 20px;
    }
    
    .user-name {
        font-size: 15px;
    }
    
    .testimonial-content p {
        font-size: 13px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-width: 1.5px;
    }
}

/* Small Mobile View */
@media (max-width: 480px) {
    .testimonials-section {
        padding: 40px 12px;
    }
    
    .testimonials-title {
        font-size: 24px;
    }
    
    .testimonials-subtitle {
        font-size: 12px;
    }
    
    .testimonials-slider-wrapper {
        gap: 8px;
    }
    
    .testimonial-card {
        padding: 18px;
    }
    
    .testimonial-top {
        gap: 12px;
    }
    
    .user-avatar {
        width: 45px;
        height: 45px;
    }
    
    .avatar-letter {
        font-size: 18px;
    }
    
    .user-name {
        font-size: 14px;
    }
    
    .rating i {
        font-size: 12px;
    }
    
    .testimonial-content p {
        font-size: 12px;
    }
    
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Hide arrows on very small screens */
@media (max-width: 380px) {
    .slider-arrow {
        display: none;
    }
    
    .testimonials-slider-container {
        width: 100%;
    }
}


/* Testimonials Section Styles */
.testimonials-section {
    background-color: #f5f5f5;
    padding: 60px 0;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonials-header {
    margin-bottom: 50px;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.love-text {
    color: #ff3c3c;
}

.testimonials-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Testimonials Slider Wrapper */
.testimonials-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 -20px;
}

/* Testimonials Rows - Stacked Vertically */
.testimonials-row {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.testimonials-row:last-child {
    margin-bottom: 0;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    padding: 10px 20px;
    scroll-behavior: smooth;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

/* Top Row Animation - Right to Left */
.top-row .testimonials-track {
    animation: scroll-left 35s linear infinite;
}

/* Bottom Row Animation - Left to Right */
.bottom-row .testimonials-track {
    animation: scroll-right 35s linear infinite;
}

/* Pause animation on hover */
.testimonials-track:hover {
    animation-play-state: paused;
}

/* Testimonial Card - Perfect Pill Shape with Vertical Centering */
.testimonial-card {
    flex: 0 0 500px;
    background: #ffffff;
    border-radius: 999px !important;
    padding: 18px 26px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    scroll-snap-align: start;
    transition: all 0.3s ease;
    cursor: grab;
    min-height: 100px;
    display: flex;
    align-items: center; /* Vertical center alignment */
    justify-content: center; /* Horizontal center alignment */
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.testimonial-card:active {
    cursor: grabbing;
}

/* Card Content - Perfectly Centered */
.card-content {
    display: flex;
    align-items: center; /* Vertical center */
    gap: 16px;
    width: 100%;
    height: 100%;
}

.user-info {
    display: flex;
    align-items: center; /* Vertical center */
    gap: 16px;
    flex-shrink: 0;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-letter {
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.user-details {
    text-align: left;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertical center */
}

.user-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    line-height: 1.2;
}

.star-rating {
    display: flex;
    gap: 2px;
    align-items: center; /* Vertical center */
}

.star {
    font-size: 13px;
    color: #ddd;
    line-height: 1;
}

.star.filled {
    color: #f6b042;
}

.review-text {
    flex: 1;
    text-align: left;
    min-width: 0;
    display: flex;
    align-items: center; /* Vertical center */
}

.review-text p {
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* No Testimonials Message */
.no-testimonials {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px;
    width: 100%;
    border-radius: 999px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

/* Scroll Animations */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-500px - 20px));
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(calc(-500px - 20px));
    }
    100% {
        transform: translateX(0);
    }
}

/* Responsive Design - Mobile: Single Row */
@media (max-width: 900px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonial-card {
        flex: 0 0 380px;
        padding: 16px 22px;
        min-height: 90px;
    }
    
    .testimonials-title {
        font-size: 2rem;
    }
    
    .testimonials-header {
        margin-bottom: 40px;
    }
    
    .card-content {
        gap: 14px;
    }
    
    .user-info {
        gap: 14px;
    }
    
    .user-avatar {
        width: 45px;
        height: 45px;
    }
    
    .avatar-letter {
        font-size: 16px;
    }
    
    .user-name {
        font-size: 13px;
    }
    
    .review-text p {
        font-size: 12px;
    }
    
    /* Hide bottom row on mobile, only show top row */
    .bottom-row {
        display: none;
    }
    
    .top-row {
        margin-bottom: 0;
    }
    
    @keyframes scroll-left {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-380px - 20px));
        }
    }
    
    @keyframes scroll-right {
        0% {
            transform: translateX(calc(-380px - 20px));
        }
        100% {
            transform: translateX(0);
        }
    }
}

@media (max-width: 600px) {
    .testimonials-section {
        padding: 24px 0;
    }
    
    .testimonial-card {
        flex: 0 0 90%;
        padding: 14px 20px;
        min-height: 80px;
    }
    
    .testimonials-title {
        font-size: 1.75rem;
    }
    
    .testimonials-subtitle {
        font-size: 1rem;
    }
    
    .testimonials-header {
        margin-bottom: 30px;
    }
    
    .card-content {
        gap: 12px;
    }
    
    .user-info {
        gap: 12px;
        min-width: 130px;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
    }
    
    .avatar-letter {
        font-size: 16px;
    }
    
    .user-name {
        font-size: 12px;
    }
    
    .star {
        font-size: 11px;
    }
    
    .review-text p {
        font-size: 11px;
        line-height: 1.4;
    }
    
    @keyframes scroll-left {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-90% - 20px));
        }
    }
    
    @keyframes scroll-right {
        0% {
            transform: translateX(calc(-90% - 20px));
        }
        100% {
            transform: translateX(0);
        }
    }
}

/* Extra small mobile devices */
@media (max-width: 400px) {
    .testimonial-card {
        padding: 12px 18px;
        min-height: 70px;
    }
    
    .card-content {
        gap: 10px;
    }
    
    .user-info {
        gap: 10px;
        min-width: 110px;
    }
    
    .user-avatar {
        width: 35px;
        height: 35px;
    }
    
    .user-name {
        font-size: 11px;
    }
    
    .review-text p {
        font-size: 10px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .testimonials-track {
        animation: none;
    }
    
    .testimonial-card:hover {
        transform: none;
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }
}
/* Testimonials Section Styles */
.testimonials-section {
    background-color: #fef9f3;
    padding: 80px 0;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonials-header {
    margin-bottom: 60px;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.love-text {
    color: #ff3c3c;
}

.testimonials-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Testimonials Grid Layout - Two Rows Only */
.testimonials-slider-wrapper {
    position: relative;
    overflow: hidden;
}

/* Two rows with auto-scroll */
.testimonials-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
}

.testimonials-row:last-child {
    margin-bottom: 0;
}

.testimonials-track {
    display: flex;
    gap: 16px;
    animation: scroll-horizontal 40s linear infinite;
    will-change: transform;
}

/* First row scrolls left */
.testimonials-row:first-child .testimonials-track {
    animation-direction: normal;
}

/* Second row scrolls right */
.testimonials-row:last-child .testimonials-track {
    animation-direction: reverse;
}

/* Pause on hover */
.testimonials-track:hover {
    animation-play-state: paused;
}
/* Testimonials Section Styles */
.testimonials-section {
    background-color: #fef9f3;
    padding: 80px 0;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.testimonials-header {
    margin-bottom: 60px;
    padding: 0 20px;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.love-text {
    color: #ff3c3c;
}

.testimonials-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Testimonials Grid Layout - Two Rows Only */
.testimonials-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Two rows with auto-scroll */
.testimonials-row {
    display: flex;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonials-row:last-child {
    margin-bottom: 0;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    animation: scroll-left 50s linear infinite;
    will-change: transform;
}

/* First row scrolls left */
.testimonials-row:first-child .testimonials-track {
    animation-name: scroll-left;
}

/* Second row scrolls right */
.testimonials-row:nth-child(2) .testimonials-track {
    animation-name: scroll-right;
}

/* Pause on hover */
.testimonials-track:hover {
    animation-play-state: paused;
}

/* STICKY HEADER FOR MOBILE */
@media (max-width: 768px) {
    .header {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* Ensure mobile search bar is positioned correctly when sticky */
    .mobile-search-bar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
    }
    
    /* Adjust mobile menu to account for sticky header */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 998;
    }
}