/* 
* Petit Prix - Main Stylesheet
* A responsive, bilingual website for household appliances
*/

/* ===== Base Styles ===== */
:root {
    --primary-color: #DA291C;
    --secondary-color: #004170;
    --accent-color: #004170;
    --light-color: #FFFFFF;
    --dark-color: #004170;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1.2rem 2.4rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn:hover {
    background-color: #004170;
    color: white;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

.btn-sm {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

/* ===== Header ===== */
.header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin: 0;
}

.language-switch {
    margin-right: 2rem;
}

#lang-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
}

#current-lang {
    color: var(--primary-color);
}

/* ===== Navigation ===== */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

.bar.active:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.bar.active:nth-child(2) {
    opacity: 0;
}

.bar.active:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 0;
    text-align: center;
}

.hero-content {
    max-width: 70rem;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.2rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* ===== Page Banner ===== */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/page-banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.banner-content {
    max-width: 70rem;
    margin: 0 auto;
}

.banner-content h1 {
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
}

.banner-content p {
    font-size: 1.8rem;
    margin-bottom: 0;
    font-weight: 300;
}

/* ===== Features ===== */
.features {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.feature-card h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--secondary-color);
}

/* ===== Products ===== */
.popular-products {
    padding: 8rem 0;
    background-color: var(--light-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 600;
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.old-price {
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 1rem;
}

.current-price {
    color: var(--primary-color);
    font-size: 2rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-features span {
    background-color: var(--light-color);
    color: var(--secondary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 500;
}

/* ===== Product Categories ===== */
.product-category {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.product-category:last-child {
    border-bottom: none;
}

.categories {
    padding: 8rem 0;
    background-color: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-image {
    height: 100%;
    width: 100%;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    color: white;
    text-align: center;
}

.category-overlay h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* ===== Packs Page ===== */
.packs-intro {
    padding: 8rem 0;
    background-color: white;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: var(--secondary-color);
}

.benefits-list {
    margin-top: 3rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.benefits-list i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    width: 2.5rem;
    text-align: center;
}

.intro-image {
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.packs {
    padding: 6rem 0;
    background-color: var(--light-color);
}

.pack-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 4rem;
}

.pack-card:last-child {
    margin-bottom: 0;
}

.pack-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pack-header h3 {
    font-size: 2.2rem;
    margin: 0;
}

.pack-badge {
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 1.4rem;
    font-weight: 600;
}

.pack-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.pack-image {
    padding: 2rem;
}

.pack-details {
    padding: 2rem 2rem 2rem 0;
}

.pack-description {
    margin-bottom: 2rem;
    font-size: 1.6rem;
}

.pack-details h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.pack-items {
    margin-bottom: 2.5rem;
}

.pack-items li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.pack-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.pack-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
}

.pack-price .old-price,
.pack-price .current-price {
    display: block;
    text-align: left;
}

.custom-pack {
    padding: 6rem 0;
    background-color: var(--secondary-color);
    color: white;
}

.custom-pack-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.custom-pack-info h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.discount-tiers {
    margin-top: 2rem;
}

.discount-tiers li {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 500;
}

/* ===== Services Page ===== */
.services-intro {
    padding: 8rem 0;
    background-color: white;
}

.service-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.repair-services {
    padding: 8rem 0;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 2.5rem;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    background-color: var(--light-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-details h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.service-price {
    margin: 2rem 0;
    display: flex;
    align-items: baseline;
}

.price-label {
    margin-right: 1rem;
    font-size: 1.4rem;
    color: var(--text-light);
}

.price-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===== How it Works Section ===== */
.how-it-works {
    padding: 8rem 0;
}

.steps {
    max-width: 80rem;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 5rem;
    left: 2.5rem;
    bottom: -3rem;
    width: 2px;
    background-color: var(--border-color);
    z-index: 0;
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
}

.step-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 8rem 0;
    background-color: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--text-color);
    position: relative;
    padding-left: 3rem;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 5rem;
    position: absolute;
    left: 0;
    top: -2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.author-rating {
    color: gold;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.author-name {
    font-weight: 600;
}

.author-name small {
    font-weight: 400;
    color: var(--text-light);
    display: block;
    margin-top: 0.3rem;
}

/* ===== Call to Action ===== */
.cta {
    background-color: var(--secondary-color);
    color: white;
    padding: 8rem 0;
    text-align: center;
}

.cta-content {
    max-width: 70rem;
    margin: 0 auto;
}

.cta h2 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
}

.cta p {
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--light-color);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--light-color);
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section i {
    width: 2rem;
    margin-right: 1rem;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 1rem;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .pack-content {
        grid-template-columns: 1fr;
    }
    
    .pack-image {
        max-width: 400px;
        margin: 0 auto;
        padding: 2rem 2rem 0 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .header-content {
        position: relative;
    }
    
    .menu-toggle {
        display: block;
        z-index: 20;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 10;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .features-grid,
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
    }
    
    .intro-text {
        order: 1;
    }
    
    .intro-image {
        order: 0;
    }
    
    .custom-pack-content {
        flex-direction: column;
        text-align: center;
    }
    
    .service-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .features-grid,
    .products-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        margin-top: 2rem;
        justify-content: center;
    }
    
    .pack-pricing {
        flex-direction: column;
        gap: 2rem;
    }
}

/* ===== Contact Page ===== */
.contact {
    padding: 8rem 0;
    background-color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h2,
.contact-form-container h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-method {
    display: flex;
    gap: 2rem;
}

.method-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    width: 5rem;
    height: 5rem;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-details h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.method-details p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1.6rem;
}

.form-group textarea {
    height: 15rem;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(69, 123, 157, 0.2);
}

.map-section {
    padding: 4rem 0 8rem;
    background-color: var(--light-color);
}

.map-placeholder {
    height: 40rem;
    background-color: #e9e9e9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.8rem;
    text-align: center;
}

/* About page */
.about-content {
    min-height: 40rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0;
    text-align: center;
    font-size: 2rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* ===== Products Page with Filters ===== */
.products-section {
    padding: 4rem 0;
}

.products-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

/* Filter Sidebar */
.filter-sidebar {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.filter-header h3 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 2rem;
}

.filter-toggle-mobile {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--accent-color);
    cursor: pointer;
}

.filter-content {
    padding: 2rem;
}

.filter-group {
    margin-bottom: 2.5rem;
}

.filter-group h4 {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    color: var(--secondary-color);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    margin-right: 1rem;
    width: 1.8rem;
    height: 1.8rem;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.filter-option span {
    font-size: 1.4rem;
}

/* Price Range */
.price-range {
    padding-top: 1rem;
}

.price-inputs {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-input {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.price-input label {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: var(--text-light);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .currency {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
}

.price-input input {
    width: 100%;
    padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1.4rem;
}

.range-slider {
    position: relative;
    height: 5px;
    margin: 2rem 0 1rem;
    background-color: var(--border-color);
    border-radius: 5px;
}

.range-min, .range-max {
    position: absolute;
    width: 100%;
    height: 5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
}

.range-min::-webkit-slider-thumb,
.range-max::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    pointer-events: auto;
    margin-top: -8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.range-min::-moz-range-thumb,
.range-max::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    pointer-events: auto;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Filter Actions */
.filter-actions {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.filter-actions .btn {
    flex: 1;
}

/* Products Content */
.products-content {
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .products-layout {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .filter-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1000;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .filter-sidebar.active {
        transform: translateX(0);
    }
    
    .filter-header {
        position: sticky;
        top: 0;
        background-color: white;
        z-index: 10;
    }
    
    .filter-toggle-mobile {
        display: block;
    }
    
    .filter-toggle-close {
        display: block;
        font-size: 2rem;
    }
    
    /* Add filter toggle button to content area */
    .mobile-filter-toggle {
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
    }
}

/* ===== Product Detail Page ===== */
.product-detail-page {
    padding: 4rem 0;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    font-size: 1.4rem;
}

.breadcrumb a {
    color: var(--accent-color);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    margin: 0 1rem;
    color: var(--text-light);
}

.breadcrumb .current-page {
    color: var(--text-color);
    font-weight: 500;
}

/* Product Detail Container */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 10rem;
}

.main-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.main-image img {
    width: 100%;
    height: auto;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail {
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover {
    border-color: var(--accent-color);
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

/* Product Information */
.product-information {
    position: relative;
}

.product-information h1 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.product-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.product-old-price {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 2rem;
    margin-right: 1.5rem;
}

.product-current-price {
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 700;
    margin-right: 1.5rem;
}

.product-savings {
    background-color: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 1.4rem;
    font-weight: 500;
}

.product-stock {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
}

.product-features-detailed {
    margin-bottom: 2.5rem;
}

.product-features-detailed h3,
.product-description h3,
.product-condition h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.product-features-detailed ul {
    list-style: none;
}

.product-features-detailed li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.product-features-detailed li::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 1rem;
    font-weight: bold;
}

.product-description {
    margin-bottom: 2.5rem;
}

.product-description p {
    line-height: 1.7;
}

.product-condition {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 8px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cta-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-buttons .btn i {
    margin-right: 1rem;
}

.product-delivery {
    margin-bottom: 2rem;
}

.delivery-option {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.delivery-option i {
    margin-right: 1rem;
    color: var(--accent-color);
}

/* Product Tabs */
.product-tabs {
    margin-bottom: 5rem;
}

.tab-headers {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.tab-header {
    padding: 1.2rem 2.4rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    position: relative;
}

.tab-header.active {
    color: var(--primary-color);
}

.tab-header.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-panel {
    display: none;
    padding: 2rem 0;
}

.tab-panel.active {
    display: block;
}

.tab-panel h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr:nth-child(even) {
    background-color: var(--light-color);
}

.specs-table td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.specs-table td:first-child {
    width: 40%;
    font-weight: 600;
    color: var(--secondary-color);
}

.tab-panel ul {
    list-style: none;
    margin-bottom: 2rem;
}

.tab-panel li {
    padding: 0.8rem 0;
    position: relative;
    padding-left: 2rem;
}

.tab-panel li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Related Products */
.related-products {
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.related-products h2 {
    font-size: 2.4rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-detail-container {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        position: static;
        margin-bottom: 3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .tab-header {
        padding: 1rem 1.5rem;
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .tab-headers {
        flex-direction: column;
    }
    
    .tab-header {
        width: 100%;
        text-align: center;
    }
    
    .tab-header.active::after {
        display: none;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
} 