/* ============================================================================
   Catalogue produits (pages élève) — JMC Scolaire
   Valeurs reprises de la maquette « Catalogue Produits.dc.html ».
   Chargé après main.css dans templates/web/layout.html.twig.
   Namespace .pc-* : aucune règle existante n'est écrasée.

   Les couleurs que html.-dark-mode surcharge dans main.css (--color-dark-1,
   --color-light-4, --color-purple-3) sont posées en dur ; les autres
   réutilisent les variables de main.css.

   Mise en page fluide comme dans la maquette (auto-fill, flex-wrap, clamp()),
   avec une seule exception assumée : la section « Mobile » en fin de fichier.
   ========================================================================== */

/* ---- 1. Tokens ----------------------------------------------------------- */
.pc-catalog,
.pc-toast,
.pc-cart-overlay,
.pc-cart-toggle {
  --pc-ink: #140342;
  --pc-muted: var(--color-light-1);       /* #4F547B */
  --pc-page: var(--color-beige-1);        /* #FEFBF4 */
  --pc-line: #EFEBFF;
  --pc-line-soft: #ECE7FF;
  --pc-line-strong: #DCD2FF;
  --pc-chip-line: #E4E0F5;
  --pc-field: #F7F8FB;
  --pc-font-display: "Baloo 2", "Work Sans", sans-serif;
  --pc-font-text: "Work Sans", sans-serif;
  --pc-font-mono: "JetBrains Mono", ui-monospace, monospace;
  --pc-stripes: repeating-linear-gradient(45deg, #EEF2F6 0 7px, #E2E7EE 7px 14px);

  /* accent par défaut, redéfini par data-family */
  --pc-accent: var(--color-purple-1);
  --pc-accent-soft: #F1EDFE;
}

.pc-catalog {
  background-color: var(--pc-page);
  background-image: radial-gradient(#E7DFFB 1.1px, transparent 1.1px);
  background-size: 26px 26px;
  color: var(--pc-ink);
}

/* Familles : data-family posé sur la carte, la section, la modale, le chip,
   la puce de filtre et la ligne de panier. Ces règles ne posent que des
   variables : aucun autre élément du site n'utilise cet attribut. */
[data-family="tous"]     { --pc-accent: #140342; --pc-accent-soft: #F7F8FB; }
[data-family="pochette"] { --pc-accent: #6440FB; --pc-accent-soft: #F1EDFE; }
[data-family="portrait"] { --pc-accent: #7545F0; --pc-accent-soft: #F4F1FE; }
[data-family="objet"]    { --pc-accent: #E97D38; --pc-accent-soft: #FDF2EB; }
[data-family="classe"]   { --pc-accent: #3F8FE0; --pc-accent-soft: #EAF3FD; }
[data-family="livret"]   { --pc-accent: #0FA97A; --pc-accent-soft: #E8F8F2; }

/* ---- 2. Cadre polaroid (cartes, modale, coups de cœur, hero) ------------- */
/* .img-viewer est posé sur le cadre : le handler existant lit
   $(this).parent().find('img'), l'<img> du cadre est donc la première trouvée. */
.pc-photo {
  position: relative;
  display: block;
  width: 132px;
  padding: 8px 8px 24px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(20, 3, 66, .14);
  transform: rotate(-2deg);
  cursor: zoom-in;
  transition: transform .25s ease;
}
.pc-photo:hover { transform: rotate(1.5deg) scale(1.06); }
.pc-photo:focus-visible { outline: 3px solid var(--pc-accent); outline-offset: 3px; }

.pc-photo__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  background-image: var(--pc-stripes);
  pointer-events: none;
  user-select: none;
}
.pc-photo__img.-contain { object-fit: contain; background: #fff; }
/* photo de l'élève absente : silhouette centrée sur un fond neutre */
.pc-photo__img.-placeholder { object-fit: contain; padding: 16%; background: #EEF2F6; }
.pc-photo__img[data-nb] { filter: grayscale(100%); }

.pc-photo.-wide { width: 82%; }                      /* photos de groupe / fun */
.pc-photo.-wide .pc-photo__img { aspect-ratio: 3 / 2; }

.pc-photo__zoom {
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  font-family: var(--pc-font-display); font-weight: 700; font-size: 10.5px; line-height: 1.2;
  color: var(--pc-muted);
  pointer-events: none;
}
.pc-photo__zoom > span { font-size: 11px; }

/* pochette individuelle : elle imprime le portrait ET l'identité, les deux
   polaroids sont donc montrés côte à côte. Chacun garde .img-viewer, donc
   son propre agrandissement. */
.pc-photo-duo { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.pc-photo-duo__photos { display: flex; align-items: flex-start; justify-content: center; gap: 10px; }
.pc-photo.-duo { width: 104px; }
.pc-photo-duo__photos > .pc-photo:last-child { transform: rotate(2.5deg); }
.pc-photo-duo__photos > .pc-photo:last-child:hover { transform: rotate(-1deg) scale(1.06); }

/* nom de la photo, dans la marge basse du polaroid (modale) */
.pc-photo__caption {
  position: absolute;
  bottom: 6px; left: 4px; right: 4px;
  text-align: center;
  font-family: var(--pc-font-mono); font-size: 10px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--pc-muted);
  pointer-events: none;
}

/* même repère visuel que .pc-photo__zoom, mais commun aux deux cadres */
.pc-photo-duo__zoom {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  font-family: var(--pc-font-display); font-weight: 700; font-size: 10.5px; line-height: 1.2;
  color: var(--pc-muted);
  pointer-events: none;
}
.pc-photo-duo__zoom > span { font-size: 11px; }

/* ---- 3. Hero ------------------------------------------------------------- */
.pc-hero {
  position: relative;
  overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px;
  padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 36px);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(118deg, #6440FB 0%, #7545F0 52%, #9B6BFF 100%);
}
.pc-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
  pointer-events: none;
}
.pc-hero__content { position: relative; flex: 1 1 340px; min-width: 0; }
.pc-hero__media { position: relative; flex: 1 1 215px; display: flex; justify-content: center; }

.pc-hero__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  font-size: 13px; font-weight: 600; line-height: 1.5;
}
.pc-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* même gabarit que la puce de galerie, en plein pour être vue tout de suite */
.pc-hero__chip.-absent {
  background: var(--color-yellow-3);
  border-color: var(--color-yellow-3);
  color: #140342;
}
.pc-hero__title {
  max-width: 18ch;
  margin: 16px 0 10px;
  font-family: var(--pc-font-display); font-weight: 800;
  font-size: clamp(27px, 4.4vw, 40px); line-height: 1.1;
  color: #fff;
  text-wrap: pretty;
}
.pc-hero__text {
  max-width: 56ch;
  margin: 0 0 20px;
  font-size: 15.5px; line-height: 1.55;
  color: rgba(255, 255, 255, .92);
}
.pc-hero__steps { display: flex; flex-wrap: wrap; gap: 10px; }
.pc-hero__step {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: 13.5px; font-weight: 500; line-height: 1.4;
}
.pc-hero__step .dot {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px; color: #140342;
}
.pc-hero__step:nth-child(1) .dot { background: var(--color-green-1); }
.pc-hero__step:nth-child(2) .dot { background: var(--color-yellow-3); }
.pc-hero__step:nth-child(3) .dot { background: var(--color-blue-1); }

.pc-hero__req {
  padding: 2px 8px; border-radius: 999px;
  background: #fff; color: #6440FB;
  font-size: 11px; font-weight: 700; line-height: 1.4;
  text-transform: uppercase; letter-spacing: .03em;
}

.pc-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pc-hero__badge {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: 12.5px; font-weight: 500; line-height: 1.5;
}

.pc-photo.-hero {
  width: 215px;
  padding: 12px 12px 34px;
  border-radius: 6px;
  box-shadow: 0 22px 44px rgba(20, 3, 66, .32);
  transform: rotate(-4deg);
}
.pc-photo.-hero:hover { transform: rotate(-1deg) scale(1.04); }
/* polaroid décoratif (pas de portrait) : ni zoom, ni effet au survol */
.pc-photo.-static { cursor: default; }
.pc-photo.-hero.-static:hover { transform: rotate(-4deg); }
.pc-photo.-hero .pc-photo__img { aspect-ratio: 1 / 1; border-radius: 3px; }
.pc-photo.-hero .pc-photo__zoom { bottom: 8px; left: 12px; right: 12px; gap: 6px; font-size: 12px; }
.pc-photo.-hero .pc-photo__zoom > span { font-size: 13px; }
/* bout de scotch */
.pc-photo.-hero::after {
  content: "";
  position: absolute; top: -12px; left: 50%;
  width: 96px; height: 26px;
  background: rgba(236, 181, 62, .62);
  border-left: 1px dashed rgba(255, 255, 255, .5);
  border-right: 1px dashed rgba(255, 255, 255, .5);
  transform: translateX(-50%) rotate(-3deg);
}

/* ---- 4. Barre de filtres ------------------------------------------------- */
.pc-filters {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--pc-line-soft);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(20, 3, 66, .05);
}
.pc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-chip {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px;                       /* cible tactile (§11) */
  padding: 8px 16px;
  border: 1.5px solid var(--pc-chip-line);
  border-radius: 999px;
  background: #fff;
  color: var(--pc-ink);
  font-family: var(--pc-font-display); font-weight: 600; font-size: 14.5px; line-height: 1.3;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pc-chip:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(20, 3, 66, .12); }
.pc-chip.is-active { background: var(--pc-accent); border-color: var(--pc-accent); color: #fff; }
.pc-chip__count { font-family: var(--pc-font-text); font-size: 12px; opacity: .62; }

.pc-sort {
  display: flex; align-items: center; gap: 10px;
  margin-left: auto;              /* reste à droite, même quand il passe à la ligne */
  padding-right: 6px;
  font-size: 13.5px; color: var(--pc-muted);
}
.pc-sort__label { font-weight: 600; color: var(--pc-ink); }
.pc-sort select {
  padding: 8px 12px;
  border: 1.5px solid var(--pc-line-soft);
  border-radius: 10px;
  background: var(--pc-field);
  color: var(--pc-ink);
  font-family: var(--pc-font-text); font-size: 13.5px;
  cursor: pointer;
}

/* ---- 5. Coups de cœur ---------------------------------------------------- */
.pc-favs-section { margin-top: 30px; }
.pc-favs__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.pc-favs__icon { font-size: 22px; line-height: 1; }
.pc-favs__title {
  margin: 0;
  font-family: var(--pc-font-display); font-weight: 700; font-size: 25px; line-height: 1.2;
  color: inherit;
}
.pc-favs__note {
  padding: 4px 9px; border-radius: 6px;
  background: #FCEDCD;
  font-family: var(--pc-font-mono); font-size: 11px; color: var(--pc-muted);
}
.pc-favs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 18px;
}
.pc-fav {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1.5px solid var(--pc-line-strong);
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(20, 3, 66, .07);
  color: inherit;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pc-fav:hover { transform: translateY(-4px); box-shadow: 0 18px 32px rgba(20, 3, 66, .14); color: inherit; }
.pc-fav .pc-photo {
  flex: none;
  width: 80px;
  padding: 6px 6px 15px;
  box-shadow: 0 6px 14px rgba(20, 3, 66, .16);
  transform: rotate(-3deg);
  transition-duration: .22s;
}
.pc-fav .pc-photo:hover { transform: rotate(0deg) scale(1.08); }
.pc-fav .pc-photo__zoom { bottom: 1px; font-size: 10px; }
.pc-fav__text { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.pc-fav__family {
  font-family: var(--pc-font-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--pc-muted);
}
.pc-fav__title {
  margin: 0;
  font-family: var(--pc-font-display); font-weight: 700; font-size: 17.5px; line-height: 1.2;
  color: inherit;
  text-wrap: pretty;
}
.pc-fav__price { font-weight: 700; font-size: 17px; color: var(--color-purple-1); white-space: nowrap; }
.pc-fav__badge {
  position: absolute; top: -10px; right: 16px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--color-green-1); color: #140342;
  font-family: var(--pc-font-display); font-weight: 700; font-size: 12px; line-height: 1.4;
  box-shadow: 0 4px 10px rgba(20, 3, 66, .14);
}

/* ---- 6. Section famille -------------------------------------------------- */
.pc-section { margin-top: 44px; }
.pc-section__head { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.pc-section__emoji {
  width: 44px; height: 44px; flex: none; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pc-accent-soft);
  font-size: 22px; line-height: 1;
}
.pc-section__heading { min-width: 0; }
.pc-section__title {
  margin: 0;
  font-family: var(--pc-font-display); font-weight: 700; font-size: 26px; line-height: 1.15;
  color: inherit;
}
.pc-section__baseline { margin: 2px 0 0; font-size: 14px; line-height: 1.5; color: var(--pc-muted); }
.pc-section__rule {
  flex: 1 1 auto; height: 0;
  margin-top: 6px;
  border-top: 2px dashed var(--pc-accent);
  opacity: .35;
}

/* encart « pochette d'abord » : affiché tant qu'aucune pochette n'est au panier */
.pc-gate {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin-top: 18px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--pc-line-strong);
  border-left: 5px solid var(--color-purple-1);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(20, 3, 66, .05);
}
.pc-gate__icon { font-size: 26px; line-height: 1; }
.pc-gate__text { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pc-gate__text strong { font-family: var(--pc-font-display); font-weight: 700; font-size: 16.5px; line-height: 1.25; }
.pc-gate__text span { font-size: 13.5px; line-height: 1.45; color: var(--pc-muted); }
.pc-gate__cta {
  min-height: 44px; padding: 10px 18px;
  border: none; border-radius: 12px;
  background: var(--color-purple-1); color: #fff;
  font-family: var(--pc-font-display); font-weight: 700; font-size: 14.5px;
  cursor: pointer;
  transition: transform .18s ease;
}
.pc-gate__cta:hover { transform: translateY(-2px); }

/* encart d'offre sous un en-tête de famille (ex. offre fratrie) */
.pc-note {
  display: flex; align-items: center; gap: 10px;
  margin: 14px 0 0;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px dashed var(--pc-line-strong);
  border-radius: 14px;
  font-size: 13.5px; line-height: 1.5; color: var(--pc-ink);
}
.pc-note__icon { font-size: 16px; line-height: 1; }

/* ---- 7. Grille + carte produit ------------------------------------------ */
.pc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 244px), 1fr));
  gap: 20px;
  margin-top: 18px;
}
.pc-card-wrap { display: flex; min-width: 0; }

.pc-card {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--pc-line);
  border-radius: 20px;
  box-shadow: 0 10px 22px rgba(20, 3, 66, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
/* La modale produit vit DANS la carte (contrainte JS closest('.productCard')).
   Un ancêtre transformé capturerait son position: fixed et la couperait : la
   carte ne se soulève donc que tant que sa modale est fermée. Sans support de
   :has(), la règle est ignorée en bloc et la carte ne se soulève pas. */
.pc-card:not(:has(.pc-modal:not([hidden]))):hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 34px rgba(20, 3, 66, .14);
}
.pc-card:has(.pc-modal:not([hidden])) { transition: none; }

.pc-card__media {
  position: relative;
  min-height: 196px;
  padding: 26px 20px 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pc-accent-soft);
}
/* bout de scotch */
.pc-card__media::after {
  content: "";
  position: absolute; top: -8px; right: 22px;
  width: 62px; height: 22px;
  background: rgba(255, 255, 255, .72);
  border-left: 1px dashed rgba(20, 3, 66, .14);
  border-right: 1px dashed rgba(20, 3, 66, .14);
  transform: rotate(6deg);
}

.pc-card__tags { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 6px; }
.pc-tag {
  display: inline-block;
  padding: 4px 10px; border-radius: 7px;
  background: var(--pc-accent); color: #fff;
  font-family: var(--pc-font-display); font-weight: 700; font-size: 11.5px; line-height: 1.4;
  transform: rotate(-2deg);
  box-shadow: 0 3px 8px rgba(20, 3, 66, .16);
}
.pc-tag.-new { background: #140342; }

.pc-incart {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 999px;
  background: var(--color-green-1); color: #140342;
  font-family: var(--pc-font-display); font-weight: 700; font-size: 11.5px; line-height: 1.4;
}

.pc-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; padding: 14px 16px 16px; }
.pc-card__title {
  margin: 0;
  font-family: var(--pc-font-display); font-weight: 700; font-size: 17.5px; line-height: 1.22;
  color: inherit;
  text-wrap: pretty;
}
.pc-card__desc { margin: 0; font-size: 13.2px; line-height: 1.45; color: var(--pc-muted); text-wrap: pretty; white-space: pre-line; }
.pc-card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-card__price { font-weight: 700; font-size: 19px; color: var(--pc-ink); white-space: nowrap; }

/* ---- 8. Boutons ---------------------------------------------------------- */
.pc-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px;
  padding: 10px 16px;
  border: none; border-radius: 12px;
  background: var(--pc-accent); color: #fff;
  font-family: var(--pc-font-display); font-weight: 700; font-size: 14px; line-height: 1.2;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}
.pc-cta:hover { transform: translateY(-2px); filter: saturate(1.1); color: #fff; }
.pc-cta:focus-visible { outline: 3px solid #140342; outline-offset: 2px; }
.pc-cta.-lg {
  min-height: 56px;
  padding: 16px 24px; border-radius: 14px;
  font-weight: 800; font-size: 17px;
  box-shadow: 0 10px 22px rgba(100, 64, 251, .3);
}
.pc-cta.-lg:hover { transform: translateY(-2px); filter: none; }
.pc-cta.-disabled { background: #6A7A99; box-shadow: none; cursor: not-allowed; }
.pc-cta.-disabled:hover { transform: none; filter: none; }

/* bouton de carte : deux libellés, l'un masqué selon le verrou « pochette d'abord » */
.pc-cta__label { display: inline-flex; align-items: center; gap: 7px; }
.pc-cta__label.-locked,
.pc-card-wrap.is-locked .pc-cta__label.-open { display: none; }
.pc-card-wrap.is-locked .pc-cta__label.-locked { display: inline-flex; }
.pc-card-wrap.is-locked .pc-card__foot .pc-cta {
  background: #fff;
  color: var(--pc-ink);
  box-shadow: inset 0 0 0 2px var(--pc-line-strong);
}
.pc-card-wrap.is-locked .pc-card__foot .pc-cta:hover { color: var(--pc-ink); filter: none; }

.pc-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px;
  padding: 14px 22px;
  border: 2px solid #140342; border-radius: 14px;
  background: transparent; color: #140342;
  font-family: var(--pc-font-display); font-weight: 700; font-size: 15px; line-height: 1.2;
  cursor: pointer;
}
.pc-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border: 2px solid var(--pc-accent); border-radius: 12px;
  background: transparent; color: var(--pc-accent);
  font-family: var(--pc-font-display); font-weight: 700; font-size: 14.5px; line-height: 1.2;
  cursor: pointer;
}
.pc-btn-outline:hover { color: var(--pc-accent); }

/* ---- 9. Modale produit --------------------------------------------------- */
/* au-dessus du header (.header.-type-1 : z-index 100), sous swal (10000) */
.pc-modal {
  position: fixed; inset: 0; z-index: 1060;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(10px, 3vw, 24px);
  background: rgba(20, 3, 66, .52);
  color: #140342;
  text-align: left;
}
.pc-modal__dialog {
  width: min(880px, 100%);
  max-height: 88vh;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--pc-page);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(20, 3, 66, .4);
  animation: pcPop .22s ease both;
}

.pc-modal__head {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
  padding: clamp(18px, 3vw, 22px) clamp(18px, 3vw, 26px);
  border-radius: 24px 24px 0 0;
  background: var(--pc-accent-soft);
}
.pc-modal__head .pc-photo {
  flex: 0 1 176px;
  width: auto;
  padding: 10px 10px 28px;
  border-radius: 5px;
  box-shadow: 0 12px 26px rgba(20, 3, 66, .18);
  transform: rotate(-2.5deg);
}
.pc-modal__head .pc-photo:hover { transform: rotate(0deg) scale(1.03); }
.pc-modal__head .pc-photo.-wide { flex-basis: 260px; }
.pc-modal__head .pc-photo__img { border-radius: 3px; }
.pc-modal__head .pc-photo__zoom { bottom: 6px; left: 10px; right: 10px; gap: 5px; font-size: 11.5px; }
.pc-modal__head .pc-photo__zoom > span { font-size: 12px; }
.pc-modal__head .pc-photo-duo { flex: 0 1 262px; }
.pc-modal__head .pc-photo.-duo { flex: 0 0 auto; width: 120px; padding: 9px 9px 26px; }
.pc-modal__head .pc-photo__caption { bottom: 7px; font-size: 10.5px; }

.pc-modal__intro { flex: 1 1 300px; min-width: 0; }
.pc-modal__intro .pc-tag { padding: 4px 11px; font-size: 12px; transform: rotate(-1.5deg); box-shadow: none; }
.pc-modal__title {
  margin: 12px 0 8px;
  font-family: var(--pc-font-display); font-weight: 800; font-size: 27px; line-height: 1.15;
  color: inherit;
  text-wrap: pretty;
}
.pc-modal__desc { max-width: 52ch; margin: 0 0 10px; font-size: 14.5px; line-height: 1.5; color: var(--pc-muted); white-space: pre-line; }
.pc-modal__close {
  position: absolute; top: 14px; right: 16px;
  width: 44px; height: 44px;              /* cible tactile (§11) */
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 12px;
  background: rgba(255, 255, 255, .85); color: #140342;
  font-size: 17px; line-height: 1;
  cursor: pointer;
}

/* .add-product lit $(this).parent().find('input') : il doit rester enfant
   direct de ce conteneur. D'où une rangée flex à retour (chaque bloc sur sa
   ligne, CTA + « Continuer ma visite » côte à côte) plutôt qu'un wrapper. */
.pc-modal__body {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 12px;
  padding: 24px 26px 26px;
}
.pc-modal__body > * { flex: 1 1 100%; min-width: 0; }
/* modale plus haute que l'écran (mug sur mobile) : le bouton d'ajout reste
   collé en bas de la boîte de dialogue au lieu de passer sous la ligne de flottaison */
.pc-modal__body > .pc-cta.-lg { flex: 1 1 240px; position: sticky; bottom: 0; z-index: 2; }
.pc-modal__body > .pc-btn-ghost { flex: 0 1 auto; }
.pc-modal__body > .pc-btn-outline { flex: 0 0 auto; }
.pc-modal__legal { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--pc-muted); text-align: center; }

