/* ============================================================
   Boutique publique — avis clients et « Pour mes clients »
   (page vitrine, volet L6b, 23 oct 2026, d'après « ZIC Profil Nouvelle
   version »). Chargé juste après landing-public-shop.css.

   Préfixes :
   - .zh-shop-rv-*  : section « Ce qu'en disent les clients » (#zh-shop-reviews)
   - .zh-shop-rvm-* : modale d'avis (composant .zh-shop-dlg* de
                      landing-public-shop.css : fenêtre ≥ 720 px, feuille du
                      bas < 720 px), z-index 1600
   - .zh-shop-cl-*  : « Pour mes clients » (Drop, Live, Suivre)

   Thème : jetons --zh-shop-* (redéclarés depuis --pp-* sur la racine boutique
   ET sur chaque couche <body>) + --pp-star / --pp-success-ink : clair et
   sombre sans règle propre au thème. Aucun overflow / transform / z-index sur
   les ancêtres du panneau ; survols sous (hover: hover), cibles de 44 px sous
   (pointer: coarse), prefers-reduced-motion respecté.
   ============================================================ */

/* `[hidden]` l'emporte toujours sur les classes qui posent un `display`. */
.zh-shop-rv[hidden],
.zh-shop-rv-summary[hidden],
.zh-shop-rv-action[hidden],
.zh-shop-rv-list[hidden],
.zh-shop-rv-card[hidden],
.zh-shop-rv-pin[hidden],
.zh-shop-rv-text[hidden],
.zh-shop-rv-avatar img[hidden],
.zh-shop-rv-verified[hidden],
.zh-shop-rv-bought[hidden],
.zh-shop-rv-date[hidden],
.zh-shop-rv-edited[hidden],
.zh-shop-rv-more-row[hidden],
.zh-shop-rv-error[hidden],
.zh-shop-rv-empty[hidden],
.zh-shop-rvm-state[hidden],
.zh-shop-rvm-field[hidden],
.zh-shop-rvm-error[hidden],
.zh-shop-rvm-remove[hidden],
.zh-shop-rvm-remove-btn[hidden],
.zh-shop-rvm-confirm[hidden],
.zh-shop-rvm-actions .zh-shop-btn[hidden],
.zh-shop-cl[hidden],
.zh-shop-cl-card[hidden],
.zh-shop-cl-cta[hidden],
.zh-shop-cl-done[hidden],
.zh-shop-cl-note[hidden] {
  display: none !important;
}

/* ─── Avis : section ───────────────────────────────────────────────── */

/* Ancre #zh-shop-reviews (note de la vitrine) : jamais sous l'en-tête et
   les onglets collants. Les barres collantes sont déjà déduites par
   html.zh-public-profile-page { scroll-padding-top: sticky + 8px }
   (public-profile-page.css) ; la marge s'y AJOUTE : 8px de respiration
   seulement (sticky + 16px au total). */
.zh-shop-rv {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--zh-shop-border);
  scroll-margin-top: 8px;
  quotes: "\201C" "\201D";
}
.zh-shop-rv:lang(fr) {
  quotes: "\00AB\00A0" "\00A0\00BB";
}

