/* ============================================================
   BOUTIQUE ÉCHANGE ENFANTS — feuille de style
   Réunit les trois blocs <style> qui étaient dans le template.
   Aucune règle modifiée : simple déplacement.
   Chargée par setMedia() du contrôleur.
   ============================================================ */

/* ---------- 1. Bloc hero RMD (ex-lignes 17 à 543) ---------- */
/* L'@import des polices a été retiré : le template les charge déjà par
   <link>, et un @import dans une feuille de style est découvert trop
   tard par le navigateur, ce qui retarde l'affichage. */

/* ===== FULL-BLEED sans wrapper ===== */
.rmd-hero-block {
    width: calc(100vw - (100vw - 100%)) !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: linear-gradient(135deg, var(--myso-sage) 0%, var(--myso-forest) 50%, var(--myso-sage) 100%);
    padding: 0 0 clamp(2.5rem, 6vw, 4rem) 0;
    text-align: center;
    color: white;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

body, #main, .page-wrapper, #content-wrapper, .elementor-widget-container {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

.rmd-hero-block * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

:root {
    --myso-primary:    #1a1f16;
    --myso-charcoal:   #2d3029;
    --myso-sage:       #7d9a78;
    --myso-sage-light: #a8c4a2;
    --myso-forest:     #3d5a3d;
    --myso-terracotta: #c67b5c;
    --myso-cream:      #faf8f5;
    --myso-sand:       #e8e2d9;
}

.rmd-hero-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMzAiIGN5PSIzMCIgcj0iMiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIwLjA1Ii8+Cjwvc3ZnPg==') repeat;
    opacity: 0.5;
    pointer-events: none;
}

/* ===== BANDEAU HUB ===== */
.rmd-hub-banner {
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0.6rem clamp(1.5rem, 3vw, 2.5rem) 0.6rem clamp(1rem, 2vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: relative;
    z-index: 3;
    width: 100%;
}

.rmd-hub-banner-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.68rem, 1.4vw, 0.82rem);
    font-style: italic;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rmd-hub-banner-btn {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.7rem, 1.4vw, 0.82rem);
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #e8621a, #c94f0a);
    border: none;
    border-radius: 50px;
    padding: 0.35rem 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: background 0.25s ease;
    min-height: 44px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(232,98,26,0.3);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.rmd-hub-banner-btn:hover { background: linear-gradient(135deg, #c94f0a, #a83d08); color: white; text-decoration: none; }

/* ===== CONTENEUR PRINCIPAL ===== */
.rmd-hero-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem) 0;
    position: relative;
    z-index: 2;
}

/* ===== H1 SEO ===== */
.rmd-hero-h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.82rem, 1.6vw, 0.95rem);
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.3px;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 clamp(0.25rem, 2vw, 0.5rem);
}
.rmd-hero-h1 .rmd-h1-accent { color: var(--myso-sage-light); font-weight: 600; }

/* ===== H2 VISUEL ===== */
.rmd-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 500;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    color: var(--myso-cream);
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.rmd-hero-title .rmd-highlight { font-style: italic; color: #fff; text-shadow: 0 2px 20px rgba(168,196,162,0.5); }

/* ===== H3 SOUS-TITRE ===== */
.rmd-hero-subtitle {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    margin-bottom: 0.75rem;
    opacity: 0.95;
    color: var(--myso-sage-light);
    font-style: italic;
}

/* ===== DESCRIPTION ===== */
.rmd-hero-description {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.92rem, 2vw, 1.1rem);
    margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
    max-width: 760px;
    opacity: 0.9;
    line-height: 1.7;
    color: var(--myso-cream);
    padding: 0 clamp(0.5rem, 3vw, 1rem);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===== NAVIGATION CIRCULAIRE ===== */
.rmd-circular-nav {
    position: relative;
    width: clamp(260px, 60vw, 450px);
    height: clamp(260px, 60vw, 450px);
    margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
    list-style: none;
    touch-action: manipulation;
}

/* ===== HUB CENTRAL — CE-compatible ===== */
.rmd-central-hub {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(90px, 18vw, 160px);
    height: clamp(90px, 18vw, 160px);
    background: linear-gradient(145deg, #3d5a3d, #2a4030) !important;
    border-radius: 50%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow:
        0 0 0 3px #7d9a78,
        0 0 0 7px rgba(125,154,120,0.25),
        0 0 0 14px rgba(125,154,120,0.08),
        0 15px 40px rgba(0,0,0,0.35);
    z-index: 10;
    text-decoration: none !important;
    transition: all 0.4s ease;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    overflow: hidden;
}

/* Anneau pointillé animé */
.rmd-hub-ring {
    position: absolute;
    top: -8px; left: -8px; right: -8px; bottom: -8px;
    border-radius: 50%;
    border: 1.5px dashed rgba(168,196,162,0.5);
    animation: rmdRingSpin 20s linear infinite;
    pointer-events: none;
}
@keyframes rmdRingSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.rmd-central-hub:hover,
.rmd-central-hub:focus {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow:
        0 0 0 3px #a8c4a2,
        0 0 0 8px rgba(168,196,162,0.3),
        0 20px 50px rgba(0,0,0,0.4);
    text-decoration: none !important;
    outline: none;
}
.rmd-central-hub,
.rmd-central-hub:hover,
.rmd-central-hub:visited,
.rmd-central-hub:focus { text-decoration: none !important; color: #ffffff !important; }

/* Icône — display:block forcé pour CE */
.rmd-central-icon {
    display: block !important;
    font-size: clamp(1.4rem, 3.5vw, 2.2rem) !important;
    margin-bottom: 0.3rem !important;
    line-height: 1 !important;
}

/* Label "Accéder au Hub" — blanc forcé */
.rmd-central-label {
    display: block !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(0.48rem, 1.1vw, 0.68rem) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
}

/* Sous-label "MySongOriginal 3.0" — sage-light */
.rmd-central-sub {
    display: block !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(0.42rem, 0.9vw, 0.58rem) !important;
    font-weight: 500 !important;
    color: #a8c4a2 !important;
    text-align: center !important;
    text-decoration: none !important;
    margin-top: 0.15rem !important;
    line-height: 1.2 !important;
}

/* Lignes connexion */
.rmd-connection-line { position: absolute; background: rgba(250,248,245,0.3); z-index: 1; border-radius: 2px; }
.rmd-line-horizontal { top: 50%; height: 2px; width: 32%; transform: translateY(-50%); }
.rmd-line-vertical   { left: 50%; width: 2px; height: 32%; transform: translateX(-50%); }
.rmd-line-right  { right: 0; }
.rmd-line-left   { left: 0; }
.rmd-line-horizontal.rmd-line-left {
    left: clamp(65px, 14vw, 120px) !important;
    right: calc(50% + clamp(45px, 9vw, 80px)) !important;
    width: auto !important;
}
.rmd-line-top    { top: 0; }
.rmd-line-bottom { bottom: 0; }

/* Boutons circulaires */
.rmd-nav-button {
    position: absolute;
    width: clamp(65px, 14vw, 120px);
    height: clamp(65px, 14vw, 120px);
    background: var(--myso-cream);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--myso-primary);
    border: 3px solid transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.rmd-nav-button:hover, .rmd-nav-button:focus {
    transform: scale(1.15);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border-color: var(--myso-sage);
    background: #fff;
    color: var(--myso-primary);
    text-decoration: none;
    outline: none;
}
.rmd-nav-button:focus-visible { outline: 3px solid var(--myso-sage-light); outline-offset: 3px; }

.rmd-nav-button.rmd-top    { top:0;  left:50%; transform:translateX(-50%); }
.rmd-nav-button.rmd-top:hover   { transform:translateX(-50%) scale(1.15); }
.rmd-nav-button.rmd-right  { top:50%; right:0; transform:translateY(-50%); }
.rmd-nav-button.rmd-right:hover { transform:translateY(-50%) scale(1.15); }
.rmd-nav-button.rmd-bottom { bottom:0; left:50%; transform:translateX(-50%); }
.rmd-nav-button.rmd-bottom:hover { transform:translateX(-50%) scale(1.15); }
.rmd-nav-button.rmd-left   { top:50%; left:0; transform:translateY(-50%); }
.rmd-nav-button.rmd-left:hover  { transform:translateY(-50%) scale(1.15); }

.rmd-nav-button.rmd-current {
    background: linear-gradient(135deg, var(--myso-sage) 0%, var(--myso-forest) 100%);
    color: white;
    border-color: var(--myso-cream);
    animation: rmdPulseSage 2.5s infinite;
}
@keyframes rmdPulseSage {
    0%,100% { box-shadow: 0 10px 30px rgba(125,154,120,0.4); }
    50%      { box-shadow: 0 10px 40px rgba(125,154,120,0.7); }
}

.rmd-current-badge {
    position: absolute;
    top: -18px; left: 50%;
    transform: translateX(-50%);
    background: var(--myso-terracotta);
    color: white;
    padding: 0.25rem 0.7rem;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.5rem, 1.2vw, 0.65rem);
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid var(--myso-cream);
    white-space: nowrap;
}

.rmd-nav-icon  { font-size: clamp(1.2rem, 3vw, 2.2rem); margin-bottom: 0.4rem; }
.rmd-nav-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.5rem, 1.2vw, 0.75rem);
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    color: inherit;
}

