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

body {
    font-family: 'Ubuntu', sans-serif;
    background-color: #FFF;
}

/* Header Styles */
.top-header {
    background-color: #000;
    max-width:100%;
    margin: 0 auto;
}

.top-header .container {
    background-image: url('../images/Web-Banner-3.png');
    background-repeat: no-repeat;
    background-position: right;
    max-width: 1300px;
    margin: 0 auto;
        padding: 20px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-circle img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.logo-text h1 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.logo-text p {
    color: #fff;
    font-size: 16px;
    margin: 0;
    font-weight: 300;
}

/* Secondary Header Bar */
.secondary-header {
    background-color: #000;
    padding: 15px 0;
}

/* Search Bar */
.search-wrapper {
    position: relative;
    width: 100%;
}

.search-wrapper input {
    width: 100%;
    background-color: #000;
    border:none;
    border-bottom: 1px solid #fff;
    color: #fff;
    padding: 8px 35px 8px 15px;
    border-radius: 4px;
    outline: none;
}

.search-wrapper input:focus {
    background-color: #000;
    color: #fff;
    border-color: #fff;
}

.search-wrapper input::placeholder {
    color: #999;
}

.search-wrapper button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* User Actions */
.user-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    justify-content: flex-end;
}

.lang-selector {
    position: relative;
}

.lang-selector button {
    background: none;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px;
}

.flag-icon {
    width: 30px;
    height: 20px;
    display: inline-block;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 150px;
    display: none;
    z-index: 1000;
    margin-top: 5px;
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #000;
    text-decoration: none;
}

.lang-dropdown a:hover {
    background-color: #f0f0f0;
}

.account-link, .basket-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.basket-link {
    position: relative;
}

.basket-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* Navigation */
.main-nav {
    background-color: #fff;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: space-around;
}

.nav-menu > li {
    position: static;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #2d7a3e;
    transition: width 0.3s ease;
}

.nav-menu > li:hover > a::after {
    width: 80%;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #fff;
    border-top: 2px solid #2d7a3e;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none;
    z-index: 999;
    padding: 40px 0;
    max-width: 100%;
    margin: 0 auto;
}

.nav-menu > li:hover .mega-menu {
    display: block;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0 20px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.mega-menu-column {
    padding: 0 10px !important;
}

.mega-menu-column h3 {
    color: #2d7a3e;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mega-menu-column h3 > a {
    color: #2d7a3e;
    text-decoration: none;
    text-transform: uppercase;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
}

.mega-menu-column ul li {
    margin-bottom: 10px;
}

.mega-menu-column a {
    color: #000;
    text-decoration: none;
    font-size: 15px;
    text-transform: lowercase;
}

.mega-menu-column a::first-letter {
    text-transform: uppercase; 
}

.mega-menu-column ul li a:hover {
    color: #2d7a3e;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Promo Banner */
.promo-banner {
    background-color: #2d7a3e;
    color: #fff;
    padding: 4px 0;
    text-align: center;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    position: relative;
    /* background-image: url('../images/hero.png');  <-- SUPPRIMER cette ligne */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

/* === HERO CAROUSEL === */
.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;        /* même esprit visuel que tes cards */
    background: #fff;
}

/* Hauteur responsive : choisis l’un des 2 patterns */

/* 1) Aspect ratio fixe (recommandé si tes images sont homogènes) */
.hero-carousel { aspect-ratio: 1200 / 250; }  /* adapte la hauteur / ratio réel de tes images */

/* 2) OU hauteur max/min (si tes images varient) */
/*
.hero-carousel { min-height: 260px; max-height: 520px; }
.hero-slide img { height: 100%; }
*/

.hero-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 500ms ease;
    will-change: transform;
}

.hero-slide {
    flex: 0 0 100%;
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;   /* couvre le cadre sans déformer */
}

/* Flèches */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 2px solid #000;
    background: rgba(255,255,255,0.85);
    color: #000;
    border-radius: 50%;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 200ms ease, transform 200ms ease;
}
.hero-nav:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.hero-prev { left: 12px; }
.hero-next { right: 12px; }