.zh-shop-rv-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.zh-shop-rv-head-text {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 12px;
  flex: 1 1 auto;
  min-width: 0;
}
.zh-shop-rv-title,
.zh-shop-cl-head {
  margin: 0;
  font-family: var(--zh-shop-font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--zh-shop-text);
}
/* Cible de focus programmatique (saut depuis la note de la vitrine). */
.zh-shop-rv-title:focus {
  outline: none;
}
.zh-shop-rv-title:focus-visible {
  outline: 2px solid var(--zh-shop-accent-text);
  outline-offset: 4px;
  border-radius: 4px;
}
.zh-shop-rv-summary {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 4px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--zh-shop-text-soft);
}
.zh-shop-rv-summary-star {
  color: var(--pp-star, #d97706);
}
.zh-shop-rv-avg {
  font-weight: 700;
  color: var(--zh-shop-text);
}
.zh-shop-rv-action {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
}

/* Sous 600 px, le bouton passe sous le titre. */
@media (max-width: 599.98px) {
  .zh-shop-rv-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── Avis : liste (1 / 2 / 3 colonnes, 3 / 4 / 6 avis visibles) ───────
   Le surplus est replié par classe + :nth-child (aucune mesure JS) ;
   .is-expanded (« Voir plus d'avis ») déplie. Le bouton s'affiche quand
   des avis sont repliés à CETTE largeur (.is-over-3 / -4 / -6) ou quand
   l'API en annonce d'autres (.has-api-more). */
.zh-shop-rv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.zh-shop-rv-more-row {
  display: none;
  justify-content: center;
}
.zh-shop-rv.has-api-more .zh-shop-rv-more-row {
  display: flex;
}

@media (max-width: 599.98px) {
  .zh-shop-rv:not(.is-expanded) .zh-shop-rv-card:nth-child(n + 4) {
    display: none;
  }
  .zh-shop-rv.is-over-3:not(.is-expanded) .zh-shop-rv-more-row {
    display: flex;
  }
}
@media (min-width: 600px) and (max-width: 1023.98px) {
  .zh-shop-rv-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .zh-shop-rv:not(.is-expanded) .zh-shop-rv-card:nth-child(n + 5) {
    display: none;
  }
  .zh-shop-rv.is-over-4:not(.is-expanded) .zh-shop-rv-more-row {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .zh-shop-rv-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .zh-shop-rv:not(.is-expanded) .zh-shop-rv-card:nth-child(n + 7) {
    display: none;
  }
  .zh-shop-rv.is-over-6:not(.is-expanded) .zh-shop-rv-more-row {
    display: flex;
  }
}

/* ─── Avis : carte ─────────────────────────────────────────────────── */

.zh-shop-rv-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--zh-shop-border);
  border-radius: var(--zh-shop-radius-card, 16px);
  background: var(--zh-shop-bg);
  color: var(--zh-shop-text);
}
.zh-shop-rv-card.is-pinned {
  border-color: var(--zh-shop-border-strong);
}
/* Focus posé sur la 1ʳᵉ carte dépliée / chargée (tabindex=-1). */
.zh-shop-rv-card:focus {
  outline: none;
}
.zh-shop-rv-card:focus-visible {
  outline: 2px solid var(--zh-shop-accent-text);
  outline-offset: 2px;
}
.zh-shop-rv-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
/* ★ pleines / ☆ vides : la forme porte la note, pas seulement la couleur. */
.zh-shop-rv-stars {
  font-size: 15px;
  line-height: 1;
  letter-spacing: 2px;
  white-space: nowrap;
}
.zh-shop-rv-stars-on {
  color: var(--pp-star, #d97706);
}
.zh-shop-rv-stars-off {
  color: var(--zh-shop-text-soft);
}
.zh-shop-rv-pin {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--zh-shop-bg-soft);
  color: var(--zh-shop-text-soft);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.zh-shop-rv-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--zh-shop-text);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.zh-shop-rv-text::before {
  content: open-quote;
}
.zh-shop-rv-text::after {
  content: close-quote;
}
.zh-shop-rv-author {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: auto;
}
/* Initiales dessous, photo par-dessus (masquée si elle ne charge pas). */
.zh-shop-rv-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--zh-shop-bg-soft);
  color: var(--zh-shop-text-soft);
  font-size: 12.5px;
  font-weight: 700;
}
.zh-shop-rv-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.zh-shop-rv-who {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--zh-shop-text-soft);
  overflow-wrap: anywhere;
}
.zh-shop-rv-name {
  font-weight: 700;
  color: var(--zh-shop-text);
}
/* Vert foncé sur fond vert très pâle (4,6:1 en clair, teinte 8 % au plus) ;
   vert vif en sombre. */