.rmd-nav-button::after {
    content: attr(data-url);
    position: absolute;
    bottom: -38px; left: 50%;
    transform: translateX(-50%);
    background: var(--myso-primary);
    color: var(--myso-cream);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
}
.rmd-nav-button:hover::after { opacity: 1; visibility: visible; }
.rmd-nav-button.rmd-top::after { bottom: auto; top: -38px; }

/* Icônes flottantes */
.rmd-floating-icon {
    position: absolute;
    font-size: 1.8rem;
    opacity: 0.15;
    animation: rmdFloat 6s ease-in-out infinite;
    pointer-events: none;
}
.rmd-floating-icon:nth-child(1) { top:15%; left:8%; animation-delay:0s; }
.rmd-floating-icon:nth-child(2) { top:25%; right:12%; animation-delay:2s; }
.rmd-floating-icon:nth-child(3) { bottom:20%; left:10%; animation-delay:4s; }
.rmd-floating-icon:nth-child(4) { bottom:30%; right:15%; animation-delay:1s; }
@keyframes rmdFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-15px)} }

/* ===== BLOC TEXTE SEO ===== */
.rmd-seo-text {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem);
    background: rgba(255,255,255,0.07);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
}
.rmd-seo-text p {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.88rem, 1.8vw, 1rem);
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
    margin-bottom: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.rmd-seo-text p:last-child { margin-bottom: 0; }
.rmd-seo-text strong { color: var(--myso-sage-light); font-weight: 600; }