/* pavé quantité */
.pc-qty {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 18px;
  background: #fff;
  border: 1.5px solid var(--pc-line);
  border-radius: 16px;
}
.pc-qty__field { display: flex; align-items: center; gap: 14px; }
.pc-qty__label { font-family: var(--pc-font-display); font-weight: 700; font-size: 16px; }
.pc-qty__stepper {
  display: flex; align-items: center; gap: 6px;
  padding: 5px;
  background: var(--pc-field);
  border-radius: 12px;
}
.pc-qty__stepper button {
  width: 44px; height: 44px;              /* cible tactile (§11) */
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #140342; border-radius: 10px;
  background: #fff; color: #140342;
  font-size: 17px; font-weight: 600; line-height: 1;
  cursor: pointer;
}
.pc-qty__stepper input {
  width: 46px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent; color: #140342;
  font-family: var(--pc-font-text); font-weight: 700; font-size: 17px;
  text-align: center;
}
.pc-qty__summary { text-align: right; }
.pc-qty__caption { font-size: 12.5px; color: var(--pc-muted); }
.pc-qty__total { font-family: var(--pc-font-display); font-weight: 800; font-size: 24px; line-height: 1.3; color: var(--color-purple-1); }

/* ---- 9 bis. Sélecteurs de photo (pickers) ------------------------------- */
/*
  Le markup et les classes lues par picture-picker.js / mug-picker.js sont
  conservés (.picture-slot, .picture-thumb, .mug-slot[data-slot], .is-selected,
  .is-filled…) : seule la présentation change. Ne jamais poser de `display` sur
  .picture-slot__image / .mug-slot__image, que le JS montre et cache lui-même.
*/
.pc-picker { display: flex; flex-direction: column; gap: 12px; }
.pc-picker__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.pc-picker__title { margin: 0; font-family: var(--pc-font-display); font-weight: 700; font-size: 17px; line-height: 1.2; color: inherit; }
.pc-picker__hint { font-size: 13px; color: var(--pc-muted); }
.pc-picker__caption { font-family: var(--pc-font-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--pc-muted); }