.zh-shop-rv-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--zh-shop-bg-soft);
  background: color-mix(in srgb, var(--pp-success, #16a34a) 8%, transparent);
  color: var(--pp-success-ink, #15803d);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.zh-shop-rv-bought,
.zh-shop-rv-date {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--zh-shop-text-soft);
}
.zh-shop-rv-product {
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--zh-shop-accent-text);
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.zh-shop-rv-product:focus-visible {
  outline: 2px solid var(--zh-shop-accent-text);
  outline-offset: 2px;
  border-radius: 3px;
}
.zh-shop-rv-product-name {
  font-weight: 700;
  color: var(--zh-shop-text);
}

/* ─── Avis : « Voir plus », erreur, état vide ──────────────────────── */

.zh-shop-rv-more {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
}
.zh-shop-rv-more[aria-busy="true"] {
  cursor: progress;
}
/* Spinner du kit (blanc, pour les boutons pleins) : redessiné sur fond clair. */
.zh-shop-rv-more .zh-shop-spinner,
.zh-shop-rvm-loading .zh-shop-spinner {
  border-color: var(--zh-shop-border-strong);
  border-top-color: var(--zh-shop-accent-text);
}
/* Sur fond de carte : le rouge du thème clair tombe à 4,3:1 sur le fond de
   page, 4,7:1 sur la carte. */
.zh-shop-rv-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--zh-shop-error);
  border-radius: 10px;
  background: var(--zh-shop-bg);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  color: var(--zh-shop-error);
}
.zh-shop-rv-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 26px 18px;
  border: 1px dashed var(--zh-shop-border-strong);
  border-radius: var(--zh-shop-radius-card, 16px);
  background: var(--zh-shop-bg);
  text-align: center;
}
.zh-shop-rv-empty-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--zh-shop-bg-soft);
  color: var(--pp-star, #d97706);
}
.zh-shop-rv-empty-icon svg {
  width: 22px;
  height: 22px;
}
.zh-shop-rv-empty-title {
  margin: 4px 0 0;
  font-family: var(--zh-shop-font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--zh-shop-text);
}
.zh-shop-rv-empty-text {
  max-width: 46ch;
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--zh-shop-text-soft);
}

/* ─── « Pour mes clients » ─────────────────────────────────────────── */

.zh-shop-cl {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--zh-shop-border);
}
/* 1 colonne < 600, 2 à 768 (la 3ᵉ carte passe seule à la ligne), 3 dès 1024. */
.zh-shop-cl-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 14px;
}
.zh-shop-cl.is-single .zh-shop-cl-grid {
  max-width: 560px;
}
.zh-shop-cl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--zh-shop-border);
  border-radius: 18px;
  background: var(--zh-shop-bg);
  color: var(--zh-shop-text);
}
.zh-shop-cl-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--zh-shop-text-soft);
}
.zh-shop-cl-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zh-shop-text-soft);
}
.zh-shop-cl-dot--live {
  background: #e11d48;
  animation: zh-shop-cl-pulse 1.6s ease-in-out infinite;
}
.zh-shop-cl-dot--drop {
  background: #4ade80;
}
@keyframes zh-shop-cl-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.zh-shop-cl-title {
  margin: 4px 0 0;
  font-family: var(--zh-shop-font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.zh-shop-cl-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--zh-shop-text-soft);
}
.zh-shop-cl-text--clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.zh-shop-cl-when {
  font-weight: 700;
  color: var(--zh-shop-text);
}
.zh-shop-cl-meta {
  margin: 2px 0 0;
  font-size: 12.5px;
  font-weight: 600;
}
.zh-shop-cl-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 10px;
}
.zh-shop-cl-cta {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.zh-shop-cl-done {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--pp-success-ink, #15803d);
}
.zh-shop-cl-done:focus {
  outline: none;
}
.zh-shop-cl-note {
  flex-basis: 100%;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--zh-shop-text-soft);
}

/* Carte Drop : couverture du drop (image ou dégradé) sous un voile sombre —
   texte blanc ≥ 4,5:1 quel que soit le préréglage, même sur une photo
   blanche (voile ≥ 0,68 : 6:1). Le voile est un
   ::before positionné ; le contenu, positionné après lui, passe dessus sans
   z-index. */
