/* ================================================= 
   SECTION SWEATER SHOP (FINAL PRO STUDIO)
   ================================================== */

/* 1. LAYOUT GÉNÉRAL */
.pf-compact-shop {
    background-color: var(--bg-main);
    color: var(--color-creme);
    padding: 80px 0 100px;
    position: relative;
    z-index: 2;
}

/* Conteneur "Boxed" */
.pf-container-boxed {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 40px;
}

/* GRILLE PRINCIPALE */
.compact-grid {
    display: grid;
    /* On garde une belle proportion : l'image prend un peu plus de place que la carte */
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 90px; /* 🌟 CHANGEMENT : on passe de 70px à 90px pour bien utiliser l'espace au milieu */
    align-items: start; 
}
/* --------------------------------------------------
   2. COLONNE GAUCHE : VISUAL STUDIO (NETTOYÉ ET SANS DOUBLONS)
-------------------------------------------------- */

/* 1. La colonne qui centre tout */
.visual-column {
    display: flex; 
    flex-direction: column; 
    align-items: center; /* 🌟 Garde la boîte au milieu lors du rétrécissement */
    gap: 20px;
    position: relative;
}

/* 2. La boîte principale (Design par défaut : Large) */
.compact-stage {
    position: relative;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, var(--color-primary) 90%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    
    width: 100%;
    max-width: 100%; /* Par défaut, elle prend toute la largeur */
    height: 550px; /* Hauteur fixe */
    
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; 
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6);
    z-index: 1;
    
    /* 🌟 L'animation fluide */
    transition: max-width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

/* 🌟 LA MAGIE : Quand c'est une photo lifestyle, la boîte rétrécit en Portrait ! */
.compact-stage.is-lifestyle {
    max-width: 420px; /* Elle devient plus fine */
    background: transparent; 
    border-color: transparent;
    box-shadow: none;
}

/* 3. Le calque des flèches et du badge (RESTENT FIXES) */
.stage-nav-wrapper {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 550px;
    z-index: 10;
    pointer-events: none;
    /* On a retiré le max-width et la transition : ce calque ne rétrécit plus ! */
}

/* ⚠️ IMPORTANT : Supprime bien l'ancienne règle .stage-nav-wrapper.is-lifestyle qui le faisait rétrécir */

.stage-nav {
    position: relative; 
    width: 100%; 
    height: 100%;
}

/* 4. Les Images */
#stageImage {
    height: 75%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
    
    /* 🌟 AJOUTE CECI : Préparation des transitions */
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
}

/* 🌟 AJOUTE CETTE CLASSE : Elle sera activée pendant le changement */
.image-changing {
    opacity: 0 !important;
    transform: scale(0.98) !important; /* Léger effet de recul */
}

/* Photos Lifestyle (Remplissage total du nouveau cadre portrait) */
#stageImage.is-full-cover {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important; 
    filter: none !important; 
    transform: none !important;
    background-color: transparent !important;
    border-radius: 20px; /* S'assure que les coins épousent la boîte */
}

