/* ==========================================================================
   PRIME 1 STUDIO — Clone statique (usage personnel / apprentissage SEO)
   --------------------------------------------------------------------------
   Palette extraite du CSS officiel (base.css, nov. 2026) :
     --p1s-black:        #000000   texte principal, header
     --p1s-white:        #ffffff   fonds, texte inversé
     --p1s-navy:         #264064   bleu Prime 1 (accents, titres footer)
     --p1s-navy-dark:    #1a2d47   bleu nuit (hover, dégradés)
     --p1s-pink:         #ff006c   magenta CTA (précommande, prix accent)
     --p1s-pink-soft:    #ffeff6   fond magenta très clair (survol tags)
     --p1s-gray-1:       #f1f1f1   fond section alternée
     --p1s-gray-2:       #e8e8e8   bordures claires
     --p1s-gray-3:       #dddddd   bordures / séparateurs
     --p1s-gray-4:       #acacac   texte secondaire
     --p1s-gray-5:       #666666   texte courant secondaire
     --p1s-gray-6:       #333333   texte foncé
     --p1s-beige:        #e7e4de   fond promotionnel
     --p1s-blue-gray:    #667992   liens discrets
     --p1s-slate:        #6b6f78   texte footer

   Breakpoints officiels (mobile-first, bascule à 750/751px) :
     <= 450px   très petit mobile
     <= 750px   mobile (menu burger, slider plein écran)
     >= 751px   tablette/desktop
     <= 991px   tablette paysage
     >= 992px   desktop (header complet + dropdowns)
     >= 1481px  grand desktop (élargissement grilles)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. VARIABLES & RESET
   -------------------------------------------------------------------------- */
:root {
  --p1s-black: #000000;
  --p1s-white: #ffffff;
  --p1s-navy: #264064;
  --p1s-navy-dark: #1a2d47;
  --p1s-pink: #ff006c;
  --p1s-pink-soft: #ffeff6;
  --p1s-gray-1: #f1f1f1;
  --p1s-gray-2: #e8e8e8;
  --p1s-gray-3: #dddddd;
  --p1s-gray-4: #acacac;
  --p1s-gray-5: #666666;
  --p1s-gray-6: #333333;
  --p1s-beige: #e7e4de;
  --p1s-blue-gray: #667992;
  --p1s-slate: #6b6f78;

  --font-main: "Roboto", "Noto Sans JP", -apple-system, "Hiragino Sans",
    "BIZ UDPGothic", "Meiryo", "Arial", sans-serif;

  --header-h-mobile: 52px;
  --header-h-desktop: 108px; /* barre utilitaire + barre principale */
  --max-w: 1480px;
  --radius-s: 4px;
  --speed: 0.3s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* base.css ne définit pas html { font-size }. 1rem = 16px (défaut navigateur). */
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  /* body { font-family / font-weight / color } dans base.css, ligne du reset */
  font-family: "Roboto", "Noto Sans JP", -apple-system, "Hiragino Sans", "BIZ UDPGothic", "Meiryo", "Arial", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #666;
  background: #fff;
  background: var(--p1s-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Utilitaire accessibilité */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   1. HEADER
   Structure fidèle à l'original :
   .site-header
   ├── .header-utility  (liens rapides, visibles desktop)
   └── .header-main     (logo, icônes, navigation)
       └── .main-nav    (dropdowns PC)
   -------------------------------------------------------------------------- */
.site-header {
  /* .cmn-header : relative. .home .cmn-header, .product .cmn-header : absolute */
  position: relative;
  width: 100%;
  z-index: 99;
  background: transparent;
  border-bottom: 0;
}

body.home .site-header,
body.product .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

/* --- Barre utilitaire (desktop uniquement) --- */
.header-utility {
  display: none;
  background: var(--p1s-black);
  color: var(--p1s-white);
  font-size: 1.1rem;
}

.header-utility__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}

.header-utility__notice {
  color: var(--p1s-gray-4);
  letter-spacing: 0.02em;
}

.header-utility__links {
  display: flex;
  gap: 18px;
}

.header-utility__links a {
  color: var(--p1s-white);
  transition: color var(--speed);
}

.header-utility__links a:hover {
  color: var(--p1s-pink);
}

/* --- Barre principale --- */
.header-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  height: var(--header-h-mobile);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Logo — taille/position interchangeables : remplacer /assets/images/logo.svg */
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  width: 168px;
  height: auto;
  display: block;
}

