/* --- Reset & Variables --- */
:root {
    --primary-color: #f7b764;
    --text-dark: #333;
    --text-light: #fff;
    --text-grey: #666;
    --bg-dark: #111;
    --bg-light: #fff;
    --transition-speed: 0.3s;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Header / Navigation --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 1000;
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed), height var(--transition-speed);
}
header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

/* Classe déclenchée par le JavaScript lors du scroll */
header.scrolled {
    background-color: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo a {
    display: flex;
    align-items: center; /* Centers the icon vertically with the text */
    gap: 10px;
    text-decoration: none;
}

.logo img {
    width: 50px;
    height: auto;        /* Preserves aspect ratio */
    display: block;
}
.logo-text {
    font-size: 20px;
    font-weight: bold;
    font-family: 'Times New Roman', serif;
    color: var(--text-light);
    transition: color var(--transition-speed);
}
.icon-user{
    width: 22px;
    height: 22px;
    display: block;
    margin-left: 10px;
}
header.scrolled .logo-text {
    color: var(--text-dark);
}

.logo-scrolled {
    display: none;
}

header.scrolled .logo-default {
    display: none;
}

header.scrolled .logo-scrolled {
    display: inline-block;
    height: 90px; /* ajuste la taille */
    width: auto;
}

nav ul {
    display: flex;
    gap: 70px;

}

nav a {
    color: var(--text-dark);
    font-weight: 600;
    transition: color var(--transition-speed);
}

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

.home-page header:not(.scrolled) nav a {
    color: var(--text-light);
}

.home-page header:not(.scrolled) nav a:hover,
.home-page header:not(.scrolled) nav a.active {
    color: var(--primary-color);
}

/* Conteneur de chaque icône */
.header-icons span {
    position: relative;
    display: inline-flex;
    width: 22px;
    height: 22px;
}

/* Les deux images se superposent exactement */
.header-icons span img {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    transition: opacity var(--transition-speed);
}
@media screen and (max-width: 992px) {
    header { height: 85px; padding: 0 4%; }
    .logo img { width: 42px; }
    .logo-text { font-size: 17px; }
    nav ul { gap: 35px; }
    nav a { font-size: 15px; }
    header.scrolled .logo-scrolled { height: 75px; }
}

@media screen and (max-width: 768px) {
    header { height: 70px; padding: 0 20px; }
    .logo img { width: 36px; }
    .logo-text { font-size: 14px; }
    nav ul { gap: 18px; }
    nav a { font-size: 12px; }
    .header-icons .icon-user { width: 18px; height: 18px; }
    header.scrolled .logo-scrolled { height: 60px; }
}

@media screen and (max-width: 480px) {
    header { height: 60px; padding: 0 15px; }
    .logo img { width: 30px; }
    .logo-text { display: none; }
    nav ul { gap: 10px; }
    nav a { font-size: 10px; }
    .header-icons .icon-user { width: 16px; height: 16px; margin-left: 6px; }
}

/* --- Très petits écrans : ≤ 360px (le nav ne tient plus en une seule ligne) --- */
@media screen and (max-width: 360px) {
    header {
        padding: 0 10px;
    }
    .logo img {
        width: 26px;
    }
    nav ul {
        gap: 6px;
    }
    nav a {
        font-size: 8.5px;
    }
    .header-icons .icon-user {
        width: 14px;
        height: 14px;
        margin-left: 4px;
    }
}

/* Par défaut : dark visible, light invisible */
.icon-light { opacity: 0; pointer-events: none; }
.icon-dark  { opacity: 1; }

/* Accueil avant scroll : light visible, dark invisible */
.home-page header:not(.scrolled) .icon-light { opacity: 1; pointer-events: auto; }
.home-page header:not(.scrolled) .icon-dark  { opacity: 0; }
/* Accueil après scroll : revenir à dark (déjà géré par les règles par défaut) */

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

nav a {
    color: var(--text-dark);
    font-weight: 600;
    transition: color var(--transition-speed);
    position: relative;
    padding-bottom: 6px;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

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

.header-icons {
    display: flex;
    gap: 30px;
    font-size: 20px;
    color: var(--text-dark);
    cursor: pointer;
}

.header-icons img {
    width: 22px;
    height: 22px;
    display: block;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Non-home pages : header toujours blanc */
body:not(.home-page) header {
    background-color: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Non-home pages : nav toujours noire */
body:not(.home-page) nav a {
    color: var(--text-dark);
}

/* Non-home pages : logo-text toujours noir */
body:not(.home-page) .logo-text {
    color: var(--text-dark);
}

/* Non-home pages : icônes toujours dark */
body:not(.home-page) .icon-light { opacity: 0; }
body:not(.home-page) .icon-dark  { opacity: 1; }

/* Non-home pages : trait sous le header aussi sombre */
body:not(.home-page) header::after {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Non-home pages : contenu commence après le header */
body:not(.home-page) .page-content {
    padding-top: 100px;
}

/* Home page : contenu peut passer derrière le header (déjà géré par le hero) */
body.home-page .page-content {
    padding-top: 0;
}


/* --- Section 1: Héro --- */
#hero {
    background-size: cover;
    background-position: center;
    height: 150vh;
    display: flex;
    align-items: flex-start;
    padding-top: 100px;
    box-sizing: border-box;
    margin-top: -100px;
    

}

.hero-content {
    max-width: 100%;
    color: var(--text-light);
    padding-top: 150px;
    padding-left: 30px;
    border-radius: 8px;
}

.subtitle {
    font-size: 14px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 50px;
}

.main-title {
    font-size: 70px;
    margin-bottom: 70px;
    font-weight: bold;
    color: rgb(255, 255, 255);
}

.hero-desc {
    font-size: 16px;
    margin-bottom: 70px;
    color: black;
}

.btn-gold {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color var(--transition-speed);
}

.btn-gold:hover {
    background-color: #e3a04b;
}
/* --- Hero : RESPONSIVE (mêmes breakpoints que le header : 992 / 768 / 480) --- */
@media screen and (max-width: 992px) {
    #hero {
        height: 120vh;
        padding-top: 85px;
        margin-top: -85px;
    }
    .hero-content {
        padding-top: 110px;
        padding-left: 25px;
    }
    .subtitle {
        font-size: 13px;
        margin-bottom: 35px;
    }
    .main-title {
        font-size: 48px;
        margin-bottom: 50px;
    }
    .hero-desc {
        font-size: 15px;
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 768px) {
    #hero {
        height: 100vh;
        padding-top: 70px;
        margin-top: -70px;
    }
    .hero-content {
        padding-top: 90px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .subtitle {
        font-size: 12px;
        margin-bottom: 25px;
    }
    .main-title {
        font-size: 34px;
        margin-bottom: 35px;
    }
    .hero-desc {
        font-size: 14px;
        margin-bottom: 35px;
    }
    .btn-gold {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    #hero {
        height: 90vh;
        padding-top: 60px;
        margin-top: -60px;
    }
    .hero-content {
        padding-top: 70px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .subtitle {
        font-size: 11px;
        margin-bottom: 18px;
    }
    .main-title {
        font-size: 26px;
        margin-bottom: 25px;
    }
    .hero-desc {
        font-size: 13px;
        margin-bottom: 25px;
    }
    .btn-gold {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }
}

/* --- Section 2: Services --- */
#services {
    padding: 80px 5%;
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
    gap: 5%;
}

.service-card {
    text-align: center;
    flex: 1;
    max-width: 300px;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    transition: box-shadow var(--transition-speed);
}

.service-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.service-text {
    color: var(--text-grey);
    font-size: 14px;
}

/* --- Services : RESPONSIVE --- */
@media screen and (max-width: 992px) {
    #services {
        padding: 60px 5%;
        gap: 4%;
    }
    .service-icon img {
        width: 44px;
        height: 44px;
        margin-bottom: 16px;
    }
    .service-title {
        font-size: 18px;
    }
    .service-text {
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    #services {
        flex-direction: column;
        align-items: center;
        padding: 50px 20px;
        gap: 20px;
    }
    .service-card {
        max-width: 100%;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    #services {
        padding: 40px 15px;
        gap: 15px;
    }
    .service-card {
        padding: 16px;
    }
    .service-icon img {
        width: 38px;
        height: 38px;
        margin-bottom: 12px;
    }
    .service-title {
        font-size: 16px;
    }
    .service-text {
        font-size: 12.5px;
    }
}

.product-contact-btn {
    display: block;
    text-align: center;
    margin: 0 16px 16px 16px;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: background-color var(--transition-speed);
}

.product-contact-btn:hover {
    background-color: #e3a04b;
    color: var(--text-light);
    border: 1px solid var(--primary-color);
}

@media screen and (max-width: 576px) {
    .product-contact-btn {
        margin: 0 12px 12px 12px;
        padding: 7px 12px;
        font-size: 11.5px;
    }
}

/* --- Section 4: Produits Phares --- */
#featured-products {
    padding: 80px 5%;
    text-align: left;
    background-color: var(--bg-light);
}

.featured-desc {
    color: var(--text-grey);
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-link {
    display: block;
    color: inherit;
    flex: 1;
}

.product-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}


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

.product-info {
    padding: 20px;
    text-align: left;
}

.product-name {
    font-weight: 600;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    min-height: calc(1.35em * 2);
}

/* --- Grille produits : RESPONSIVE --- */
@media screen and (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    .product-image img {
        height: 220px;
    }
    .product-info {
        padding: 16px;
    }
}

@media screen and (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-image img {
        height: 160px;
    }
    .product-info {
        padding: 12px;
    }
    .product-name {
        font-size: 13px;
    }
}

.btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background-color: #f1f1f1;
    color: #333;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color var(--transition-speed);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* --- Section 5: Promotion --- */
#promotion {
    background-color: #d1e2e2;
    padding: 80px 5%;
    display: flex;
    align-items: center;
    gap: 5%;
    border-radius: 8px;
    margin: 0 5% 80px 5%;
}

.promo-content {
    flex: 1;
}

.promo-subtitle {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.promo-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.promo-image {
    flex: 1;
    max-width: 400px;
}

.promo-image img {
    width: 100%;
    border-radius: 8px;
}

.btn-action {
    display: inline-block;
    background-color: #0c8c8c;
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    transition: opacity var(--transition-speed);
}

.btn-action:hover {
    opacity: 0.9;
}

/* --- Page Produits --- */
#products-page {
    padding: 40px 5% 80px 5%;
}

.products-header {
    text-align: center;
    margin-bottom: 40px;
}

.products-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #eee;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-speed);
    color: var(--text-dark);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

/* --- Page Détail Produit --- */
#product-detail-page {
    padding: 0 5% 80px 5%;
}

