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

html, body {
    overflow-x: hidden;
    width: 100%;
}

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

body.nav-active {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

main img {
    max-width: 100%;
    height: auto;
}

:root {
    --primary: #2C3E50;
    --dark: #1A1A1A;
    --light: #F8F9FA;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.filter-toggle:hover {
    background: var(--dark);
    transform: translateY(-2px);
}

.filter-toggle i {
    font-size: 1.1rem;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    background-image: 
        radial-gradient(at 40% 20%, rgba(44, 62, 80, 0.05) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(44, 62, 80, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(44, 62, 80, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* Navigation */
header {
    padding: 1rem 0;
    background: white;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    text-decoration: none;
    transition: var(--transition);
}

.logo-image {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    align-items: center;
}

.logo-image img {
    max-height: 45px;
}

.logo:hover {
    transform: translateY(-2px);
    color: var(--dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform-origin: left;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: all 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        margin: 0;
        z-index: 999;
        visibility: hidden;
        opacity: 0;
    }

    .nav-links.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        display: block;
        padding: 1rem;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
}

.nav-icons a {
    color: var(--dark);
    font-size: 1.2rem;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.nav-icons a:hover {
    color: var(--primary);
    transform: translateY(-2px);
    background: white;
    box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, 
        rgba(44, 62, 80, 0.95), 
        rgba(26, 26, 26, 0.95)),
        url('https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Buttons */
.cta-button,
.view-button,
.add-to-cart-btn,
.buy-now-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.cta-button {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.view-button {
    background: var(--primary);
    color: white;
    padding: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: block;
    width: 100%;
    text-align: center;
    border: none;
    margin-top: auto;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.view-button:hover {
    background: var(--dark);
    color: white;
    transform: none;
    box-shadow: none;
    opacity: 0.9;
}

.view-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.view-button:hover::after {
    left: 100%;
}

.add-to-cart-btn {
    background: var(--primary);
    color: white;
    margin-right: 1rem;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.buy-now-btn {
    background: var(--dark);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.2);
}

.cta-button:hover,
.add-to-cart-btn:hover,
.buy-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 3rem 0;
}

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
    border-bottom: 1px solid var(--glass-border);
}

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

.product-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1rem 1.5rem 0.5rem;
    color: var(--dark);
    line-height: 1.4;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 1.5rem;
}

.product-rating {
    display: block;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem 1rem 1.5rem;
    color: #FFB800;
}

.product-rating span {
    color: #666;
    font-size: 0.9rem;
    margin-left: 0.25rem;
}

/* Product Detail Page */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    margin: 2rem 5%;
    box-shadow: var(--shadow);
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.thumbnail-images {
    display: flex;
    gap: 1rem;
}

.thumbnail-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumbnail-images img:hover,
.thumbnail-images img.active {
    border-color: var(--primary);
    transform: scale(1.05);
}

.product-info {
    padding: 1rem;
}

.product-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary);
}

.product-description {
    margin: 2rem 0;
}

.product-description ul {
    list-style: none;
    margin-top: 1rem;
}

.product-description li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-description li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Reviews Section */
.product-reviews {
    padding: 3rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    margin: 2rem 5%;
}

.average-rating h3 {
    font-size: 4rem;
    color: var(--primary);
    font-weight: 800;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 2rem 5%;
    margin-top: 0;
    position: relative;
}

footer::before {
    display: none;
}

.footer-content {
    display: grid;
    direction: rtl;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-section {
    direction: ltr;
}

.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    font-size: 0.95rem;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

p.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    footer {
        padding: 1.5rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-section h3 {
        margin-bottom: 0.8rem;
    }

    .footer-section ul li {
        margin-bottom: 0.4rem;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 0.8rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        margin: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .filters {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        padding: 2rem;
        z-index: 1000;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    }

    .apply-filters-btn {
        position: sticky;
        bottom: 0;
        margin-top: auto;
        padding: 1.2rem;
        font-size: 1.1rem;
        border-radius: 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }

    .apply-filters-btn:hover {
        transform: none;
    }
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.submit-button {
    background: var(--primary);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.2);
}

/* About Section */
.about-section {
    padding: 5rem 5%;
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    margin: 2rem 5%;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 800;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Featured Products Section */
.featured-products {
    padding: 4rem 0;
    text-align: center;
}

.featured-products h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.featured-products h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Featured Posts Section */
.featured-posts {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.25rem;
}

.post-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.post-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--dark);
    transform: translateY(-2px);
}

.post-link {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
    display: block;
}

.post-link:hover {
    color: var(--dark);
}

.post-link img {
    transition: var(--transition);
}

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

.post-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary);
    font-size: 1.25rem;
    transition: var(--transition);
}

.post-link:hover h3 {
    color: var(--dark);
}
.products-section {
    padding: 3rem 0;
    display: flex;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.filters {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 3rem;
    height: fit-content;
    z-index: 10;
    display: flex;
    flex-direction: column;
    width: 265px;
    flex-shrink: 0;
}

.filters h3 {
    font-size: 1.4rem;
    margin-bottom: 0;
    color: var(--primary);
}

.filter-group h4 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.filter-group label {
    display: block;
    margin-bottom: 0.8rem;
    cursor: pointer;
}

.price-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

.price-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-input-group label {
    font-size: 0.9rem;
    color: #666;
}

.price-range-container {
    padding: 1rem 0;
}

.price-range-display {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* noUiSlider Styles */
.noUi-target {
    background: var(--light);
    border: none;
    box-shadow: none;
    height: 4px;
    margin: 1rem 0;
}

.noUi-connect {
    background: var(--primary) !important;
    border-radius: 2px;
}

.noUi-handle {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    box-shadow: none;
    cursor: pointer;
    right: -8px !important;
    top: -6px !important;
}

.noUi-handle:before,
.noUi-handle:after {
    display: none;
}

.noUi-handle:hover {
    transform: scale(1.1);
    background: var(--dark);
}

.noUi-handle:active {
    transform: scale(0.95);
}

.noUi-handle-lower {
    right: -8px !important;
}

.noUi-handle-upper {
    right: -8px !important;
}

.noUi-tooltip {
    display: none;
}

.price-value {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

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

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

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

@media (max-width: 768px) {
    .products-section {
        flex-direction: column;
        padding: 2rem 0;
        gap: 2rem;
        padding-bottom: 5rem;
    }

    .filter-toggle {
        display: flex;
        position: fixed;
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        margin: 0;
        padding: 1rem 2rem;
        border-radius: 50px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        background: var(--primary);
        width: auto;
        min-width: 160px;
        justify-content: center;
    }

    .filter-toggle:hover {
        transform: translateX(-50%) translateY(-2px);
    }

    .filters {
        position: fixed;
        top: 0;
        right: -100%;
        max-width: auto;
        width: 100%;
        height: 100vh;
        background: white;
        padding: 2rem;
        z-index: 1000;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    }

    .filters.active {
        right: 0;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.apply-filters-btn {
    background: var(--primary);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    width: 100%;
    margin-top: auto;
}

.apply-filters-btn:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.products-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: -0.5px;
}

.products-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.products-title:hover::after {
    width: 100px;
}

.products-container {
    position: relative;
    padding-bottom: 100px;
    width: 100%;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 0.8rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.page-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.products-header {
    margin-bottom: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.products-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.products-info {
    color: #666;
    font-size: 0.9rem;
}

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

.close-filter {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    display: none;
}

.no-products {
    text-align: center;
    padding: 2rem;
    color: #666;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .close-filter {
        display: block;
    }
    
    .filters {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: white;
        z-index: 1000;
        padding: 1rem;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .filters.active {
        right: 0;
    }

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

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .pagination-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .page-numbers {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .page-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .page-dots {
        display: none;
    }
}

@media (max-width: 360px) {
    .pagination {
        padding: 0.6rem;
    }

    .page-numbers {
        gap: 0.2rem;
    }

    .page-number {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }
}

.sort-select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: var(--glass-bg);
    color: var(--dark);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232C3E50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1rem;
}

.sort-select:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.1);
}

/* Add backdrop styles */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Product Slider Styles */
.product-slider {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a, #2c3e50);
    padding: 2rem 0;
    overflow: hidden;
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.slide.active {
    opacity: 1;
    display: block;
}

.slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 2rem;
}

.slide-image {
    flex: 1;
    max-width: 50%;
    padding: 1rem;
}

.slide-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slide-info {
    flex: 1;
    padding: 2rem;
    text-align: left;
    color: white;
}

.slide-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slide-info .price {
    font-size: 1.5rem;
    color: #AA2413;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
}

.slide-info .description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    color: white;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-nav.prev {
    left: 0;
}

.slider-nav.next {
    right: 0;
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.product-slider .cta-button {
    background: #AA2413;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.product-slider .cta-button:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

@media (max-width: 768px) {
    header {
        padding: 0.5rem 0;
    }
    .product-slider {
        padding: 0;
        height: 100vh;
        min-height: 600px;
        width: 100%;
    }
    .slider-container {
        height: 100%;
        width: 100%;
    }
    .slider-wrapper {
        height: 100%;
        width: 100%;
    }
    .slide {
        height: 100%;
        width: 100%;
    }
    .slide-content {
        flex-direction: column;
        text-align: left;
        padding: 0;
        height: 100%;
        width: 100%;
        position: relative;
    }
    .slide-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
        z-index: 1;
        max-width: 100%;
    }
    .slide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }
    .slide-info {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 2rem;
        padding-bottom: 4rem;
        background: rgba(44, 62, 80, 0.45);
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        z-index: 2;
    }
    .slide-info h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: white;
    }
    .slide-info .price {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    .slide-info .description {
        font-size: 1rem;
        margin-bottom: 2rem;
        color: rgba(255, 255, 255, 0.9);
        max-width: 100%;
    }
    .slider-nav.prev {
        left: 1rem;
    }
    .slider-nav.next {
        right: 1rem;
    }
    .cta-button {
        position: relative;
        transform: none;
        width: auto;
        max-width: 200px;
    }
    .slider-nav {
        z-index: 3;
    }
    .slider-dots {
        z-index: 3;
    }
    
    .products-container {
        padding-bottom: 150px;
    }
}

/* Categories Section */
.categories {
    padding: 2.5rem;
    background: white;
}

.categories h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    position: relative;
}

.categories h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.categories h2:hover::after {
    width: 80px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin: 0 auto;
}

.category-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.category-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: var(--transition);
}

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

.category-card h3 {
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
    color: var(--primary);
    text-align: center;
}

.see-all-container {
    text-align: center;
    margin-top: 2rem;
}

.see-all-button {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.see-all-button:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.1);
}

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

    .categories h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
    }

    .category-card img {
        height: 120px;
    }

    .see-all-container {
        margin-top: 1.5rem;
    }

    .see-all-button {
        padding: 0.6rem 1.6rem;
        font-size: 0.9rem;
    }
}

.filter-group ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.filter-group ul li {
    margin-bottom: 0.5rem;
}

.filter-group ul li a.active {
    color: var(--primary);
    font-weight: bold;
}

.filter-group ul li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--dark);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.filter-group ul li a:hover {
    background-color: rgba(44, 62, 80, 0.1);
    color: var(--primary);
    transform: translateX(5px);
}

.filter-group ul li a.active {
    background-color: var(--primary);
    color: white;
}