.zh-shop-cl-card--drop {
  border-color: transparent;
  background-color: #1f1340;
  background-position: center;
  background-size: cover;
  color: #fff;
}
.zh-shop-cl-card--drop::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(20, 10, 51, 0.68) 0%, rgba(20, 10, 51, 0.88) 100%);
  pointer-events: none;
}
.zh-shop-cl-card--drop > * {
  position: relative;
}
.zh-shop-cl-card--drop .zh-shop-cl-kicker,
.zh-shop-cl-card--drop .zh-shop-cl-text,
.zh-shop-cl-card--drop .zh-shop-cl-meta {
  color: rgba(255, 255, 255, 0.92);
}
.zh-shop-cl-cta--light {
  border-color: transparent;
  background: #ffffff;
  color: #1f1340;
}
.zh-shop-cl-card--drop .zh-shop-cl-cta:focus-visible {
  outline-color: #ffffff;
}

/* ─── Modale d'avis (couche « shop-review », z 1600) ──────────────── */

.zh-shop-dlg.zh-shop-dlg--review {
  --zh-shop-dlg-z: 1600;
}
@media (min-width: 720px) {
  .zh-shop-dlg-panel.zh-shop-rvm-panel {
    width: min(460px, calc(100vw - 48px));
  }
}
.zh-shop-rvm-head {
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 10px 20px;
  border-bottom: 1px solid var(--zh-shop-border);
}
.zh-shop-rvm-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: var(--zh-shop-font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--zh-shop-text);
}
.zh-shop-rvm-body {
  padding: 18px 20px calc(20px + env(safe-area-inset-bottom, 0px));
}
.zh-shop-rvm-state {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.zh-shop-rvm-loading {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  font-size: 14px;
  color: var(--zh-shop-text-soft);
}
.zh-shop-rvm-notice-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--zh-shop-text);
}
.zh-shop-rvm-notice-text:focus,
.zh-shop-rvm-done-title:focus {
  outline: none;
}
.zh-shop-rvm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Note : 5 radios natives (clavier ←/→, lecteurs d'écran) invisibles,
   posées sur l'étoile SVG ; anneau de focus sur l'étoile. */
.zh-shop-rvm-rate {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.zh-shop-rvm-legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--zh-shop-text-soft);
}
.zh-shop-rvm-stars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}
.zh-shop-rvm-star {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
}
.zh-shop-rvm-star-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.zh-shop-rvm-star svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--zh-shop-text-soft);
  stroke-width: 1.8;
  stroke-linejoin: round;
  border-radius: 6px;
  pointer-events: none;
  transition: fill 120ms ease, stroke 120ms ease;
}
.zh-shop-rvm-star.is-on svg {
  fill: var(--pp-star, #d97706);
  stroke: var(--pp-star, #d97706);
}
.zh-shop-rvm-star-input:focus-visible + svg {
  outline: 2px solid var(--zh-shop-accent-text);
  outline-offset: 3px;
}
.zh-shop-rvm-level {
  margin-left: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--zh-shop-text);
}

.zh-shop-rvm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zh-shop-rvm-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--zh-shop-text);
}
/* Bordure ≥ 3:1 contre le fond (champ repérable). */
.zh-shop-rvm-input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--zh-shop-border-strong);
  border: 1px solid color-mix(in srgb, var(--zh-shop-text-soft) 72%, var(--zh-shop-bg));
  border-radius: 12px;
  background: var(--zh-shop-bg);
  color: var(--zh-shop-text);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
}
.zh-shop-rvm-input::placeholder {
  color: var(--zh-shop-text-soft);
  opacity: 1;
}
.zh-shop-rvm-input:focus-visible {
  outline: 2px solid var(--zh-shop-accent-text);
  outline-offset: 1px;
  border-color: var(--zh-shop-accent-text);
}
.zh-shop-rvm-textarea {
  min-height: 104px;
  resize: vertical;
}
.zh-shop-rvm-count {
  align-self: flex-end;
  margin: 0;
  font-size: 11.5px;
  color: var(--zh-shop-text-soft);
  font-variant-numeric: tabular-nums;
}
.zh-shop-rvm-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--zh-shop-text-soft);
}
/* Liseré rouge sur fond de carte : une teinte rouge sous le texte rouge
   ferait tomber le contraste sous 4,5:1 en clair. */