.view-all-btn {
    text-align: center;
    margin-top: 20px;
}

.detail-body {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
    align-items: flex-start;

}

/* Galerie */
.detail-gallery {
    flex: 1;
    position: sticky;
    top: 120px;
}

.detail-main-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
    margin-bottom: 15px;
}

.detail-main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: opacity var(--transition-speed);
}

.detail-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #eee;
    cursor: pointer;
    transition: border-color var(--transition-speed);
}


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

/* Infos produit */
.detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 70px;
    height: 100%;
}

.detail-category {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.detail-name {
    font-size: 42px;
    font-weight: bold;
    font-family: 'Times New Roman', serif;
    line-height: 1.2;
}

.detail-price {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
}

.detail-divider {
    height: 1px;
    background-color: #eee;
}

.detail-description h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.detail-description p {
    color: var(--text-grey);
    font-size: 15px;
    line-height: 1.8;
}

.detail-contact-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 16px 35px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: opacity var(--transition-speed);
}

.detail-contact-btn:hover {
    opacity: 0.85;
}

.detail-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-meta-item {
    font-size: 14px;
    color: var(--text-grey);
}

.detail-meta-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 6px;
}

.detail-meta-value {
    color: var(--primary-color);
}

/* Produits similaires */
.similar-products {
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.similar-products .section-title {
    margin-bottom: 40px;
}

.product-card-link {
    display: block;
    color: inherit;
}

.product-card-link .product-card {
    height: 100%;
}

.no-products {
    text-align: center;
    color: var(--text-grey);
    grid-column: 1 / -1;
    padding: 50px 0;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 50px auto 30px auto;
    flex-wrap: wrap;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #eee;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    transition: all var(--transition-speed);
    cursor: pointer;
}

.page-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.page-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.page-btn.arrow {
    font-size: 16px;
}

.page-dots {
    color: var(--text-grey);
    font-weight: bold;
    padding: 0 4px;
}

.page-arrows {
    display: flex;
    gap: 8px;
    margin-left: 10px;
    border-left: 1px solid #eee;
    padding-left: 10px;
}

/* --- Page A propos --- */
#about-page {
    padding: 0 5% 80px 5%;
}