/* ===== BOUTONS BAS DE SECTION ===== */
.rmd-bottom-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding: 0 1rem;
}
.rmd-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: clamp(0.65rem, 2vw, 0.85rem) clamp(1rem, 3vw, 1.75rem);
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.78rem, 1.8vw, 0.9rem);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}
.rmd-btn-connexion {
    background: linear-gradient(135deg, #e8621a, #c94f0a);
    color: white;
    box-shadow: 0 4px 14px rgba(232,98,26,0.3);
}
.rmd-btn-connexion:hover {
    background: linear-gradient(135deg, #c94f0a, #a83d08);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) { .rmd-floating-icon { display: block; } }
@media (max-width: 768px) {
    .rmd-floating-icon { display: none; }
    .rmd-current-badge { top: -14px; }
    .rmd-bottom-actions { flex-direction: column; align-items: center; }
    .rmd-action-btn { width: 100%; max-width: 300px; justify-content: center; }
}
@media (max-width: 360px) {
    .rmd-hero-title { font-size: 1.75rem; }
    .rmd-hero-subtitle { font-size: 1.1rem; }
    .rmd-hero-description { font-size: 0.88rem; }
}
@media (prefers-reduced-motion: reduce) {
    .rmd-floating-icon, .rmd-nav-button.rmd-current { animation: none; }
    .rmd-nav-button, .rmd-central-hub, .rmd-action-btn { transition: none; }
    .rmd-hub-ring { animation: none; }
}

/* ===== ENCART MONNAIE + TAUX ===== */
.rmd-currency-chip{display:inline-flex;align-items:center;gap:.7rem;max-width:640px;margin:0 auto 1.25rem;padding:.6rem 1.1rem .6rem .7rem;background:rgba(255,255,255,.1);border:1px solid rgba(168,196,162,.55);border-radius:50px;text-align:left;backdrop-filter:blur(3px);}
.rmd-cc-icon{flex-shrink:0;width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--myso-sage),var(--myso-forest));display:flex;align-items:center;justify-content:center;font-size:1.15rem;box-shadow:0 3px 10px rgba(61,90,61,.4);}
.rmd-cc-text{display:flex;flex-direction:column;line-height:1.25;min-width:0;}
.rmd-cc-name{font-family:'Outfit',sans-serif;font-size:clamp(.82rem,1.7vw,.95rem);font-weight:700;color:#fff;}
.rmd-cc-name b{color:var(--myso-sage-light);}
.rmd-cc-rate{font-family:'Outfit',sans-serif;font-size:clamp(.68rem,1.4vw,.78rem);font-weight:500;color:rgba(255,255,255,.85);}
@media(max-width:768px){.rmd-currency-chip{margin-left:.5rem;margin-right:.5rem;}}

/* ===== NAV FUSIONNÉE (navigation + parcours) ===== */
.rmd-fused-nav{max-width:520px;margin:0 auto clamp(1.5rem,4vw,2.5rem);position:relative;z-index:2;}
.rmd-fused-svg{width:100%;height:auto;display:block;overflow:visible;}
.rmd-fnav{cursor:pointer;transform-box:fill-box;transform-origin:center;transition:transform .3s ease;}
.rmd-fnav:hover,.rmd-fnav:focus{transform:scale(1.07);outline:none;}
.rmd-fnav:focus-visible circle{stroke:#c67b5c;stroke-width:4;}
@media(prefers-reduced-motion:reduce){.rmd-fnav{transition:none;}}

/* ===== FRISE HORIZONTALE — étapes alternées ===== */
.rmd-steps{position:relative;max-width:1000px;margin:clamp(3rem,7vw,4.5rem) auto 0;display:grid;grid-template-columns:repeat(4,1fr);}
.rmd-steps::before{content:'';position:absolute;top:50%;left:8%;right:8%;height:3px;background:linear-gradient(90deg,transparent,#7d9a78 12%,#7d9a78 88%,transparent);transform:translateY(-50%);border-radius:2px;}
.rmd-step{position:relative;min-height:450px;}
.rmd-step__dot{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,#7d9a78,#3d5a3d);color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Outfit',sans-serif;font-weight:700;font-size:1.1rem;z-index:2;box-shadow:0 4px 12px rgba(61,90,61,.3);border:3px solid #faf8f5;}
.rmd-step__card{position:absolute;left:10px;right:10px;background:#fff;border-radius:14px;padding:.9rem 1rem;box-shadow:0 6px 20px rgba(26,31,22,.08);text-align:left;border-top:3px solid #7d9a78;}
.rmd-step:nth-child(odd) .rmd-step__card{bottom:calc(50% + 44px);}
.rmd-step:nth-child(even) .rmd-step__card{top:calc(50% + 44px);}
.rmd-step__card::after{content:'';position:absolute;left:50%;width:2px;height:18px;background:#7d9a78;transform:translateX(-50%);}
.rmd-step:nth-child(odd) .rmd-step__card::after{bottom:-18px;}
.rmd-step:nth-child(even) .rmd-step__card::after{top:-18px;}
.rmd-step__tag{font-family:'Outfit',sans-serif;font-size:.62rem;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:#c67b5c;display:block;margin-bottom:.15rem;}
.rmd-step__title{font-family:'Outfit',sans-serif;font-weight:700;font-size:.95rem;color:#3d5a3d;margin:0 0 .35rem;}
.rmd-step__text{font-family:'Outfit',sans-serif;font-size:.82rem;line-height:1.5;color:#2d3029;margin:0;}
.rmd-step__text b{color:#3d5a3d;}
/* rappel transfert */
.rmd-transfer{max-width:740px;margin:3.5rem auto 0;background:rgba(125,154,120,.12);border:1px solid rgba(125,154,120,.45);border-radius:14px;padding:1rem 1.25rem;display:flex;gap:.8rem;align-items:flex-start;text-align:left;}
.rmd-transfer__icon{font-size:1.5rem;flex-shrink:0;line-height:1.2;}
.rmd-transfer__text{font-family:'Outfit',sans-serif;font-size:.92rem;line-height:1.6;color:#2d3029;margin:0;}
.rmd-transfer__text strong{color:#3d5a3d;font-weight:600;}
@media(max-width:768px){
  .rmd-steps{grid-template-columns:1fr;max-width:440px;}
  .rmd-steps::before{left:23px;right:auto;top:0;bottom:0;width:3px;height:auto;transform:none;}
  .rmd-step{min-height:auto;padding:0 0 1.75rem 62px;}
  .rmd-step__dot{left:23px;top:22px;transform:translate(-50%,0);width:42px;height:42px;font-size:1rem;}
  .rmd-step:nth-child(odd) .rmd-step__card,.rmd-step:nth-child(even) .rmd-step__card{position:static;left:auto;right:auto;bottom:auto;top:auto;}
  .rmd-step__card::after{display:none;}
  .rmd-transfer{margin-top:2rem;}
}

/* ---------- 2. Boucle « comment ça marche » (ex-lignes 686 à 707) ---------- */
.rmd-loop{
    width: calc(100vw - (100vw - 100%)) !important;
    position: relative !important; left:50% !important; transform:translateX(-50%) !important;
    max-width:none !important; margin:0 !important;
    background:
        radial-gradient(ellipse at 15% 12%, rgba(125,154,120,.16) 0%, transparent 45%),
        radial-gradient(ellipse at 88% 85%, rgba(198,123,92,.13) 0%, transparent 45%),
        var(--myso-cream, #faf8f5);
    padding: clamp(3rem,7vw,5rem) clamp(1.25rem,5vw,2rem);
    font-family:'Outfit',sans-serif; box-sizing:border-box; overflow:hidden;
}
.rmd-loop *{box-sizing:border-box;}
.rmd-loop__inner{max-width:920px;margin:0 auto;text-align:center;position:relative;z-index:1;}
.rmd-loop__eyebrow{display:inline-block;font-size:.72rem;font-weight:600;letter-spacing:2.5px;text-transform:uppercase;color:var(--myso-forest,#3d5a3d);background:rgba(125,154,120,.18);padding:.4rem 1rem;border-radius:50px;margin:0 0 1.1rem;}
.rmd-loop__title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(1.9rem,4.4vw,2.9rem);font-weight:500;line-height:1.15;color:var(--myso-primary,#1a1f16);margin:0 0 2rem;}
.rmd-loop__title em{font-style:italic;color:var(--myso-sage,#7d9a78);}
.rmd-loop__svg-wrap{max-width:480px;margin:0 auto;}
.rmd-loop__svg-wrap svg{width:100%;height:auto;display:block;}
.rmd-loop__text{max-width:660px;margin:2rem auto 0;}
.rmd-loop__text p{font-family:'Outfit',sans-serif;font-size:clamp(.95rem,2vw,1.08rem);line-height:1.8;color:var(--myso-charcoal,#2d3029);margin:0 0 1rem;}
.rmd-loop__text p:last-child{margin-bottom:0;}
.rmd-loop__text strong{color:var(--myso-forest,#3d5a3d);font-weight:600;}

/* ---------- 3. Boutique MySoSwitch (ex-lignes 1032 à 3939) ---------- */
/* ============================================
   VARIABLES CSS - CHARTE GRAPHIQUE MYSONGORIGINAL 3.0
   ============================================ */
:root {
    /* Couleurs principales */
    --myso-primary: #1a1f16;
    --myso-charcoal: #2d3029;
    
    /* Gamme Sage (Vert sauge) - Renouveler Mon Dressing */
    --myso-sage: #7d9a78;
    --myso-sage-light: #a8c4a2;
    --myso-sage-dark: #5a7a55;
    --myso-forest: #3d5a3d;
    
    /* Gamme Terracotta - Marketplace */
    --myso-terracotta: #c67b5c;
    --myso-terracotta-dark: #a85d3f;
    --myso-terracotta-light: #e09a7d;
    
    /* Neutres */
    --myso-cream: #faf8f5;
    --myso-sand: #e8e2d9;
    --myso-white: #ffffff;
    
    /* Polices */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
}

/* Masquer le fil d'Ariane */
.breadcrumb,
#wrapper nav.breadcrumb,
nav.breadcrumb {
    display: none !important;
}

/* Reset et base */
.myso-shop-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.myso-shop-container {
    max-width: 100%;
    font-family: var(--font-body);
    background: var(--myso-cream);
    position: relative;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--myso-charcoal);
}

/* ==========================================
   POP-UP BOUTIQUE ENFANTS - CHARTE 3.0
   ========================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 31, 22, 0.65);
    z-index: 99999;
    display: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--myso-cream);
    border-radius: 24px;
    padding: 40px 35px;
    box-shadow: 0 20px 60px rgba(26, 31, 22, 0.3);
    max-width: 520px;
    width: 92%;
    text-align: center;
    font-family: var(--font-body);
    animation: popupSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid var(--myso-sage-light);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 30px;
    color: var(--myso-charcoal);
    cursor: pointer;
    border: none;
    background: none;
    padding: 5px;
    line-height: 1;
    opacity: 0.5;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.popup-close-btn:hover {
    color: var(--myso-terracotta);
    opacity: 1;
    background: var(--myso-sand);
}

.popup-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: iconBounce 2s infinite ease-in-out;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.popup-title {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--myso-forest);
    margin-bottom: 18px;
    line-height: 1.2;
}

.popup-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--myso-charcoal);
    line-height: 1.7;
    margin-bottom: 20px;
}

.popup-text strong {
    color: var(--myso-forest);
    font-weight: 600;
}

.popup-highlight-box {
    background: linear-gradient(135deg, var(--myso-sage-light) 0%, var(--myso-sage) 100%);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    text-align: left;
    border: 1px solid var(--myso-sage);
}

.popup-highlight-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.popup-highlight-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--myso-primary);
    margin-bottom: 8px;
}

.popup-highlight-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--myso-charcoal);
    line-height: 1.6;
}

.popup-highlight-percent {
    display: inline-block;
    background: var(--myso-terracotta);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.popup-optional-badge {
    position: absolute;
    top: -12px;
    right: 15px;
    background: var(--myso-terracotta);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.popup-contact-box {
    background: var(--myso-sand);
    border-radius: 12px;
    padding: 15px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.popup-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--myso-charcoal);
}

.popup-contact-item a {
    color: var(--myso-forest);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popup-contact-item a:hover {
    color: var(--myso-terracotta);
}

.popup-contact-icon {
    font-size: 1.3rem;
}

.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.popup-button-primary {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--myso-sage) 0%, var(--myso-forest) 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(125, 154, 120, 0.35);
}

.popup-button-primary:hover {
    background: linear-gradient(135deg, var(--myso-forest) 0%, var(--myso-sage-dark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(125, 154, 120, 0.45);
}

.popup-button-secondary {
    font-family: var(--font-body);
    background: transparent;
    color: var(--myso-charcoal);
    border: 2px solid var(--myso-sand);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.popup-button-secondary:hover {
    border-color: var(--myso-terracotta);
    color: var(--myso-terracotta);
    background: rgba(198, 123, 92, 0.05);
}

.popup-no-show-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--myso-sand);
}

.popup-no-show-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--myso-sage);
    cursor: pointer;
}

.popup-no-show-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--myso-charcoal);
    opacity: 0.7;
    cursor: pointer;
    user-select: none;
}

.popup-note {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--myso-charcoal);
    opacity: 0.6;
    margin-top: 15px;
    font-style: italic;
}

/* ==========================================
   PANIER FLOTTANT MYSOSWITCH - CHARTE 3.0
   ========================================== */

.myso-floating-cart {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 9999;
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-forest));
    border-radius: 30px;
    padding: 18px 25px;
    box-shadow: 0 10px 30px rgba(61, 90, 61, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    min-width: 140px;
    font-family: var(--font-body);
}

.myso-floating-cart:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(61, 90, 61, 0.5);
    background: linear-gradient(135deg, var(--myso-sage-dark), var(--myso-forest));
}

.myso-floating-cart.hidden {
    transform: translateX(200px);
    opacity: 0;
    pointer-events: none;
}

.myso-floating-cart.pulsing {
    animation: cartPulse 0.6s ease;
}

.myso-cart-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.myso-cart-icon-floating {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.myso-cart-icon-floating svg {
    width: 28px;
    height: 28px;
    fill: white;
    transition: transform 0.3s ease;
}

.myso-floating-cart:hover .myso-cart-icon-floating svg {
    transform: scale(1.1) rotate(10deg);
}

.myso-cart-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--myso-terracotta);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.myso-cart-badge.bounce {
    animation: badgeBounce 0.5s ease;
}

.myso-cart-badge.hidden {
    display: none;
}

.myso-cart-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.myso-cart-count-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.myso-cart-total-text {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.2;
}

/* Panier flottant étendu */
.myso-floating-cart-expanded {
    position: fixed;
    bottom: 140px;
    right: 30px;
    z-index: 10000;
    background: var(--myso-white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    width: 400px;
    max-height: 70vh;
    overflow: hidden;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.myso-floating-cart-expanded.active {
    transform: scale(1);
    opacity: 1;
}

.myso-floating-cart-header {
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-forest));
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.myso-floating-cart-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
}

.myso-floating-cart-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.myso-floating-cart-close:hover {
    background: rgba(255,255,255,0.2);
}

.myso-floating-cart-body {
    max-height: 350px;
    overflow-y: auto;
    padding: 0;
}

.myso-floating-cart-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--myso-sand);
    gap: 15px;
    transition: background 0.2s ease;
}

.myso-floating-cart-item:hover {
    background: var(--myso-cream);
}

.myso-floating-cart-item:last-child {
    border-bottom: none;
}

.myso-floating-cart-item-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-terracotta));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    overflow: hidden;
    flex-shrink: 0;
}

.myso-floating-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.myso-floating-cart-item-info {
    flex: 1;
    min-width: 0;
}

.myso-floating-cart-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--myso-forest);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.myso-floating-cart-item-details {
    font-size: 0.85rem;
    color: var(--myso-charcoal);
    margin-bottom: 4px;
}

.myso-floating-cart-item-price {
    font-weight: 600;
    color: var(--myso-terracotta);
    font-size: 1rem;
}

.myso-floating-cart-item-remove {
    background: var(--myso-terracotta);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.myso-floating-cart-item-remove:hover {
    background: var(--myso-terracotta-dark);
    transform: scale(1.1) rotate(90deg);
}

.myso-floating-cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--myso-charcoal);
}

.myso-floating-cart-empty-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.myso-floating-cart-footer {
    background: var(--myso-cream);
    padding: 20px;
    border-top: 2px solid var(--myso-sand);
}

.myso-floating-cart-summary {
    margin-bottom: 15px;
}

.myso-floating-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--myso-forest);
}

.myso-balance-info {
    background: rgba(125, 154, 120, 0.15);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--myso-forest);
    text-align: center;
}

.myso-complement-info {
    background: rgba(198, 123, 92, 0.15);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--myso-terracotta-dark);
    text-align: center;
    display: none;
}

.myso-complement-info.show {
    display: block;
}

.myso-floating-cart-checkout {
    width: 100%;
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-forest));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 1.1rem;
}

.myso-floating-cart-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(61, 90, 61, 0.3);
}

.myso-floating-cart-checkout:disabled {
    background: var(--myso-sand);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Animations panier flottant */
@keyframes cartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); background: linear-gradient(135deg, var(--myso-sage-dark), var(--myso-forest)); }
    100% { transform: scale(1); }
}

@keyframes badgeBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* ============================================
   HEADER DESIGN 2: SPLIT ASYMÉTRIQUE
   Charte Graphique MySongOriginal 3.0
   ============================================ */

.myso-header-split {
    position: relative;
    display: flex;
    min-height: 160px;
    border-radius: 0 0 35px 35px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(61, 90, 61, 0.2);
    z-index: 1000;
}

.myso-header-left {
    flex: 0 0 45%;
    background: linear-gradient(160deg, var(--myso-sage) 0%, var(--myso-sage-dark) 100%);
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.myso-header-left::before {
    content: '🌿';
    position: absolute;
    top: 15px;
    right: 70px;
    font-size: 3.5rem;
    opacity: 0.12;
    pointer-events: none;
}

.myso-header-left::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}

.myso-header-right {
    flex: 1;
    background: var(--myso-forest);
    padding: 25px 40px 25px 80px;
    margin-left: -60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.myso-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: white;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.myso-logo small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    opacity: 0.85;
    margin-top: 6px;
    letter-spacing: 1px;
}

.myso-nav-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.myso-nav-btn {
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.myso-nav-btn:hover {
    background: rgba(255,255,255,0.28);
    transform: scale(1.05);
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.myso-nav-btn.highlight {
    background: var(--myso-terracotta);
    border-color: var(--myso-terracotta);
    font-weight: 600;
}

.myso-nav-btn.highlight:hover {
    background: var(--myso-terracotta-dark);
}

.myso-nav-btn.tokens-btn {
    background: rgba(255,255,255,0.95);
    color: var(--myso-forest);
    font-weight: 600;
    border: none;
}

.myso-nav-btn.tokens-btn:hover {
    background: white;
    transform: scale(1.08);
    box-shadow: 0 5px 25px rgba(255,255,255,0.3);
}

/* Badge favoris */
.favorites-link-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--myso-terracotta);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Widget Tokens (version alternative si utilisé séparément) */
.myso-tokens-widget {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.95);
    color: var(--myso-forest);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
}

.myso-tokens-widget.hidden {
    display: none !important;
}

.myso-tokens-widget.updated {
    animation: tokenPulse 0.6s ease;
}

@keyframes tokenPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); background: rgba(255,255,255,1); box-shadow: 0 0 20px rgba(125,154,120,0.5); }
    100% { transform: scale(1); }
}

/* Responsive Header Split */
@media (max-width: 900px) {
    .myso-header-split {
        flex-direction: column;
        border-radius: 0 0 25px 25px;
        min-height: auto;
    }
    
    .myso-header-left {
        flex: none;
        clip-path: none;
        padding: 25px 20px;
        text-align: center;
    }
    
    .myso-header-left::before {
        display: none;
    }
    
    .myso-header-right {
        margin-left: 0;
        padding: 20px;
        align-items: center;
    }
    
    .myso-logo {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .myso-nav-row {
        justify-content: center;
    }
    
    .myso-nav-btn {
        padding: 8px 14px;
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .myso-header-left {
        padding: 20px 15px;
    }
    
    .myso-header-right {
        padding: 15px;
        gap: 10px;
    }
    
    .myso-logo {
        font-size: 1.4rem;
    }
    
    .myso-logo small {
        font-size: 0.85rem;
    }
    
    .myso-nav-btn {
        padding: 8px 12px;
        font-size: 0.78rem;
    }
}

/* Titre principal - CHARTE 3.0 */
.myso-title-block {
    background: linear-gradient(135deg, var(--myso-cream), rgba(168, 196, 162, 0.2));
    padding: 50px 30px;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 3px solid rgba(125, 154, 120, 0.1);
}

.myso-title-block h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--myso-forest);
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 2px;
}

.myso-title-block p {
    font-family: var(--font-body);
    font-size: 1.4rem;
    color: var(--myso-charcoal);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Container principal */
.myso-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Section - CHARTE 3.0 */
.myso-hero-mobile {
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-terracotta));
    color: white;
    padding: 50px 40px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
}

.myso-hero-mobile::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.myso-hero-mobile h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

.myso-hero-mobile p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: white;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    font-weight: 300;
}

