/*
 * Mostly Black and White Minimalist Theme
 * Designed by Arthur Lepley Developpement
 */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;500;700&display=swap');


/* === VARIABLES === */
:root {
    --color-primary: #000000; /* Black */
    --color-secondary: #FFFFFF; /* White */
    /*--color-accent: #888888; /* Light Gray for subtle details */
    --color-accent: #333333; /* Darker gray for details */
    --color-light-bg: #F8F8F8; /* Subtle off-white for background sections */
    --spacing-unit: 2rem;
    --font-primary: 'Bodoni Moda', sans-serif;/*'Arial', sans-serif;*/
    --header-height: 80px;
    --max-width: 1200px;
}

/* === BASE STYLES === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-secondary);
    color: var(--color-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: 1.2rem; /* Slightly larger base font */
}

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

/* Headings */
h1, h2, h3, h4 {
    font-weight: 500; /* Minimalist aesthetic often uses light weights */
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* === HEADER & NAVIGATION === */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: var(--header-height);
    border-bottom: 1px solid var(--color-primary);
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--color-secondary);
    z-index: 1000;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
}

.main-nav {
    margin-right: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-size: 0.9rem;
    padding: 10px 0;
    display: block;
}

#menu-toggle {
    display: none; /* Hide on desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary);
}

/* === MAIN CONTENT AREA === */
.site-content {
    padding-top: var(--header-height); /* Space for fixed header */
    min-height: calc(100vh - var(--header-height) - 100px); /* Adjust based on footer height */
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 50px;
}

/* === HOME PAGE SECTIONS === */
.hero-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 0;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.cta-button {
    border: 1px solid var(--color-primary);
    padding: 10px 30px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

/* News Section */
.latest-news {
    padding: 50px 0;
    border-top: 1px solid var(--color-accent);
}

.latest-news h2 {
    text-align: center;
    margin-bottom: 40px;
}

.news-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-accent);
    padding: 15px 0;
}

.news-date {
    flex-shrink: 0;
    margin-right: 30px;
}

.news-title a {
    font-weight: 600;
}

/* === FOOTER === */
.site-footer {
    border-top: 1px solid var(--color-primary);
    padding: 20px 40px;
    text-align: center;
    font-size: 0.8rem;
    background-color: var(--color-secondary);
}

/* === MOBILE/TABLET RESPONSIVENESS (Optional but Recommended) === */
@media (max-width: 768px) {
    .site-content {
        /* Réduire le padding horizontal de 40px à 20px ou 15px */
        padding-left: 5px; 
        padding-right: 5px;
        /* Conserver le padding-top pour l'en-tête */
        padding-top: var(--header-height); 
    }
    
    /* 2. Assurez-vous que le wrapper de contenu n'ajoute pas de padding excessif */
    .content-wrapper {
        padding: 5px 0; /* Suppression du padding horizontal pour laisser .site-content le gérer */
    }

    .page-title {
        /* Valeur de base autour de 3rem sur desktop, on la réduit */
        font-size: 1.8rem; 
        margin-bottom: 30px; /* Réduire l'espace en dessous */
    }

    /* Titres de produits (H2) - comme "HERITAGE" ou "PRESTIGE" */
    .product-item .product-text h2 {
        /* Valeur de base autour de 2.2rem sur desktop, on la réduit */
        font-size: 1.2rem !important;
        font-weight: bold !important;
    }

    /* Le titre général H1 (si utilisé) */
    h1 {
        font-size: 1rem;
    }
    
    /* Le titre général H2 (si utilisé) */
    h2 {
        font-size: 1.2rem !important;
        font-weight: bold !important;
    }

    /* Titre de la section vidéo */
    .product-video-footer h2 {
        font-size: 0.8rem; /* Cette ligne était déjà ajoutée, mais elle est bien ici */
    }
    
    /* Réduire l'espace du header de page pour les petits écrans */
    .page-header {
        margin-bottom: 1rem; 
    }


    /* 3. Ajuster le padding de l'en-tête pour un look uniforme */
    .site-header {
        padding: 0 5px; /* Assortir le padding de l'en-tête au contenu */
    }
    .site-header {
        padding: 0 5px;
    }

    .main-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-secondary);
        border-top: 1px solid var(--color-primary);
        /* Initially hidden */
        max-height: 0; 
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .main-nav.open {
        max-height: 100vh; /* prend toute la hauteur de l’écran */
        overflow-y: auto;  /* permet de scroller si trop long */
        transition: max-height 0.3s ease-in-out;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px 40px;
    }

    .main-nav li {
        margin: 10px 0;
    }

    #menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .news-item {
        flex-direction: column;
    }
    
    .news-date {
        margin-bottom: 5px;
    }
}

