body {
    font-family: 'Century Gothic', 'Futura', 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

#section {
    display: flex;
    flex-direction: column; 
    gap: 45px;
}

a {
    text-decoration: none;
    color: grey;
}

/* HERO VIDEO */
.video-hero {
    width: 100%;
    height: 100vh;
    min-height: 400px;
    overflow: hidden;
    background-color: #000000;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    color: #ffffff;
    width: 90%;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* ==========================================================================
   BLOC INTRODUCTION (LUXE ÉDITORIAL & ÉPURÉ)
   ========================================================================== */

.collection-intro {
    padding: 70px 24px 45px 24px;
    text-align: center;
    /*background-color: #ffffff;
    /*border-bottom: 1px solid #f7f7f7;*/ /* Délimitation très douce */
}

.intro-container {
    max-width: 720px;
    margin: 0 auto;
}

/* SOUSTITRE DE MARQUE */
.intro-subtitle {
    display: block;
   /* font-family: "Montserrat", -apple-system, sans-serif;*/
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 5px; /* Espacement large type "Luxe" */
    color: #555555;
    margin-bottom: 18px;
}

/* TITRE MAJESTUEUX */
.intro-title {
    font-family: 'Century Gothic', 'Futura', 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #111111;
    margin: 0 0 22px 0;
    line-height: 1.15;
}

/* SÉPARATEUR MINIMALISTE */
.intro-divider {
    width: 35px;
    height: 1px;
    background-color: #111111;
    margin: 0 auto 28px auto;
    opacity: 0.8;
}

/* DESCRIPTION HAUTE COUTURE */
.intro-description {
    /*font-family: "Montserrat", -apple-system, sans-serif;*/
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.9; /* Grand espace entre les lignes pour plus de légèreté */
    letter-spacing: 0.6px;
    color: #444444;
    margin: 0;
}

/* BARRE D'OPTIONS D'AFFICHAGE */
.display-switchers {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto 10px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.filter-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.filter-text {
   /* font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;*/
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #111111;
    white-space: nowrap;
    line-height: 1;
}

.filter-trigger-btn svg {
    display: block;
    color: #111111;
    flex-shrink: 0;
}

.filter-trigger-btn:hover {
    opacity: 0.6;
}

.view-options {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.view-label {
    /*font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;*/
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #767676;
    font-weight: 400;
    margin-right: 4px;
}

.view-btn {
    background: transparent;
    border: none;
    color: #CCCCCC;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.view-btn:hover,
.view-btn.active {
    color: #111111;
}

.view-btn .icon-desktop {
    display: block;
}
.view-btn .icon-mobile {
    display: none;
}


/* GRILLE DYNAMIQUE DU CONTENEUR DE PRODUITS */
#globaldivfilter {
    display: grid;
    row-gap: 30px;
    column-gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 30px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    #globaldivfilter.grid-standard {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    #globaldivfilter.grid-expanded {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


/* CARTE PRODUIT */
.blocfilter {
    width: 100%;
    background-color: #ffffff;
    /*border-radius: 8px;*/
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blocfilter:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.linkfilter {
    text-decoration: none;
    color: inherit;
    display: block;
}

.divimgfilter {
    position: relative;
    width: 100%;
    padding-top: 125%;
    overflow: hidden;
    background-color: #f5f5f5;
}

.divimgfilter img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/*.blocfilter:hover .divimgfilter img {
    transform: scale(1.04);
}*/



.titrefilter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.filtertitre {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 25px 15px 12px 15px !important;
    box-sizing: border-box !important;
    margin: 0;
    display: -webkit-box;
  -webkit-line-clamp: 4; /* Nombre de lignes maximum */
  -webkit-box-orient: vertical;
  overflow: hidden;
  
  /* Garantit la hauteur égale pour 2 lignes */
  line-height: 1.4;
  height: calc(1.4em * 4 + 37px);
     font-family: 'Century Gothic', 'Futura', 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #1A1A1A;
    text-transform: capitalize;
    transition: opacity 0.3s ease;
    z-index: 2;
    color: white;
    /*background: rgba(249, 246, 240, 0.4);*/
    backdrop-filter: blur(8px);
}

/* Masquage des titres au survol */
.divimgfilter:hover .title2 {
    opacity: 0;
}

/* Bloc de détails complet apparaissant au survol */
.detailscollec-hover{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.6;
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: auto;
    z-index: 3;
    background: rgba(249, 246, 240, 0.95);
    color: black;
}


.divimgfilter:hover .detailscollec-hover
{
    opacity: 1;
    visibility: visible;
}









/* PANNEAU LATÉRAL ET OVERLAY */
.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.35);
    /*backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);*/
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s;
    z-index: 9998;
}

.filter-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.filter-drawer {
    position: fixed;
    top: 0;
    left: -50vw; /* Caché hors écran (basé sur 50vw) */
    width: 50vw; /* PC : Prends la moitié exacte de la largeur */
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: left 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.filter-drawer.open {
    left: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 35px 50px;
    border-bottom: 1px solid #f2f2f2;
}

.drawer-header h2 {
   /* font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;*/
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
    color: #111111;
}

.close-drawer-btn {
    background: transparent;
    border: none;
    font-size: 22px;
    font-weight: 300;
    cursor: pointer;
    color: #111111;
    line-height: 1;
    padding: 5px;
    transition: opacity 0.2s ease;
}

.close-drawer-btn:hover {
    opacity: 0.5;
}

.drawer-body {
    padding: 40px 50px;
    overflow-y: auto;
    flex-grow: 1;
}

.filter-group-title {
    /*font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;*/
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
    color: #888888;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-group {
    margin-bottom: 40px; /* Espace entre le bloc Matière et le bloc Tissage */
}

.filter-group:last-child {
    margin-bottom: 0;
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
  /*  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;*/
    font-size: 13px;
    letter-spacing: 1px;
    color: #333333;
    user-select: none;
    transition: color 0.2s ease;
}

.custom-checkbox:hover {
    color: #000000;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 14px;
    height: 14px;
    border: 1px solid #d1d1d1;
    margin-right: 16px;
    display: inline-block;
    border-radius: 0px; /* Bords droits ultra-épurés */
    position: relative;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: #111111;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #111111;
    border-color: #111111;
}


.custom-checkbox input:checked ~ .checkmark::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
    background: #ffffff;
}

.custom-checkbox input:checked ~ .label-text {
    color: #111111;
    font-weight: 500;
}

.drawer-footer {
    padding: 30px 50px;
    border-top: 1px solid #f2f2f2;
    display: flex;
    justify-content: center;
}


.btn-apply {
    width: 100%; /* Le bouton prend toute la largeur du tiroir */
    background: #111111;
    color: #ffffff;
    border: none;
    padding: 18px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-apply:hover {
    background: #2a2a2a;
}


/* ==========================================================================
   Bloc SEO Linge de Lit - Format Dépliable
   ========================================================================== */

.lx-seo-block {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  font-family: inherit;
  background: transparent;
  color: #444444;
}

/* Zone masquée initialement */
.lx-seo-content {
  max-height: 280px; /* Hauteur visible avant le clic */
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  font-size: 13.5px;
    font-weight: 300;
    line-height: 1.8; /* Grand espace entre les lignes pour plus de légèreté */
    letter-spacing: 0.6px;
}

.lx-seo-content strong {
    font-weight: 600 !important; /* Force le gras tout en restant élégant */
}


/* Dégradé indiquant la suite du texte */
.lx-seo-block:not(.is-expanded) .lx-seo-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 85px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  pointer-events: none;
}

/* Style lorsque le bloc est déplié */
.lx-seo-block.is-expanded .lx-seo-content {
  max-height: 2500px;
}

/* Structure typographique */
.lx-seo-block h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 32px;
  margin-bottom: 16px;
  text-align: center; /* Titres h2 centrés */
}

.lx-seo-block h2:first-child {
  margin-top: 0;
}

.lx-seo-block p {
  margin-bottom: 16px;
}

.lx-seo-block ul {
  margin: 16px 0 24px 20px;
  padding: 0;
}

.lx-seo-block li {
  margin-bottom: 12px;
}

/* Bouton d'action */
.lx-seo-trigger-wrapper {
  text-align: center;
  margin-top: 20px;
}

.lx-seo-btn {
  background: transparent;
  border: none;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-family: inherit;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 4px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.lx-seo-btn:hover {
  opacity: 0.6;
}


/*ADAPTATION MOBILE & TABLETTE
   ========================================================================== */
@media (max-width: 768px) {

    .collection-intro {
        padding: 45px 10px 30px 10px;
    }

    .intro-subtitle {
        font-size: 9px;
        letter-spacing: 4px;
    }

    .intro-title {
        font-size: 30px;
    }

    .intro-description {
        font-size: 12.5px;
        line-height: 1.8;
    }

    .view-btn .icon-desktop {
        display: none;
    }
    .view-btn .icon-mobile {
        display: block;
    }

    #globaldivfilter {
        row-gap: 12px;
        column-gap: 12px;
        padding: 0 12px;
    }
    #globaldivfilter.grid-standard {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    #globaldivfilter.grid-expanded {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .filter-drawer {
        width: 100vw; /* Sur Mobile : occupe toute la largeur pour un confort de lecture optimal */
        left: -100vw;
    }

    .drawer-header {
        padding: 25px 25px;
    }

    .drawer-body {
        padding: 30px 25px;
    }

    .drawer-footer {
        padding: 20px 25px;
    }

    /* Vue 2 colonnes (sur smartphone) */
    #globaldivfilter.grid-standard .filtertitre {
        font-size: 0.82rem !important;
        line-height: 1.25 !important;
        padding: 10px 8px 8px 8px !important;
        height: calc(1.25em * 3 + 18px) !important; /* Hauteur fixe réduite */
        -webkit-line-clamp: 3 !important;
    }

    /* Vue 1 colonne (sur smartphone) */
    #globaldivfilter.grid-expanded .filtertitre {
        font-size: 1rem !important;
        line-height: 1.35 !important;
        padding: 15px 12px 10px 12px !important;
        height: calc(1.35em * 3 + 25px) !important;
        -webkit-line-clamp: 3 !important;
    }

    /* 1. Ajustement de l'overlay hover sur 2 colonnes */
    #globaldivfilter.grid-standard .detailscollec-hover {
        padding: 10px 8px !important;
        font-size: 0.72rem !important;
        line-height: 1.25 !important;
    }

    #globaldivfilter.grid-standard .detailscollec-hover p {
        margin-bottom: 3px !important;
        font-size: 0.72rem !important;
    }

    #globaldivfilter.grid-standard .detailscollec-hover .details-typeitems {
        font-size: 0.7rem !important;
        margin-top: 4px !important;
    }

    /* 2. Réduction des retours à la ligne forcés (<br>) en mode 2 colonnes */
    #globaldivfilter.grid-standard .detailscollec-hover br {
        display: none !important;
    }

    .lx-seo-block {
        padding: 20px;
        font-size: 12.5px;
        line-height: 1.8;
        font-weight: 300;
        letter-spacing: 0.6px;
        color: #444444;
    }
    .lx-seo-content
    { 
        max-height: 500px;
    }


}