/* Wicked Corporation — roulettes (couleur, taille, quantité) et petit « + » des cartes produit,
 * 12 nov. 2026. /ui/roue-20261112.js pose chaque roulette exactement sur le groupe de boutons
 * qu'elle remplace ; ce groupe reste en place, invisible, pour que la mise en page de la carte
 * ne bouge à aucune largeur. Chaque groupe n'est masqué que si sa roulette est active
 * (data-wc-roue-couleur / -taille / -qte) ; sans script, la carte garde ses boutons d'origine. */
html body [class*="_card_1214w_"][data-wc-roue-taille="1"] [class*="_sizes_1214w_"],
html body [class*="_card_1214w_"][data-wc-roue-couleur="1"] [class*="_swatches_1214w_"],
html body [class*="_card_1214w_"][data-wc-roue-qte="1"] [class*="_headQtyBtn_1214w_"],
html body [class*="_card_1214w_"][data-wc-roue-qte="1"] [class*="_headQtyValue_1214w_"] {
  visibility: hidden !important;
  pointer-events: none !important;
}
/* Le petit « + » remplace le bouton « + Panier » de la carte bague. */
html body [class*="_card_1214w_"][data-wc-kind][data-wc-roue-plus="1"] [class*="_buySoloBtn_1214w_"][class*="_addToCartBtn_1214w_"],
html body [class*="_card_1214w_"][data-wc-kind][data-wc-roue-ajouter="1"] [class*="_buySoloBtn_1214w_"][class*="_addToCartBtn_1214w_"] {
  display: none !important;
}

/* Cadre de l'ancien sélecteur de quantité : seul le libellé « Qté » reste visible. */
html body [class*="_card_1214w_"][data-wc-roue-qte="1"] [class*="_headQty_1214w_"] {
  border-color: transparent !important;
  background: none !important;
  box-shadow: none !important;
}
/* « 3 × 150,00 € » au-dessus du prix (il était sur le bord haut de la carte, sur PHOTOS). */
html body [class*="_card_1214w_"][data-wc-roue-pd="1"] [class*="_prixDetail_1214w_"] {
  position: absolute !important;
  left: var(--wc-pd-l, auto) !important;
  top: var(--wc-pd-t, auto) !important;
  width: var(--wc-pd-w, auto) !important;
  right: auto !important;
  bottom: auto !important;
  height: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 10px !important;
  line-height: 12px !important;
  text-align: center !important;
  white-space: nowrap !important;
  color: rgba(233, 233, 238, 0.7) !important;
  z-index: 5;
}