/* Info Banner - CHARTE 3.0 */
.myso-info-banner {
    background: var(--myso-white);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    width: 100%;
    max-width: 1200px;
}

.myso-info-banner h2 {
    font-family: var(--font-heading);
    color: var(--myso-forest);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.myso-info-banner p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--myso-charcoal);
    margin-bottom: 20px;
    font-weight: 300;
}

.myso-token-info {
    background: rgba(125, 154, 120, 0.15);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--myso-forest);
    font-weight: 500;
}

/* Filtres - CHARTE 3.0 */
.myso-filters-mobile {
    background: var(--myso-white);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 1200px;
}

.myso-filter-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
}

.myso-tab-btn {
    background: var(--myso-sand);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--myso-charcoal);
    transition: all 0.3s;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-body);
}

.myso-tab-btn.active,
.myso-tab-btn:hover {
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-forest));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(61, 90, 61, 0.3);
}

.myso-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.myso-filter-select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--myso-sand);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--myso-white);
    transition: all 0.3s;
    font-family: var(--font-body);
    cursor: pointer;
    color: var(--myso-charcoal);
}

.myso-filter-select:focus {
    border-color: var(--myso-sage);
    outline: none;
    box-shadow: 0 0 0 3px rgba(125, 154, 120, 0.1);
}

.myso-filter-select:hover {
    border-color: var(--myso-sage);
}

/* Style spécial pour le filtre tokens/prix */
#priceFilter {
    background: linear-gradient(135deg, var(--myso-cream), rgba(168, 196, 162, 0.15));
    border: 2px solid var(--myso-sage);
    color: var(--myso-forest);
    font-weight: 600;
}

#priceFilter:focus {
    border-color: var(--myso-forest);
    box-shadow: 0 0 0 3px rgba(61, 90, 61, 0.15);
}

/* Message d'info produits */
.myso-products-info {
    background: linear-gradient(135deg, rgba(125, 154, 120, 0.1), var(--myso-cream));
    border: 2px solid var(--myso-sage);
    color: var(--myso-forest);
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.95rem;
    width: 100%;
    max-width: 1200px;
}

/* Grille de produits - CHARTE 3.0 */
.myso-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 1200px;
}

.myso-product-card {
    background: var(--myso-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.myso-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.myso-product-card:active {
    transform: scale(0.98);
}

.myso-product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-terracotta));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    padding: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.myso-product-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.myso-product-image::after {
    content: '👁️ Cliquer pour voir les détails';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(61, 90, 61, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 15;
    text-align: center;
    padding: 20px;
    backdrop-filter: blur(2px);
}

.myso-product-image:hover::after {
    opacity: 1;
}

.myso-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.myso-product-image:hover img {
    transform: scale(1.1);
}

.myso-product-image .placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 400;
    text-align: center;
    z-index: 1;
    transition: transform 0.3s ease;
}