.pc-picker__slots,
.pc-picker__thumbs { display: flex; flex-wrap: wrap; gap: 12px; }

.pc-picker__slot,
.pc-picker__thumb {
  position: relative;
  width: 124px;
  padding: 10px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: #fff;
  border-radius: 14px;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.pc-picker__slot { border: 2px dashed var(--pc-line-strong); }
.pc-picker__slot.is-filled { border-style: solid; border-color: var(--pc-accent); background: var(--pc-accent-soft); }
.pc-picker__thumb { border: 2.5px solid var(--pc-chip-line); }
.pc-picker__thumb:hover { transform: translateY(-3px); }
.pc-picker__thumb.is-selected { border-color: var(--pc-accent); background: var(--pc-accent-soft); }
/* pastille de sélection : le JS ne pose qu'une classe, le reste est décoratif */
.pc-picker__thumb.is-selected::after {
  content: "✓";
  position: absolute; top: -9px; right: -9px;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--pc-accent); color: #fff;
  font-size: 13px; font-weight: 700; line-height: 1;
  box-shadow: 0 3px 8px rgba(20, 3, 66, .18);
}

/*
  `contain` et non `cover` : le parent choisit une photo, il doit la voir en
  entier. Un cadre 3/4 parce que portraits, identités et fratries le sont
  presque toujours ; une photo paysage s'affiche alors avec deux bandes
  neutres, plutôt que rognée.
*/
.pc-picker__slot img,
.pc-picker__thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  border-radius: 8px;
  background: #EEF2F6;
}
.pc-picker__label,
.pc-picker__placeholder { font-family: var(--pc-font-display); font-weight: 700; font-size: 13.5px; color: var(--pc-ink); text-align: center; }
.pc-picker__note { font-family: var(--pc-font-mono); font-size: 10px; color: var(--pc-muted); }

