
        :root {
            --primary: #4a6bff;
            --secondary: #4ECDC4;
            --dark: #292F36;
            --light: #F7FFF7;
            --beige: #f5f5dc;
        }

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

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: #f9f9f9;
            color: var(--dark);
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Header */
        header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;



        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 1.5rem;
        }

        nav ul li a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: color 0.2s;
        }

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

        .header-icons {
            display: flex;
            align-items: center;


        }

        .header-icons a {
            margin-left: 1rem;
            color: var(--dark);
            font-size: 1.2rem;
            position: relative;
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 0.7rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                        url('https://images.unsplash.com/photo-1556228453-efd6c1ff04f6?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 5rem 2rem;
            text-align: center;
            position: relative;
        }

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

        .hero h1 {
            font-size: 2.8rem;
            margin-bottom: 1rem;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            text-shadow: 0 1px 3px rgba(0,0,0,0.3);
        }

        .btn {
            display: inline-block;
            padding: 0.9rem 1.8rem;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
        }

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

        .btn-primary:hover {
            background: #3a5aed;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        /* Floating Buttons */
        .floating-buttons {
            position: fixed;
            bottom: 30px;
            right: 30px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            z-index: 99;
        }

        .floating-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            transition: all 0.3s ease;
            position: relative;
        }

        .floating-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.2);
        }

        .floating-btn::after {
            content: attr(title);
            position: absolute;
            right: 70px;
            white-space: nowrap;
            background: var(--dark);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
        }

        .floating-btn:hover::after {
            opacity: 1;
        }

        /* Featured Categories */
        .section-title {
            text-align: center;
            margin: 3rem 0 1.5rem;
            font-size: 1.8rem;
            font-weight: 700;
        }

        .categories {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        .category-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
            transition: transform 0.3s;
        }

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

        .category-img {
            height: 200px;
            background-size: cover;
            background-position: center;
        }

        .category-info {
            padding: 1.2rem;
            text-align: center;
        }

        .category-info h3 {
            margin-bottom: 0.5rem;
        }

        /* Products */
        .products {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        .product-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
            transition: all 0.3s;
            position: relative;
        }

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

        .product-img {
            height: 300px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .product-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--primary);
            color: white;
            padding: 0.3rem 0.6rem;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .like-btn {
            position: absolute;
            top: 10px;
            left: 10px;
            background: white;
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #ccc;
            transition: all 0.2s;
        }

        .like-btn.liked {
            color: var(--primary);
        }

        .product-info {
            padding: 1.2rem;
        }

        .product-info h3 {
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }

        .product-price {
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.8rem;
        }

        .product-price .old-price {
            text-decoration: line-through;
            color: #999;
            font-size: 0.9rem;
            margin-left: 0.5rem;
        }

        .btn-add-to-cart {
            width: 100%;
            padding: 0.7rem;
            background: var(--dark);
            color: white;
            border: none;
            border-radius: 4px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }

        .btn-add-to-cart:hover {
            background: #1a1f24;
        }

        /* Coupon Section */
        .coupon-section {
            background-color: var(--primary);
            color: white;
            padding: 1.5rem;
            border-radius: 10px;
            margin: 2rem 0;
            text-align: center;
        }

        .coupon-code {
            background: white;
            color: var(--primary);
            padding: 0.5rem 1rem;
            border-radius: 4px;
            font-weight: 700;
            font-size: 1.2rem;
            display: inline-block;
            margin: 1rem 0;
        }

        /* Checkout Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            z-index: 1000;
            overflow-y: auto;
        }

        .modal-content {
            background: white;
            margin: 5% auto;
            padding: 2rem;
            border-radius: 10px;
            max-width: 600px;
            width: 90%;
            position: relative;
        }

        .close-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            cursor: pointer;
        }

        .checkout-steps {
            display: flex;
            justify-content: space-between;
            margin-bottom: 2rem;
        }

        .step {
            text-align: center;
            flex: 1;
            position: relative;
        }

        .step-number {
            width: 30px;
            height: 30px;
            background-color: #ddd;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 0.5rem;
        }

        .step.active .step-number {
            background-color: var(--primary);
            color: white;
        }

        .step:not(:last-child)::after {
            content: '';
            position: absolute;
            top: 15px;
            left: 60%;
            width: 80%;
            height: 2px;
            background-color: #ddd;
            z-index: -1;
        }

        .checkout-form {
            margin-top: 1.5rem;
        }

        .form-group {
            margin-bottom: 1.2rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.4rem;
            font-weight: 500;
            font-size: 0.85rem;
        }

        .form-control {
            width: 100%;
            padding: 0.9rem;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 0.95rem;
            transition: all 0.2s;
        }

        .checkout-summary {
            background: #f9f9f9;
            padding: 1.5rem;
            border-radius: 8px;
            margin-top: 2rem;
        }

        .summary-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.8rem;
        }

        .summary-total {
            font-weight: 700;
            font-size: 1.1rem;
            border-top: 1px solid #ddd;
            padding-top: 0.8rem;
            margin-top: 0.8rem;
        }

        /* Newsletter */
        .newsletter {
            background: var(--beige);
            color: var(--dark);
            padding: 3rem 1rem;
            text-align: center;
            margin-bottom: 3rem;
        }

        .newsletter h2 {
            margin-bottom: 1rem;
        }

        .newsletter p {
            max-width: 600px;
            margin: 0 auto 1.5rem;
        }

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

        .newsletter-form input {
            flex: 1;
            padding: 0.9rem;
            border: 1px solid #ddd;
            border-radius: 6px 0 0 6px;
            font-size: 0.95rem;
        }

        .newsletter-form button {
            padding: 0 1.5rem;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 0 6px 6px 0;
            font-weight: 600;
            cursor: pointer;
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-col h3 {
            margin-bottom: 1.2rem;
            font-size: 1.2rem;
        }

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

        .footer-col ul li {
            margin-bottom: 0.6rem;
        }

        .footer-col ul li a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer-col ul li a:hover {
            color: var(--primary);
        }

        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-links a {
            color: white;
            font-size: 1.2rem;
        }

        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            color: #aaa;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .header-container {
               /* flex-direction: column;*/
                padding: 1rem 0;
            }

            nav ul {
                margin: 1rem 0;
            }

            nav ul li {
                margin: 0 0.8rem;
            }

            .hero {
                padding: 3rem 1rem;
            }

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

            .hero p {
                font-size: 1rem;
            }

            .newsletter-form {
                flex-direction: column;
            }

            .newsletter-form input {
                border-radius: 6px;
                margin-bottom: 0.5rem;
            }

            .newsletter-form button {
                border-radius: 6px;
                padding: 0.9rem;
            }
        }





     .hero {
        position: relative;
        height: 100vh;
        min-height: 600px;
        max-height: 1200px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-align: center;
    }

    .youtube-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none; /* Désinteraction avec la vidéo */
    }

    .youtube-container iframe {
        width: 100vw;
        height: 56.25vw; /* Ratio 16:9 */
        min-height: 100vh;
        min-width: 177.77vh;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 800px;
        padding: 2rem;
        background-color: rgba(0,0,0,0.3);
        border-radius: 12px;
        backdrop-filter: blur(5px);
        animation: fadeIn 1.5s ease-out;
    }

    .hero h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
        margin-bottom: 1.5rem;
        line-height: 1.2;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    }

    .hero p {
        font-size: clamp(1rem, 2vw, 1.3rem);
        margin-bottom: 2.5rem;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 768px) {
        .hero {
            min-height: 500px;
        }

        .hero-content {
            padding: 1.5rem;
            width: 90%;
        }

        .youtube-container iframe {
            height: 100vh;
            width: 177.77vh;
        }
    }





    .angled-card:hover {
        transform: rotate(0deg) translateY(-10px) !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
    }

    .coupon-section {
        transition: all 0.3s ease;
    }

    .coupon-section:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(74,107,255,0.4) !important;
    }

    @media (max-width: 992px) {
        .angled-card {
            transform: rotate(0deg) !important;
            margin: 20px 0 !important;
        }

        .angled-feature-container {
            flex-direction: column;
        }

        .coupon-section {
            order: -1; /* Met le coupon en premier sur mobile */
        }
    }



    .full-width-ad {
        border-radius: 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .btn-ad:hover {
        background: #3a5aed !important;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes zoomIn {
        from {
            transform: scaleX(0);
        }
        to {
            transform: scaleX(1);
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    @media (max-width: 768px) {
        .full-width-ad {
            padding: 60px 20px;
        }

        .full-width-ad h2 {
            font-size: 1.8rem !important;
        }

        .full-width-ad h3 {
            font-size: 1.4rem !important;
        }
    }



        .blog-section {
        padding: 40px 0;
        background: #f9f9f9;
        }

        .section-title {
        text-align: center;
        font-size: 28px;
        margin-bottom: 10px;
        }

        .blog-posts {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        }

        .blog-card {
        background: #fff;
        border-radius: 10px;
        overflow: hidden;
        width: 150px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
        text-align: center;
        transition: transform 0.3s ease;
        }

        .blog-card:hover {
        transform: scale(1.03);
        }

        .blog-img {
        width: 100%;
        height: 150px;
        background-size: cover;
        background-position: center;
        cursor: pointer;
        }

        .blog-content {
        padding: 10px;
        }

        .blog-content h3 {
        font-size: 14px;
        margin: 5px 0;
        font-weight: 600;
        color: #333;
        }

        .blog-price {
        font-size: 13px;
        color: #4a6bff;
        font-weight: bold;
        }





        :root {
            --primary: #4a6bff;
            --secondary: #4ECDC4;
            --dark: #292F36;
            --light: #F7FFF7;
            --beige: #f5f5dc;
        }

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

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: #f9f9f9;
            color: var(--dark);
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Header */
        header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 1.5rem;
        }

        nav ul li a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: color 0.2s;
        }

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

        .header-icons {
            display: flex;
            align-items: center;
        }

        .header-icons a {
            margin-left: 1rem;
            color: var(--dark);
            font-size: 1.2rem;
            position: relative;
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 0.7rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Product Details */
        .product-details {
            background: white;
            margin: 2rem 0;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .product-details-content {
            display: flex;
            flex-wrap: wrap;
        }

        .product-details-images {
            flex: 1;
            min-width: 300px;
            padding: 1.5rem;
            position: relative;
        }

        .main-image-container {
            position: relative;
            width: 100%;
            height: 400px;
            overflow: hidden;
            margin-bottom: 1rem;
            background-color: #f9f9f9;
            border-radius: 8px;
        }

        .main-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.3s;
            cursor: zoom-in;
        }

        .image-zoom-controls {
            position: absolute;
            bottom: 10px;
            right: 10px;
            display: flex;
            gap: 5px;
            z-index: 10;
        }

        .zoom-btn {
            background: rgba(0,0,0,0.5);
            color: white;
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .thumbnail-container {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .thumbnail {
            width: 70px;
            height: 70px;
            object-fit: cover;
            cursor: pointer;
            border-radius: 4px;
            border: 2px solid transparent;
            transition: all 0.2s;
        }

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

        .product-details-info {
            flex: 1;
            min-width: 300px;
            padding: 1.5rem;
        }

        .product-details-info h1 {
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
        }

        .product-brand {
            color: #666;
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }

        .product-price {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin: 1rem 0;
        }

        .product-price .old-price {
            text-decoration: line-through;
            color: #999;
            font-size: 1rem;
            margin-left: 0.5rem;
        }

        .product-description {
            margin: 1.5rem 0;
            line-height: 1.7;
        }

        .product-actions {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }

        .quantity-selector {
            display: flex;
            align-items: center;
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        .quantity-btn {
            background: #f5f5f5;
            border: none;
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
            cursor: pointer;
        }

        .quantity-input {
            width: 50px;
            height: 40px;
            text-align: center;
            border: none;
            border-left: 1px solid #ddd;
            border-right: 1px solid #ddd;
        }

        .product-specs {
            margin-top: 2rem;
        }

        .specs-table {
            width: 100%;
            border-collapse: collapse;
        }

        .specs-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }

        .specs-table td {
            padding: 0.8rem;
            border-bottom: 1px solid #eee;
        }

        .specs-table td:first-child {
            font-weight: 500;
            width: 30%;
        }

        .btn {
            display: inline-block;
            padding: 0.9rem 1.8rem;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
        }

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

        .btn-primary:hover {
            background: #3a5aed;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        /* Reviews Section */
        .reviews-section {

            margin: 2rem 0;
            padding: 2rem;

        }

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

        .average-rating {
            display: flex;
            align-items: center;
        }

        .average-rating-number {
            font-size: 2rem;
            font-weight: 700;
            margin-right: 1rem;
        }

        .stars {
            color: #ffc107;
            font-size: 1.2rem;
        }

        .rating-count {
            color: #666;
            margin-left: 0.5rem;
        }

        .review-item {
            border-bottom: 1px solid #eee;
            padding: 1.5rem 0;
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }

        .review-author {
            font-weight: 600;
        }

        .review-date {
            color: #666;
            font-size: 0.9rem;
        }

        .review-content {
            line-height: 1.6;
        }

        .add-review-btn {
            margin-top: 1.5rem;
            background: var(--secondary);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 600;
        }

        /* Related Products */
        .related-products {
            margin: 3rem 0;
        }

        .section-title {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }

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

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 1.5rem;
        }

        .product-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

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

        .product-image {
            width: 100%;
            height: 150px;
            object-fit: cover;
        }

        .product-info {
            padding: 1rem;
        }

        .product-name {
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .product-price {
            font-size: 1rem;
            font-weight: 700;
            color: var(--primary);
        }

        .product-old-price {
            text-decoration: line-through;
            color: #999;
            font-size: 0.8rem;
            margin-left: 0.3rem;
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-col h3 {
            margin-bottom: 1.2rem;
            font-size: 1.2rem;
        }

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

        .footer-col ul li {
            margin-bottom: 0.6rem;
        }

        .footer-col ul li a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer-col ul li a:hover {
            color: var(--primary);
        }

        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-links a {
            color: white;
            font-size: 1.2rem;
        }

        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            color: #aaa;
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            position: relative;
           /* max-width: 90%;*/
           /* max-height: 90%;*/
        }

        .modal-image {
            max-width: 100%;
            max-height: 80vh;
            object-fit: contain;
            transform-origin: center center;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            color: white;
            font-size: 2rem;
            cursor: pointer;
        }

        .modal-controls {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        .modal-btn {
            background: rgba(255,255,255,0.3);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .header-container {
               /* flex-direction: column;*/
                padding: 1rem 0;
            }

            nav ul {
                margin: 1rem 0;
                flex-wrap: wrap;
                justify-content: center;
            }

            nav ul li {
                margin: 0 0.8rem;
            }

            .product-details-content {
                flex-direction: column;
            }

            .main-image-container {
                height: 300px;
            }

            .product-actions {
                flex-direction: column;
            }

            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
                gap: 1rem;
            }

            html, body {

  overflow-x: hidden;
  max-width: 100%;

            }
        }






      /* Styles pour l'application AR */
      #arContainer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #000;
        z-index: 9999;
      }

      #videoStream {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .ar-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 100;
      }

      .measurement-point {
        position: absolute;
        width: 12px;
        height: 12px;
        background: #ff4757;
        border: 2px solid white;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        box-shadow: 0 2px 10px rgba(255, 71, 87, 0.6);
        animation: pulse 2s infinite;
      }

      @keyframes pulse {
        0% {
          transform: translate(-50%, -50%) scale(1);
        }

        50% {
          transform: translate(-50%, -50%) scale(1.2);
        }

        100% {
          transform: translate(-50%, -50%) scale(1);
        }
      }

      .measurement-line {
        position: absolute;
        height: 2px;
        background: linear-gradient(90deg, #ff4757, #ff6b7a);
        box-shadow: 0 1px 5px rgba(255, 71, 87, 0.5);
      }

      .measurement-label {
        position: absolute;
        background: rgba(0, 0, 0, 0.8);
        color: #ff4757;
        padding: 8px 12px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: bold;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 71, 87, 0.3);
        transform: translate(-50%, -50%);
      }

      .controls-panel {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        gap: 15px;
        align-items: center;
        z-index: 200;
        flex-wrap: wrap;
      }

      .control-btn {
        padding: 12px 20px;
        border: none;
        border-radius: 10px;
        color: white;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
      }

      .control-btn.primary {
        background: linear-gradient(135deg, #4a6bff, #6b8cff);
      }

      .control-btn.secondary {
        background: linear-gradient(135deg, #ff4757, #ff6b7a);
      }

      .control-btn.success {
        background: linear-gradient(135deg, #2ed573, #7bed9f);
      }

      .control-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      }

      .measurement-info {
        position: fixed;
        top: 20px;
        left: 20px;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 200;
        min-width: 250px;
        color: white;
      }

      .info-item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      }

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

      .crosshair {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 30px;
        height: 30px;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 150;
      }

      .crosshair::before,
      .crosshair::after {
        content: "";
        position: absolute;
        background: #4a6bff;
        box-shadow: 0 0 10px rgba(74, 107, 255, 0.8);
      }

      .crosshair::before {
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        transform: translateY(-50%);
      }

      .crosshair::after {
        top: 0;
        left: 50%;
        width: 2px;
        height: 100%;
        transform: translateX(-50%);
      }

      .status-indicator {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, 0.9);
        padding: 30px;
        border-radius: 15px;
        text-align: center;
        z-index: 300;
        color: white;
      }

      .loading-spinner {
        width: 40px;
        height: 40px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-top: 3px solid #4a6bff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 0 auto 15px;
      }

      @keyframes spin {
        0% {
          transform: rotate(0deg);
        }

        100% {
          transform: rotate(360deg);
        }
      }

      .hidden {
        display: none !important;
      }

      /* Responsive pour mobile */
      @media (max-width: 768px) {
        .controls-panel {
          bottom: 10px;
          padding: 15px;
          gap: 10px;
        }

        .control-btn {
          padding: 10px 15px;
          font-size: 12px;
        }

        .measurement-info {
          top: 10px;
          left: 10px;
          right: 10px;
          min-width: auto;
          padding: 15px;
        }
      }



      /* Mobile : max 768px */
      @media (max-width: 768px) {
        /* On cache les icônes desktop inutiles */
        .desktop-icons {
          display: none !important;
        }

        /* On affiche le menu burger */
        .mobile-menu-toggle {
          display: block !important;
        }

        /* Centrer la recherche */
        .search-container {
          position: absolute !important;
          left: 60%;
          transform: translateX(-50%);
          width: 40%;
          max-width: 200px;
        }

        /* Empêcher qu'elle soit écrasée */
        .search-container input {
          font-size: 14px;
          padding: 8px 12px;
        }
      }



      /* Styles existants... */

      /* Nouveaux styles pour la sélection de langue */
      .language-dropdown .dropdown-menu div:hover {
        background-color: #f8f8f8;
      }

      /* Styles responsives */
      @media (max-width: 992px) {
        .search-container {
          order: 1;
          flex: 1 1 100% !important;
          max-width: 100% !important;
          margin: 10px 0 !important;
        }

        .header-container {
          flex-wrap: wrap !important;
        }

        .country-code,
        .language-code {
          display: none;
        }
      }

      @media (max-width: 768px) {
        .header-icons {
          gap: 8px !important;
        }
      }












      /* Media queries pour la version mobile */
      @media (max-width: 768px) {
        .desktop-icons {
          display: none !important;
        }

        .mobile-menu-toggle {
          display: block !important;
        }

        .logo-wrapper {
          flex: 0 0 auto !important;
        }

        .search-container {
          flex: 1 1 auto !important;
          margin: 0 10px !important;
          max-width: none !important;
        }

        .header-container {
          padding: 0 10px !important;
        }
      }

      @media (min-width: 769px) {
        .mobile-menu-toggle,
        #mobileMenuModal {
          display: none !important;
        }
      }

      /* Animation pour les menus déroulants */
      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: scale(0.95);
        }

        to {
          opacity: 1;
          transform: scale(1);
        }
      }

      .dropdown-menu {
        animation: fadeIn 0.15s ease-out;
      }





      .floating-buttons {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 1000;
      }

      .floating-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        color: white;
        border: none;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 18px;
      }

      .chat-modal {
        position: fixed;
        bottom: 90px;
        right: 20px;
        width: 300px;
        max-height: 400px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        display: none;
        flex-direction: column;
        overflow: hidden;
        z-index: 1001;
      }

      .chat-header {
        background: #037c1d;
        color: white;
        padding: 10px;
        font-weight: bold;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .chat-body {
        flex: 1;
        padding: 10px;
        overflow-y: auto;
        max-height: 250px;
        background: #f9f9f9;
      }

      .chat-message {
        margin-bottom: 8px;
        padding: 6px 10px;
        border-radius: 8px;
        max-width: 80%;
      }

      .chat-message.bot {
        background: #e0e0e0;
        align-self: flex-start;
      }

      .chat-message.user {
        background: #d2f8d2;
        align-self: flex-end;
        text-align: right;
      }

      .chat-input {
        display: flex;
        border-top: 1px solid #ddd;
      }

      .chat-input input {
        flex: 1;
        padding: 8px;
        border: none;
      }

      .chat-input button {
        background: #037c1d;
        color: white;
        border: none;
        padding: 8px 12px;
        cursor: pointer;
      }

      .close-btn {
        cursor: pointer;
      }