/* === FOOTER SOCIAL LINKS STYLING === */
.social-links {
    margin-top: 10px;
}

.social-links a {
    /* Style the social links as small, separated text */
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 8px; /* Spacing between links */
    padding: 5px 0;
    display: inline-block;
    border: none;
}

.social-links a:hover {
    color: var(--color-accent); /* Subtle gray on hover */
}

/* Optional: If you use icon fonts (like Font Awesome), 
   you would use CSS to hide the text and display the icon here. 
   Since we're using text, the above is fine. */

/* Hero Section Styling */
.hero-section {
    /* Set minimum height to fill viewport below the header */
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; /* Needed for overlay */
    color: var(--color-secondary); /* Text must be white over dark image */

    /* Image settings */
    background-image: url('images/brewery-hero.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center center;
}

/* Overlay for Sobriety and Contrast */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 40% opaque black */
    z-index: 1;
}

/* Ensure text is above the overlay */
.hero-section > * {
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem; /* Larger, bolder impact */
    max-width: 800px;
    line-height: 1.1;
}

.cta-button {
    color: var(--color-secondary); /* White button text */
    border: 1px solid var(--color-secondary);
    background: none;
}

.cta-button:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary); /* Black text on white hover */
}

/* Use the subtle off-white background */
.alt-background {
    background-color: var(--color-light-bg); 
    padding: 80px 40px;
    margin-left: -40px; /* Extend to full width of the main content area */
    margin-right: -40px; 
}

/* --- 1. Base Content Spacing --- */
/* Add general padding to the main wrapper */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
}

/* Ensure the main title is centered/clear */
.page-header {
    text-align: center;
    margin-bottom: 5rem;
}

/* --- 2. Product Layout Styling (The core design change) --- */

/* Style for individual product sections (assuming you wrap each in a <div>) */
.product-item {
    display: grid;
    /* Two columns: one auto-sized (image), one filling the rest */
    grid-template-columns: 1fr 1fr; 
    gap: 80px; /* Generous space between image and text */
    align-items: center; /* Vertically center content */
    margin-bottom: 7rem; /* Large vertical space between products */
}

/* Alternate the column order for a sleek zig-zag look */
.product-item:nth-child(even) {
    direction: rtl; /* Reverses the order of children */
}
.product-item:nth-child(even) > * {
    direction: ltr; /* Resets text direction inside columns */
}

/* Image container */
.product-image-container {
    width: 100%;
    /* Keep the image within the B&W theme */
    /*filter: grayscale(100%);*/ 
}

.product-image-container img {
    display: block;
    /*max-width: 260px;*/
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    /*border: 1px solid var(--color-accent);*/ /* Optional thin border */
}


/* Images spécifiques aux Saké — priorité plus forte */
.product-image-container-sake img {
    display: block;
    width: auto;         /* <-- ne pas forcer à 100% */
    max-width: 260px;    /* <-- limite réelle de la bouteille */
    height: auto;
    margin: 0 auto;      /* <-- pour centrer la bouteille */
    object-fit: contain; /* <-- évite d’étirer ou couper */
    transition: transform 0.3s ease;
}

/* Text container */
.product-text h2 {
    margin-top: 0;
    font-size: 2.2rem;
}

/* Make body text slightly smaller for modern contrast */
.product-text p {
    font-size: 1.15rem;
    white-space: pre-line;
    line-height: 1.8;
}

.product-text ul {
    margin-left: 1.5rem; /* crée ta "tabulation" */
    padding-left: 1rem;  /* espace interne supplémentaire */
}

.product-text li {
    margin-bottom: 0.6rem; /* espace vertical entre les points */
    line-height: 1.7;
}


/* --- 3. Responsive Adjustments --- */
@media (max-width: 900px) {
    .product-item {
        /* Stack columns vertically on smaller screens */
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 4rem;
    }
    /* Reset reversing on small screens */
    .product-item:nth-child(even) {
        direction: ltr;
    }
}
/* --- New Global Spacing Class --- */
/* Used to add vertical padding to sections not using the product-item class */
.content-padding {
    padding: 2rem 0; 
}

/* --- Full-Width Image Styling --- */
/* Style for the large image break, using margin to force it past the content wrapper */
.full-width-image-container {
    max-width: 100%;
    margin: 4rem calc(50% - 50vw); /* Pushes the container to the full width of the viewport */
    overflow: hidden;
    filter: grayscale(100%); /* Maintain the aesthetic */
    border-top: 1px solid var(--color-light-bg);
    border-bottom: 1px solid var(--color-light-bg);
}