.pc-picker__reset {
  align-self: flex-start;
  padding: 8px 14px; min-height: 44px;    /* cible tactile (§11) */
  border: 1.5px solid var(--pc-chip-line); border-radius: 10px;
  background: transparent; color: var(--pc-muted);
  font-family: var(--pc-font-text); font-size: 13px;
  cursor: pointer;
}
.pc-picker__reset:hover { color: var(--pc-ink); border-color: var(--pc-line-strong); }

/* ---- 9 ter. Aperçu photo plein écran ------------------------------------ */
/* au-dessus de la modale produit, qui peut rester ouverte derrière */
.pc-lightbox {
  position: fixed; inset: 0; z-index: 1090;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(14px, 4vw, 40px);
  background: rgba(20, 3, 66, .88);
  cursor: zoom-out;
  animation: pcFade .18s ease both;
}
.pc-lightbox__inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  cursor: default;
}
.pc-lightbox__frame {
  display: inline-flex; flex-direction: column;
  padding: clamp(10px, 1.6vw, 15px) clamp(10px, 1.6vw, 15px) clamp(8px, 1.2vw, 12px);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, .55);
  transform: rotate(-1.1deg);
  animation: pcPop .26s ease both;
}
/* pas de format imposé : le cadre épouse l'image (3/4, 1/1, 20×30 paysage).
   Les minima ne rognent aucune photo réelle ; ils évitent seulement un cadre
   minuscule et un filigrane illisible si une image ne se charge pas. */