/* Icônes d'action (recherche, compte, panier) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-action {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--p1s-black);
  transition: color var(--speed);
}

.header-action:hover {
  color: var(--p1s-pink);
}

.header-action svg {
  width: 22px;
  height: 22px;
}

/* Badge panier */
.header-action__badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--p1s-pink);
  color: var(--p1s-white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

/* Bouton burger (mobile) */
.header-burger {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.header-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--p1s-black);
  transition: transform var(--speed), opacity var(--speed);
}

.header-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.header-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Navigation principale (dropdowns) --- */
.main-nav {
  display: none; /* mobile : cachée, remplacée par le drawer burger */
}

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--speed);
}

.nav-item > a:hover,
.nav-item.is-open > a {
  color: var(--p1s-pink);
}

.nav-item > a .caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--speed);
}

.nav-item.is-open > a .caret {
  transform: rotate(225deg) translateY(-1px);
}

/* Mega-dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 640px;
  background: var(--p1s-white);
  border: 1px solid var(--p1s-gray-2);
  border-top: 3px solid var(--p1s-black);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--speed), transform var(--speed),
    visibility var(--speed);
}

.nav-dropdown--narrow {
  min-width: 260px;
  grid-template-columns: 1fr;
}

.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__col h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--p1s-navy);
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--p1s-gray-2);
}

.nav-dropdown__col li a {
  display: block;
  padding: 5px 0;
  font-size: 1.3rem;
  color: var(--p1s-gray-6);
  transition: color var(--speed), padding-left var(--speed);
}

.nav-dropdown__col li a:hover {
  color: var(--p1s-pink);
  padding-left: 6px;
}

.nav-dropdown__col li a.nav-dropdown__all {
  margin-top: 8px;
  font-weight: 700;
  color: var(--p1s-navy);
}

.nav-dropdown__col li a.nav-dropdown__all::after {
  content: " ›";
}

/* --- Drawer mobile --- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--p1s-white);
  overflow-y: auto;
  padding: 16px 20px 40px;
  transform: translateX(100%);
  transition: transform var(--speed);
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__close {
  margin-left: auto;
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  padding: 4px 8px;
}

.mobile-drawer details {
  border-bottom: 1px solid var(--p1s-gray-2);
}

.mobile-drawer summary {
  cursor: pointer;
  padding: 14px 4px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-drawer summary::after {
  content: "+";
  font-size: 1.8rem;
  color: var(--p1s-gray-4);
}

.mobile-drawer details[open] summary::after {
  content: "–";
}

.mobile-drawer__sub {
  padding: 0 4px 12px;
}

.mobile-drawer__sub a {
  display: block;
  padding: 7px 0;
  color: var(--p1s-gray-6);
  font-size: 1.3rem;
}

.mobile-drawer__sub a:hover {
  color: var(--p1s-pink);
}

.mobile-drawer__sub h4 {
  margin: 12px 0 6px;
  font-size: 1.2rem;
  color: var(--p1s-navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Barre de recherche (panneau dépliant) --- */
.search-panel {
  display: none;
  border-top: 1px solid var(--p1s-gray-2);
  background: var(--p1s-white);
  padding: 14px 16px;
}

.search-panel.is-open {
  display: block;
}

.search-panel__form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
}

.search-panel__input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--p1s-gray-3);
  border-radius: var(--radius-s);
  font-size: 1.4rem;
}

.search-panel__input:focus {
  outline: 2px solid var(--p1s-navy);
  outline-offset: 1px;
}

