/*
Theme Name: Armurerie Fleury Theme
Author: Webanimus
Description: Thème sur mesure respectant le Brand Book Fleury.
Version: 1.3
*/
:root {
    --or-fleury: #86764F;
    --beige-atelier: #F5F0E5;
    --gris-canon: #3C3C3C;
    --vert-foret: #294834;
    --ocre-bois: #AB7839;
    --bleu-nuit: #1B345C;
    --rouge-vif: #B52416;
    --fond-blanc: #EDEDED;
    --font-serif: 'Padauk', serif;
    --font-sans: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--gris-canon);
    background-color: var(--fond-blanc);
}

/* Override bootstrap colors and fonts */
.text-white {
    color: var(--beige-atelier) !important;
}
.text-dark {
    color: var(--gris-canon) !important;
}
.bg-black {
    background-color: var(--gris-canon) !important;
}


h1 {
    font-family: var(--font-serif);
}

h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: var(--font-sans);
    color: var(--gris-canon);

}

.btn-primary {
    background-color: var(--or-fleury);
    border-color: var(--or-fleury);
}

.btn-primary:hover {
    background-color: #6d5f3f;
    border-color: #6d5f3f;
}

/* Header */
.site-header {
    background-color: var(--gris-canon);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header .navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.site-header .navbar-brand img {
    height: 80px;
}

.site-header .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-nav {
    gap: 2rem;
}

.navbar-nav .nav-link,
.navbar-nav .menu-item > a {
    color: var(--beige-atelier);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    transition: color 0.2s;
    text-decoration: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .menu-item > a:hover {
    color: var(--or-fleury);
}

.navbar-nav .menu-item.current-menu-item > a,
.navbar-nav .menu-item.current_page_item > a {
    color: var(--or-fleury);
}

.navbar-nav .sub-menu {
    display: none;
    position: absolute;
    background-color: var(--gris-canon);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.navbar-nav .menu-item-has-children:hover .sub-menu {
    display: block;
}

.navbar-nav .sub-menu .menu-item a {
    padding: 0.5rem 1.5rem;
    display: block;
    font-size: 0.8rem;
}

.site-header .text-secondary {
    color: var(--beige-atelier) !important;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.site-header .text-secondary:hover {
    color: var(--or-fleury) !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(245, 240, 229, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.card-univers {
    overflow: hidden;
    transition: transform 0.3s;
}

.card-univers:hover {
    transform: scale(1.02);
}

.card-univers h3 {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================== HERO SECTION ===================== */
.hero-section {
    height: calc(100vh - 97px);
    min-height: 560px;
}

.hero-section .overlay {
    background: rgba(0,0,0,0.60);
}

.hero-section h1 {
    color: var(--beige-atelier);
    font-size: clamp(60px, 10vw, 96px);
    line-height: clamp(60px, 10vw, 96px);
    text-transform: uppercase;
    font-family: var(--font-serif);
    font-style: normal;
    font-weight: 700;
}

.hero-section p {
    font-size: 0.95rem;
    max-width: 420px;
    opacity: 0.9;
}

.hero-section .btn {
    min-width: 160px;
    color: var(--beige-atelier);
    padding: 14px 32px;
}

.hero-section .btn-chasse, .hero-section .btn-tir {
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 5px;
    width: 210px;
}

.hero-section .btn-chasse {
    background: var(--vert-foret);
}

.hero-section .btn-tir {
    background: var(--bleu-nuit);
}

/* Brand strip carousel */
.brand-strip {
    background-color: var(--beige-atelier);
    opacity: 0.65;
    overflow: hidden;
}

.brand-carousel {
    width: 100%;
    overflow: hidden;
}

.brand-track {
    display: flex;
    align-items: center;
    gap: 4rem; /* L'espacement entre les logos */
    width: max-content; /* Permet à la piste de prendre toute la largeur nécessaire */
    animation: scroll 50s linear infinite;
}

.brand-track:hover {
    animation-play-state: paused;
}

.brand-track img {
    max-height: 60px;
    width: auto;
    flex-shrink: 0;
}

/* L'animation parfaitement calibrée */
@keyframes scroll {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        /* -50% correspond à la moitié des logos (les clones) */
        /* - 2rem correspond à la moitié de notre "gap: 4rem" pour aligner parfaitement */
        transform: translateX(calc(-50% - 2rem)); 
    }
}

/* ===================== UNIVERS SECTION ===================== */
/* .univers-section {
    background-color: #fff;
} */

.univers-section h2 {
    font-family: var(--font-sans);
    font-size: 1.6rem;
}

.card-univers.univers-chasse .card-img-overlay {
    background: linear-gradient(to top, var(--vert-foret) 0%, transparent 70%);
}

.card-univers.univers-tir .card-img-overlay {
    background: linear-gradient(to top, var(--bleu-nuit) 0%, transparent 70%);
}

.card-univers .card-img {
    height: 280px;
    object-fit: cover;
}

.card-univers .card-img-overlay {
    padding: 1.5rem;
    padding-left: 35px;
}

.card-univers .card-img-overlay img {
    height: 75px;
    width: 75px;
    position: absolute;
    top: 32px;
    left: 35px;
}

.card-univers h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card-univers p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.toogle-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    padding: 6px 12px;
    gap: 4px;
    border: 1px solid var(--gris-canon);
    background: var(--beige-atelier);

    color: var(--gris-canon);

    /* M3/label/large */
    font-family: var(--font-sans);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.1px;
}

.toogle-btn svg {
    width: 13;
    height: 13;
    fill: var(--gris-canon);
}

.toogle-btn:hover {
    background-color: var(--gris-canon);
    color: var(--beige-atelier);
    border-color: var(--beige-atelier);
}

.toogle-btn:hover svg {
    fill: var(--beige-atelier);
}

/* ===================== BOUTONS TOOGLE DECLINAISONS ===================== */

/* Déclinaison Chasse (Vert Forêt) */
.toogle-btn-chasse {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    padding: 6px 12px;
    gap: 4px;
    border: 1px solid var(--vert-foret);
    background: var(--beige-atelier);
    color: var(--vert-foret);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.1px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.toogle-btn-chasse svg {
    width: 13px;
    height: 13px;
    fill: var(--vert-foret);
    transition: fill 0.3s ease;
}

.toogle-btn-chasse:hover {
    background-color: var(--vert-foret);
    color: var(--beige-atelier);
    border-color: var(--vert-foret);
}

.toogle-btn-chasse:hover svg {
    fill: var(--beige-atelier);
}

/* Déclinaison Tir (Bleu Nuit) */
.toogle-btn-tir {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    padding: 6px 12px;
    gap: 4px;
    border: 1px solid var(--bleu-nuit);
    background: var(--beige-atelier);
    color: var(--bleu-nuit);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.1px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.toogle-btn-tir svg {
    width: 13px;
    height: 13px;
    fill: var(--bleu-nuit);
    transition: fill 0.3s ease;
}

.toogle-btn-tir:hover {
    background-color: var(--bleu-nuit);
    color: var(--beige-atelier);
    border-color: var(--bleu-nuit);
}

.toogle-btn-tir:hover svg {
    fill: var(--beige-atelier);
}

/* ===================== FEATURED PRODUCTS SECTION ===================== */
.featured-products h2 {
    font-size: 1.5rem;
}

.featured-products .subtitle {
    font-size: 0.85rem;
}

/* Product cards */
.product-card {
    position: relative;
    border-radius: 5px;
    /* border-radius: 5px 5px 0 0; */
    border: 1px solid rgba(60, 60, 60, 0.30);
}

.product-card .card-img-top {
    object-fit: contain;
    background: #f8f9fa;
    height: 100%;
    aspect-ratio: 69/64;
}

.product-card .badge-top {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    background: var(--rouge-vif);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.30), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

.product-card .badge-occasion {
    position: absolute;
    top: 0;
    left: 0; /* Placé à gauche pour ne pas gêner les autres badges */
    z-index: 2;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    background-color: var(--or-fleury);
    color: var(--beige-atelier);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.30);
}

.product-card .product-brand {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.1rem;
}

.product-card .product-ref {
    font-size: 0.75rem;
    color: #bbb;
    margin-bottom: 0.5rem;
}

.product-card .price {
    color: var(--rouge-vif);
    font-weight: 700;
    font-size: 1.1rem;
}

.product-card .old-price {
    color: #aaa;
    text-decoration: line-through;
    font-size: 0.85rem;
}

.product-card .card-body {
    padding: 1rem;
}

.product-card .card-title {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.btn-all-products {
    width: fit-content;
}

/* Services section */
.services-section {
    background-color: var(--or-fleury);
}

.services-section h2 {
    color: var(--beige-atelier);
    text-align: center;
    font-family: var(--font-sans);
    font-size: 3em;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border-radius: 5px;
}

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

.service-card .service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 5px;
    padding: 2rem 1.25rem 1.25rem; /* Augmentation du padding haut pour le dégradé */
    
    /* Dégradé plus prononcé : part du noir à 85% d'opacité jusqu'au transparent */
    /* On commence le dégradé plus haut (0%) pour qu'il soit bien diffus */
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 0, 0, 0.7) 70%, 
        transparent 100%
    );
    
    transition: all 0.3s ease;
}

.service-card p {
    font-size: 0.85rem; /* Légère augmentation pour la lisibilité */
    margin: 0;
    opacity: 1; /* On remet l'opacité à fond puisque le noir derrière protège le texte */
    color: var(--beige-atelier);
    font-weight: 400;
}
.service-card h3 {
    color: var(--beige-atelier);
    text-align: justify;
    font-family: var(--font-sans);
    font-size: 1.5em;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}


.btn-savoir-faire {
    width: 300px;
    text-align: center;
}


/* ===================== VIDEOS SECTION ===================== */
.videos-section {
    background-color: #fff;
}

.videos-section h2 {
    font-size: 1.5rem;
}

.videos-section .video-grid {
    gap: 22px;
    justify-content: center;
}

.videos-section .video-col {
    min-width: 300px;
    max-width: calc(33.333% - 15px);
}

/* Format Vertical pour les Vidéos (9:16) */
.ratio-9x16 {
    --bs-aspect-ratio: 177.77%;
}

/* Conteneur pour bloquer la taille sur ordinateur (effet smartphone) */
.video-vertical-wrapper {
    max-width: 350px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
}

.video-card .video-date {
    color: #949494;
    font-family: Roboto;
    font-weight: 300;
    height: 20px;
    line-height: normal;
}

.video-card .video-title {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
}

.video-card .video-excerpt {
    color: #696969;
}

/* ===================== VISIT STORE SECTION ===================== */
.visit-store-section {
    background-color: var(--vert-foret)
}

.visit-store-section .store-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.visit-store-section .store-icon img {
    width: 120px;
    fill: var(--gris-canon);
}

.visit-store-section h2 {
    font-family: var(--font-sans);
    color: var(--beige-atelier);
    font-size: 2.5rem;
}

.visit-store-section p {
    color: var(--beige-atelier);
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.visit-store-section .btn-store {
    width: fit-content;
    margin: 0 auto;
    gap: 8px;
    font-size: 16px;
}

.visit-store-section .btn-store:hover {
    background-color: var(--or-fleury);
    color: var(--beige-atelier);
}

.visit-store-section .btn-store:hover svg path {
    fill: var(--beige-atelier);
}

.visit-store-section .btn-light {
    border-radius: 4px;
}

/* ===================== NEWSLETTER SECTION ===================== */
.newsletter-section {
    background: linear-gradient(to bottom, var(--vert-foret) 50%, var(--beige-atelier) 50%);
}

.newsletter-section .newsletter-card {
    border-radius: 12px;
}

.newsletter-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: var(--beige-atelier);
    font-family: var(--font-sans);
    letter-spacing: 0.5px;
}

.newsletter-section .envelope-icon {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.newsletter-section input[type="email"] {
    background-color: #fff;
    color: #000;
    box-shadow: none;
}

.newsletter-section button[type="submit"] {
    color: var(--gris-canon);
    transition: all 0.3s;
}

.newsletter-section .btn-light:hover {
    background-color: var(--or-fleury) !important;
    color: var(--beige-atelier) !important;
}

/* ===================== FOOTER ===================== */
.site-footer {
    background-color: var(--beige-atelier);
    color: var(--gris-canon);
}

.site-footer .footer-logo {
    max-width: 60px;
}

.site-footer .footer-title {
    color: var(--gris-canon);
    font-family: var(--font-sans);
}

.site-footer .footer-description {
    line-height: 1.6;
}

.site-footer .social-icon {
    width: 36px;
    height: 36px;
}

.site-footer .footer-heading {
    color: var(--gris-canon);
    letter-spacing: 2px;
    font-size: 0.95rem;
}

.site-footer .footer-links {
    line-height: 2.2;
}

.site-footer .contact-links {
    line-height: 2;
}

.site-footer .contact-icon {
    font-size: 1.1rem;
    color: var(--gris-canon);
}

.site-footer .horaires {
    line-height: 1.6;
}

.site-footer .copyright {
    font-size: 0.8rem;
}

/* ===================== SHOP HERO ===================== */
.shop-hero {
    height: 45vh;
    min-height: 320px;
}

.shop-hero h1 {
    color: var(--beige-atelier);
    font-size: clamp(48px, 8vw, 80px);
    line-height: 1;
    text-transform: uppercase;
    font-family: var(--font-serif);
    font-weight: 700;
}

.shop-hero p {
    font-size: 1rem;
    max-width: 420px;
    opacity: 0.9;
}

/* ===================== SHOP SIDEBAR ===================== */
.shop-sidebar {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.shop-sidebar h4 {
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
}

.filter-group {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 0.75rem;
}

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

.filter-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gris-canon);
}

.filter-list li {
    padding: 0.25rem 0;
    font-size: 0.85rem;
}

.filter-list li a {
    transition: color 0.2s;
}

.filter-list li a:hover {
    color: var(--rouge-vif) !important;
}

.filter-list .badge {
    font-size: 0.7rem;
}

.filter-list-scroll {
    max-height: 200px;
    overflow-y: auto;
}

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

.filter-form label {
    cursor: pointer;
    transition: background-color 0.2s;
}

.filter-form label:hover {
    background-color: rgba(0,0,0,0.02);
}

.cursor-pointer {
    cursor: pointer;
}

/* Price slider */
.price-slider-wrapper {
    position: relative;
}

.price-slider-container {
    position: relative;
    height: 4px;
    margin: 1.2rem 0;
    background: #ddd;
    border-radius: 2px;
}

.price-slider-container::before {
    content: '';
    position: absolute;
    height: 100%;
    background: var(--gris-canon);
    border-radius: 2px;
    left: var(--range-min, 0%);
    right: calc(100% - var(--range-max, 100%));
    z-index: 1;
}

.price-slider {
    position: absolute;
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    z-index: 2;
}

.price-slider::-webkit-slider-track {
    width: 100%;
    height: 4px;
    background: transparent;
    border: none;
}

.price-slider::-moz-range-track {
    width: 100%;
    height: 4px;
    background: transparent;
    border: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: white;
    border: 2px solid var(--gris-canon);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: transform 0.15s, box-shadow 0.15s;
    margin-top: -5px;
}

.price-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: white;
    border: 2px solid var(--gris-canon);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: transform 0.15s, box-shadow 0.15s;
}

.price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.price-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.price-slider::-webkit-slider-thumb:active {
    transform: scale(1.3);
    background: var(--gris-canon);
    border-color: var(--gris-canon);
}

.price-slider::-moz-range-thumb:active {
    transform: scale(1.3);
    background: var(--gris-canon);
    border-color: var(--gris-canon);
}

.price-slider-values {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

#apply-price-filter {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    margin-top: 1rem;
}

/* ===================== SHOP PAGINATION ===================== */
.shop-products .page-numbers {
    list-style: none;
    display: flex;
    gap: 0.25rem;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.shop-products .page-numbers li .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--gris-canon);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.shop-products .page-numbers li .page-numbers:hover {
    background-color: var(--beige-atelier);
}

.shop-products .page-numbers li .page-numbers.current {
    background-color: var(--gris-canon);
    color: var(--beige-atelier);
    border-color: var(--gris-canon);
}

/* ===================== BREADCRUMB ===================== */
.breadcrumb-nav {
    background-color: #fff;
}

.breadcrumb-nav .breadcrumb-item a {
    color: #888;
    transition: color 0.2s;
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--rouge-vif);
}

.breadcrumb-nav .breadcrumb-item.active {
    color: var(--gris-canon);
    font-weight: 500;
}

/* ===================== SINGLE PRODUCT ===================== */
.single-product-section {
    background-color: #fff;
}

.product-gallery {
    align-items: flex-start;
}

.product-main-image {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.product-main-image img {
    border: none;
    border-radius: 0;
    object-fit: contain;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    background: transparent;
}

.product-thumbnails-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;
    width: 80px;
    scrollbar-width: thin;
    scrollbar-color: var(--gris-canon) transparent;
}

.product-thumbnails-sidebar::-webkit-scrollbar {
    width: 4px;
}

.product-thumbnails-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.product-thumbnails-sidebar::-webkit-scrollbar-thumb {
    background-color: var(--gris-canon);
    border-radius: 4px;
}

.product-thumb {
    display: block;
    width: 70px;
    height: 70px;
    min-height: 70px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s;
    cursor: pointer;
}

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

.product-thumb:hover,
.product-thumb.active {
    border-color: var(--gris-canon);
}

/* Legal Category Card */
.legal-category-card {
    background: var(--fond-blanc);
    border-left: 4px solid var(--gris-canon);
    border-radius: 4px;
    padding: 0.75rem 1rem;
}

.legal-category-label {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.25rem;
}

.legal-category-desc {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
    white-space: pre-line;
}

/* Gallery responsive: thumbnails below on mobile */
@media (max-width: 575.98px) {
    .product-gallery {
        flex-direction: column-reverse;
    }

    .product-thumbnails-sidebar {
        flex-direction: row;
        max-height: none;
        overflow-y: hidden;
        overflow-x: auto;
        width: 100%;
        max-width: 100%;
    }

    .product-thumb {
        width: 60px;
        height: 60px;
        min-height: 60px;
        min-width: 60px;
    }
}

.product-title {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    color: var(--gris-canon);
}

.product-brand-label {
    font-size: 0.85rem;
}

.product-short-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
}

.product-price-block .old-price {
    color: #aaa;
}

.product-attributes table {
    font-size: 0.85rem;
}

.product-attributes th {
    background: none;
    font-weight: 600;
}

.product-full-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
}

/* Similar products */
.similar-products {
    background-color: var(--fond-blanc);
}

.similar-products h2 {
    font-size: 1.5rem;
}

/* ===================== UTILITY CLASSES ===================== */
.hover-rouge:hover {
    color: var(--rouge-vif) !important;
}

.transition-all {
    transition: all 0.3s ease-in-out;
}