/* Indicateurs */
.hero-indicators {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
}
.hero-indicator {
    width: 10px;
    height: 10px;
    border: 2px solid #000;
    background: #fff;
    border-radius: 50%;
    opacity: 0.7;
    cursor: pointer;
    transition: transform 150ms ease, opacity 150ms ease, background 150ms ease;
}
.hero-indicator:hover { transform: scale(1.15); opacity: 1; }
.hero-indicator.active { background: #2d7a3e; border-color: #2d7a3e; opacity: 1; }

/* Positionnement du contenu au-dessus du slider */
.hero-content {
    position: absolute;
    inset: 0;                  /* couvre toute la section */
    display: flex;
    align-items: center;
    pointer-events: none;      /* clics passent au slider si besoin */
    padding: 0 20px;
}
.hero-text { pointer-events: auto; } /* mais on laisse cliquer la CTA */
@media (max-width: 576px) {
    .hero-nav { width: 38px; height: 38px; font-size: 22px; }
    .hero-indicator { width: 9px; height: 9px; }
    /* tu peux forcer un ratio plus haut en mobile si nécessaire */
    /* .hero-carousel { aspect-ratio: 9 / 7; } */
}

.hero-content {
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-text h2 {
    color: #2d7a3e;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #000;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 270px;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    color: #fff;
}

.cta-arrow {
    width: 30px;
    height: 30px;
    background-color: #2d7a3e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Content Section */
.content-section {
    background-color: #fff;
    padding: 60px 0;
    max-width: 1300px;
    margin:0 auto;
}

.content-section h2 {
    color: #2d7a3e;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.content-section p {
    color: #000;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Products Section */
.products-section {
    background-color: #fff;
    padding: 60px 0;
    max-width: 1300px;
    margin:0 auto;
}

.products-section h2 {
    color: #2d7a3e;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease;
}

.product-card-link:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.product-card {
    background-color: #fff;
    border: 3px solid #000;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s ease;
}

.product-card-link:hover .product-card {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.product-card-header {
    background-color: #000;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-image-wrapper {
    padding: 20px;
    background-color: #fff;
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper img {
    max-width: 100%;
    height: auto;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e74c3c;
    color: #fff;
    padding: 8px 15px;
    font-weight: 700;
    font-size: 18px;
    border-radius: 4px;
}

.product-actions {
    padding: 0;
    margin-top: auto;
}

.btn-see-product {
    width: 100%;
    background-color: #2d7a3e;
    color: #fff;
    border: none;
    padding: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0;
}

.btn-see-product:hover {
    background-color: #246830;
    color: #fff;
}

.btn-add-cart {
    width: 100%;
    background-color: #2d7a3e;
    color: #fff;
    border: none;
    padding: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0;
    transition: background-color 0.2s ease;
    position: relative;
    z-index: 10;
}

.btn-add-cart:hover {
    background-color: #246830;
    color: #fff;
}

/* ========================================
   PRODUCT PAGE SPECIFIC STYLES
   ======================================== */

/* Breadcrumb */
.breadcrumb-section {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    max-width: 1300px;
    margin: 0 auto;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #666;
}

.breadcrumb-item a {
    color: #2d7a3e;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #666;
}

/* Product Section */
.product-section {
    background-color: #fff;
    padding: 40px 0;
    max-width: 1300px;
    margin: 0 auto;
}

/* Product Images */
.product-images {
    position: sticky;
    top: 20px;
}

.main-image-wrapper {
    position: relative;
    border: 3px solid #000;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    cursor: zoom-in;
}

.main-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.main-image-wrapper.zoomed {
    cursor: zoom-out;
}

.main-image-wrapper.zoomed img {
    transform: scale(2);
}

.thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid #ddd;
    cursor: pointer;
    padding: 5px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #2d7a3e;
}

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

/* Product Info */
.product-info h1 {
    color: #000;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.product-price {
    margin-bottom: 30px;
}

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

.current-price {
    font-size: 36px;
    font-weight: 700;
    color: #2d7a3e;
}

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

.product-price .discount-badge {
    position: static;
    display: inline-block;
}

.stock-status {
    color: #2d7a3e;
    font-weight: 500;
    font-size: 14px;
}

/* Product Options */
.product-options {
    margin-bottom: 30px;
}

.option-group {
    margin-bottom: 25px;
}

.option-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
    font-size: 16px;
}

.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.color-option:hover,
.color-option.active {
    border-color: #2d7a3e;
    box-shadow: 0 0 0 2px #2d7a3e;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.size-option:hover,
.size-option.active {
    border-color: #2d7a3e;
    background-color: #2d7a3e;
    color: #fff;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.quantity-label {
    font-weight: 600;
    color: #000;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    background-color: #f5f5f5;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background-color: #2d7a3e;
    color: #fff;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.product-info .btn-add-cart {
    flex: 1;
    background-color: #2d7a3e;
    padding: 15px 30px;
    font-size: 16px;
}

.product-info .btn-add-cart:hover {
    background-color: #246830;
}

.btn-wishlist {
    width: 60px;
    background-color: #fff;
    border: 2px solid #2d7a3e;
    color: #2d7a3e;
    padding: 15px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-wishlist:hover {
    background-color: #2d7a3e;
    color: #fff;
}

/* Product Description */
.product-description {
    border-top: 2px solid #e0e0e0;
    padding-top: 30px;
    margin-top: 30px;
}

.product-description h2 {
    color: #2d7a3e;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.product-description p {
    color: #000;
    line-height: 1.8;
    margin-bottom: 15px;
}

.product-description ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.product-description ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Related Products */
.related-products {
    background-color: #fff;
    padding: 60px 0;
    border-top: 2px solid #e0e0e0;
    max-width: 1300px;
    margin: 0 auto;
}

.related-products h2 {
    color: #2d7a3e;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.btn-add-cart-small {
    width: 100%;
    background-color: #1a5025;
    color: #fff;
    border: none;
    padding: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0;
}

.btn-add-cart-small:hover {
    background-color: #0f3318;
    color: #fff;
}

/* Mobile Styles */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: block;
    }

    .secondary-header {
        padding: 10px 0;
    }

    .user-actions {
        flex-wrap: wrap;
        gap: 15px;
    }

    .account-link span:last-child,
    .basket-link span:nth-child(2) {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .main-nav.show {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu > li > a {
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-menu > li:hover .mega-menu {
        display: none;
    }

    .nav-menu > li.show-mobile-menu .mega-menu {
        display: block;
    }

    .mega-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid #2d7a3e;
        padding: 15px;
        width: 100%;
    }

    .mega-menu-content {
        flex-direction: column;
        gap: 20px;
    }

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

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-circle {
        width: 60px;
        height: 60px;
    }

    /* Product Page Mobile */
    .product-info h1 {
        font-size: 24px;
    }

    .current-price {
        font-size: 28px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-wishlist {
        width: 100%;
    }

    .product-images {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero-text h2 {
        font-size: 24px;
    }

    .product-card {
        margin-bottom: 20px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .price-wrapper {
        flex-wrap: wrap;
    }
}

/* Presentation Section */
.presentation-section {
    background-color: #f8f9fa;
}

.presentation-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
    margin: 0;
    padding: 20px 0;
}

@media (min-width: 768px) {
    .presentation-text {
        font-size: 1.5rem;
    }
}

@media (min-width: 992px) {
    .presentation-text {
        font-size: 1.75rem;
    }
}