.search-panel__submit {
  height: 44px;
  padding: 0 22px;
  background: var(--p1s-black);
  color: var(--p1s-white);
  border-radius: var(--radius-s);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background var(--speed);
}

.search-panel__submit:hover {
  background: var(--p1s-pink);
}

/* --------------------------------------------------------------------------
   2. BOUTONS & ÉLÉMENTS PARTAGÉS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-s);
  transition: background var(--speed), color var(--speed),
    border-color var(--speed);
}

.btn--primary {
  /* .button-basic */
  padding: 12px 0;
  min-width: 230px;
  font-size: 0.875rem;
  line-height: 1.3571428571;
  font-weight: 500;
  color: #fff;
  background-color: #264064;
  border-radius: 6px;
  letter-spacing: normal;
  text-transform: none;
}

.btn--primary:hover {
  background-color: #667992;
}

.btn--dark {
  background: var(--p1s-black);
  color: var(--p1s-white);
}

.btn--dark:hover {
  background: var(--p1s-pink);
}

.btn--outline {
  border: 1px solid var(--p1s-black);
  color: var(--p1s-black);
  background: var(--p1s-white);
}

.btn--outline:hover {
  border-color: var(--p1s-pink);
  color: var(--p1s-pink);
}

/* Tags d'état produit */
.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
}

.tag--preorder {
  background: var(--p1s-pink);
  color: var(--p1s-white);
}

.tag--coming {
  background: var(--p1s-navy);
  color: var(--p1s-white);
}

.tag--bonus {
  background: var(--p1s-black);
  color: var(--p1s-white);
}

/* Titres de section, centrés avec filet — fidèle à l'original */
.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--p1s-gray-5);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

/* --------------------------------------------------------------------------
   3. HOMEPAGE — HERO / CARROUSEL PRINCIPAL
   Reproduction du <section class="home-main-visual"><ul class="slider">
   (Slick sur l'original — ici vanilla JS, voir main.js)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--p1s-black);
}

.hero__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
}

.hero__slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Overlay dégradé pour lisibilité du libellé */
.hero__slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
  pointer-events: none;
}

.hero__caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  color: var(--p1s-white);
  max-width: 70%;
}

.hero__caption-line {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p1s-gray-3);
}

.hero__caption-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Flèches */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  transition: background var(--speed);
}

.hero__arrow:hover {
  background: var(--p1s-white);
}

.hero__arrow svg {
  width: 20px;
  height: 20px;
}

.hero__arrow--prev {
  left: 16px;
}

.hero__arrow--next {
  right: 16px;
}

/* Puces */
.hero__dots {
  position: absolute;
  bottom: 14px;
  right: 20px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background var(--speed), transform var(--speed);
}

.hero__dot.is-active {
  background: var(--p1s-pink);
  transform: scale(1.25);
}

/* --------------------------------------------------------------------------
   4. HOMEPAGE — GRILLE PRODUITS
   -------------------------------------------------------------------------- */
.section {
  padding: 56px 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section--gray {
  background: var(--p1s-gray-1);
  max-width: none;
}

.section--gray .section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-card {
  position: relative;
  display: block;
  background: var(--p1s-white);
  border: 1px solid var(--p1s-gray-2);
  border-radius: var(--radius-s);
  overflow: hidden;
  transition: box-shadow var(--speed), transform var(--speed);
}

.product-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--p1s-gray-1);
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__flags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-card__body {
  padding: 14px 14px 18px;
}

.product-card__line {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--p1s-navy);
  margin-bottom: 4px;
}

.product-card__name {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.product-card__series {
  font-size: 1.2rem;
  color: var(--p1s-gray-5);
  margin-bottom: 10px;
}

.product-card__price {
  /* prix des cartes : même gris que .home-card-detail mobile (#666), pas le rose d'erreur */
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}

.product-card__price s {
  color: var(--p1s-gray-4);
  font-weight: 400;
  font-size: 1.3rem;
  margin-right: 8px;
}

/* --------------------------------------------------------------------------
   5. HOMEPAGE — BANNIÈRE PROMO & NEWS
   -------------------------------------------------------------------------- */
.promo-banner {
  display: block;
  position: relative;
  margin: 0 auto;
  max-width: var(--max-w);
  overflow: hidden;
}

.promo-banner img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}