.myso-product-image:hover .placeholder-text {
    transform: translate(-50%, -50%) scale(1.1);
}

.myso-product-info {
    padding: 20px;
}

.myso-product-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--myso-forest);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.myso-product-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

/* Badge prix EURO et/ou TOKENS - NOUVEAU */
.myso-product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.myso-price-euro {
    background: linear-gradient(135deg, var(--myso-terracotta), var(--myso-terracotta-dark));
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(198, 123, 92, 0.3);
}

.myso-price-tokens {
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-forest));
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(125, 154, 120, 0.3);
}

.myso-price-separator {
    font-size: 0.75rem;
    color: var(--myso-charcoal);
    opacity: 0.7;
    font-weight: 500;
}

.myso-product-size {
    font-size: 0.9rem;
    color: var(--myso-charcoal);
    background: var(--myso-sand);
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 300;
}

.myso-product-meta {
    margin-bottom: 15px;
    color: var(--myso-charcoal);
    font-size: 0.9rem;
}

.myso-product-meta .brand {
    font-weight: 500;
    color: var(--myso-forest);
}

.myso-exchange-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-forest));
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.myso-exchange-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(61, 90, 61, 0.3);
}

.myso-exchange-btn:active {
    transform: scale(0.95);
}

.myso-exchange-btn:disabled {
    background: var(--myso-sage-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Badge Premium - CHARTE 3.0 */
.myso-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--myso-terracotta), var(--myso-terracotta-dark));
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 20;
    box-shadow: 0 3px 10px rgba(198, 123, 92, 0.3);
    transition: transform 0.3s ease;
}

/* ── BADGE NOUVEAU (10/09/2026) ───────────────────────────────────────
   Vert sauge, pour ne pas se confondre avec le terracotta du badge
   Luxe/Premium ni avec le badge partenaire. Le badge de marque est
   decale sous lui quand les deux sont presents. */
.myso-badge-nouveau {
    background: linear-gradient(135deg, #7d9a78, #3d5a3d) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(61, 90, 61, 0.28) !important;
}

.myso-badge-decale {
    top: 56px !important;
}

@media (max-width: 480px) {
    .myso-badge-nouveau { font-size: 0.72rem; padding: 6px 11px; }
    .myso-badge-decale { top: 48px !important; }
}

.myso-product-card:hover .myso-badge {
    transform: scale(1.1);
}

/* ==========================================
   BOUTON FAVORI AVEC SVG - CHARTE 3.0
   ========================================== */

.btn-favorite {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 25;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 0;
}

.btn-favorite:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-favorite .heart-icon {
    width: 20px;
    height: 20px;
    color: var(--myso-charcoal);
    transition: all 0.3s ease;
}

.btn-favorite .heart-outline {
    transition: opacity 0.3s ease;
}

.btn-favorite .heart-filled {
    transition: opacity 0.3s ease;
}

/* État favori actif */
.btn-favorite[data-is-favorite="true"] .heart-icon {
    color: var(--myso-terracotta);
}

.btn-favorite[data-is-favorite="true"] .heart-outline {
    display: none;
}

.btn-favorite[data-is-favorite="true"] .heart-filled {
    display: block !important;
}

/* Animation cœur */
@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.btn-favorite.animating {
    animation: heartBeat 0.5s ease;
}

/* Badge favoris dans le header */
.favorites-link-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--myso-terracotta);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Badge partenaire solidaire */
.partner-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--myso-terracotta), var(--myso-terracotta-dark));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(198, 123, 92, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================
   MODAL PRODUIT - CHARTE 3.0
   ========================================== */

.myso-product-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 31, 22, 0.8);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.myso-product-modal.active {
    display: flex;
}

.myso-modal-content {
    background: var(--myso-white);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.myso-modal-header {
    position: relative;
    min-height: 300px;
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-terracotta));
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

/* Galerie d'images dans le modal */
.myso-modal-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.myso-gallery-main {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-terracotta));
}

.main-gallery-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s ease;
    display: none;
}

.main-gallery-image.active {
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

/* Navigation galerie */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
}

.gallery-nav:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.gallery-nav.show {
    display: flex;
}

/* Bouton zoom */
.gallery-zoom-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.gallery-zoom-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

/* Miniatures */
.myso-gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: rgba(0,0,0,0.1);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.myso-gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}

.myso-gallery-thumbs::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.myso-gallery-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    border: 3px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    background: white;
}

.gallery-thumb:hover {
    border-color: var(--myso-sage);
    transform: scale(1.05);
}

.gallery-thumb.active {
    border-color: var(--myso-terracotta);
    box-shadow: 0 0 0 2px rgba(198, 123, 92, 0.3);
}

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

/* Indicateur de nombre d'images */
.gallery-indicator {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 10;
}

/* Modal Zoom Plein Écran */
.myso-zoom-modal {
    display: none;
    position: fixed;
    z-index: 12000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    cursor: zoom-out;
}

.myso-zoom-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 12001;
    transition: color 0.3s;
}

.zoom-close:hover {
    color: var(--myso-terracotta);
}

.zoom-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0,0,0,0.7);
    padding: 8px 16px;
    border-radius: 4px;
}

/* Navigation zoom */
.zoom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-nav:hover {
    background: rgba(255,255,255,0.3);
}

.zoom-prev {
    left: 20px;
}

.zoom-next {
    right: 20px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Bouton fermer modal principal */
.myso-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
    transition: all 0.3s;
}

.myso-modal-close:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.1);
}

/* Corps du modal */
.myso-modal-body {
    padding: 30px;
}

.myso-modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--myso-forest);
    margin-bottom: 15px;
    font-weight: 500;
}

/* Prix modal - Euro ET Tokens */
.myso-modal-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.myso-modal-price-euro {
    font-size: 1.5rem;
    color: var(--myso-terracotta);
    font-weight: 600;
}

.myso-modal-price-separator {
    color: var(--myso-charcoal);
    opacity: 0.5;
    font-weight: 500;
}

.myso-modal-price-tokens {
    font-size: 1.2rem;
    color: var(--myso-sage);
    font-weight: 600;
    background: rgba(125, 154, 120, 0.15);
    padding: 6px 15px;
    border-radius: 20px;
}

.myso-modal-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.myso-modal-detail {
    padding: 10px;
    background: var(--myso-sand);
    border-radius: 8px;
}

.myso-modal-detail-label {
    font-size: 0.8rem;
    color: var(--myso-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    opacity: 0.7;
}

.myso-modal-detail-value {
    font-weight: 500;
    color: var(--myso-forest);
}

.myso-modal-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--myso-charcoal);
    background: var(--myso-white);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--myso-sage);
}

.myso-modal-add-btn {
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-forest));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.myso-modal-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(61, 90, 61, 0.3);
}

/* Messages de succès/erreur - CHARTE 3.0 */
.success-message, .error-message, .info-message {
    position: fixed;
    top: 130px;
    right: 20px;
    z-index: 99999;
    max-width: 350px;
    padding: 15px 20px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 500;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.success-message {
    background: var(--myso-sage);
    color: white;
    border-left: 5px solid var(--myso-forest);
}

.error-message {
    background: var(--myso-terracotta);
    color: white;
    border-left: 5px solid var(--myso-terracotta-dark);
}

.info-message {
    background: var(--myso-sage-light);
    color: var(--myso-forest);
    border-left: 5px solid var(--myso-sage);
}

/* Modal de livraison - CHARTE 3.0 */
.myso-delivery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 31, 22, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.myso-delivery-modal.active {
    display: flex;
    opacity: 1;
}

.myso-delivery-content {
    background: var(--myso-white);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

.myso-delivery-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--myso-sand);
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-forest));
    color: white;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.myso-delivery-header h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
}

.myso-delivery-body {
    padding: 30px;
}

.cart-summary-section {
    background: var(--myso-cream);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.cart-summary-section h3 {
    font-family: var(--font-heading);
    color: var(--myso-forest);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.cart-item-summary {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--myso-sand);
}

.cart-item-summary:last-child {
    border-bottom: none;
}

.cart-total-summary {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--myso-sage);
    text-align: right;
    color: var(--myso-forest);
    font-weight: 600;
    font-size: 1.1rem;
}

.delivery-option-card {
    display: block;
    border: 2px solid var(--myso-sand);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.delivery-option-card:hover {
    border-color: var(--myso-sage);
    background: var(--myso-cream);
}

.delivery-option-card input[type="radio"] {
    display: none;
}

.delivery-option-card input[type="radio"]:checked + .option-content {
    border-left: 4px solid var(--myso-sage);
}

.option-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 15px;
}

.option-icon {
    font-size: 2rem;
}

.option-details {
    flex: 1;
}