/* --- STYLE GÉNÉRAL DES BOUTONS (FLÈCHES) --- */
.stage-nav button { 
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    width: 46px; height: 46px;
    border-radius: 50%;
    
    background: var(--color-accent-yellow);
    color: var(--color-primary);
    
    border: none; 
    outline: none;
    
    font-family: Arial, sans-serif; 
    font-size: 24px; 
    font-weight: bold;
    line-height: 1; 
    
    cursor: pointer; 
    pointer-events: auto;
    
    display: flex; 
    align-items: center; 
    justify-content: center;
    
    transition: transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Bouton GAUCHE ❮ */
.stage-nav button:nth-of-type(1) {
    left: 15px;
    padding-right: 9px; 
    padding-bottom: 2px; 
}

/* Bouton DROITE ❯ */
.stage-nav button:nth-of-type(2) {
    right: 15px;
    padding-left: 9px; 
    padding-bottom: 2px; 
}

/* ZOOM AU SURVOL */
@media (hover: hover) {
    .stage-nav button:hover  { 
        transform: translateY(-50%) scale(1.15);
    }
}

/* --- LE BADGE (PLUS BAS) --- */
.stage-nav span { 
    position: absolute;
    bottom: 15px; 
    left: 50%; 
    transform: translateX(-50%);
    
    font-size: 11px; 
    font-weight: 800; 
    letter-spacing: 1px;
    text-transform: uppercase; 
    
    background: var(--color-accent-yellow);
    color: var(--color-primary);
    
    padding: 6px 18px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    pointer-events: auto;
}

/* ================================================= 
   MODE NAVY (CONTRASTE INVERSÉ)
   ================================================== */
.pf-compact-shop.mode-navy .compact-stage {
    background: radial-gradient(circle, #F9F4E8 0%, #E5DCC8 100%);
}

.pf-compact-shop.mode-navy .stage-nav button {
    background: var(--color-primary);
    color: var(--color-accent-yellow);
}

.pf-compact-shop.mode-navy .stage-nav span {
    background: var(--color-primary);
    color: var(--color-accent-yellow);
}

/* MINIATURES */
.compact-thumbs {display: flex; justify-content: center; gap: 12px; margin-top: 20px;}
.c-thumb { width: 55px; height: 55px; border-radius: 10px; opacity: 0.5; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); }
.c-thumb.active { opacity: 1; border-color: var(--color-accent-yellow); transform: translateY(-3px); }
/* Les images remplissent totalement les miniatures carrées */
.c-thumb img { 
    width: 100% !important; 
    height: 100% !important; 
    object-fit: cover !important; 
    border-radius: 8px; /* Évite que l'image dépasse dans les coins */
}

/* ================================================= 
   AJUSTEMENT MINIATURES (MODE NAVY)
   ================================================== */

.pf-compact-shop.mode-navy .c-thumb {
    background-color: var(--color-creme) !important;
    border: none !important; /* On enlève la bordure transparente qui ne sert plus */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* Petite ombre pour détacher le carré crème du fond sombre */
}

/* On garde la bordure jaune fluo quand la miniature est active */
.pf-compact-shop.mode-navy .c-thumb.active {
    border: 2px solid var(--color-accent-yellow) !important;
}

/* ================================================= 
   AJUSTEMENT MINIATURE ZOOM QUALITÉ
   ================================================== */

/* 1. On s'assure que l'image ne déborde pas des coins arrondis de la miniature */
.c-thumb {
    overflow: hidden !important; 
}

/* 2. On cible spécifiquement la 3ème miniature (le Zoom Qualité) pour qu'elle remplisse tout */
.c-thumb:nth-child(3) img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
}

/* ================================================= 
   3. COLONNE DROITE : ACTION
   ================================================== */

.action-column {
    position: sticky; 
    top: 100px;
    z-index: 10;
}

.action-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden; 
    backdrop-filter: blur(10px);
    min-height: 520px;
    display: flex; flex-direction: column;
}

/* EN-TÊTE */
.card-head { padding: 30px 30px 10px; }
.head-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.model-name { font-family: var(--font-main); font-size: 30px; margin: 0; color: #fff; line-height: 1; }
.model-price { font-size: 22px; font-weight: 800; color: var(--color-accent-yellow); }
.specs-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.s-badge { font-size: 10px; padding: 6px 10px; border-radius: 6px; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }

/* =======================================================
   PRIX DE LANCEMENT (BARRÉ)
   ======================================================= */
.model-price {
    display: flex;
    align-items: center;
    gap: 8px; /* Espace entre les deux prix */
}

.price-regular {
    font-size: 15px;
    text-decoration: line-through; /* C'est ça qui barre le texte */
    color: rgba(255, 255, 255, 0.4); /* Couleur discrète */
    font-weight: 600;
}

.price-sale {
    font-size: 24px;
    font-weight: 900;
    color: var(--color-accent-yellow);
}

/* Ajustement Mobile */
@media (max-width: 768px) {
    .price-regular { font-size: 13px; }
    .price-sale { font-size: 20px; }
}

/* STATUS & TIMER */
.campaign-status {
    background: transparent;
    padding: 10px 30px 20px;
    display: flex; flex-direction: column; gap: 12px;
}

.status-header { 
    display: flex; justify-content: space-between; align-items: flex-end;
    font-size: 11px; color: rgba(255,255,255,0.8); 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    padding-bottom: 10px; margin-bottom: 5px;
}
.status-header strong { color: var(--color-accent-yellow); font-weight: 700; }

/* ÉTAT "MUY PRONTO" (campagne avec date de début future) */
.cs-coming-soon {
    text-align: center;
    padding: 6px 0 4px;
}
.cs-coming-soon-icon { font-size: 26px; display: block; margin-bottom: 6px; }
.cs-coming-soon-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent-yellow);
}
.cs-coming-soon-sub {
    margin: 0;
    font-size: 12.5px;
    color: rgba(255,255,255,0.7);
}
.cs-coming-soon-sub strong { color: var(--color-creme); }