.promo-banner:hover img {
  transform: scale(1.02);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.news-card {
  display: block;
  background: var(--p1s-white);
  border: 1px solid var(--p1s-gray-2);
  border-radius: var(--radius-s);
  overflow: hidden;
  transition: box-shadow var(--speed);
}

.news-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.news-card__media {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--p1s-gray-1);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-card:hover .news-card__media img {
  transform: scale(1.04);
}

.news-card__body {
  padding: 16px;
}

.news-card__date {
  font-size: 1.1rem;
  color: var(--p1s-gray-4);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.news-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   6. FOOTER
   Fidèle à .cmn-footer : blocs de liens + newsletter + réseaux + paiements
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--p1s-navy-dark);
  color: var(--p1s-white);
  margin-top: 64px;
}

.footer-newsletter {
  background: var(--p1s-navy);
  padding: 36px 16px;
  text-align: center;
}

.footer-newsletter__title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-newsletter__text {
  color: var(--p1s-gray-3);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.footer-newsletter__form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 8px;
}

.footer-newsletter__input {
  flex: 1;
  height: 46px;
  padding: 0 14px;
  border: none;
  border-radius: var(--radius-s);
  font-size: 1.4rem;
}

.footer-newsletter__submit {
  height: 46px;
  padding: 0 24px;
  background: var(--p1s-pink);
  color: var(--p1s-white);
  border-radius: var(--radius-s);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--speed);
}

.footer-newsletter__submit:hover {
  background: var(--p1s-black);
}

.footer-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 16px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-col h3 {
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--p1s-white);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col li a {
  display: block;
  padding: 5px 0;
  color: var(--p1s-gray-3);
  font-size: 1.3rem;
  transition: color var(--speed);
}

.footer-col li a:hover {
  color: var(--p1s-pink);
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo img {
  width: 180px;
}

.footer-text {
  color: var(--p1s-gray-4);
  font-size: 1.2rem;
  line-height: 1.7;
}

/* Réseaux sociaux */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--p1s-white);
  transition: background var(--speed), border-color var(--speed);
}

.footer-social a:hover {
  background: var(--p1s-pink);
  border-color: var(--p1s-pink);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* Bas de footer : paiements + copyright */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 16px;
  text-align: center;
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.footer-payments span {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--p1s-gray-3);
}

.footer-copyright {
  font-size: 1.1rem;
  color: var(--p1s-gray-4);
}

/* --------------------------------------------------------------------------
   7. LIGHTBOX (galerie produits + utilitaire global)
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox__img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  color: var(--p1s-white);
  font-size: 3.2rem;
  line-height: 1;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--p1s-white);
  font-size: 4rem;
  padding: 12px;
  opacity: 0.7;
  transition: opacity var(--speed);
}

.lightbox__prev:hover,
.lightbox__next:hover {
  opacity: 1;
}

.lightbox__prev {
  left: 12px;
}

.lightbox__next {
  right: 12px;
}

.lightbox__counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--p1s-gray-3);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   8. BOUTON "PAGE UP" (retour haut, présent sur l'original : page_up.js)
   -------------------------------------------------------------------------- */
.page-up {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--p1s-black);
  color: var(--p1s-white);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: background var(--speed), opacity var(--speed);
}

.page-up.is-visible {
  display: flex;
}