.option-details h4 {
    margin: 0 0 5px;
    font-family: var(--font-heading);
    color: var(--myso-forest);
    font-weight: 600;
}

.option-details p {
    margin: 0 0 10px;
    color: var(--myso-charcoal);
}

.option-price {
    font-weight: 600;
    color: var(--myso-terracotta);
    font-size: 1.1rem;
}

.store-selection-section {
    background: var(--myso-cream);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.store-option {
    display: block;
    border: 1px solid var(--myso-sand);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.store-option:hover {
    border-color: var(--myso-sage);
    background: var(--myso-white);
}

.myso-delivery-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--myso-sand);
    background: var(--myso-cream);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    border-radius: 0 0 20px 20px;
}

.myso-cancel-btn {
    background: var(--myso-charcoal);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.myso-cancel-btn:hover {
    background: var(--myso-primary);
}

.myso-confirm-btn {
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-forest));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-family: var(--font-body);
}

.myso-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(61, 90, 61, 0.3);
}

/* Section code promo - CHARTE 3.0 */
.promo-code-section {
    background: var(--myso-cream);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.promo-code-section h4 {
    font-family: var(--font-heading);
    color: var(--myso-forest);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.promo-code-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.promo-code-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--myso-sand);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.promo-code-input:focus {
    border-color: var(--myso-sage);
    outline: none;
}

.promo-code-btn {
    padding: 12px 20px;
    background: var(--myso-sage);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.promo-code-btn:hover {
    background: var(--myso-forest);
}

.promo-result {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.promo-result.success {
    background: rgba(125, 154, 120, 0.2);
    color: var(--myso-forest);
    border: 1px solid var(--myso-sage);
}

.promo-result.error {
    background: rgba(198, 123, 92, 0.2);
    color: var(--myso-terracotta-dark);
    border: 1px solid var(--myso-terracotta);
}

/* Footer - CHARTE 3.0 */
.myso-footer {
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-forest));
    color: white;
    padding: 40px 30px;
    margin-top: 60px;
}

.myso-footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.myso-footer-link {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    background: rgba(0,0,0,0.25);
    text-decoration: none;
    padding: 12px 25px;
    background: rgba(255,255,255,0.15);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.myso-footer-link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.15);
    color: white;
    text-decoration: none;
}