.full-width-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Intro Section Styling --- */
.intro-section {
    max-width: 800px;
    margin: 0 auto; /* Center the introduction text */
    text-align: center;
    font-size: 1.2rem;
}

/* --- CONTACT PAGE STYLING --- */
.contact-details {
    max-width: 600px;
    margin: 4rem auto; /* Center it and give large top/bottom margin */
    padding: 0 20px;
    text-align: left; /* Ensure text is left-aligned inside the centered block */
}

.contact-details dl {
    display: grid;
    /* Two columns: one narrow for the label, one wide for the value */
    grid-template-columns: 150px 1fr; 
    gap: 30px 20px; /* Space between rows and columns */
    padding: 0;
}

.contact-details dt {
    /* The Label (e.g., Email, Phone) */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    color: var(--color-accent); /* Use your dark gray accent color */
}

.contact-details dd {
    /* The Value (e.g., info@yoursite.com) */
    margin: 0;
    font-size: 1.1rem;
}

.contact-details dd a {
    text-decoration: underline; /* Clear link visibility */
}

/* Make the main title clear */
.contact-details + .contact-map {
    text-align: center;
    margin-top: 5rem;
}

/* --- Ajustement de la Page Contact sur Mobile --- */
@media (max-width: 768px) {
    
    /* 1. Ajuster le conteneur principal */
    .contact-details {
        margin: 2rem auto; /* Réduire la marge verticale de 4rem à 2rem */
        padding: 0 15px; /* S'assurer d'une petite marge latérale */
        max-width: 100%; /* Surcharge le 600px du desktop si nécessaire */
    }

    /* 2. Empiler les DT et DD (Règle essentielle) */
    .contact-details dl {
        /* Passer la grille à une seule colonne pour empiler les éléments */
        grid-template-columns: 1fr; 
        gap: 15px 0; /* Réduire l'espace vertical, retirer l'espace horizontal */
    }
    
    /* 3. Ajuster la taille des textes */
    .contact-details dt {
        /* Rendre le label plus petit pour mobile */
        font-size: 0.8rem; 
        /* S'assurer que le label a un fond clair si votre design l'exige */
        color: #333; 
    }

    .contact-details dd {
        /* Rendre la valeur plus compacte */
        font-size: 1rem; 
        margin: 0 0 15px 0; /* Ajouter de l'espace sous l'élément DD */
    }

    /* 4. Ajuster le titre "Visit Us" */
    .contact-details + .contact-map {
        margin-top: 2rem; /* Réduire l'espace au-dessus du titre */
    }
}

/* --- Reusing and Adapting Contact Styles for Legal DL Lists --- */

.publisher-details, .host-details {
    display: grid;
    /* Two columns: one narrow for the label, one wide for the value */
    /*grid-template-columns: 200px 1fr; 
    gap: 15px 20px; /* Vertical and horizontal gap */
    /*padding: 10px 0;*/
    grid-template-columns: 2rem 1fr;
    gap: 2rem 2rem;
    padding: 2rem 0;
    margin: 2rem 0 3rem 0; /* Add space below the list */
}

/* Style the Labels (dt) */
.publisher-details dt, .host-details dt {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
    color: var(--color-accent); 
}

/* Style the Values (dd) */
.publisher-details dd, .host-details dd {
    margin: 0;
    font-size: 1.05rem;
}

/* --- General Legal Content Styling (The div wrapper styling) --- */
.legal-policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #222;
}

.legal-policy-content h2 {
  margin-top: 2.5rem;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3rem;
}