.zh-shop-rvm-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--zh-shop-error);
  border-left-width: 4px;
  border-radius: 10px;
  background: var(--zh-shop-bg);
  color: var(--zh-shop-error);
  font-size: 13px;
  line-height: 1.45;
}
.zh-shop-rvm-submit {
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 800;
}

/* Retrait : lien discret, puis confirmation EN LIGNE (jamais window.confirm). */
.zh-shop-rvm-remove {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.zh-shop-rvm-remove-btn {
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--zh-shop-error);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.zh-shop-rvm-remove-btn:focus-visible {
  outline: 2px solid var(--zh-shop-accent-text);
  outline-offset: 2px;
}
.zh-shop-rvm-confirm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--zh-shop-border-strong);
  border-radius: 12px;
  background: var(--zh-shop-bg-soft);
}
.zh-shop-rvm-confirm-text {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--zh-shop-text);
}
/* Rouge 700 sous texte blanc (6:1) dans les deux thèmes. */
.zh-shop-rvm-danger {
  background: #be123c;
  color: #ffffff;
}

.zh-shop-rvm-done {
  align-items: center;
  padding: 10px 0 4px;
  text-align: center;
}
.zh-shop-rvm-done-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #15803d;
  color: #ffffff;
}
.zh-shop-rvm-done-icon svg {
  width: 26px;
  height: 26px;
}
.zh-shop-rvm-done-title {
  margin: 0;
  font-family: var(--zh-shop-font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--zh-shop-text);
}
.zh-shop-rvm-done-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--zh-shop-text-soft);
}

/* Feuille du bas (< 720 px) : poignée dégagée, champs en 16 px (pas de zoom
   iOS au focus) ; « Publier » reste dans le flux (le clavier masquerait un
   pied collant). */
@media (max-width: 719px) {
  .zh-shop-rvm-head {
    padding-top: 18px;
  }
  .zh-shop-rvm-body {
    padding-left: 16px;
    padding-right: 16px;
  }
  .zh-shop-rvm-input {
    font-size: 16px;
  }
}

/* ─── Survol (pointeur fin) ────────────────────────────────────────── */
@media (hover: hover) {
  .zh-shop-rv-product:hover {
    text-decoration-thickness: 2px;
  }
  .zh-shop-rvm-star:hover svg {
    stroke: var(--pp-star, #d97706);
  }
  .zh-shop-rvm-remove-btn:hover {
    text-decoration-thickness: 2px;
  }
  .zh-shop-rvm-danger:hover:not(:disabled) {
    background: #9f1239;
  }
  .zh-shop-cl-cta--light:hover:not(:disabled) {
    background: #f4f1fc;
  }
}

/* ─── Cibles tactiles ≥ 44 px ──────────────────────────────────────── */
@media (pointer: coarse) {
  .zh-shop-rv-action,
  .zh-shop-rv-more,
  .zh-shop-rv-empty .zh-shop-btn,
  .zh-shop-cl-cta,
  .zh-shop-rvm-actions .zh-shop-btn,
  .zh-shop-rvm-submit,
  .zh-shop-rvm-remove-btn {
    min-height: 44px;
  }
  .zh-shop-rvm-star {
    width: 44px;
    height: 44px;
  }
  .zh-shop-rvm-input {
    min-height: 44px;
  }
  /* Nom du produit dans une phrase : zone de toucher agrandie sans décaler
     la ligne. */
  .zh-shop-rv-product {
    padding: 12px 0;
    margin: -12px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zh-shop-cl-dot--live {
    animation: none;
  }
  .zh-shop-rvm-star svg {
    transition: none;
  }
}