.page-up:hover {
  background: var(--p1s-pink);
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE — bascules officielles
   -------------------------------------------------------------------------- */

/* Tablette */
@media (min-width: 600px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Bascule officielle mobile -> desktop : 751px */
@media (min-width: 751px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .hero__caption-title {
    font-size: 3rem;
  }
}

/* Desktop : header complet + dropdowns */
@media (min-width: 992px) {
  .header-utility {
    display: block;
  }
  .header-main {
    height: 74px;
    padding: 0 24px;
  }
  .header-burger {
    display: none;
  }
  .main-nav {
    display: block;
  }
  .header-logo img {
    width: 200px;
  }
  .news-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-main {
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 40px;
  }
}

/* Très grands écrans */
@media (min-width: 1481px) {
  .section {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Réduction des animations si préférence utilisateur */
@media (prefers-reduced-motion: reduce) {
  .hero__track,
  .product-card,
  .product-card__media img {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   10. PAGES CATÉGORIE — fil d'Ariane, en-tête, état vide
   -------------------------------------------------------------------------- */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 16px 0;
  font-size: 1.2rem;
  color: var(--p1s-gray-5);
}

.breadcrumb a:hover {
  color: var(--p1s-pink);
}

.breadcrumb span[aria-current] {
  color: var(--p1s-black);
}

.page-head {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 16px 8px;
}

.page-head h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.page-head__kicker {
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p1s-navy);
  margin-bottom: 6px;
}

.page-head__intro {
  max-width: 760px;
  margin-top: 12px;
  color: var(--p1s-gray-6);
  font-size: 1.5rem;
}

.page-head__count {
  margin-top: 10px;
  color: var(--p1s-gray-4);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}

.empty-state {
  border: 1px dashed var(--p1s-gray-3);
  background: var(--p1s-gray-1);
  padding: 48px 24px;
  text-align: center;
  color: var(--p1s-gray-5);
}

.empty-state a {
  color: var(--p1s-navy);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   11. FICHE PRODUIT
   Colonne galerie + colonne achat, puis onglets et produits liés.
   -------------------------------------------------------------------------- */
.product {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 16px 0;
  display: grid;
  gap: 28px;
}

.gallery__hero {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--p1s-gray-1);
  cursor: zoom-in;
  border: 1px solid var(--p1s-gray-2);
}

.gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery__thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--p1s-gray-3);
  cursor: zoom-in;
  background: var(--p1s-gray-1);
}

.gallery__thumbs img:hover {
  border-color: var(--p1s-pink);
}

.buy__line {
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p1s-navy);
  margin-bottom: 6px;
}

.buy__line a:hover {
  color: var(--p1s-pink);
}

.buy h1 {
  font-size: 2.6rem;
  line-height: 1.25;
  margin-bottom: 6px;
}

.buy__work {
  color: var(--p1s-gray-5);
  margin-bottom: 16px;
}

.buy__edition {
  font-weight: 700;
  margin-bottom: 14px;
}

.buy__price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--p1s-pink);
  margin: 8px 0 16px;
}

.buy__versions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.buy__version {
  border: 1px solid var(--p1s-black);
  padding: 8px 14px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.buy__version.is-current {
  background: var(--p1s-black);
  color: var(--p1s-white);
}

.buy .btn {
  width: 100%;
  margin-bottom: 14px;
}

.buy__note {
  font-size: 1.3rem;
  color: var(--p1s-gray-6);
  margin-bottom: 6px;
}

.buy__code {
  margin-top: 12px;
  font-size: 1.2rem;
  color: var(--p1s-gray-4);
  letter-spacing: 0.08em;
}

/* Onglets */
.product-tabs {
  max-width: var(--max-w);
  margin: 36px auto 0;
  padding: 0 16px;
}

.product-tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--p1s-gray-3);
  overflow-x: auto;
}

.product-tabs__nav button {
  padding: 14px 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--p1s-gray-5);
  border-bottom: 3px solid transparent;
}

.product-tabs__nav button.is-active {
  color: var(--p1s-black);
  border-bottom-color: var(--p1s-pink);
}

.product-tabs__panel {
  display: none;
  padding: 28px 0 8px;
  font-size: 1.5rem;
  line-height: 1.75;
  color: var(--p1s-gray-6);
}

.product-tabs__panel.is-active {
  display: block;
}

.product-tabs__panel p + p {
  margin-top: 16px;
}