.legal-policy-content h3 {
  margin-top: 1.2rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.legal-policy-content dl {
  margin: 1rem 0 2rem 0;
}

.legal-policy-content dt {
  font-weight: bold;
  float: left;
  width: 180px;
  color: #333;
}

.legal-policy-content dd {
  margin: 0 0 0.5rem 190px;
  color: #555;
}

.legal-policy-content a {
  color: #000;
  text-decoration: underline;
}

.legal-policy-content a:hover {
  color: #E4405F;
}

/* --- Ajustement de la page Mentions Légales sur Mobile --- */
@media (max-width: 768px) {

    /* 1. S'assurer que le contenu a de la place */
    .legal-policy-content {
        /* Réduire le padding sur les côtés pour maximiser la largeur du texte */
        padding: 1.5rem 15px;
    }

    /* 2. Empiler les éléments <dt> et <dd> (Publisher et Host) */
    .legal-policy-content dt {
        /* Supprimer la mise en page à deux colonnes */
        float: none !important;
        width: 100% !important; /* Permettre au label de prendre toute la largeur */
        display: block;
        margin-bottom: 0.2rem; /* Ajouter un petit espace sous le label */
        
        /* Optionnel: Rendre le label plus facile à lire */
        font-size: 1rem;
    }

    .legal-policy-content dd {
        /* Supprimer la marge fixe de 190px qui bloquait l'alignement */
        margin: 0 0 1rem 0 !important; 
        clear: both;
        display: block;
        /* Rétablir la largeur normale pour la valeur */
        width: 100%;
    }

    /* Optionnel mais Recommandé : Réduire l'espace pour les listes publisher-details/host-details */
    .publisher-details, .host-details {
        /* Ces listes utilisaient un affichage en grid, nous le réinitialisons */
        display: block;
        padding: 0;
        margin: 1rem 0;
    }
}


/* --- ABOUT PAGE STYLING --- */

.about-intro {
    /* Center the introductory text content */
    max-width: 900px;
    margin: 0 auto 5rem auto; 
    text-align: justify; /* Maintain the justified alignment you prefer */
}

.about-intro h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
}

/* --- Values and Photo Grid Container --- */
.value-image-block {
    display: flex;
    /* Two equal columns for the layout */
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 5rem auto 7rem auto;
    padding: 0 40px;
    align-items: start; /* Align content to the top of the columns */
}

/* --- Values List Styling --- */
.values-text-container {
    padding-top: 20px;
}

.values-text-container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--color-accent);
    display: inline-block; /* Makes the border only as wide as the text */
    padding-bottom: 5px;
}

.value-list {
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin: 30px 0;
}

.value-list li {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 2.5;
    border-bottom: 1px dashed var(--color-light-bg); /* Subtle dashed separator */
}

/* --- Photo Grid Styling --- */
.photo-grid {
    display: grid;
    /* Two photos stacked vertically with spacing */
    grid-template-rows: auto auto; 
    gap: 30px; 
}

.photo-grid img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /*border: 1px solid var(--color-accent);*/
}

/* Responsive adjustment: Stack columns vertically on small screens */
@media (max-width: 900px) {
    .value-image-block {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 3rem;
        padding: 0 5px !important;
    }

    .photo-grid {
        /* On remet le conteneur à sa place pour prendre toute la largeur du value-image-block */
        max-width: 100% !important;
        margin: 0 auto; 
    }
}

/* --- FOOTER SOCIAL LINKS STYLING (Adjusted for Icons) --- */
.social-links {
    margin-top: 10px;
    /* Optional: Center the icons horizontally */
    text-align: center; 
}

.social-links a {
    /* Remove padding and margin used for text */
    margin: 0 10px; 
    padding: 0;
    display: inline-block;
    border: none;
    color: var(--color-primary); /* Default color is black */
}

.social-links a i {
    /* Make the icon size clear */
    font-size: 1.5rem; 
    line-height: 1; /* Prevents vertical spacing issues */
    transition: color 0.2s ease;
}

.social-links a:hover i {
    color: var(--color-accent); /* Icon changes color on hover */
}

/* --- MINIMALIST HOME PAGE STYLING --- */

.home-intro-section {
    /* Set minimum height to fill the screen below the header */
    min-height: calc(100vh - 70px); 
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers content on the page */
    align-items: center; /* Horizontally centers content */
    text-align: center;
    padding: 4rem 2rem;
}

.home-logo-container {
    margin-bottom: 3rem;
}

.main-logo-image {
    /* Set maximum size for the logo image */
    max-width: 480px; /* much larger logo */
    width: 60%;
    height: auto;
    display: block;
}

.home-text-content {
    max-width: 800px; /* Constrain text width for readability */
    margin-bottom: 3rem;
    padding: 0 20px;
}

.home-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.home-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: justify; /* Maintain justified alignment */
}

/* Re-style CTA button for a cleaner look */
.cta-button {
    /* Use black text/border against the white background */
    color: var(--color-primary); 
    border: 1px solid var(--color-primary);
    background: none;
    padding: 12px 30px;
    font-weight: 700;
}

.cta-button:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary); /* White text on black hover */
}

/* --- LANGUAGE NAVIGATION STYLING --- */
.lang-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
}

.lang-nav li {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid var(--color-light-bg);
}

.lang-nav li:first-child {
    border-left: none;
    padding-left: 0;
}

.lang-nav a {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-primary);
}

.lang-nav li.active a {
    color: var(--color-accent); /* Highlights the current language */
}

.main-nav {
    margin-right: 20px; /* Add a buffer between the main menu and the language switch */
}