.breadcrumb {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 50px;
    padding-top: 30px;
    text-align: center;
}

.breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--text-grey);
    margin: 0 8px;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-main-title {
    font-size: 52px;
    font-weight: bold;
    font-family: 'Times New Roman', serif;
}

.about-section {
    margin-bottom: 80px;
}

.about-section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
}

.about-columns {
    display: flex;
    gap: 60px;
}

.about-col {
    flex: 1;
    color: var(--text-grey);
    line-height: 1.8;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Valeurs */
.about-values {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 80px;
    background-color: #f9f9f9;
    padding: 60px 5%;
    border-radius: 8px;
}

.value-card {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 20px;
}

.value-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.value-text {
    color: var(--text-grey);
    font-size: 14px;
}

/* Section contact */
.about-contact {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 60px 5%;
}

.about-contact-image {
    flex: 1;
    max-width: 400px;
}

.about-contact-image img {
    width: 100%;
    object-fit: contain;
}

.about-contact-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-contact-content h2 {
    font-size: 32px;
    font-weight: bold;
    font-family: 'Times New Roman', serif;
    line-height: 1.3;
}

.about-contact-content p {
    color: var(--text-grey);
    font-size: 15px;
    line-height: 1.8;
}

/* --- Section Valeurs (about-values) : RESPONSIVE --- */
@media screen and (max-width: 768px) {
    .about-values {
        flex-direction: column;
        align-items: center;
        gap: 35px;
        padding: 45px 6%;
        margin-bottom: 60px;
    }
    .value-card {
        max-width: 400px;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .about-values {
        padding: 35px 5%;
        gap: 25px;
        border-radius: 6px;
    }
    .value-card {
        padding: 15px;
    }
    .value-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .value-title {
        font-size: 18px;
    }
    .value-text {
        font-size: 13.5px;
    }
}


.btn-about-contact {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: bold;
    align-self: flex-start;
    transition: background-color var(--transition-speed);
}

.btn-about-contact:hover {
    background-color: #e3a04b;
}

/* --- Section Contact (about-contact) : RESPONSIVE --- */
@media screen and (max-width: 768px) {
    .about-contact {
        flex-direction: column;
        gap: 35px;
        padding: 45px 6%;
        text-align: center;
    }
    .about-contact-image {
        max-width: 320px;
        width: 100%;
    }
    .about-contact-content {
        align-items: center;
    }
    .about-contact-content h2 {
        font-size: 26px;
    }
    .btn-about-contact {
        align-self: center;
    }
}

@media screen and (max-width: 480px) {
    .about-contact {
        padding: 35px 5%;
        gap: 25px;
    }
    .about-contact-image {
        max-width: 260px;
    }
    .about-contact-content h2 {
        font-size: 22px;
    }
    .about-contact-content p {
        font-size: 14px;
    }
    .btn-about-contact {
        padding: 12px 28px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
}

/* --- Page Contact --- */
#contact-page {
    padding: 0 5% 80px 5%;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.contact-body {
    display: flex;
    gap: 0;
    min-height: 500px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 80px;
}

/* Colonne gauche */
.contact-info {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    border-right: 1px solid #eee;
    background-color: #fff;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-info-icon {
    font-size: 28px;
    color: #a08c6e;
    min-width: 40px;
}

.contact-info-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
}

.contact-info-text {
    color: var(--text-grey);
    font-size: 14px;
    line-height: 1.8;
}

.contact-info-text a {
    color: var(--primary-color);
}

/* Colonne droite */
.contact-form-wrapper {
    flex: 1.2;
    padding: 60px 40px;
    background-color: #fff;
}

.contact-form-title {
    font-size: 28px;
    font-weight: bold;
    font-family: 'Times New Roman', serif;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    transition: border-color var(--transition-speed);
}

.contact-input:focus {
    border-color: #a08c6e;
}

.contact-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-dark);
    resize: vertical;
    outline: none;
    font-family: inherit;
    transition: border-color var(--transition-speed);
}