.cs-timer-row {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    gap: 10px; font-family: var(--font-main);
}
.timer-left {
    display: flex; align-items: center; gap: 10px;
}
.label-quedan {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    color: var(--color-creme); line-height: 1; padding-top: 2px;
}
.timer-digits { 
    font-size: 15px; font-weight: 400; color: var(--color-creme); 
    font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; line-height: 1;
}
.timer-digits span { font-weight: 700; color: var(--color-creme); }

.cs-bar-container { width: 100%; }
.cs-bar-bg { height: 10px; background: rgba(255,255,255,0.1); border-radius: 5px; overflow: hidden; }
.cs-bar-fill { height: 100%; background: var(--color-terracotta); border-radius: 5px; min-width: 5px; transition: width 1s ease; }

.cs-stats-row { display: flex; justify-content: center; font-size: 13px; color: var(--color-terracotta); }

.cs-guarantee { 
    margin-top: 5px; padding: 10px; 
    border: 1px solid rgba(242, 201, 76, 0.3); border-radius: 8px;
    background: rgba(242, 201, 76, 0.05); text-align: center;
}
.cs-guarantee p { font-size: 11px; margin: 0; color: rgba(255,255,255,0.9); }
.cs-guarantee strong { color: var(--color-accent-yellow); }


/* --- FORMULAIRE & ACTIONS --- */

/* Wrapper principal (CORRIGÉ POUR ÉVITER DÉBORDEMENT) */
.compact-options-wrapper { 
    padding: 10px 30px 30px;
    width: 100%;
    box-sizing: border-box; /* IMPORTANT : Empêche le contenu de dépasser */
}

.row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; }
.f-label { display: block; font-size: 10px; text-transform: uppercase; font-weight: 700; opacity: 1; margin-bottom: 8px; }
.f-label a { color: var(--color-accent-yellow); cursor: pointer; text-decoration: underline; }