.product-tabs__panel h2 {
  font-size: 1.6rem;
  margin: 22px 0 8px;
  color: var(--p1s-black);
}

.product-tabs__panel ul {
  margin: 8px 0 0 18px;
  list-style: disc;
}

.product-tabs__panel li + li {
  margin-top: 4px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--p1s-gray-2);
  vertical-align: top;
}

.spec-table th {
  width: 38%;
  color: var(--p1s-navy);
  font-weight: 700;
}

.spec-table a:hover {
  color: var(--p1s-pink);
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: var(--p1s-black);
  margin-top: 8px;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.related {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 16px 0;
}

@media (min-width: 992px) {
  .product {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 48px;
    padding-top: 8px;
  }

  .page-head h1,
  .buy h1 {
    font-size: 3.2rem;
  }
}

/* Liens vers les sous-catégories, au-dessus de la grille */
.child-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.child-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--p1s-gray-2);
  background: var(--p1s-white);
  padding: 14px 16px;
  font-weight: 700;
  transition: border-color var(--speed), color var(--speed);
}

.child-links a:hover {
  border-color: var(--p1s-pink);
  color: var(--p1s-pink);
}

.child-links span {
  color: var(--p1s-gray-4);
  font-weight: 400;
  font-size: 1.2rem;
}