html body [class*="_card_1214w_"] > .wc-roue {
  --r: 18px;
  --pad: 0px;
  position: absolute;
  z-index: 6;
  box-sizing: border-box;
  border: 1px solid rgba(233, 233, 238, 0.28);
  border-radius: 6px;
  background: #0b0d11;
  overflow: hidden;
  outline: none;
  touch-action: pan-y;
}
html body [class*="_card_1214w_"] > .wc-roue[hidden] { display: none; }
.wc-roue:focus-visible { box-shadow: 0 0 0 2px rgba(233, 233, 238, 0.6); }
/* Fondu haut/bas (cylindre) et bande de lecture au centre. */
.wc-roue::before,
.wc-roue::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; z-index: 2; }
.wc-roue::before {
  top: 0; bottom: 0;
  background: linear-gradient(#0b0d11 0%, rgba(11, 13, 17, 0) 30%, rgba(11, 13, 17, 0) 70%, #0b0d11 100%);
}
.wc-roue::after {
  top: var(--pad); height: var(--r);
  box-sizing: border-box;
  border-top: 1px solid rgba(233, 233, 238, 0.32);
  border-bottom: 1px solid rgba(233, 233, 238, 0.32);
  background: rgba(233, 233, 238, 0.07);
}
.wc-roue-liste {
  height: 100%;
  box-sizing: border-box;
  padding: var(--pad) 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
  perspective: 120px;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.wc-roue-liste::-webkit-scrollbar { display: none; }
.wc-roue-liste:active { cursor: grabbing; }
.wc-roue-item {
  height: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 6px;
  box-sizing: border-box;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #e9e9ee;
  white-space: nowrap;
  transform-origin: 50% 50%;
}
.wc-roue-item[aria-selected="true"] { color: #fff; }
.wc-roue-txt { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wc-roue-chip {
  flex: none;
  width: min(13px, calc(var(--r) * 0.66));
  height: min(13px, calc(var(--r) * 0.66));
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55);
}
.wc-roue-couleur .wc-roue-item { justify-content: flex-start; gap: 4px; padding: 0 5px; font-size: 11px; }
.wc-roue-couleur .wc-roue-chip { width: 10px; height: 10px; }

/* Petit « + » : ajoute la bague (taille, couleur, quantité choisies) au panier ; le chiffre
   dit combien de pièces de cette bague y sont déjà. */
html body [class*="_card_1214w_"] > .wc-roue-plus {
  position: absolute;
  z-index: 6;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(233, 233, 238, 0.55);
  border-radius: 50%;
  background: #e9e9ee;
  color: #0b0d11;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease, background-color 0.2s ease;
}
html body [class*="_card_1214w_"] > .wc-roue-plus[hidden] { display: none; }
.wc-roue-plus:hover { background: #fff; }
.wc-roue-plus:active { transform: scale(0.92); }
.wc-roue-plus:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wc-roue-plus-signe { margin-top: -1px; }
.wc-roue-plus-n {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  box-sizing: border-box;
  border-radius: 8px;
  background: var(--product-highlight, #b46cf0);
  color: #fff;
  font-size: 10px;
  line-height: 15px;
  text-align: center;
}
.wc-roue-plus-n:empty { display: none; }
.wc-roue-plus.wc-ajoute { animation: wc-ajoute 1s ease; }
.wc-roue-plus.wc-ajoute .wc-roue-plus-signe { animation: wc-ajoute-signe 1s ease; }
@keyframes wc-ajoute { 0% { background: #7dff9a; transform: scale(1.15); } 100% { background: #e9e9ee; transform: scale(1); } }
@keyframes wc-ajoute-signe { 0%, 60% { transform: rotate(45deg) scale(0); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .wc-roue-plus.wc-ajoute, .wc-roue-plus.wc-ajoute .wc-roue-plus-signe { animation: none; } }

/* ===== Carte unifiée (341 px et plus) : lunettes, bagues, ceintures ont la même mise en page,
   chacune avec ses options. /ui/roue-20261112.js mesure la carte et pose : zone d'aperçu (objet
   centré entre les flèches), ligne d'origine, une ligne d'options (modèle à gauche, quantité à
   droite). Les éléments d'origine qu'elle remplace restent en place, invisibles. ===== */
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_sizeBlock_1214w_"],
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_sizeBlock_1214w_"]::before,
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_sizeBlock_1214w_"]::after,
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_swatches_1214w_"],
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_mobileColor_1214w_"],
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_headQty_1214w_"],
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_badge_1214w_"] {
  visibility: hidden !important;
  pointer-events: none !important;
}
/* « N × prix » : masqué dès que la quantité a sa case (le prix affiche le total, la case la quantité). */
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_prixDetail_1214w_"],
html body [class*="_card_1214w_"][data-wc-roue-qte="1"] [class*="_prixDetail_1214w_"] { display: none !important; }
html body [class*="_card_1214w_"][data-wc-kind][data-wc-roue-uni="1"] [class*="_previewSelect_1214w_"] [class*="_hote_"]:not([class*="_hote_10qt7_"]) {
  top: var(--wc-zone-t, 4px) !important;
  height: var(--wc-zone-h, 60%) !important;
  bottom: auto !important;
  left: var(--wc-zone-x, 44px) !important;
  right: var(--wc-zone-x, 44px) !important;
  width: auto !important;
}
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_navBtn_1214w_"] {
  translate: 0 var(--wc-nav-dy, 0px);
  scale: var(--wc-nav-s, 1);
}
/* Ring 3D: drawn at its final size. The canvas used to be scaled up 1.7-2.3x with CSS, which
   blurred the ring (Bague Bones); now its box is made larger instead, so it renders sharp. A
   square box centred in the card's free space (between the corner buttons and the row of
   boxes), worked out by roue-20261113.js (--wc-ring-l/t/s, relative to the preview zone). */
html body [class*="_card_1214w_"][data-wc-kind="ring"][data-wc-roue-uni="1"][data-wc-kind] [class*="_previewSelect_1214w_"] [class*="_hote_"]:not([class*="_hote_10qt7_"]) { overflow: visible !important; }
html body [class*="_card_1214w_"][data-wc-kind="ring"][data-wc-roue-uni="1"][data-wc-kind] [class*="_previewSelect_1214w_"] [class*="_hote_"] [class*="_hote_10qt7_"] {
  top: var(--wc-ring-t, 0px) !important; left: var(--wc-ring-l, 0px) !important; right: auto !important; bottom: auto !important;
  width: var(--wc-ring-s, 100%) !important; height: var(--wc-ring-s, 100%) !important;
}
html body [class*="_card_1214w_"][data-wc-kind="ring"][data-wc-roue-uni="1"][data-wc-kind] [class*="_hote_10qt7_"] canvas { transform: none !important; }
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_prix_1214w_"] {
  translate: var(--wc-prix-dx, 0px) 0;
}
html body [class*="_card_1214w_"] > .wc-uni-meta,
html body [class*="_card_1214w_"] > .wc-uni-lab {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  font: inherit;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(233, 233, 238, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
html body [class*="_card_1214w_"] > .wc-uni-lab { width: auto; }
html body [class*="_card_1214w_"] > .wc-uni-fixe {
  position: absolute;
  z-index: 6;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid rgba(233, 233, 238, 0.28);
  border-radius: 6px;
  background: #0b0d11;
  font: inherit;
  font-size: var(--wc-f, 13px);
  font-weight: 600;
  color: #e9e9ee;
  white-space: nowrap;
}
html body [class*="_card_1214w_"] > .wc-uni-meta[hidden],
html body [class*="_card_1214w_"] > .wc-uni-lab[hidden],
html body [class*="_card_1214w_"] > .wc-uni-fixe[hidden] { display: none; }
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] > .wc-roue .wc-roue-item { font-size: var(--wc-f, 13px); }
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] > .wc-roue-couleur .wc-roue-item { font-size: calc(var(--wc-f, 13px) - 1px); }

@media (min-width: 901px) { .wc-roue-item { font-size: 14px; } .wc-roue-couleur .wc-roue-item { font-size: 13px; } }

/* Petites flèches ▲ ▼ au-dessus et au-dessous de la fenêtre de chaque roulette : elles disent
   « ça défile » et avancent d'une ligne au toucher ; grisées en bout de liste. */
html body [class*="_card_1214w_"] > .wc-roue .wc-roue-fl {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  height: var(--pad, 6px);
  min-height: 5px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
html body [class*="_card_1214w_"] > .wc-roue .wc-roue-haut { top: 0; }
html body [class*="_card_1214w_"] > .wc-roue .wc-roue-bas { bottom: 0; }
html body [class*="_card_1214w_"] > .wc-roue .wc-roue-fl::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}
html body [class*="_card_1214w_"] > .wc-roue .wc-roue-haut::before { border-bottom: 4px solid rgba(233, 233, 238, 0.8); }
html body [class*="_card_1214w_"] > .wc-roue .wc-roue-bas::before { border-top: 4px solid rgba(233, 233, 238, 0.8); }
html body [class*="_card_1214w_"] > .wc-roue .wc-roue-fl:hover::before { filter: brightness(1.4); }
html body [class*="_card_1214w_"] > .wc-roue .wc-roue-fl:disabled { cursor: default; opacity: 0.22; }

/* Bague : « Acheter » devient « Ajouter + » (ajoute la bague choisie au panier). */
html body [class*="_card_1214w_"][data-wc-roue-ajouter="1"] [class*="_buySoloBtn_1214w_"]:not([class*="_addToCartBtn_1214w_"]) > span:not(.wc-ajouter-txt) {
  display: none !important;
}
html body [class*="_card_1214w_"][data-wc-roue-ajouter="1"] .wc-ajouter-txt::after { content: " +"; }
html body [class*="_card_1214w_"][data-wc-roue-ajouter="1"] .wc-ajouter-txt.wc-plein::after { content: " ✓"; }
html body [class*="_card_1214w_"][data-wc-roue-ajouter="1"] [class*="_buySoloBtn_1214w_"].wc-ajoute .wc-ajouter-txt::after { content: " ✓"; }
html body [class*="_card_1214w_"][data-wc-roue-ajouter="1"] [class*="_buySoloBtn_1214w_"].wc-ajoute { animation: wc-ajoute-btn 1s ease; }
@keyframes wc-ajoute-btn { 0% { box-shadow: 0 0 0 3px rgba(125, 255, 154, 0.9); } 100% { box-shadow: 0 0 0 0 rgba(125, 255, 154, 0); } }
@media (prefers-reduced-motion: reduce) { html body [class*="_card_1214w_"][data-wc-roue-ajouter="1"] [class*="_buySoloBtn_1214w_"].wc-ajoute { animation: none; } }
html body [class*="_card_1214w_"] > .wc-ajout-n {
  position: absolute;
  z-index: 7;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--product-highlight, #b46cf0);
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
html body [class*="_card_1214w_"] > .wc-ajout-n[hidden] { display: none; }

/* Bague : « par JINISWICKED » sous le nom, comme sur les lunettes et la ceinture. */
html body [class*="_card_1214w_"] > .wc-uni-createur {
  position: absolute;
  z-index: 6;
  white-space: nowrap;
  pointer-events: none;
}
html body [class*="_card_1214w_"] > .wc-uni-createur[hidden] { display: none; }
html body [class*="_card_1214w_"] > .wc-uni-createur .wc-uni-createur-par { opacity: 0.62; text-transform: uppercase; }

/* Fenêtre PHOTOS = fiche produit : origine, créateur, description sous les photos. */
.wc-fiche {
  padding: 10px 16px 12px;
  border-top: 1px solid rgba(233, 233, 238, 0.14);
  color: #e9e9ee;
  font: inherit;
  text-align: center;
}
.wc-fiche[hidden], .wc-fiche [hidden] { display: none !important; }
.wc-fiche p { margin: 0; }
.wc-fiche-origine {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(233, 233, 238, 0.62);
}
.wc-fiche-createur { margin-top: 3px !important; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.wc-fiche-createur span { color: rgba(233, 233, 238, 0.62); }
.wc-fiche-createur b { font-weight: 600; }
.wc-fiche-desc {
  margin-top: 8px !important;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(233, 233, 238, 0.88);
  max-height: 6.2em;
  overflow-y: auto;
  text-align: left;
}
@media (min-width: 901px) { .wc-fiche-origine { font-size: 11px; } .wc-fiche-createur { font-size: 13px; } .wc-fiche-desc { font-size: 14px; } }

/* Cards show only "par <créateur>"; a product description lives in the PHOTOS sheet. A
   description with no creator in it was still drawn on the card (over the size box) and moved
   the layout by a few pixels, so the pair's picture changed size from one pair to the next. */
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_descriptionBlock_1214w_"]:not(:has([data-wc-creator])) { display: none !important; }

/* Name and "par <créateur>" (left of the price): 7 px between the lines, centred on the
   button; offsets computed by roue-20261113.js. The ring's line uses the same line height. */
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_previewName_1214w_"] { translate: 0 var(--wc-nom-dy, 0px); }
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [data-wc-creator],
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] .wc-uni-createur { translate: 0 var(--wc-cre-dy, 0px); }
html body [class*="_card_1214w_"] .wc-uni-createur { line-height: 1 !important; }
/* Their background blur would smear the bar's outline once the lines are moved. */
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_previewName_1214w_"],
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_descriptionBlock_1214w_"],
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [data-wc-creator] { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* Phones (portrait): the preview card is 90 px taller (panel 32 % of the screen + 90 px, the
   3D scene keeps the rest), so glasses and the belt are drawn 1.5x larger. */
@media (max-width: 899px) and (orientation: portrait) {
  html ._panel_1x4d9_49._panel_1x4d9_49, html[data-device='iphone'] ._panel_1x4d9_49._panel_1x4d9_49 { flex: 0 0 calc(32% + 90px) !important; }
  html ._zone3d_1x4d9_35._zone3d_1x4d9_35, html[data-device='iphone'] ._zone3d_1x4d9_35._zone3d_1x4d9_35 { flex: 1 1 0 !important; min-height: 0 !important; }
}
/* Compact cards (phones under 341 px): the "Créée à Bruxelles · Couleur …" line repeats the
   colour drum and the PHOTOS sheet, and touched the ring preview on the taller card. */
html body [class*="_card_1214w_"][data-wc-roue-couleur="1"]:not([data-wc-roue-uni="1"]) [class*="_mobileColor_1214w_"] { visibility: hidden !important; }
/* The creator line is moved with translate; its own boxes clipped it ("par …" cut on phones). */
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_descriptionBlock_1214w_"],
html body [class*="_card_1214w_"][data-wc-roue-uni="1"] [class*="_description_1214w_"][data-wc-creator] { overflow: visible !important; }

/* Les noms de créateurs conservent leur casse sur la carte et dans Photos. */
html body [class*="_card_1214w_"] [data-wc-creator],
html body [class*="_card_1214w_"] .wc-uni-createur-nom,
html body .wc-fiche-createur b { text-transform: none !important; }

/* Un crédit partagé peut revenir à la ligne selon la largeur de sa colonne. */
html body [class*="_card_1214w_"]:has([data-wc-creator*="&"]) [class*="_descriptionBlock_1214w_"] {
  height: auto !important;
  justify-content: flex-end !important;
}
html body [class*="_card_1214w_"]:has([data-wc-creator*="&"]) [class*="_descriptionBlock_1214w_"] [class*="_description_1214w_"][data-wc-creator*="&"] {
  flex: 0 0 auto !important;
  white-space: normal !important;
}
@media (max-width: 440px) {
  html body [class*="_card_1214w_"]:has([data-wc-creator*="&"]) [class*="_descriptionBlock_1214w_"] [class*="_description_1214w_"][data-wc-creator*="&"] {
    font-size: 12px !important;
    line-height: 12px !important;
  }
}
@media (max-width: 340px) {
  html body [class*="_card_1214w_"]:has([data-wc-creator*="&"]) [class*="_previewName_1214w_"] {
    translate: 0 -12px;
  }
}
