/* VICEGRIP / Édition retail — finition de la fiche produit.
 * Rehausse la précision visuelle sans modifier l'ordre, la géométrie,
 * les composants, les textes, la galerie ou les actions de paiement.
 * Intention : photographie d'abord, typographie maîtrisée,
 * contours sobres et repères d'achat lisibles. */
body.brand-system.product-page {
  --vg-pdp-ink: #f8f5f8;
  --vg-pdp-muted: #bbb3c0;
  --vg-pdp-border: rgba(234, 219, 231, .18);
  --vg-pdp-rose: #eabbd5;
}

/* Le header reste exactement à sa place. On supprime seulement l'effet
   de carte flottante pour rejoindre l'esthétique des vrais catalogues. */
body.brand-system.product-page .site-header.scrolled {
  background: rgba(25, 22, 31, .96);
  border-bottom: 1px solid rgba(240, 230, 239, .075);
  box-shadow: none;
}
body.brand-system.product-page .site-header .brand img {
  filter: none;
}

/* Galerie : conserver les visuels, les boutons et les interactions natifs. */
body.brand-system.product-page .product-carousel .gallery-main {
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .035);
}
body.brand-system.product-page .product-carousel .photo-caption {
  color: #c5bbc7;
  font-size: 11px;
  letter-spacing: .01em;
}

/* Hiérarchie éditoriale : lisible à la première seconde, sans sur-titrage. */
body.brand-system.product-page .product-breadcrumb {
  color: #b9b0be;
  font-size: 11px;
  letter-spacing: .008em;
}
body.brand-system.product-page .product-breadcrumb a {
  color: #c8bfcb;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}
body.brand-system.product-page .product-breadcrumb a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(234,187,213,.72);
}
body.brand-system.product-page .vg-restock-badge {
  margin-bottom: 14px;
}
body.brand-system.product-page .product-copy h1 {
  margin: 0 0 18px;
  color: var(--vg-pdp-ink);
  text-wrap: balance;
}
body.brand-system.product-page .product-copy h1 .product-kind {
  display: block;
  margin-bottom: 9px;
  color: #c9c0cd;
  font: 450 13px/1.48 Inter, Arial, sans-serif;
  letter-spacing: .005em;
}
body.brand-system.product-page .product-copy h1 .product-title-game {
  display: block;
  max-width: 100%;
  color: var(--vg-pdp-ink);
  font-family: Archivo, Inter, Arial, sans-serif;
  font-size: clamp(36px, 3.65vw, 52px);
  font-weight: 700;
  line-height: 1.075;
  letter-spacing: -.048em;
  overflow-wrap: normal;
}
body.brand-system.product-page .product-copy h1 .product-title-finish {
  display: block;
  margin-top: 13px;
  color: var(--vg-pdp-rose);
  font: 600 16px/1.38 Inter, Arial, sans-serif;
  letter-spacing: -.012em;
}

/* Un prix franc ; le prix conseillé reste une référence, pas une
   ancienne promotion fictive. */
