/* Intégration au site : ce que la maquette n'avait pas besoin de prévoir. La charte reste dans vitrine.css. */

/* Page et accessibilité */
body.gp-page{margin:0;padding:0;background:#FBF7FF;font-family:'Figtree',system-ui,sans-serif}
/* Le thème ne doit pas changer la graisse ni l'espacement des textes */
.vp{font-weight:400;font-style:normal;letter-spacing:normal;text-align:left;text-transform:none}
.vp{--w:#E00B45;--w2:#F23A6B;--deep:#6E0524;--pop:#FFD21F;--soft:#FFE3EB;--pat:var(--w)}
.vp.gp-bloc{background:none;overflow:visible}
.vp main:focus{outline:0}
.vp [hidden]{display:none!important}
.gp-evitement{position:absolute;left:-9999px;top:0;z-index:99999;padding:12px 18px;background:#1B0B33;color:#fff}
.gp-evitement:focus{left:8px;top:8px}
.vp h1{font:400 62px/1 var(--display);text-wrap:balance}
.vp .find input[type=search]{min-height:44px;padding:0;box-shadow:none;border-radius:0}
.vp form.find{margin:0}
.vp button.pick,.vp button.btn{text-transform:none;letter-spacing:0}
.vp button.pick:hover{background:var(--soft);color:var(--deep)}
.vp button.pick[aria-pressed="true"]:hover{background:var(--deep);color:#fff}
.vp .specs dd,.vp .facts dd{margin:0}

/* Marque inconnue de vitrine.css : couleurs neutres ci-dessus. Mascotte sans couleur : celles de la marque. */
[data-t="marque"]{--t1:var(--pop,#FFD21F);--t2:var(--w2,#F23A6B);--t3:var(--soft,#FFE3EB)}

/* Mascotte seule : elle remplace une photo absente ou non autorisée */
.vp .mascotte{overflow:visible;fill:var(--t1);stroke:#1B0B33;stroke-width:8;stroke-linejoin:round}
.vp .mascotte .b{fill:var(--t2)}
.vp .mascotte .g{fill:var(--g2,var(--g1,var(--t1)))}
.vp .mascotte .d{fill:var(--g1,var(--t1))}
.vp .mascotte .f{fill:#1B0B33}
.vp .mascotte .n{fill:#FF2E6A;stroke-width:5}
.vp .mascotte text{font:400 58px var(--display);fill:#FFD21F;stroke:none}
.vp .niche .doll.mascotte{width:84%;height:auto;margin-bottom:2px}
.vp .cast .doll.mascotte,.vp .cast.wide .doll.mascotte{width:300px;height:auto;margin-left:-34px}
.vp .cast.five .doll.mascotte{width:228px;height:auto;margin-left:-40px}
.vp .line .doll.mascotte{width:138px;height:auto;margin-left:-10px}
.vp .show:first-child .line .doll.mascotte{width:256px;height:auto;margin-inline:-10px}
.vp .shows:not(.solo) .line .mascotte:nth-child(n+4){display:none}
.vp .show:has(.mascotte) .count{left:auto;right:24px;top:34px;bottom:auto}
.vp .shows.solo .line .doll.mascotte{width:220px;height:auto;margin-inline:-22px}
.vp .show .line:has(.mascotte){bottom:-4px}
.vp .show:first-child .line:has(.mascotte){bottom:-4px}
.vp .slot .mascotte{width:92%;height:auto}
.vp .slot .mascotte.miss{filter:brightness(0) opacity(.2)}
.vp .disc .mascotte{position:absolute;left:8%;bottom:-2px;width:84%}

/* Cartes */
.vp .gp-lien{display:block}
.vp .gp-lien:hover .tag{transform:rotate(0)}
.vp .gp-grille{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.vp .hues .card .plate{min-height:42px}
.vp .tints li{position:relative}
.vp .tints h3 a::after{content:"";position:absolute;inset:0;border-radius:var(--r-l)}
.vp .tints li:hover h3{color:var(--deep);text-decoration:underline;text-underline-offset:4px}
.vp .gp-photo{display:flex;align-items:flex-end;justify-content:center;height:180px}
.vp .gp-photo img{width:auto;max-width:100%;height:auto;max-height:190px}
.vp .gp-avance{font-weight:700;color:var(--deep)}
.vp .doors.gp-seule{grid-template-columns:minmax(0,1fr);max-width:660px}
.vp .gp-note{margin-top:28px}
.vp .gp-sous{margin-top:12px;text-align:center;color:var(--mute)}

/* L'album et le filtre n'apparaissent que si JavaScript fonctionne */
html:not(.gp-js) .vp .gp-album-boutons,html:not(.gp-js) .vp .gp-suivi,html:not(.gp-js) .vp .gp-filtre,html:not(.gp-js) .vp .gp-actions{display:none}
.vp .gp-erreur{color:var(--cta-deep);font-weight:700}
.vp .gp-bilan{font:400 30px/1.2 var(--display)}
.vp .gp-debut{display:flex;flex-direction:column;align-items:flex-start;gap:24px;padding-top:110px}
.vp .gp-debut .crumb{background:var(--ink);color:#fff}
.vp .gp-debut .lead{max-width:38em}
.vp .gp-actions{display:flex;flex-wrap:wrap;gap:14px}
.vp .gp-pages{display:flex;flex-wrap:wrap;gap:8px;padding-top:34px}
.vp .gp-pages .page-numbers{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;border-radius:12px;font-weight:700}
.vp .gp-pages .current{background:var(--ink);color:#fff}
/* Aligné sur les autres sections, avec des lignes de longueur lisible. */
.vp .gp-texte>*{max-width:820px}
.vp .gp-texte>*+*{margin-top:16px}

/* Achat */
.vp .gp-titre-achat{font-size:28px}
.vp .gp-offre{display:flex;flex-direction:column;gap:14px}
.vp .gp-offre+.gp-offre{padding-top:16px;border-top:2px solid var(--line)}
.vp .gp-inactif{background:#6F6680;box-shadow:none;cursor:default}
.vp .gp-inactif:hover{transform:none;box-shadow:none}

@container (max-width:640px){
  .vp h1{font-size:44px}
  .vp .gp-debut{padding-top:78px;gap:18px}
  .vp .gp-grille{grid-template-columns:repeat(2,minmax(0,1fr))}
  .vp .cast .doll.mascotte,.vp .cast.wide .doll.mascotte{width:150px;height:auto;margin-inline:-14px}
  .vp .cast.five .doll.mascotte{width:104px;height:auto;margin-inline:-14px}
  .vp .windows .niche .doll.mascotte{width:88%;height:auto}
  .vp .card .niche .doll.mascotte{height:auto}
  .vp .line .doll.mascotte{width:112px;height:auto;margin-left:-6px}
  .vp .shows:not(.solo) .show:first-child .line .doll.mascotte{width:132px;height:auto;margin-inline:-8px}
  .vp .shows.solo .line .doll.mascotte{width:96px;height:auto;margin-inline:-12px}
  .vp .show:has(.mascotte) .count{left:20px;right:auto;top:auto;bottom:120px}
  .vp .slot .mascotte{height:auto;margin-bottom:0}
  .vp .gp-actions,.vp .gp-actions .btn{width:100%}
}

/* Galerie photo de WooCommerce, ajoutée en bas de toutes les pages par Essential Addons : inutile dans le guide. */
.vp:not(.gp-bloc) ~ .pswp{display:none!important}

/* Boutons « Toutes les séries » de l'accueil. */
.gp-toutes{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}

/* Série sans chiffre vérifié : le bord du fond coupe les mascottes, comme le fait sinon la bande d'informations. */
.vp .gp-sans-faits{overflow:hidden;overflow:clip}

/* Achat depuis les cartes, page des poupées en vente et textes longs. */
.vp .card .gp-acheter{min-height:48px;margin-top:18px;padding:8px 16px;font-size:17px;text-align:center}
.vp .card .gp-acheter+.acts{margin-top:12px}
.vp .gp-de-serie{margin-top:12px;text-align:center;font-size:16px;line-height:1.3;color:var(--mute)}
.vp .gp-de-serie a:hover{text-decoration:underline}
.vp .gp-de-serie+.gp-acheter{margin-top:12px}
.vp .card:has(.gp-de-serie) .gp-acheter{margin-top:auto}
.vp .card:has(.gp-de-serie) .gp-de-serie{margin-bottom:14px}
.vp .gp-lu{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.vp .gp-acheter{position:relative}
.vp .card .gp-chercher{box-shadow:0 4px 0 rgba(27,11,51,.16)}
.vp .buy .gp-chercher{border:2px solid var(--ink);box-shadow:none}
.vp .gp-sans-achat{margin-top:28px}
.vp .info .gp-sans-achat{margin-top:0}
.vp .gp-sans-achat a,.vp .gp-texte p a,.vp .gp-texte li a{color:var(--deep);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.vp .gp-texte h2{font-size:40px}
.vp .gp-texte>*+h2{margin-top:56px}
.vp .gp-texte>*+h3{margin-top:36px}
.vp .gp-texte ul{padding-left:22px;list-style:disc}
.vp .gp-texte li+li{margin-top:8px}
.vp .menu .gp-menu-plus::before{background:var(--cta)}
/* Un lien de plus dans le menu : tout doit tenir sur une ligne. */
@container (min-width:641px){
  .vp .top .wrap:has(.gp-menu-plus){gap:12px 18px}
  .vp .menu:has(.gp-menu-plus){flex:1 1 auto;gap:0}
  .vp .menu:has(.gp-menu-plus) a{padding:0 12px}
  .vp .menu:has(.gp-menu-plus)~.find{flex:0 1 200px;min-width:150px}
}
@container (min-width:641px) and (max-width:1270px){
  .vp .menu:has(.gp-menu-plus) a{padding:0 8px;gap:7px;font-size:16px}
  .vp .top .wrap:has(.gp-menu-plus) .brand{--logo:190px}
  .vp .top .wrap:has(.gp-menu-plus) .mine{padding:0 14px;font-size:16px}
  .vp .menu:has(.gp-menu-plus)~.find{flex-basis:150px;padding:0 12px}
}
@container (min-width:641px) and (max-width:1140px){
  .vp .menu:has(.gp-menu-plus){order:3;flex:1 1 100%;flex-wrap:wrap;padding-left:200px}
  .vp .menu:has(.gp-menu-plus)~.find{flex-basis:200px;margin-left:auto}
}
@container (min-width:641px) and (max-width:740px){
  .vp .menu:has(.gp-menu-plus) a{padding:0 4px;font-size:15px}
}
@container (max-width:640px){
  .vp .menu:has(.gp-menu-plus){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .vp .gp-texte h2{font-size:31px}
  .vp .card .gp-acheter{font-size:15.5px;padding-inline:8px}
}