.myso-footer-info {
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Spinner de chargement */
.myso-loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animations */
@keyframes modalSlideIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Bouton Charger plus */
.myso-load-more {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.myso-load-more-btn {
    background: linear-gradient(135deg, var(--myso-sage), var(--myso-forest));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.myso-load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(61, 90, 61, 0.3);
}

.myso-load-more-btn:disabled {
    background: var(--myso-sand);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================
   RESPONSIVE - CHARTE 3.0
   ========================================== */

@media (max-width: 768px) {
    .myso-shop-container {
        margin: 0;
        padding: 0;
    }
    
    /* Pop-up responsive */
    .popup-content {
        padding: 30px 25px;
        max-width: 95%;
    }
    
    .popup-title {
        font-size: 1.6rem;
    }
    
    .popup-icon {
        font-size: 3rem;
    }
    
    .popup-contact-box {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Panier flottant mobile */
    .myso-floating-cart {
        bottom: 140px;
        right: 15px;
        padding: 15px 20px;
        min-width: 120px;
    }
    
    .myso-cart-content {
        gap: 10px;
    }
    
    .myso-cart-info {
        display: none;
    }
    
    .myso-floating-cart-expanded {
        bottom: 70;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 85vh;
    }
    
    .myso-title-block {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .myso-title-block h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .myso-title-block p {
        font-size: 1.1rem;
    }
    
    .myso-header-mobile {
        padding: 15px 10px;
    }
    
    .myso-header-content {
        max-width: none;
        padding: 0;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .myso-logo {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .myso-header-actions {
        gap: 10px;
        width: 100%;
        justify-content: space-between;
    }
    
    .myso-top-nav {
        gap: 10px;
    }
    
    .myso-nav-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .myso-tokens-widget {
        padding: 8px 12px;
        font-size: 0.9rem;
        gap: 5px;
    }
    
    .myso-nav-mobile {
        padding: 15px 10px;
        gap: 10px;
        justify-content: flex-start;
    }
    
    .myso-nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .myso-content-container {
        padding: 10px;
        align-items: stretch;
    }
    
    .myso-hero-mobile {
        padding: 25px 20px;
        margin: 10px;
        margin-bottom: 20px;
        border-radius: 15px;
    }
    
    .myso-hero-mobile h1 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .myso-hero-mobile p {
        font-size: 1rem;
    }
    
    .myso-info-banner {
        padding: 20px 15px;
        margin: 0 10px 20px 10px;
    }
    
    .myso-info-banner h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .myso-info-banner p {
        font-size: 1rem;
    }
    
    .myso-token-info {
        padding: 15px;
        font-size: 1rem;
    }
    
    .myso-filters-mobile {
        padding: 20px 15px;
        margin: 0 10px 20px 10px;
    }
    
    .myso-filter-tabs {
        margin-bottom: 20px;
        justify-content: flex-start;
        gap: 10px;
    }
    
    .myso-tab-btn {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
    
    .myso-filters-grid {
        display: block;
    }
    
    .myso-filter-select {
        padding: 12px 15px;
        margin-bottom: 15px;
        font-size: 0.95rem;
    }
    
    #priceFilter {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    
    .myso-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 0 10px 20px 10px;
    }
    
    .myso-product-card {
        border-radius: 12px;
    }
    
    .myso-product-image {
        height: 140px;
        font-size: 0.85rem;
        padding: 15px;
    }
    
    .myso-product-info {
        padding: 15px;
    }
    
    .myso-product-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .myso-product-details {
        margin-bottom: 12px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .myso-product-price {
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }
    
    .myso-price-euro {
        font-size: 0.85rem;
        padding: 3px 10px;
    }
    
    .myso-price-tokens {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .myso-product-size {
        font-size: 0.8rem;
    }
    
    .myso-exchange-btn {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .myso-badge {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .btn-favorite {
        width: 32px;
        height: 32px;
        top: 8px;
        left: 8px;
    }
    
    .btn-favorite .heart-icon {
        width: 18px;
        height: 18px;
    }
    
    .myso-products-info {
        margin: 0 10px 15px 10px;
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .myso-modal-content {
        margin: 10px;
        max-width: none;
    }
    
    .myso-modal-body {
        padding: 20px;
    }
    
    .myso-modal-details {
        grid-template-columns: 1fr;
    }
    
    .myso-modal-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .myso-gallery-main {
        height: 250px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .main-gallery-image {
        cursor: default;
    }
    
    .gallery-thumb {
        width: 60px;
        height: 60px;
    }
    
    /* Modal de livraison mobile */
    .myso-delivery-content {
        margin: 10px;
        max-width: none;
    }
    
    .myso-delivery-body {
        padding: 20px;
    }
    
    .option-content {
        flex-direction: column;
        text-align: center;
    }
    
    .option-icon {
        margin-bottom: 10px;
    }
    
    .myso-delivery-footer {
        flex-direction: column;
    }
    
    .myso-cancel-btn, .myso-confirm-btn {
        width: 100%;
    }
    
    /* Messages responsive */
    .success-message, .error-message, .info-message {
        top: 160px;
        right: 10px;
        max-width: calc(100vw - 20px);
    }
    
    /* Footer responsive */
    .myso-footer {
        padding: 30px 15px;
        margin-top: 40px;
    }
    
    .myso-footer-nav {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .myso-footer-link {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 200px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 20px 15px;
        margin: 5px;
        max-width: calc(100% - 10px);
        border-radius: 18px;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .popup-highlight-box {
        padding: 12px;
        margin: 12px 0;
    }
    
    .popup-icon {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .popup-title {
        font-size: 1.2rem;
    }
    
    .popup-text {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .popup-contact-box {
        display: none;
    }
    
    .popup-title {
        font-size: 1.4rem;
    }
    
    .popup-text {
        font-size: 0.9rem;
    }
    
    .popup-highlight-box {
        padding: 15px;
    }
    
    .popup-button-primary,
    .popup-button-secondary {
        width: 100%;
        padding: 14px 20px;
    }
    
    .popup-contact-item {
        font-size: 0.85rem;
    }
    
    .myso-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .myso-product-image {
        height: 160px;
    }
    
    .myso-floating-cart {
        bottom: 15px;
        right: 15px;
        padding: 12px 15px;
    }
}

/* HARMONISATION DES IMAGES */
.myso-product-image {
    width: 100% !important;
    height: 250px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--myso-sand) !important;
    position: relative !important;
}

.myso-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.modal-gallery {
    position: relative !important;
    width: 100% !important;
    height: 500px !important;
    background: var(--myso-sand) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}

#modalImage {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    position: relative !important;
}

.modal-gallery #modalImage {
    width: 100% !important;
    height: 500px !important;
    object-fit: contain !important;
}

#galleryThumbs {
    display: flex !important;
    gap: 10px !important;
    justify-content: center !important;
    padding: 15px 0 !important;
    overflow-x: auto !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
}

#galleryThumbs .gallery-thumb,
#galleryThumbs img {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    flex-shrink: 0 !important;
}

#galleryThumbs .gallery-thumb.active,
#galleryThumbs img.active {
    border-color: var(--myso-terracotta) !important;
    transform: scale(1.1) !important;
}

#galleryThumbs .gallery-thumb:hover,
#galleryThumbs img:hover {
    transform: scale(1.05) !important;
    opacity: 0.8 !important;
}

.product-grid .myso-product-card .myso-product-image,
.myso-products-grid .myso-product-card .myso-product-image {
    width: 100% !important;
    height: 250px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.product-grid .myso-product-card .myso-product-image img,
.myso-products-grid .myso-product-card .myso-product-image img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
}

@media (max-width: 768px) {
    .myso-product-image,
    .myso-product-image img,
    .product-grid .myso-product-card .myso-product-image,
    .product-grid .myso-product-card .myso-product-image img {
        height: 200px !important;
    }
    
    .modal-gallery,
    .modal-gallery #modalImage {
        height: 350px !important;
    }
    
    #galleryThumbs .gallery-thumb,
    #galleryThumbs img {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
    }
}

.myso-product-image:hover img {
    transform: scale(1.05) !important;
    transition: transform 0.3s ease !important;
}

#productModal .modal-body .modal-gallery {
    margin-bottom: 20px !important;
}

[style*="width"] .myso-product-image img {
    width: 100% !important;
}

[style*="height"] .myso-product-image img {
    height: 250px !important;
}

/* ============================================================
   BLOC OFFRES — déplacé depuis la page d'accueil
   Les classes ont été préfixées « msofr- » : les noms d'origine
   (.offer-card, .section-title, .tokens…) risquaient d'entrer en
   conflit avec le thème Classic et avec le CSS de la boutique.
   Le reset « * { margin:0 } » a été retiré : il aurait écrasé
   toute la page. Les variables de couleur sont désormais portées
   par .msofr-section et non par :root.
   ============================================================ */

        

        .msofr-section {
            --color-primary: #1a1f16;
            --color-charcoal: #2d3029;
            --color-sage: #7d9a78;
            --color-sage-light: #a8c4a2;
            --color-sage-dark: #5a7a55;
            --color-forest: #3d5a3d;
            --color-terracotta: #c67b5c;
            --color-terracotta-dark: #a85d3f;
            --color-cream: #faf8f5;
            --color-sand: #e8e2d9;
        }

        body {
            font-family: 'Outfit', sans-serif;
            background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-sand) 100%);
            padding: 20px 15px;
        }

        .msofr-section { max-width: 1100px; margin: 0 auto; }

        .msofr-heading {
            font-family: 'Cormorant Garamond', serif;
            text-align: center;
            font-size: 1.8rem;
            color: var(--color-primary);
            margin-bottom: 25px;
            font-weight: 600;
            position: relative;
            padding-bottom: 10px;
        }

        .msofr-heading::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, var(--color-sage), var(--color-terracotta));
            border-radius: 2px;
        }

        .msofr-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .msofr-card {
            background: white;
            border-radius: 15px;
            padding: 20px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(26, 31, 22, 0.08);
            transition: all 0.3s ease;
            min-height: 320px;
            display: flex;
            flex-direction: column;
        }

        .msofr-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(26, 31, 22, 0.12); }

        .msofr-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 4px;
        }

        .msofr-card.msofr-traditional::before { background: linear-gradient(90deg, var(--color-sage), var(--color-sage-light)); }
        .msofr-card.msofr-tokens::before { background: linear-gradient(90deg, var(--color-terracotta), var(--color-terracotta-dark)); }
        .msofr-card.msofr-subscription::before { background: linear-gradient(90deg, var(--color-forest), var(--color-terracotta)); }

        .msofr-icon {
            width: 50px; height: 50px;
            margin: 0 auto 15px;
            display: flex; align-items: center; justify-content: center;
            border-radius: 50%;
            font-size: 1.5rem;
        }

        .msofr-traditional .msofr-icon { background: linear-gradient(135deg, var(--color-sage), var(--color-sage-light)); box-shadow: 0 3px 10px rgba(125,154,120,0.3); }
        .msofr-tokens .msofr-icon { background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-dark)); box-shadow: 0 3px 10px rgba(198,123,92,0.3); }
        .msofr-subscription .msofr-icon { background: linear-gradient(135deg, var(--color-forest), var(--color-terracotta)); box-shadow: 0 3px 10px rgba(61,90,61,0.3); }

        .msofr-title { font-family: 'Cormorant Garamond', serif; text-align: center; font-size: 1.3rem; font-weight: 600; margin-bottom: 5px; }
        .msofr-traditional .msofr-title { color: var(--color-sage-dark); }
        .msofr-tokens .msofr-title { color: var(--color-terracotta); }
        .msofr-subscription .msofr-title { background: linear-gradient(90deg, var(--color-forest), var(--color-terracotta)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

        .msofr-subtitle { font-family: 'Outfit', sans-serif; text-align: center; color: var(--color-charcoal); font-size: 0.85rem; margin-bottom: 15px; font-style: italic; font-weight: 300; }

        .msofr-badge-zone { text-align: center; margin-bottom: 10px; height: 25px; }
        .msofr-badge {
            display: inline-block;
            background: linear-gradient(135deg, var(--color-forest), var(--color-terracotta));
            color: white;
            padding: 3px 12px;
            border-radius: 15px;
            font-family: 'Outfit', sans-serif;
            font-size: 0.75rem;
            font-weight: 600;
            animation: pulse 2s infinite;
        }

        @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.03); } 100% { transform: scale(1); } }

        .msofr-features { list-style: none; padding: 0; flex-grow: 1; }
        .msofr-features li {
            font-family: 'Outfit', sans-serif;
            position: relative;
            padding: 6px 0 6px 28px;
            color: var(--color-charcoal);
            font-size: 0.85rem;
            line-height: 1.4;
            font-weight: 400;
        }
        .msofr-features li::before {
            content: '✓';
            position: absolute;
            left: 0; top: 6px;
            width: 20px; height: 20px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 0.7rem;
        }

        .msofr-traditional .msofr-features li::before { background: var(--color-sage); }
        .msofr-tokens .msofr-features li::before { background: var(--color-terracotta); }
        .msofr-subscription .msofr-features li::before { background: linear-gradient(135deg, var(--color-forest), var(--color-terracotta)); }

        a.msofr-cta {
            font-family: 'Outfit', sans-serif;
            margin-top: 15px;
            padding: 14px 25px;
            border: none;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer !important;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: white !important;
            width: 100%;
            text-decoration: none !important;
            display: inline-block;
            text-align: center;
            line-height: 1.5;
            box-sizing: border-box;
            position: relative;
            z-index: 10;
            min-height: 48px;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
        }

        a.msofr-cta:link, a.msofr-cta:visited, a.msofr-cta:hover, a.msofr-cta:active { color: white !important; text-decoration: none !important; }

        .msofr-traditional a.msofr-cta { background: linear-gradient(135deg, var(--color-sage), var(--color-sage-dark)); }
        .msofr-traditional a.msofr-cta:hover { background: linear-gradient(135deg, var(--color-sage-dark), var(--color-forest)); transform: scale(1.05); box-shadow: 0 5px 15px rgba(125,154,120,0.4); }

        .msofr-tokens a.msofr-cta { background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-dark)); }
        .msofr-tokens a.msofr-cta:hover { background: linear-gradient(135deg, var(--color-terracotta-dark), var(--color-terracotta)); transform: scale(1.05); box-shadow: 0 5px 15px rgba(198,123,92,0.4); }

        .msofr-subscription a.msofr-cta { background: linear-gradient(135deg, var(--color-forest), var(--color-terracotta)); }
        .msofr-subscription a.msofr-cta:hover { background: linear-gradient(135deg, var(--color-terracotta), var(--color-forest)); transform: scale(1.05); box-shadow: 0 5px 15px rgba(61,90,61,0.4); }

        .msofr-card::after {
            content: '';
            position: absolute;
            top: -50%; left: -50%;
            width: 200%; height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
            transform: rotate(45deg);
            transition: all 0.5s;
            opacity: 0;
        }
        .msofr-card:hover::after { opacity: 1; animation: shine 0.5s ease-in-out; }
        @keyframes shine { 0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); } 100% { transform: translateX(100%) translateY(100%) rotate(45deg); } }

        @media (max-width: 768px) {
            .msofr-container { grid-template-columns: 1fr; gap: 15px; }
            .msofr-heading { font-size: 1.5rem; }
            .msofr-card { min-height: auto; padding: 15px; }
        }
        @media (prefers-reduced-motion: reduce) {
            .msofr-badge { animation: none; }
            .msofr-card, a.msofr-cta { transition: none; }
            .msofr-card::after { display: none; }
        }
    