.pc-lightbox__stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-width: 220px; min-height: 260px;
  overflow: hidden;
  border-radius: 3px;
  background-image: var(--pc-stripes);
}
.pc-lightbox__img {
  display: block;
  width: auto; height: auto;
  max-width: min(76vw, 460px);
  max-height: min(56vh, 580px);
}
.pc-lightbox__img.-nb { filter: grayscale(100%); }
.pc-lightbox__caption {
  min-height: 42px;
  padding: 12px 4px 6px;
  display: flex; align-items: center; justify-content: center;
  max-width: min(76vw, 460px);
  font-family: var(--pc-font-display); font-weight: 700; font-size: 16px;
  color: #140342; text-align: center; text-wrap: pretty;
}
.pc-lightbox__meta { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: min(76vw, 460px); }
.pc-lightbox__pill {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .26);
  color: #fff;
  font-family: var(--pc-font-mono); font-size: 11.5px; line-height: 1.4;
}
.pc-lightbox__pill.-accent {
  border-color: transparent;
  background: var(--color-purple-1);
  font-family: var(--pc-font-display); font-weight: 700; font-size: 12.5px;
}
.pc-lightbox__hint { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .62); text-align: center; }
.pc-lightbox__close {
  position: absolute; top: -8px; right: -8px;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; background: #fff; color: #140342;
  font-size: 17px; line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
  transition: transform .18s ease;
}
.pc-lightbox__close:hover { transform: scale(1.08); }