@media (min-width: 751px) {
  .child-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   12. FIDÉLITÉ — mesures reprises de base.css (nov. 2026)
   Breakpoint principal du site : 991px / 992px.
   Header 80px (desktop) / 60px (mobile), fond blanc 70% + blur.
   Footer #ddd, motif SVG officiel, liens #666.
   Bouton précommande #264064, rayon 6px. Prix en noir.
   -------------------------------------------------------------------------- */
body {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  background: #fff;
}

@media screen and (max-width: 991px) {
  body {
    font-size: 4.2666666667vw;
    line-height: 1.375;
  }
}

body.product main {
  padding-top: 60px;
}

.site-header {
  border-bottom: 0;
  background: transparent;
}

.header-main {
  position: relative;
  height: 60px;
  max-width: none;
  padding: 0 10px 0 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.header-logo {
  position: absolute;
  left: 15px;
  top: 12px;
  z-index: 2;
}

.header-logo img {
  /* SVG officiel : 301 × 46 */
  width: auto;
  height: 32px;
}

.header-actions {
  margin-left: auto;
  gap: 0;
  padding-right: 4px;
}

.header-action {
  width: 36px;
  height: 36px;
  color: #000;
}

.header-action:hover {
  color: #000;
}

.header-action svg {
  width: 36px;
  height: 36px;
}

.header-burger {
  width: 36px;
  height: 36px;
  gap: 5px;
}

.header-action__badge {
  /* pastille panier : background-color #ff006c, 16px, rayon 8px, 0.625rem */
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background-color: #ff006c;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 16px;
  top: 0;
  right: 0;
}

.main-nav {
  display: none;
}

.nav-item > a {
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #000;
  line-height: 2.125;
}

.nav-item > a:hover,
.nav-item.is-open > a {
  color: #000;
  text-decoration: none;
}

.nav-item.is-open > a {
  box-shadow: inset 0 -2px 0 #000;
}

.nav-item > a .caret {
  display: none;
}

/* Méga-menu plein écran : voile noir + feuille blanche, comme navigation-pc */
.nav-dropdown,
.nav-dropdown.nav-dropdown--narrow {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  min-width: 0;
  transform: none;
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: rgba(0, 0, 0, 0.5);
  grid-template-columns: none;
}

.nav-item.is-open .nav-dropdown {
  transform: none;
}

.nav-dropdown__sheet {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 48px;
  background: #fff;
}

.nav-dropdown__col {
  width: 240px;
}

.nav-dropdown__col h3 {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 2px solid #ccc;
  margin-bottom: 12px;
}

.nav-dropdown__col li a {
  color: #666;
  font-size: 16px;
  line-height: 1.25;
  padding: 6px 0;
}

.nav-dropdown__col li a:hover {
  color: #000;
  padding-left: 0;
  text-decoration: underline;
}

.search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 130;
  background: #fff;
  border-top: 0;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.search-panel__submit {
  background: #264064;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.search-panel__submit:hover {
  background: #667992;
}

/* Bannière : ratio officiel 2112×1122, sans titre par-dessus l'image */
.hero {
  max-width: 1920px;
  margin: 0 auto;
  background: #111;
}

.hero__slide img {
  width: 100%;
  aspect-ratio: 750 / 1000;
  object-fit: cover;
  object-position: center bottom;
  background: #1a1a1a;
}

.hero__slide::after,
.hero__caption {
  display: none;
}

.hero__arrow {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
}

.hero__dot.is-active {
  background: #000;
  transform: none;
}

/* Grille accueil : tuiles larges, masque noir au survol (card-mask) */
.section {
  max-width: 1920px;
  padding: 20px 30px 40px;
}

.section-title {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #000;
}

.section-subtitle {
  color: #666;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 2%;
}

.product-card {
  flex: 0 0 48%;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.product-card:hover {
  box-shadow: none;
  transform: none;
}

.product-card__media {
  aspect-ratio: auto;
  background: #f1f1f1;
}

.product-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transform: none;
}

.product-card:hover .product-card__media img {
  transform: none;
  opacity: 0.7;
}

.product-card__body {
  padding: 8px 0 0;
}

.product-card__line,
.product-card__series {
  display: none;
}

.product-card__name {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  min-height: 0;
  -webkit-line-clamp: 3;
}

.product-card__price {
  color: #666;
  font-size: 13px;
  font-weight: 400;
}

.product-card__flags {
  top: 8px;
  left: 8px;
}

.tag--preorder,
.tag--bonus,
.tag--coming {
  background: #264064;
  border-radius: 0;
}

/* Footer clair + motif */
.site-footer {
  margin-top: 80px;
  padding-top: 46px;
  background: #fff;
  color: #666;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 110px;
  background: url("../assets/images/footer_pattern.svg") repeat-x top center;
  background-size: auto 100%;
  pointer-events: none;
}

.footer-main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: none;
  margin: 0;
  padding: 64px 20px 28px;
  background: #ddd;
}

.footer-col h3,
.footer-label {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0;
  margin: 16px 0 0;
  line-height: 2.25;
}

.footer-logo {
  display: block;
  width: 180px;
  margin: 0 auto 8px;
}

.footer-text {
  display: none;
}

.footer-col li a {
  color: #666;
  font-size: 16px;
  line-height: 1.25;
  padding: 0;
}

.footer-col li + li {
  margin-top: 12px;
}

.footer-col li a:hover {
  color: #000;
  text-decoration: underline;
}

.footer-newsletter__form {
  display: flex;
  max-width: none;
  height: 44px;
  margin-top: 16px;
  gap: 0;
}

.footer-newsletter__input {
  flex: 1;
  height: 44px;
  border: 0;
  border-radius: 0;
  padding: 0 12px;
  background: #fff;
}

.footer-newsletter__submit {
  width: 24px;
  height: 44px;
  padding: 0;
  border-radius: 0;
  background: #666;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.footer-newsletter__submit:hover {
  background: #000;
}

.footer-social {
  gap: 18px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
  color: #666;
}

.footer-social a:hover {
  background: transparent;
  color: #000;
}

.footer-social svg {
  width: 28px;
  height: 28px;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  background: #ddd;
  border-top: 0;
  padding: 0 16px 20px;
}

.footer-payments span {
  background: transparent;
  color: #666;
  padding: 0 6px;
}

.footer-copyright {
  color: #666;
  font-size: 12px;
}

/* Fiche : galerie 3:2 desktop, prix noir, bouton navy */
.gallery__hero {
  aspect-ratio: 1 / 1;
  border: 0;
  cursor: zoom-in;
}

.gallery__thumbs img {
  width: auto;
  height: 60px;
  border: 0;
}

.buy__price {
  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
}

.buy .btn--primary {
  min-height: 55px;
  background: #264064;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-size: 16px;
}

.buy .btn--primary:hover {
  background: #667992;
}

.buy__version.is-current {
  background: #264064;
  border-color: #264064;
}

.lightbox {
  background: rgba(11, 11, 11, 0.8);
}

.page-head h1,
.buy h1 {
  /* .product-content__detail-col__work-name h1 */
  color: #000;
  font-size: 2.25rem;
  line-height: 1.1666666667;
  font-weight: 700;
  letter-spacing: 0;
}

.buy__work {
  /* .product-content__detail-col__work */
  color: #666;
  font-size: 0.875rem;
  line-height: 1.1428571429;
  font-weight: 400;
}

.buy__price {
  color: #000;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

@media (min-width: 992px) {
  .header-main {
    height: 80px;
    padding: 0;
  }

  .header-logo {
    position: static;
    padding-left: 25px;
    min-width: 60px;
  }

  .header-logo img {
    width: auto;
    height: 46px;
  }

  .header-burger {
    display: none;
  }

  .main-nav {
    display: block;
  }

  .nav-list {
    gap: 0;
  }

  .nav-item + .nav-item {
    /* .cmn-header__main__list li + li */
    margin-left: max(min(2px + 48 * (100vw - 992px) / 323, 50px), 20px);
  }

  body.product main {
    padding-top: 80px;
  }

  .header-actions {
    padding-right: 40px;
    padding-left: 40px;
  }

  .hero__slide img {
    aspect-ratio: 2112 / 1122;
  }

  .product-grid {
    gap: 20px;
  }

  .product-card {
    position: relative;
    flex: 1 1 31%;
    max-width: 500px;
  }

  .product-card__media {
    position: relative;
    overflow: hidden;
  }

  .product-card__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1;
  }

  .product-card:hover .product-card__media::before {
    transform: translateY(0);
  }

  .product-card:hover .product-card__media img {
    opacity: 1;
  }

  .product-card__body {
    position: absolute;
    left: 40px;
    bottom: 40px;
    z-index: 2;
    width: calc(100% - 80px);
    padding: 0;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .product-card:hover .product-card__body {
    opacity: 1;
  }

  .product-card__name,
  .product-card__price {
    color: #fff;
  }

  .product-card__name {
    font-size: 24px;
    line-height: 1.25;
  }

  .product-card__price {
    font-size: 18px;
  }

  .site-footer {
    padding-top: 81px;
  }

  .site-footer::before {
    height: 164px;
  }

  .footer-main {
    flex-direction: row;
    justify-content: center;
    gap: 0;
    max-width: 1240px;
    margin: 0 auto;
    padding: 83px 20px 36px;
  }

  .footer-col {
    width: 210px;
    margin-left: 3%;
  }

  .footer-col:first-child {
    margin-left: 0;
    width: 240px;
  }

  .footer-logo {
    width: 240px;
  }

  .footer-copyright {
    font-size: 14px;
  }

  .product {
    grid-template-columns: 65% 30%;
    justify-content: space-between;
    gap: 0;
  }

  .gallery__hero {
    aspect-ratio: 100 / 66.75;
  }

  .gallery__thumbs img {
    height: 80px;
  }
}

@media (min-width: 1481px) {
  .header-logo {
    min-width: 301px;
  }

  .header-logo img {
    width: 301px;
    height: 46px;
  }
}

@media screen and (max-width: 991px) {
  .buy h1 {
    font-size: 8.5333333333vw;
    line-height: 1.1875;
  }

  .buy__work {
    font-size: 3.7333333333vw;
  }

  .buy__price {
    font-size: 5.3333333333vw;
    margin-top: 8%;
    margin-bottom: 8%;
  }

  .product-card__name {
    font-size: 3.7333333333vw;
    line-height: 1.2857142857;
  }

  .product-card__price {
    font-size: 3.2vw;
    line-height: 1.5;
  }

  .btn--primary {
    min-width: 0;
    font-size: 3.7333333333vw;
  }
}