/* BOUTONS RADIO (COULEURS & TAILLES) */
.pill-switch { display: flex; background: rgba(0,0,0,0.2); padding: 3px; border-radius: 8px; }
.p-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 6px; cursor: pointer; font-size: 13px; transition: 0.2s; }
.p-btn input { display: none; }
.p-btn.active { background: rgba(255,255,255,0.1); color: #fff; font-weight: 700; }

/* PASTILLES DE COULEUR (CORRIGÉES) */
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

.d-creme { 
    background: #F5F5DC; 
    /* Petite ombre pour le relief */
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.d-navy { 
    background: #1A2B4C; 
    /* SOLUTION : Bordure blanche semi-transparente pour le détourer du fond noir */
    border: 1px solid rgba(255,255,255,0.6); 
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* TAILLES */
.size-row { display: flex; gap: 5px; }
.size-row label { flex: 1; cursor: pointer; }
.size-row input { display: none; }
.size-row span { display: flex; height: 38px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; font-size: 13px; font-weight: 700; transition: 0.2s; }
.size-row input:checked + span { background: var(--color-creme); color: var(--bg-main); border-color: var(--color-creme); }

/* RAPPEL "REVISA LA GUÍA DE TALLAS" */
.size-guide-reminder {
    font-size: 11.5px;
    line-height: 1.5;
    color: rgba(255,255,255,0.6);
    text-align: center;
    margin: -10px 0 20px;
}
.size-guide-reminder a { color: var(--color-accent-yellow); cursor: pointer; text-decoration: underline; font-weight: 700; }

/* ==========================================================================
   SECTION STICKERS (RETOUR AU DESIGN D'ORIGINE)
   ========================================================================== */

/* 1. LE CONTENEUR (La boîte jaune) */
.mini-bonus { 
    background: linear-gradient(135deg, rgba(242, 201, 76, 0.12), rgba(242, 201, 76, 0.02)); 
    border: 1px solid rgba(242, 201, 76, 0.2); 
    border-radius: 16px; 
    padding: 15px 25px; 
    margin: 20px 0; 
    
    display: flex; /* Aligne le texte et les images sur la même ligne */
    justify-content: space-between; 
    align-items: center;
    
    overflow: visible; /* Important pour que l'explosion ne soit pas coupée */
    position: relative; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 2. LE TEXTE (À gauche) */
.bonus-txt { 
    text-align: left; 
    flex: 1; /* Prend l'espace disponible à gauche */
}

.bonus-txt strong { 
    color: var(--color-accent-yellow); 
    display: block; 
    font-size: 15px; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.bonus-txt span { 
    font-size: 13px; 
    opacity: 0.8; 
    display: block; 
    color: var(--color-creme);
}

/* 3. LE BLOC IMAGES (À droite) */
.bonus-imgs { 
    position: relative; 
    width: 75px;  /* Taille fixe pour contenir les images */
    height: 50px; 
    flex-shrink: 0; /* Empêche le bloc de s'écraser */
}

/* Les petites images (Stickers) */
.s-img { 
    width: 60px; 
    position: absolute; 
    top: -10%;           /* On place le haut à 50% */
    transform: translateY(-10%); /* On remonte de la moitié de sa propre hauteur */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)); 
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); 
}

.s-yellow { left: 0; transform: rotate(-10deg); z-index: 1; }
.s-blue { right: 0; transform: rotate(10deg); z-index: 2; }

/* 4. LES EFFETS AU SURVOL (Souris uniquement) */
@media (hover: hover) {
    .mini-bonus:hover { 
        border-color: rgba(242, 201, 76, 0.5); 
        transform: translateY(-2px);
    }

    .mini-bonus:hover .s-yellow { 
        transform: rotate(-25deg) translateX(-15px) translateY(-15px) scale(1.4); 
        z-index: 10; 
    }

    .mini-bonus:hover .s-blue { 
        transform: rotate(25deg) translateX(15px) translateY(-15px) scale(1.4); 
        z-index: 11; 
    }
}

/* --- CTA (BOUTON DE RÉSERVATION) --- */
.compact-cta { 
    box-sizing: border-box; 
    width: 100%; 
    max-width: 100%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 18px 20px; 
    margin-bottom: 10px; /* 🌟 CHANGEMENT : on passe de 20px à 10px pour coller le bouton secondaire */
    
    background: var(--color-accent-yellow); 
    color: var(--bg-main) !important; 
    border: none; 
    border-radius: 12px; 
    font-family: var(--font-main); 
    font-weight: 800; 
    font-size: 15px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    text-decoration: none !important;
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
    .compact-cta:hover   {
    transform: translateY(-3px); 
    background: #FFD54F; 
    box-shadow: 0 10px 25px rgba(242, 201, 76, 0.3); 
    color: var(--bg-main) !important;
    }
}
.compact-cta:active { transform: translateY(-1px); }

/* 🌟 NOUVEAU : STYLE DU BOUTON "VER CARRITO" SECONDAIRE */
.compact-cta-secondary {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    margin-bottom: 25px; /* L'espace se trouve maintenant sous ce bouton */
    
    background: transparent;
    color: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .compact-cta-secondary:hover {
        border-color: rgba(255, 255, 255, 0.6);
        color: #fff !important;
        background: rgba(255, 255, 255, 0.05);
    }
}

/* FOOTER */
.trust-footer { 
    display: flex; flex-direction: row; justify-content: center; 
    gap: 25px; opacity: 0.7; margin-top: 5px; 
}
.trust-footer span {
    font-size: 10px; font-weight: 600; display: flex;
    align-items: center; gap: 6px; white-space: nowrap;
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* RECORDATORIO DE CIERRE DE PREVENTA : bouton déclencheur, à côté du compteur */
.reminder-bell-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(242, 201, 76, 0.08);
    border: 1px solid rgba(242, 201, 76, 0.35);
    border-radius: 20px;
    color: var(--color-creme);
    font-family: var(--font-main);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}
@media (hover: hover) {
    .reminder-bell-btn:hover {
        border-color: var(--color-accent-yellow);
        background: rgba(242, 201, 76, 0.18);
        color: var(--color-accent-yellow);
    }
}
.reminder-bell-btn--soon {
    margin-top: 10px;
}

/* --- Modale centrée "Crear recordatorio" : petite boîte, fond obscurci --- */
.pf-reminder-modal {
    position: fixed;
    inset: 0;
    background: rgba(13, 29, 37, 0.85);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.pf-reminder-modal.is-active {
    opacity: 1;
    visibility: visible;
}
.reminder-modal-content {
    width: 100%;
    max-width: 360px;
    background: var(--color-primary);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: translateY(10px) scale(0.98);
    transition: transform 0.3s ease;
}
.pf-reminder-modal.is-active .reminder-modal-content {
    transform: translateY(0) scale(1);
}
.reminder-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 22px 12px;
}
.reminder-modal-header h3 {
    color: var(--color-accent-yellow) !important;
    margin: 0 !important;
    font-family: var(--font-main);
    font-size: 15px !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.reminder-modal-body {
    padding: 4px 22px 26px;
}
.reminder-label {
    font-size: 12.5px;
    color: rgba(255,255,255,0.75);
    text-align: center;
    margin: 0 0 16px;
    line-height: 1.5;
}
.reminder-modal-body input[type="email"] {
    box-sizing: border-box;
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--color-creme);
    font-family: var(--font-main);
    font-size: 13px;
    margin-bottom: 12px;
}
.reminder-modal-body input[type="email"]::placeholder { color: rgba(255,255,255,0.35); }
.reminder-modal-body input[type="email"]:focus { outline: none; border-color: var(--color-accent-yellow); }
.reminder-consent {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 16px;
    font-size: 10.5px;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
    cursor: pointer;
}
.reminder-consent input { margin-top: 2px; }
.reminder-modal-body .compact-cta { margin-bottom: 0; }
.reminder-feedback {
    font-size: 11.5px;
    text-align: center;
    margin: 12px 0 0;
    color: var(--color-accent-yellow);
    display: none;
}
.reminder-feedback.is-visible { display: block; }
.reminder-feedback.is-error { color: var(--color-terracotta); }

/* =================================================
   SECTION DÉTAILS (ACCORDÉON)
   ================================================== */

.pf-details-section {
    background-color: var(--bg-main);
    color: var(--color-creme);
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

.details-wrapper {
    max-width: 800px; /* Plus étroit pour la lisibilité */
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* L'ÉLÉMENT (Item) */
.detail-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

/* LE BOUTON (Header) */
.detail-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 25px 0;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .detail-trigger:hover .d-title  {
    color: var(--color-accent-yellow);
    }
}

.d-title {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.d-icon {
    font-size: 24px;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    transition: transform 0.3s ease, color 0.3s ease;
}

/* LE CONTENU (Caché par défaut) */
.detail-content {
    max-height: 0; /* Caché */
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.d-inner {
    padding-bottom: 30px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

.d-inner p { margin-bottom: 15px; }
.d-inner strong { color: var(--color-creme); font-weight: 600; }

.d-list { list-style: none; padding: 0; margin: 0; }
.d-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}
.d-list li::before {
    content: '•';
    color: var(--color-accent-yellow);
    position: absolute; left: 0; top: 0;
}

/* --- ÉTAT ACTIF (OUVERT) --- */
.detail-item.active .detail-trigger .d-title {
    color: var(--color-accent-yellow);
}

.detail-item.active .d-icon {
    transform: rotate(45deg); /* Le + devient un x */
    color: var(--color-accent-yellow);
}

.detail-item.active .detail-content {
    max-height: 500px; /* Suffisant pour tout afficher */
}


/* ==========================================================================
   SWATCHES COULEUR MOBILES (.mobile-color-swatches)
   Masqués en desktop, visibles uniquement sous la photo sur mobile.
   ========================================================================== */
 
.mobile-color-swatches {
    display: none;
}
 
 
/* ==========================================================================
   RESPONSIVE MOBILE : SECTION SWEATER SHOP (PRO STUDIO)
   ========================================================================== */
 
@media (max-width: 768px) {
 
    /* Sécurité douce uniquement sur le body */
    body { overflow-x: hidden; }
 
    .pf-compact-shop {
        padding: 40px 0 60px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
 
    .pf-container-boxed {
        padding: 0 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
 
    .compact-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
 
    /* --- 1. VISUAL COLUMN --- */
    .visual-column {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
    }
 
    /* --- 2. SCÈNE PRINCIPALE --- */
    .compact-stage {
        width: 100% !important;
        max-width: 360px !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
        background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, var(--color-primary) 90%);
        border: 1px solid rgba(255,255,255,0.1);
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        transition: max-width 0.4s ease !important;
    }
 
    .compact-stage.is-lifestyle {
        aspect-ratio: 3 / 4 !important;
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }
 
    /* --- 3. WRAPPER DES FLÈCHES (identique au fichier fonctionnel d'origine) --- */
    .stage-nav-wrapper {
        position: absolute;
        width: 100% !important;
        max-width: 360px !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10;
        pointer-events: none;
        transition: aspect-ratio 0.4s ease;
    }
 
    .stage-nav-wrapper.is-lifestyle {
        aspect-ratio: 3 / 4 !important;
    }
 
    /* --- 4. BADGE ET FLÈCHES --- */
    .stage-nav span {
        font-size: 10px !important;
        padding: 5px 15px !important;
        bottom: 20px !important;
    }
 
    .stage-nav button {
        width: 44px !important;
        height: 44px !important;
        font-size: 20px !important;
        background: rgba(242, 201, 76, 0.95) !important;
    }
 
    .stage-nav button:active {
        transform: translateY(-50%) scale(0.85) !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
        opacity: 0.8 !important;
        transition: all 0.1s ease !important;
    }
 
    .pf-compact-shop.mode-navy .stage-nav button {
        background: var(--color-primary) !important;
        color: var(--color-accent-yellow) !important;
        border: 2px solid rgba(255,255,255,0.2) !important;
    }
 
    .pf-compact-shop.mode-navy .stage-nav span {
        background: var(--color-primary) !important;
        color: var(--color-accent-yellow) !important;
    }
 
    /* --- 5. MINIATURES (SWIPE NATIF CSS) --- */
    .compact-thumbs {
        width: 100% !important;
        max-width: 360px !important;
        margin: 15px auto 0 auto !important;
        padding: 5px 0 15px 0 !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        scroll-snap-type: x mandatory !important;
    }
 
    .compact-thumbs::-webkit-scrollbar { display: none !important; }
 
    .compact-thumbs::after { content: ''; flex: 0 0 1px; }
 
    .c-thumb {
        flex: 0 0 auto !important;
        width: 55px !important;
        height: 55px !important;
        scroll-snap-align: start !important;
    }
 
    /* --- 5b. SWATCHES COULEUR MOBILE (pills sous les miniatures) --- */
    .mobile-color-swatches {
        display: flex !important;
        justify-content: center !important;
        gap: 10px !important;
        margin-top: 14px !important;
        width: 100% !important;
        max-width: 360px !important;
    }
 
    .mcs-pill {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        padding: 8px 18px !important;
        border-radius: 50px !important;
        border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
        background: rgba(255, 255, 255, 0.05) !important;
        color: rgba(255, 255, 255, 0.55) !important;
        font-family: var(--font-main) !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        cursor: pointer !important;
        transition: all 0.22s ease !important;
        min-height: 44px !important;
        min-width: 90px !important;
        -webkit-tap-highlight-color: transparent !important;
    }
 
    .mcs-pill--active {
        border-color: var(--color-accent-yellow) !important;
        background: rgba(242, 201, 76, 0.12) !important;
        color: var(--color-accent-yellow) !important;
    }
 
    .mcs-dot {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
        display: inline-block !important;
    }
 
    .mcs-dot--creme {
        background: #F5F5DC !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
    }
 
    .mcs-dot--navy {
        background: #1A2B4C !important;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
    }
 
    .mcs-pill:active {
        transform: scale(0.95) !important;
        transition: transform 0.08s ease !important;
    }
 
    /* --- 6. COLONNE ACTION ---
       Réordonnée sur mobile : titre/prix/badges (.card-head) et statut de la
       prévente (.campaign-status) passent AVANT les photos (.visual-column),
       pour que Corte/Color/Talla (.compact-options-wrapper) arrive juste
       après la galerie au lieu d'être noyé plus bas dans la carte. .compact-
       grid est déjà en display:flex column ici ; .action-column et .action-
       card passent en display:contents pour "déplier" leurs 3 enfants au
       niveau de .compact-grid et leur donner un ordre indépendant de
       .visual-column, sans toucher au HTML ni à la mise en page desktop. */
    .action-column,
    .action-card {
        display: contents !important;
    }

    /* .action-card perd sa boîte (display:contents) : card-head + campaign-
       status reprennent son fond/bordure pour rester visuellement une seule
       carte continue (pas de bordure entre les deux, coins arrondis en haut
       pour l'un, en bas pour l'autre). */
    .card-head {
        order: 1 !important;
        /* .compact-grid garde align-items:start (hérité de la règle desktop,
           pensée pour le mode grid) : sans width explicite, un flex-item se
           réduit à la largeur de son contenu au lieu de remplir la colonne. */
        width: 100% !important;
        padding: 25px 20px 10px !important;
        background: rgba(255,255,255,0.02) !important;
        border: 1px solid rgba(255,255,255,0.05) !important;
        border-bottom: none !important;
        border-radius: 16px 16px 0 0 !important;
        box-sizing: border-box !important;
    }
    .model-name { font-size: 24px !important; }

    /* Titre/prix/statut de la prévente sont passés en tête de page mobile
       (cf. le réordonnancement ci-dessus) ; les badges "Hecho en Guatemala /
       Bordado y serigrafía" y prenaient trop de place dès le haut de l'écran.
       Ils restent visibles sur desktop, juste masqués ici. */
    .specs-badges { display: none !important; }
    .model-price { font-size: 20px !important; }
    .campaign-status {
        order: 2 !important;
        width: 100% !important;
        /* .compact-grid applique gap:20px entre TOUS ses items flex, ce qui
           séparerait card-head et campaign-status alors qu'ils doivent former
           une seule carte visuelle continue : on annule ce gap ici. */
        margin-top: -20px !important;
        padding: 10px 20px 20px !important;
        background: rgba(255,255,255,0.02) !important;
        border: 1px solid rgba(255,255,255,0.05) !important;
        border-top: none !important;
        border-radius: 0 0 16px 16px !important;
        box-sizing: border-box !important;
    }

    .visual-column {
        order: 3 !important;
    }

    .compact-options-wrapper {
        order: 4 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px 20px 25px !important;
        background: rgba(255,255,255,0.02) !important;
        border: 1px solid rgba(255,255,255,0.05) !important;
        border-radius: 16px !important;
    }
 
    .row-split {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-bottom: 20px !important;
    }

    /* Le sélecteur couleur du bas fait doublon avec les pastilles CREMA/NAVY
       déjà proposées juste sous la galerie (.mobile-color-swatches) : sur
       mobile, un seul suffit. */
    .field-col--color {
        display: none !important;
    }

    .p-btn { padding: 12px !important; }
 
    /* --- 7. STICKERS --- */
    .mini-bonus { padding: 15px !important; margin: 15px 0 !important; }
    .bonus-txt strong { font-size: 13px !important; }
    .bonus-txt span   { font-size: 11px !important; }
    .bonus-imgs       { width: 70px !important; }
 
    .s-img { width: 55px !important; transition: none !important; }
 
    .s-yellow { transform: rotate(-15deg) translateX(-10px) translateY(-5px) !important; left: 0 !important; z-index: 1 !important; }
    .s-blue   { transform: rotate(15deg)  translateX(10px)  translateY(-5px) !important; right: 0 !important; z-index: 2 !important; }
 
    /* --- 8. BOUTON D'ACHAT & FOOTER --- */
    .compact-cta { padding: 16px 20px !important; font-size: 14px !important; margin-bottom: 15px !important; }
    .compact-cta-secondary { margin-bottom: 15px !important; }
    .trust-footer { flex-wrap: wrap !important; gap: 15px !important; padding-bottom: 10px; }

} /* fin @media 768px */
 
 
/* ==========================================================================
   TRÈS PETITS ÉCRANS : < 390px
   ========================================================================== */
@media (max-width: 390px) {
 
    .compact-stage,
    .compact-stage.is-lifestyle,
    .stage-nav-wrapper,
    .stage-nav-wrapper.is-lifestyle,
    .compact-thumbs,
    .mobile-color-swatches {
        max-width: 310px !important;
    }
 
    .model-name  { font-size: 20px !important; }
    .compact-cta { font-size: 13px !important; }
 
    .mini-bonus { padding: 12px 15px !important; }
    .bonus-txt strong { font-size: 11px !important; }
    .bonus-txt span   { font-size: 10px !important; line-height: 1.2; }
 
    .bonus-imgs { width: 70px !important; height: 45px !important; }
    .s-img      { width: 48px !important; top: 50% !important; }
 
    .s-yellow { left: 0 !important;  transform: translateY(-50%) rotate(-15deg) !important; }
    .s-blue   { right: 0 !important; transform: translateY(-50%) rotate(15deg)  !important; }
 
} /* fin @media 390px */

/* ==========================================================================
   RESPONSIVE MOBILE : SECTION DÉTAILS (ACCORDÉON)
   ========================================================================== */
@media (max-width: 768px) {
    /* --- 1. ESPACEMENTS GLOBAUX --- */
    .pf-details-section {
        padding-bottom: 50px !important; /* On réduit le grand vide en bas de page */
    }

    .details-wrapper {
        padding: 0 20px !important; /* Indispensable : on décolle les lignes des bords de l'écran ! */
    }

    /* --- 2. LES BOUTONS (Titres cliquables) --- */
    .detail-trigger {
        padding: 20px 0 !important; /* Garde une zone de "tap" (clic au doigt) assez large */
    }

    .d-title {
        font-size: 15px !important; /* Un poil plus petit pour éviter de faire 2 lignes */
        padding-right: 15px !important; /* Empêche le texte de venir toucher l'icône + */
        line-height: 1.3 !important;
    }

    .d-icon {
        font-size: 22px !important;
    }

    /* --- 3. LE TEXTE (Contenu) --- */
    .d-inner {
        padding-bottom: 20px !important; 
        font-size: 14px !important; /* La taille parfaite pour lire un paragraphe sur téléphone */
        line-height: 1.5 !important;
    }

    .d-list li {
        margin-bottom: 12px !important; /* On donne de l'air aux listes à puces pour que ce soit moins dense */
    }

    /* --- 4. SÉCURITÉ DE HAUTEUR (Le piège du mobile) --- */
    .detail-item.active .detail-content {
        max-height: 800px !important; /* On augmente la limite ! Le texte prend plus de hauteur en s'empilant sur un écran étroit */
    }
}