.contact-textarea:focus {
    border-color: var(--primary-color);
}

.contact-submit {
    align-self: flex-start;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 15px 35px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--transition-speed);
}
.contact-submit:hover {
    opacity: 0.5;
}

/* Section tendance */
.contact-tendance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.tendance-title {
    font-size: 32px;
    font-weight: bold;
    font-family: 'Times New Roman', serif;
}

.tendance-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-dark);
    border: 1px solid #ddd;
    padding: 12px 20px;
    border-radius: 4px;
    transition: all var(--transition-speed);
}

.tendance-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* --- Page Contact : RESPONSIVE --- */
@media screen and (max-width: 768px) {
    .contact-body {
        flex-direction: column;
        min-height: 0;
    }
    .contact-info {
        padding: 35px 25px;
        gap: 30px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .contact-form-wrapper {
        padding: 35px 25px;
    }
    .contact-form-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    .contact-header {
        margin-bottom: 35px;
    }
    .contact-tendance {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 30px 0;
    }
    .tendance-title {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    #contact-page {
        padding: 0 4% 50px 4%;
    }
    .breadcrumb {
        margin-bottom: 30px;
        font-size: 11.5px;
    }
    .contact-info {
        padding: 25px 18px;
        gap: 22px;
    }
    .contact-info-icon {
        font-size: 22px;
        min-width: 32px;
    }
    .contact-form-wrapper {
        padding: 25px 18px;
    }
    .contact-input,
    .contact-textarea {
        padding: 12px 14px;
        font-size: 13.5px;
    }
    .contact-submit {
        width: 100%;
        text-align: center;
        padding: 13px 20px;
    }
    .tendance-link {
        width: 100%;
        justify-content: center;
    }
}

/* --- Footer --- */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 5% 30px 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    width: 300px;
    margin-right: 10px;
    border: white 5px solid;
}
.footer-text {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-contact .phone-icon {
    color: var(--primary-color);
    margin-right: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #999;
    font-size: 14px;
    transition: color var(--transition-speed);
}

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

.footer-newsletter input[type="email"] {
    width: 100%;
    padding: 10px;
    background: #222;
    border: 1px solid #333;
    color: #fff;
    margin-bottom: 10px;
    border-radius: 4px;
}

.footer-social {
    text-align: center;
    width: 100%;
    color: #999;
    font-size: 14px;
    margin-top: 40px;
    border-top: 1px solid #222;
    padding-top: 20px;
}

.products-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* --- Sidebar filtres --- */
.filter-sidebar {
    width: 260px;
    flex-shrink: 0;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    background: #fff;
}

.filter-sidebar-title {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.filter-highlight {
    color: var(--primary-color);
}

.filter-group {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.filter-group:last-of-type {
    border-bottom: none;
}

.filter-group-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-grey);
    margin-bottom: 15px;
}

.price-range {
    width: 100%;
    accent-color: var(--primary-color);
    margin-bottom: 10px;
}

.price-display {
    font-size: 13px;
    color: var(--text-grey);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-label {
    flex: 1;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.checkbox-count {
    background: #f1f1f1;
    color: var(--text-grey);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}

.btn-clear-filters {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: opacity var(--transition-speed);
}

.btn-clear-filters:hover {
    opacity: 0.85;
}

/* --- Zone produits --- */
.products-main {
    flex: 1;
    min-width: 0;
}

.products-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--text-grey);
}

.sort-select {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-dark);
    cursor: pointer;
}