@keyframes pcFade { from { opacity: 0; } to { opacity: 1; } }

/* ---- 9 quater. Panier en panneau latéral -------------------------------- */
/* Bouton du header : le total ne doit jamais se couper (§14.4 bis). */
.pc-cart-toggle {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px;
  padding: 0 12px;
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-family: var(--pc-font-text); font-size: 14px; font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.pc-cart-toggle:hover { background: rgba(255, 255, 255, .2); transform: translateY(-1px); color: #fff; }
.pc-cart-toggle__icon { font-size: 17px; line-height: 1; }
.pc-cart-toggle__count {
  min-width: 26px; height: 26px;
  padding: 0 8px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-purple-1);
  font-size: 13px;
}
.pc-cart-toggle__total { color: var(--color-green-1); white-space: nowrap; }

/* au-dessus de la modale produit (1060), sous le toast et l'aperçu photo */
.pc-cart-overlay {
  position: fixed; inset: 0; z-index: 1065;
  display: flex; justify-content: flex-end;
  background: rgba(20, 3, 66, .46);
  animation: pcFade .2s ease both;
}
.pc-cart {
  display: flex; flex-direction: column;
  width: min(432px, 100%);              /* plein écran sur mobile, sans media query */
  background-color: var(--pc-page);
  background-image: radial-gradient(#ECE5FB 1.1px, transparent 1.1px);
  background-size: 22px 22px;
  color: var(--pc-ink);
  box-shadow: -20px 0 56px rgba(20, 3, 66, .34);
  animation: pcSlideRight .28s cubic-bezier(.22, 1, .36, 1) both;
}

.pc-cart__head {
  flex: none;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: #140342; color: #fff;
}
.pc-cart__icon { font-size: 23px; line-height: 1; }
.pc-cart__headtext { flex: 1 1 auto; min-width: 0; }
.pc-cart__title { margin: 0; font-family: var(--pc-font-display); font-weight: 800; font-size: 20px; line-height: 1.15; color: #fff; }
.pc-cart__baseline { margin: 2px 0 0; font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, .72); }
.pc-cart__close {
  flex: none;
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 17px; line-height: 1; cursor: pointer;
  transition: background .18s ease;
}
.pc-cart__close:hover { background: rgba(255, 255, 255, .28); }

.pc-cart__body { flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; padding: 16px; }

/* ligne de panier — rendue par _fragments/cart_item.html.twig */
.pc-cart__item {
  position: relative;
  display: flex; gap: 12px;
  margin-bottom: 12px;
  padding: 12px;
  background: #fff;
  border: 1.5px solid var(--pc-line);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(20, 3, 66, .05);
}
.pc-cart__thumb {
  flex: none;
  align-self: flex-start;
  width: 56px;
  padding: 4px 4px 11px;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 5px 12px rgba(20, 3, 66, .16);
  transform: rotate(-3deg);
}
.pc-cart__thumb img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  background-image: var(--pc-stripes);
}
/* .col est conservé autour de .qty (cible d'aperçu) : on neutralise Bootstrap */
.pc-cart__item .col.pc-cart__info {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding: 0;
  display: flex; flex-direction: column; gap: 5px;
}
.pc-cart__family {
  font-family: var(--pc-font-mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--pc-accent);
}
.pc-cart__name {
  padding-right: 38px;                  /* place pour la croix de suppression */
  font-family: var(--pc-font-display); font-weight: 700; font-size: 15.5px; line-height: 1.2;
  text-wrap: pretty;
}
.pc-cart__meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.pc-cart__stepper { display: flex; align-items: center; gap: 4px; padding: 3px; background: var(--pc-field); border-radius: 10px; }
.pc-cart__stepper button {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--pc-line-strong); border-radius: 10px;
  background: #fff; color: var(--pc-ink);
  font-size: 17px; font-weight: 600; line-height: 1;
  cursor: pointer;
}
.pc-cart__stepper button:disabled { opacity: .5; cursor: default; }
.pc-cart__qty { min-width: 58px; text-align: center; font-size: 12.5px; color: var(--pc-muted); }
.pc-cart__price { font-family: var(--pc-font-display); font-weight: 800; font-size: 16.5px; white-space: nowrap; }
.pc-cart__remove {
  position: absolute; top: 2px; right: 2px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; color: #9A97B5;
  font-size: 13px; line-height: 1; cursor: pointer;
  transition: color .18s ease;
}
.pc-cart__remove:hover { color: #D64545; }

/* état vide : le JS existant fait .hide()/.show(), donc pas de flex ici */
.pc-cart__empty { padding: 40px 10px 20px; text-align: center; }
.pc-cart__empty-frame {
  width: 118px; margin: 0 auto 20px;
  padding: 9px 9px 26px;
  border-radius: 5px; background: #fff;
  box-shadow: 0 12px 26px rgba(20, 3, 66, .14);
  transform: rotate(-4deg);
  font-size: 26px; color: var(--pc-line-strong);
}
.pc-cart__empty-frame::before {
  content: "";
  display: block;
  aspect-ratio: 3 / 4;
  border: 2px dashed var(--pc-line-strong);
  border-radius: 3px;
}
.pc-cart__empty-title { margin: 0 0 6px; font-family: var(--pc-font-display); font-weight: 700; font-size: 19px; color: inherit; }
.pc-cart__empty-text { margin: 0 auto 20px; max-width: 30ch; font-size: 14px; line-height: 1.5; color: var(--pc-muted); }
.pc-cart__empty-cta {
  min-height: 44px; padding: 13px 24px;
  border: none; border-radius: 13px;
  background: var(--color-purple-1); color: #fff;
  font-family: var(--pc-font-display); font-weight: 700; font-size: 15px;
  cursor: pointer;
  transition: transform .18s ease;
}
.pc-cart__empty-cta:hover { transform: translateY(-2px); }

/* avertissement : le paiement serait refusé (souvenirs sans pochette) */
.pc-cart__warning {
  display: block;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #FDECEC;
  color: #8A1C1C;
  font-size: 13px; line-height: 1.45;
}
.pc-cart__warning strong { display: block; margin-bottom: 2px; font-family: var(--pc-font-display); font-weight: 700; font-size: 14.5px; }
.pc-cart__warning-link { display: inline-block; margin-top: 6px; font-weight: 700; color: #8A1C1C; text-decoration: underline; }
.pc-cart__warning-link:hover { color: #5E0F0F; text-decoration: underline; }
.pc-cart__warning.is-flashing { animation: pcFlash .6s ease 2; }
@keyframes pcFlash { 50% { background: #F9C9C9; } }

/* pied : le JS existant fait .show(), qui impose display:block → pas de flex */
.pc-cart__foot {
  flex: none;
  padding: 15px 18px 18px;
  background: #fff;
  border-top: 1.5px solid var(--pc-line);
}
.pc-cart__line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-bottom: 9px;
  font-size: 14px; color: var(--pc-muted);
}
.pc-cart__amount { font-family: var(--pc-font-display); font-weight: 800; font-size: 20px; color: var(--color-purple-1); white-space: nowrap; }
.pc-cart__free { font-family: var(--pc-font-display); font-weight: 700; color: #0FA97A; }
.pc-cart__checkout {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 54px;
  margin-top: 4px; padding: 15px 20px;
  border: none; border-radius: 14px;
  background: var(--color-purple-1); color: #fff;
  font-family: var(--pc-font-display); font-weight: 800; font-size: 16.5px;
  text-align: center; cursor: pointer;
  box-shadow: 0 10px 22px rgba(100, 64, 251, .3);
  transition: transform .18s ease;
}
.pc-cart__checkout:hover { transform: translateY(-2px); color: #fff; }
.pc-cart__continue {
  display: block;
  width: 100%; min-height: 44px;
  margin-top: 9px; padding: 11px 20px;
  border: 2px solid var(--pc-line-soft); border-radius: 13px;
  background: transparent; color: var(--pc-ink);
  font-family: var(--pc-font-display); font-weight: 700; font-size: 14.5px;
  cursor: pointer;
}
.pc-cart__legal { margin: 10px 0 0; font-size: 11.5px; line-height: 1.4; color: var(--pc-muted); text-align: center; }

.pc-cart__checkout.-disabled {
  background: #C9C4DE;
  box-shadow: none;
  cursor: not-allowed;
}
.pc-cart__checkout.-disabled:hover { transform: none; }

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

/* ---- 10. Toast + confettis ---------------------------------------------- */
.pc-toast {
  position: fixed; bottom: 26px; left: 50%; z-index: 1070;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border-radius: 16px;
  background: #140342; color: #fff;
  box-shadow: 0 18px 40px rgba(20, 3, 66, .35);
  transform: translateX(-50%);
  animation: pcToastIn .2s ease both;
}
.pc-toast__icon { font-size: 20px; line-height: 1; }
.pc-toast__text { font-family: var(--pc-font-display); font-weight: 700; font-size: 15.5px; }

.pc-confetti { position: fixed; inset: 0; z-index: 1080; overflow: hidden; pointer-events: none; }
.pc-confetti__bit { position: absolute; top: -20px; border-radius: 2px; animation: pcConfetti 1.4s ease-in forwards; }

@keyframes pcPop {
  from { transform: scale(.96); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
/* le toast est centré par translateX(-50%) : l'animation doit le conserver */
@keyframes pcToastIn {
  from { transform: translateX(-50%) scale(.96); opacity: 0; }
  to   { transform: translateX(-50%) scale(1); opacity: 1; }
}
@keyframes pcConfetti {
  from { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  to   { transform: translate(var(--dx), 420px) rotate(var(--dr)); opacity: 0; }
}

/* ---- 11. Mouvement réduit ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .pc-card, .pc-photo, .pc-cta, .pc-chip, .pc-fav { transition: none; }
  .pc-modal__dialog, .pc-toast, .pc-lightbox, .pc-lightbox__frame,
  .pc-cart-overlay, .pc-cart, .pc-cart__warning.is-flashing { animation: none; }
  .pc-confetti { display: none; }
}

/* ---- 12. Mobile (< 576 px) ---------------------------------------------- */
/*
  Deux arbitrages UX par rapport à la maquette, qui est un rendu desktop :
  - grille en 2 colonnes compactes : l'offre se parcourt d'un coup d'œil au
    lieu de ~9 000 px de défilement ; format et description restent dans la
    modale, qui s'ouvre au toucher ;
  - modale en feuille ancrée en bas : pleine largeur, bouton d'ajout sous le pouce.
  Tout est ciblé sur la carte (.pc-card__media, .pc-card__foot…) : la modale
  vit DANS la carte et ne doit pas hériter de ces réductions.
*/
@media (max-width: 575px) {
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

  .pc-card__media { min-height: 0; padding: 32px 10px 14px; }
  .pc-card__media::after { display: none; }
  .pc-card__media .pc-photo { width: 92px; padding: 6px 6px 18px; }
  .pc-card__media .pc-photo.-wide { width: 92%; }
  .pc-card__media .pc-photo__zoom { font-size: 0; bottom: 2px; }   /* icône seule */
  .pc-card__media .pc-photo__zoom > span { font-size: 11px; }
  .pc-card__media .pc-photo.-duo { width: 66px; padding: 4px 4px 12px; }
  .pc-card__media .pc-photo-duo__photos { gap: 6px; }
  .pc-card__media .pc-photo-duo__zoom { font-size: 0; gap: 0; }    /* icône seule, comme ci-dessus */
  .pc-card__media .pc-photo-duo__zoom > span { font-size: 11px; }
  .pc-card__tags { top: 8px; left: 8px; }
  .pc-card__tags .pc-tag { font-size: 10px; padding: 3px 7px; }
  .pc-card__media .pc-incart { top: 8px; right: 8px; font-size: 10px; padding: 3px 7px; }

  .pc-card__body { gap: 6px; padding: 10px 10px 12px; }
  .pc-card__title {
    font-size: 14.5px;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .pc-card__desc { display: none; }
  .pc-card__foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 4px; }
  .pc-card__price { font-size: 16px; }
  .pc-card__foot .pc-cta { width: 100%; padding: 10px 8px; font-size: 13.5px; }

  .pc-modal { padding: 0; align-items: flex-end; }
  .pc-modal__dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    animation: pcSheetUp .26s cubic-bezier(.22, 1, .36, 1) both;
  }
  .pc-modal__head { border-radius: 20px 20px 0 0; }
}

@keyframes pcSheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