/* === ENHANCED HOME HERO SECTION === */
.is-plain-home .home-intro-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-secondary);
    padding: 6rem 2rem;
    font-family: var(--font-primary);
}

.is-plain-home .home-logo-container {
    margin-bottom: 3rem;
}

.is-plain-home .main-logo-image {
   max-width: 3500px; /* taille maximale agrandie */
    width: 90%; /* prend plus de place dans son conteneur */
    height: auto;
    display: block;
    margin: 0 auto;
}

.is-plain-home .home-text-content {
    max-width: 900px;
    text-align: center;
}

.is-plain-home .home-title {
    font-family: var(--font-primary);
    font-size: 2.9rem; /* larger text */
    line-height: 1.3;
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.is-plain-home .home-subtitle {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    line-height: 1.9;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-accent);
}

.is-plain-home .cta-button {
    font-size: 1rem;
    letter-spacing: 2px;
    padding: 14px 36px;
    border: 2px solid var(--color-primary);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.is-plain-home .cta-button:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .is-plain-home .main-logo-image {
        max-width: 500px;
    }

    .is-plain-home .home-title {
        font-size: 2.2rem;
    }

    .is-plain-home .home-subtitle {
        font-size: 1rem;
    }
}

/* 1. Conteneur pour la vidéo (sera positionné absolument par rapport à .product-video-section) */
.is-product-video .video-background {
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0; 
}

/* 2. Style de la balise vidéo elle-même (centrage et couverture) */
.is-product-video .video-background video {
    min-width: 100%; 
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
}

/* 3. L'Overlay */
.is-product-video .video-overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4); 
}

/* 4. S'assurer que le contenu est au-dessus et centré */
.product-video-section {
    position: relative; 
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 0;
    z-index: 1; 
}

/* 5. Contenu du produit */
.product-content {
    position: relative;
    z-index: 10;
    color: white; /* Texte lisible sur la vidéo */
}

/* --- Styles pour la section Vidéo en bas de la page (products.md) --- */

.product-video-footer {
    padding: 40px 0;
    text-align: center; /* Centrer le titre et la vidéo */
    margin-top: 50px;
    border-top: 1px solid #eee; /* Optionnel: Séparateur visuel */
}

.product-video-footer h2 {
    margin-bottom: 20px;
}

/* Conteneur pour définir la taille maximale de la vidéo */
.product-video-footer .video-container {
    max-width: calc(100% - 10px); /* Définissez ici la largeur maximale souhaitée */
    margin: 0 auto; /* Centrer le conteneur */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Optionnel: Ombre légère */
}

/* S'assurer que la balise vidéo prend 100% de la largeur du conteneur */
.product-video-footer .video-container video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px; /* Coins arrondis */
}

/* --- Ajustements pour la Vidéo en bas de page sur Mobile --- */

@media (max-width: 768px) {
    
    .product-video-footer {
        /* Réduire le padding vertical */
        padding: 20px 0; 
        margin-top: 30px;
    }

    .product-video-footer h2 {
        /* Réduire la marge du titre */
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    /* Viser le conteneur de la vidéo pour réduire sa largeur */
    .product-video-footer .video-container {
        /* Réduire la largeur maximale pour ne pas prendre toute la largeur de l'écran */
        /* Laisser 20px de padding de chaque côté de l'écran pour la respiration */
        max-width: calc(100% - 10px); 
        margin: 0 auto; 
    }
}

/* === LANGUAGE DROPDOWN MOBILE === */
/*.lang-nav-mobile {
  position: relative;
  display: none; 
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: auto;
}

.lang-current {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  border: 1px solid var(--color-primary);
  padding: 8px 12px;
}

.lang-current span:first-child {
  margin-right: 5px;
}

.lang-arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
}

.lang-dropdown {
  list-style: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--color-secondary);
  border: 1px solid var(--color-primary);
  margin-top: 5px;
  padding: 5px 0;
  display: none;
  z-index: 9999;
  min-width: 100px;
}

.lang-dropdown li {
  text-align: center;
}

.lang-dropdown a {
  display: block;
  padding: 8px 15px;
  color: var(--color-primary);
  transition: background-color 0.2s;
}

.lang-dropdown a:hover {
  background-color: var(--color-light-bg);
}

.lang-nav-mobile.open .lang-dropdown {
  display: block;
}

.lang-nav-mobile.open .lang-arrow {
  transform: rotate(180deg);
}


@media (max-width: 768px) {
  .lang-nav-mobile {
    display: block;
  }

  .site-header {
    flex-wrap: wrap;
  }
}*/