body.brand-system.product-page .product-purchase .product-price {
  margin: 0 0 16px;
  color: var(--vg-pdp-ink);
  font-family: Archivo, Inter, Arial, sans-serif;
  font-size: clamp(33px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.038em;
  font-variant-numeric: tabular-nums;
}
body.brand-system.product-page .product-purchase .product-price small {
  display: block;
  margin: 9px 0 0;
  color: var(--vg-pdp-muted);
  font: 400 12px/1.55 Inter, Arial, sans-serif;
  letter-spacing: 0;
  white-space: normal;
}
body.brand-system.product-page .product-purchase .product-price small .reference-price {
  color: #c6bdc9;
}

/* Klarna est une modalité de paiement, pas l'élément central de la fiche.
   La mention légale reste entièrement visible et lisible. */
body.brand-system.product-page .product-copy .product-purchase .vg-klarna-offer {
  margin: 10px 0 17px;
  padding: 12px 13px;
  border: 1px solid rgba(227, 209, 224, .24);
  border-radius: 10px;
  background: rgba(250, 227, 241, .035);
  box-shadow: none;
}
body.brand-system.product-page .product-copy .product-purchase .vg-klarna-logo {
  background: #f2c9de;
  color: #2b202b;
  border-radius: 6px;
  box-shadow: none;
}
body.brand-system.product-page .product-copy .product-purchase .vg-klarna-headline {
  color: #f4edf3;
  font-weight: 600;
  letter-spacing: -.014em;
}
body.brand-system.product-page .product-copy .product-purchase .vg-klarna-legal {
  color: #d9ccd9;
  font-weight: 450;
  line-height: 1.52;
}

/* Les éléments fonctionnels existants restent exactement au même endroit. */
body.brand-system.product-page .product-purchase .variant-label {
  color: #d1c5d1;
  font-size: 12px;
}
body.brand-system.product-page .product-purchase .variant-label strong {
  color: var(--vg-pdp-ink);
  font-weight: 600;
}
body.brand-system.product-page .variant-switch.variant-photos > a:not(.vg-is-sold-out) {
  border-radius: 9px;
  transition: border-color .22s ease, background-color .22s ease;
}
body.brand-system.product-page .variant-switch.variant-photos > a.active {
  background: rgba(240, 200, 221, .06);
  border-color: rgba(239, 201, 224, .75);
}
body.brand-system.product-page .product-purchase .product-purchase-note {
  color: #c1b8c4;
  font-size: 12px;
  line-height: 1.5;
}
body.brand-system.product-page .product-purchase .purchase-reassurance {
  border-top-color: var(--vg-pdp-border);
  border-bottom-color: var(--vg-pdp-border);
}
body.brand-system.product-page .purchase-reassurance svg { color: var(--vg-pdp-rose); }
body.brand-system.product-page .purchase-reassurance strong { color: #f2ecf2; }
body.brand-system.product-page .purchase-reassurance small { color: #c1b6c4; }
body.brand-system.product-page .product-extra .product-lead {
  color: #d4cbd6;
  letter-spacing: -.008em;
}

/* Touches finales : uniquement l'espacement entre les DEUX blocs existants,
   aucune nouvelle section ni changement de taille des images. */
@media (max-width: 640px) {
  body.brand-system.product-page .product-shell { gap: 32px; }
  body.brand-system.product-page .product-carousel .gallery-main {
    border-radius: 14px;
  }
  body.brand-system.product-page .product-copy h1 {
    margin-bottom: 17px;
  }
  body.brand-system.product-page .product-copy h1 .product-kind {
    font-size: 12.5px;
    margin-bottom: 8px;
  }
  body.brand-system.product-page .product-copy h1 .product-title-game {
    font-size: clamp(34px, 9.4vw, 41px);
    line-height: 1.09;
    letter-spacing: -.045em;
  }
  body.brand-system.product-page .product-copy h1 .product-title-finish {
    margin-top: 11px;
    font-size: 15px;
  }
  body.brand-system.product-page .product-purchase .product-price {
    font-size: 34px;
    margin-bottom: 15px;
  }
  body.brand-system.product-page .product-purchase .product-price small {
    font-size: 12px;
    margin-top: 9px;
  }
  body.brand-system.product-page .product-copy .product-purchase .vg-klarna-offer {
    padding: 11px 12px;
    margin: 11px 0 16px;
  }
  body.brand-system.product-page .product-copy .product-purchase .vg-klarna-legal {
    font-size: 12px;
  }
  body.brand-system.product-page .purchase-reassurance strong { font-size: 12px; }
  body.brand-system.product-page .purchase-reassurance small { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  body.brand-system.product-page .variant-switch.variant-photos > a {
    transition: none;
  }
}

/* -----------------------------------------------------------------------
   V2 / Finition éditoriale : sections déjà présentes sous la photo.
   Pas de nouvelles cartes, pas de déplacement ni de changement de données.
   ----------------------------------------------------------------------- */

body.brand-system.product-page .product-story {
  background: #211b27;
}
body.brand-system.product-page .product-story .story-card {
  border: 1px solid rgba(246, 230, 241, .08);
  border-radius: 16px;
  background: #18141d;
}
body.brand-system.product-page .product-story .story-card.light {
  background: #e8e1e7;
  color: #302534;
  border-color: rgba(50, 39, 53, .075);
}
body.brand-system.product-page .product-story .story-card h2 {
  font-family: Archivo, Inter, Arial, sans-serif;
  font-size: clamp(32px, 3.7vw, 50px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}
body.brand-system.product-page .product-story .story-card p:not(.eyebrow) {
  color: #c8becb;
  font: 400 14px/1.65 Inter, Arial, sans-serif;
  letter-spacing: -.006em;
}
body.brand-system.product-page .product-story .story-card.light p:not(.eyebrow) {
  color: #665969;
}
body.brand-system.product-page .product-story .story-card .eyebrow {
  margin-top: 0;
  color: #e4b6d1;
  font: 650 10px/1.4 Inter, Arial, sans-serif;
  letter-spacing: .115em;
}
body.brand-system.product-page .product-story .story-card.light .eyebrow {
  color: #855d77;
}

/* Les sections explicatives deviennent des modules de catalogue, pas des
   panneaux de marketing à relief. Les grilles et leur ordre restent natifs. */
body.brand-system.product-page .pdp-section h2 {
  color: #f7f3f7;
  font-family: Archivo, Inter, Arial, sans-serif;
  font-size: clamp(33px, 4vw, 58px);
  font-weight: 650;
  line-height: 1.085;
  letter-spacing: -.047em;
  text-wrap: balance;
}
body.brand-system.product-page .pdp-section .eyebrow {
  margin-bottom: 13px;
  color: #dcabc5;
  font: 650 10px/1.45 Inter, Arial, sans-serif;
  letter-spacing: .12em;
}
body.brand-system.product-page .pdp-section .pdp-head > p:not(.eyebrow) {
  color: #c7bdca;
  font-size: 14px;
  line-height: 1.7;
}

body.brand-system.product-page .pdp-features {
  background: #1a161f;
}
body.brand-system.product-page .pdp-feature-photo {
  border-radius: 15px;
}
body.brand-system.product-page .pdp-feature-photo figcaption {
  padding-bottom: 23px;
}
body.brand-system.product-page .pdp-feature-photo figcaption strong {
  font-weight: 650;
  letter-spacing: -.022em;
}
body.brand-system.product-page .pdp-card {
  border: 1px solid rgba(242, 224, 238, .12);
  border-radius: 14px;
  background: rgba(252, 241, 248, .026);
  box-shadow: none;
  transform: none;
  transition: border-color .24s ease, background-color .24s ease;
}
body.brand-system.product-page .pdp-card:hover {
  transform: none;
  border-color: rgba(242, 224, 238, .18);
  background: rgba(252, 241, 248, .035);
}
body.brand-system.product-page .pdp-card h3 {
  font: 650 18px/1.25 Archivo, Inter, Arial, sans-serif;
  letter-spacing: -.02em;
}
body.brand-system.product-page .pdp-card p {
  color: #c7bdca;
  font-size: 13px;
  line-height: 1.62;
}
body.brand-system.product-page .pdp-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 3px;
  border: 1px solid rgba(232, 187, 213, .18);
  border-radius: 10px;
  background: rgba(232, 187, 213, .045);
  color: #e4bbd1;
}
body.brand-system.product-page .pdp-icon svg {
  width: 21px;
  height: 21px;
}
body.brand-system.product-page .pdp-platforms {
  border-top-color: rgba(241, 224, 238, .13);
}
body.brand-system.product-page .pdp-platforms .pdp-chip {
  border-color: rgba(238, 218, 232, .20);
  border-radius: 8px;
  background: transparent;
  color: #e8dfe9;
}

/* Boîte et rappel d'achat : une seule matière, sans cartes à effet verre. */
body.brand-system.product-page .pdp-box {
  background: #211a27;
}
body.brand-system.product-page .pdp-box-visual {
  border: 1px solid rgba(237, 218, 232, .1);
  border-radius: 16px;
  box-shadow: none;
}
body.brand-system.product-page .pdp-box-badge {
  border-radius: 6px;
  background: rgba(24, 19, 30, .78);
  color: #f2e1ec;
  letter-spacing: .095em;
}
body.brand-system.product-page .pdp-box-copy > p {
  color: #c9bfcc;
  line-height: 1.65;
}
body.brand-system.product-page .pdp-box-copy .included-list {
  border-top-color: rgba(239, 221, 234, .14);
}
body.brand-system.product-page .pdp-box-copy .included-list li {
  border-bottom-color: rgba(239, 221, 234, .14);
}
body.brand-system.product-page .pdp-buy {
  border: 1px solid rgba(239, 221, 234, .18);
  border-radius: 12px;
  background: rgba(247, 229, 241, .025);
  box-shadow: none;
}
body.brand-system.product-page .pdp-buy-price strong {
  color: #faf5f9;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
body.brand-system.product-page .pdp-buy-price small {
  color: #c3b8c7;
}
body.brand-system.product-page .pdp-trust {
  background: #1a161f;
}
body.brand-system.product-page .pdp-trust-item svg {
  color: #e1b8d0;
}
body.brand-system.product-page .pdp-trust-item strong {
  color: #f4edf4;
  font-weight: 650;
}
body.brand-system.product-page .pdp-trust-item small {
  color: #bfb5c2;
}

/* Les avis existants ne sont ni ajoutés, ni édités ni chiffrés ici :
   harmonisation de leurs seuls composants visuels. */
body.brand-system.product-page .pdp-reviews {
  background: #1e1923;
}
body.brand-system.product-page .pdp-reviews-summary {
  border: 1px solid rgba(240, 222, 236, .13);
  border-radius: 14px;
  background: rgba(248, 233, 245, .025);
  box-shadow: none;
}
body.brand-system.product-page .pdp-review {
  border: 1px solid rgba(240, 222, 236, .12);
  border-radius: 13px;
  background: rgba(248, 233, 245, .018);
  box-shadow: none;
}
body.brand-system.product-page .pdp-reviews-filters button {
  border-radius: 9px;
  transition: border-color .22s ease, color .22s ease, background-color .22s ease;
}
body.brand-system.product-page .pdp-reviews-filters button[aria-pressed="true"] {
  border-color: #e9bdd4;
  background: #e9bdd4;
  color: #2b222e;
}
body.brand-system.product-page .pdp-reviews-more {
  border-radius: 10px;
}

/* Barre d'achat et iOS : aucun relief persistant après un tap. */
body.brand-system.product-page .product-sticky[data-scroll-dock] {
  border-top: 1px solid rgba(246, 226, 240, .13);
  background: rgba(24, 20, 29, .965);
  box-shadow: none;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
body.brand-system.product-page .product-sticky[data-scroll-dock] .scroll-dock-copy span {
  color: #c4b8c6;
}
body.brand-system.product-page .product-sticky[data-scroll-dock] .scroll-dock-copy strong {
  color: #f8f4f8;
  font-variant-numeric: tabular-nums;
}
body.brand-system.product-page .pdp-reviews-filters button,
body.brand-system.product-page .pdp-reviews-more {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 640px) {
  body.brand-system.product-page .product-shell {
    gap: 27px;
  }
  body.brand-system.product-page .product-story .story-card {
    border-radius: 14px;
  }
  body.brand-system.product-page .product-story .story-card h2 {
    font-size: clamp(29px, 8.1vw, 37px);
    line-height: 1.11;
  }
  body.brand-system.product-page .product-story .story-card p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.6;
  }
  body.brand-system.product-page .pdp-section h2 {
    font-size: clamp(31px, 8vw, 42px);
    line-height: 1.1;
  }
  body.brand-system.product-page .pdp-card {
    border-radius: 12px;
    padding: 21px 20px;
  }
  body.brand-system.product-page .pdp-feature-photo {
    border-radius: 13px;
  }
  body.brand-system.product-page .pdp-box-visual {
    border-radius: 13px;
  }
  body.brand-system.product-page .pdp-reviews-summary,
  body.brand-system.product-page .pdp-review {
    border-radius: 12px;
  }
  body.brand-system.product-page .pdp-trust-item svg {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
  }
}

@media (hover: none) and (pointer: coarse) {
  body.brand-system.product-page .pdp-card:hover {
    transform: none;
    border-color: rgba(242, 224, 238, .12);
    background: rgba(252, 241, 248, .026);
  }
  body.brand-system.product-page .pdp-feature-photo:hover img {
    transform: none;
  }
  body.brand-system.product-page .pdp-reviews-filters button:hover:not([aria-pressed="true"]) {
    border-color: rgba(246, 226, 240, .2);
    background: transparent;
  }
  body.brand-system.product-page .pdp-reviews-more:hover {
    border-color: rgba(246, 226, 240, .25);
    background: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.brand-system.product-page .pdp-card,
  body.brand-system.product-page .pdp-reviews-filters button {
    transition: none;
  }
}

/* V3 — final thumbnail micro-finish, layered over the existing Vice City gallery.
   The storefront generator already loads the original carousel and image thumbs.
   Only soften the selected border and provide a graceful thumbnail-error state. */
body.brand-system.product-page[data-vg-pdp-colors]
.product-carousel.rockstar-thumb-ready.vg-native-image-thumbs
.splide__pagination__page.is-active {
  opacity: 1;
  border-color: #efc9de !important;
  background: rgba(255, 243, 250, .1) !important;
  box-shadow: 0 0 0 1px rgba(239, 201, 222, .22) !important;
}
body.brand-system.product-page[data-vg-pdp-colors]
.product-carousel.rockstar-thumb-ready.vg-native-image-thumbs
.splide__pagination__page img[hidden] {
  display: none !important;
}
body.brand-system.product-page[data-vg-pdp-colors]
.product-carousel.rockstar-thumb-ready.vg-native-image-thumbs
.splide__pagination__page.vg-thumb-error {
  display: grid;
  place-items: center;
  color: #f3e5f0;
}
body.brand-system.product-page[data-vg-pdp-colors]
.product-carousel.rockstar-thumb-ready.vg-native-image-thumbs
.splide__pagination__page.vg-thumb-error::before {
  content: attr(data-thumb-number);
  color: #ead9e8;
  font: 650 12px/1 Inter, Arial, sans-serif;
}
@media (hover:none), (pointer:coarse) {
  body.brand-system.product-page[data-vg-pdp-colors]
  .product-carousel.rockstar-thumb-ready.vg-native-image-thumbs
  .splide__pagination__page:hover:not(.is-active) {
    opacity: .76;
  }
}