/* ============================================================
   PLEINE LARGEUR DE LA BOUTIQUE — 3e méthode

   La 2e visait « .container » : or le thème Classic s'en sert
   aussi pour son en-tête, son fil d'Ariane et son pied de page.
   Leur retirer largeur et marges désorganisait toute la page.

   Ici on ne vise QUE le conteneur de la colonne de contenu,
   celui qui est enfant direct de #wrapper, et uniquement sur
   la page boutique (body#module-mysoswitch-mysoswitch).
   ============================================================ */
body#module-mysoswitch-mysoswitch #wrapper > .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* La rangée Bootstrap a des marges négatives : sans cette ligne,
   elles provoquent une barre de défilement horizontale. */
body#module-mysoswitch-mysoswitch #wrapper > .container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body#module-mysoswitch-mysoswitch #content-wrapper,
body#module-mysoswitch-mysoswitch #main,
body#module-mysoswitch-mysoswitch #content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* La carte blanche de PrestaShop autour du contenu */
body#module-mysoswitch-mysoswitch #content.card {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

body#module-mysoswitch-mysoswitch .myso-shop-container {
    width: 100% !important;
    max-width: none !important;
    position: static !important;
    transform: none !important;
    left: auto !important;
}

/* Les contenus internes gardent une largeur lisible */
body#module-mysoswitch-mysoswitch .myso-content-container,
body#module-mysoswitch-mysoswitch .myso-products-grid,
body#module-mysoswitch-mysoswitch .myso-filters-mobile,
body#module-mysoswitch-mysoswitch .myso-info-banner,
body#module-mysoswitch-mysoswitch .myso-products-info,
body#module-mysoswitch-mysoswitch .myso-hero-mobile,
body#module-mysoswitch-mysoswitch .myso-header-split,
body#module-mysoswitch-mysoswitch .myso-title-block {
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ============================================================
   COULEUR DES LIBELLÉS DE BOUTONS
   Le thème Classic définit la couleur des liens avec une
   spécificité supérieure : les libellés ressortaient en vert
   sombre sur fond sombre, donc illisibles. On force le blanc
   sur le bouton ET sur les éléments qu'il contient, car le
   thème cible souvent « a span » et pas seulement « a ».
   ============================================================ */
.myso-nav-btn,
.myso-nav-btn *,
.rmd-hub-banner-btn,
.rmd-hub-banner-btn *,
.rmd-action-btn,
.rmd-action-btn *,
.rmd-btn-connexion,
.rmd-btn-connexion * {
    color: #ffffff !important;
}

/* Le bouton « Aide », en terracotta plein */
.myso-nav-btn.highlight,
.myso-nav-btn.highlight * {
    color: #ffffff !important;
}

/* Compteur de tokens : fond clair, donc texte foncé */
.myso-nav-btn.tokens-btn,
.myso-nav-btn.tokens-btn * {
    color: #3d5a3d !important;
}

/* Zone d'en-tête déplacée au-dessus du bloc écosystème */
.myso-shop-header-zone {
    padding-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ============================================================
   BANDEAU DE BASCULE DÉCOUVERTE / CATALOGUE
   ============================================================ */
.msovue-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    max-width: 1600px;
    margin: 0 auto 1.2rem;
    padding: 0.9rem 1rem;
    background: rgba(125, 154, 120, 0.12);
    border: 1px solid #e8e2d9;
    border-radius: 14px;
    font-family: 'Outfit', system-ui, sans-serif;
}
.msovue-txt {
    margin: 0;
    font-size: clamp(0.8rem, 2vw, 0.92rem);
    color: #2d3029;
    text-align: center;
}
.msovue-txt strong { color: #3d5a3d; }
.msovue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: clamp(0.82rem, 2vw, 0.92rem);
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.msovue-btn--full,
.msovue-btn--full * {
    background: linear-gradient(135deg, #7d9a78, #3d5a3d);
    color: #ffffff !important;
    border: 2px solid #3d5a3d;
}
.msovue-btn--ghost,
.msovue-btn--ghost * {
    background: #ffffff;
    color: #3d5a3d !important;
    border: 2px solid #7d9a78;
}
@media (max-width: 520px) {
    .msovue-bar { flex-direction: column; }
    .msovue-btn { width: 100%; }
}

/* ============================================================
   RENFORT SUR LA COULEUR DES LIBELLÉS
   Certains thèmes colorent le texte avec -webkit-text-fill-color,
   propriété qui l'emporte sur « color » même en !important.
   On neutralise les deux en même temps.
   ============================================================ */
.myso-nav-btn,
.myso-nav-btn *,
.rmd-hub-banner-btn,
.rmd-hub-banner-btn *,
.rmd-action-btn,
.rmd-action-btn *,
.rmd-btn-connexion,
.rmd-btn-connexion *,
.myso-nav-btn.highlight,
.myso-nav-btn.highlight * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
}

.myso-nav-btn.tokens-btn,
.myso-nav-btn.tokens-btn * {
    color: #3d5a3d !important;
    -webkit-text-fill-color: #3d5a3d !important;
}

/* ============================================================
   EN-TÊTE HARMONISÉ
   Cinq entrées d'une seule rangée, de taille identique.
   Le solde de tokens est le seul élément en fond clair.
   ============================================================ */
.myso-header-split .myso-nav-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.5rem !important;
}
.myso-header-split .myso-nav-btn {
    min-height: 44px !important;
    padding: 0.55rem 1.05rem !important;
    font-size: clamp(0.78rem, 1.8vw, 0.86rem) !important;
    font-weight: 500 !important;
    border-radius: 25px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    white-space: nowrap !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Sur téléphone, la rangée se centre et les entrées s'étalent */
@media (max-width: 720px) {
    .myso-header-split .myso-nav-row { justify-content: center !important; }
    .myso-header-split .myso-nav-btn { flex: 0 1 auto !important; }
}

/* ============================================================
   EN-TÊTE INTÉGRÉ AU BLOC ÉCOSYSTÈME
   Il n'est plus un bloc vert séparé mais une bande à l'intérieur
   du hero : fond transparent, séparé par un simple filet.
   ============================================================ */
.rmd-hero-block .myso-header-split {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 0 !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 0.9rem clamp(1rem, 3vw, 2rem) 1.1rem !important;
}
.rmd-hero-block .myso-header-split::before,
.rmd-hero-block .myso-header-split::after {
    display: none !important;   /* la diagonale du split n'a plus lieu d'être */
}
.rmd-hero-block .myso-header-left,
.rmd-hero-block .myso-header-right {
    background: transparent !important;
    padding: 0 !important;
}
.rmd-hero-block .myso-logo {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.rmd-hero-block .myso-logo small {
    color: rgba(255, 255, 255, 0.75) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.75) !important;
}

@media (max-width: 720px) {
    .rmd-hero-block .myso-header-split {
        flex-direction: column !important;
        gap: 0.8rem !important;
        text-align: center !important;
    }
}

/* ============================================================
   EN-TÊTE SEUL — vue catalogue
   Hors du bloc écosystème, il porte son propre fond vert.
   ============================================================ */
.myso-header-seul {
    background: linear-gradient(135deg, #7d9a78 0%, #3d5a3d 100%) !important;
    padding: 0 !important;
    margin-bottom: clamp(1rem, 2.5vw, 1.4rem) !important;
}
.myso-header-seul .myso-header-split {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 0.9rem clamp(1rem, 3vw, 2rem) !important;
}
.myso-header-seul .myso-header-split::before,
.myso-header-seul .myso-header-split::after { display: none !important; }
.myso-header-seul .myso-header-left,
.myso-header-seul .myso-header-right { background: transparent !important; padding: 0 !important; }
.myso-header-seul .myso-logo,
.myso-header-seul .myso-logo small {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.myso-header-seul .myso-logo small { opacity: 0.78 !important; }

@media (max-width: 720px) {
    .myso-header-seul .myso-header-split {
        flex-direction: column !important;
        gap: 0.8rem !important;
        text-align: center !important;
    }
}

/* ============================================================
   BANDEAU ROUE DE LA FORTUNE ET CODES PROMO
   Ils étaient absents de la liste des conteneurs centrés :
   le bandeau collait à gauche et débordait de la grille.
   ============================================================ */
body#module-mysoswitch-mysoswitch .myso-shop-container > div[style*="wheeloffortune"],
body#module-mysoswitch-mysoswitch .myso-shop-container > .myso-info-banner {
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.myso-wheel-banner {
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}