/* --- Page Produits (layout filtre + grille) : RESPONSIVE --- */
@media screen and (max-width: 900px) {
    .products-layout {
        flex-direction: column;
        gap: 25px;
    }
    .filter-sidebar {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    #products-page {
        padding: 30px 4% 60px 4%;
    }
    .filter-sidebar {
        padding: 18px;
    }
    .products-results-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
/* --- Page Détail Produit : RESPONSIVE --- */
@media screen and (max-width: 900px) {
    .detail-body {
        flex-direction: column;
        gap: 35px;
        margin-bottom: 60px;
    }
    .detail-gallery {
        position: static;
        width: 100%;
    }
    .detail-main-image img {
        height: 380px;
    }
    .detail-info {
        gap: 30px;
    }
    .detail-name {
        font-size: 30px;
    }
    .detail-category {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    #product-detail-page {
        padding: 0 4% 50px 4%;
    }
    .detail-main-image img {
        height: 280px;
    }
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    .detail-name {
        font-size: 24px;
    }
    .detail-description p {
        font-size: 14px;
    }
    .detail-contact-btn {
        display: block;
        text-align: center;
        padding: 14px 20px;
    }
    .similar-products {
        padding-top: 40px;
    }
    .similar-products .section-title {
        margin-bottom: 25px;
    }
}