@charset "utf-8";

/* =========================================================
   BASE
   ========================================================= */

html, body, h1, form, fieldset, legend, ol, li {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", "Arial", "Helvetica", sans-serif;
  font-size: 20px;
  background-color: #fff;
}

a:link,
a:visited {
  color: #000;
}

p {
  margin-top: auto;
  color: #000;
  font-size: 25px;
}

table {
  border-collapse: collapse;
  margin: auto;
}

td {
  padding: 10px 50px;
  border: 1px solid #000;
  font-size: 18px;
  text-align: center;
}

#tableauvente td {
  padding: 4px 8px;
  border: 1px solid #000;
  font-size: 15px;
  text-align: center;
}

h1 {
  font-size: 28px;
  margin: auto;
  margin-bottom: 10px;
}

h3 {
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 30px;
}

/* =========================================================
   ELEMENTS GENERAUX
   ========================================================= */

#global {
  position: relative;
  margin: 0 auto;
  background-color: #fff;
  z-index: 1;
}

#logo {
  position: relative;
  display: inline-block;
  top: 10px;
  left: 10px;
  z-index: 1;
}

#menu {
  position: relative;
}

#contenu {
  position: relative;
  margin-top: 10px;
  min-height: 1000px;
  height: auto;
  background-color: #fff;
  text-align: center; /* important pour le reste du site */
}

.center {
  text-align: center;
}

#titre {
  position: absolute;
  top: 180px;
  left: 20px;
  text-align: center;
}

#line {
  background-image: url(../img/line.png);
  background-repeat: repeat;
  height: 10px;
  position: relative;
  margin: 3px 0;
}

#drapeauintro {
  margin-right: 3px;
  text-decoration: none;
}

#erwanpack {
  width: 500px;
  height: auto;
}

/* =========================================================
   BLOCS SPECIFIQUES (xx)
   ========================================================= */

.offerxx {
  background-color: #ffe6e6;
  border: 2px solid #d9534f;
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}

.highlightxx { color: #d9534f; font-weight: bold; }
.emailxx { font-weight: bold; color: #d9534f; }

.contentxx {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}

/* =========================================================
   LOGIN / FORMULAIRES
   ========================================================= */

form { display: inline-block; font-size: 13px; }

#formlogin { color: #000; font-size: 16px; }

form#formlogin input:not([type=radio]),
form#formlogin textarea {
  width: 180px;
}

#login {
  display: inline-block;
  font-size: 18px;
  padding: 15px;
  z-index: 7;
  background-color: #fff;
}

#mdpoub { position: relative; float: right; font-size: 18px; }
#newaccount { position: relative; display: inline-block; font-size: 18px; }

/* recherche barre */
#search {
  position: relative;
  margin-top: 10px;
}

#recherche {
  padding-left: 10px;
}

/* message "rien trouvé" */
.search-empty {
  margin: 12px 0 24px 0;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
}

/* =========================================================
   ANCIENS STYLES PRODUITS (compat)
   ========================================================= */

#prod,
#prodsold,
#mesprod {
  width: 370px;
  height: auto;
  display: inline-block;
  padding: 10px;
  margin-bottom: 5px;
  border: 1px solid #cdcdcd;
  box-sizing: border-box;
  vertical-align: top;
  border-radius: 10px;
  font-size: 10px;
}

#mesprod a,
#prod a,
#prodsold a {
  text-decoration: none;
}

#imgproduit {
  padding-top: 7px;
}

#prod2 {
  width: 300px;
  display: inline-block;
  padding: 10px;
  border: 1px solid #cc0e13;
}

/* =========================================================
   PAGES PRODUITS
   ========================================================= */

#smart-button-container {
  padding-left: 100px;
  padding-right: 100px;
}

/* NOTE: tu avais 2 blocs #imgprod, je les fusionne proprement */
#imgprod {
  position: relative;
  display: inline-block;
  width: 550px;
  margin: 0 12px 12px 12px;
  overflow: hidden; /* arrondis visibles */
  background-color: #fff;
}

.imgp {
  max-width: 100%;
  max-height: 100%;
  display: inline-block;
}

#tarif {
  position: relative;
  display: inline-block;
  width: 500px;
  vertical-align: top;
  padding-top: 0;
}

#prix {
  font-weight: 700;
  font-size: 32px;
  line-height: 32px;
  font-family: "Roboto", sans-serif;
  color: #333;
  margin-bottom: 10px;
}

#cadre {
  border: 2px solid red;
  width: 450px;
  padding-top: 15px;
  margin: auto;
}

/* =========================================================
   TEASER / TEXTE
   ========================================================= */

#tease {
  clear: both;
  position: relative;
  width: 900px;
  text-align: justify;
  margin: auto;
}

#tease p { font-size: 20px; }

#ml {
  position: relative;
  padding: 100px;
  background-color: #fff;
  text-align: justify;
  font-size: 18px;
}

#ml p { font-size: 18px; }

#content {
  background-color: #991d2c;
  width: 65%;
  border-radius: 20px;
  margin: 20px auto 0 auto;
  padding: 20px;
  font-size: 20px;
}

#policepetite {
  position: relative;
  text-align: left;
  font-size: 16px;
  width: 300px;
  display: inline-block;
  vertical-align: top;
  padding-top: 0;
}

/* =========================================================
   PIED DE PAGE
   ========================================================= */

#pieddepage {
  text-align: center;
  background-color: #333;
  color: #fff;
  padding: 25px 0;
  font-size: 18px;
}

#pieddepage a { color: #fff; }

/* bouton */
#modif {
  background: #cc0e13;
  border: none;
  border-radius: 20px;
  display: inline-block;
  color: #fff;
  margin: 20px auto 0 auto;
  padding: 7px 25px;
  font-size: 16px;
}

#modif:hover { background: #000; cursor: pointer; }

#modif a:link,
#modif a:visited {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

/* =========================================================
   FORM INFO PERSOS
   ========================================================= */

form#infopersos {
  margin: auto;
  background: #cc0e13;
  border-radius: 5px;
  counter-reset: fieldsets;
  padding: 20px;
  width: 400px;
}

form#infopersos fieldset { border: none; margin-bottom: 10px; }
form#infopersos fieldset:last-of-type { margin-bottom: 0; }

form#infopersos legend {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 10px;
  text-shadow: 0 1px 1px #c0d576;
}

form#infopersos > fieldset > legend:before {
  content: "Step " counter(fieldsets) ": ";
  counter-increment: fieldsets;
}

form#infopersos fieldset fieldset legend {
  color: #fff;
  font-size: 13px;
  font-weight: normal;
  padding-bottom: 0;
}

form#infopersos ol li {
  background: rgba(255,255,255,.3);
  border-color: rgba(255,255,255,.6);
  border-style: solid;
  border-width: 2px;
  border-radius: 5px;
  line-height: 30px;
  list-style: none;
  padding: 5px 10px;
  margin-bottom: 2px;
}

form#infopersos ol ol li { background: none; border: none; float: left; }

form#infopersos label {
  display: block;
  text-align: center;
  font-size: 18px;
  width: 100%;
}

form#infopersos fieldset fieldset label {
  background: none no-repeat left 50%;
  line-height: 20px;
  padding: 0 0 0 30px;
  width: auto;
}

form#infopersos fieldset fieldset label:hover { cursor: pointer; }

form#infopersos input:not([type=radio]),
form#infopersos textarea {
  background: #fff;
  border: none;
  border-radius: 3px;
  font: 13px Georgia, "Times New Roman", Times, serif;
  outline: none;
  padding: 5px;
  width: 250px;
}

form#infopersos input:not([type=submit]):focus,
form#infopersos textarea:focus {
  background: #eaeaea;
}

form#infopersos input[type=radio] { float: left; margin-right: 5px; }

form#infopersos button {
  background: #760709;
  border: none;
  border-radius: 20px;
  color: #fff;
  display: inline-block;
  font: 18px Georgia, "Times New Roman", Times, serif;
  letter-spacing: 1px;
  margin: 20px auto 0 auto;
  padding: 7px 25px;
  text-shadow: 0 1px 1px #000;
  text-transform: uppercase;
}

form#infopersos button:hover { background: #000; cursor: pointer; }

#ajouteuser { font-size: 25px; }

/* =========================================================
   MOSAIQUE (coeurvente + coeurrecherche)
   ========================================================= */

:where(#coeurvente, #coeurrecherche) {
  text-align: left; /* override le text-align:center de #contenu */
  clear: both;
  position: relative;
}

:where(#coeurvente, #coeurrecherche) .mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
  background: #fff;
  margin: 0;
  padding: 0 0 8px 0;
}

:where(#coeurvente, #coeurrecherche) .prod {
  margin: 0;
  padding: 0;
  position: relative; /* overlay + spinner */
}

:where(#coeurvente, #coeurrecherche) .prod__link {
  display: block;
  position: relative;
  text-decoration: none;
}

:where(#coeurvente, #coeurrecherche) .prod__img {
  display: block;
  width: 100%;
  height: auto;
}

:where(#coeurvente, #coeurrecherche) .prod__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;

  background: rgba(0,0,0,0.85);
  color: #fff;

  padding: 10px;
  box-sizing: border-box;
  z-index: 2;
}

:where(#coeurvente, #coeurrecherche) .prod:hover .prod__info {
  opacity: 1;
  transform: translateY(0);
}

:where(#coeurvente, #coeurrecherche) .prod.is-open .prod__info {
  opacity: 1;
  transform: translateY(0);
}

:where(#coeurvente, #coeurrecherche) .prod__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

:where(#coeurvente, #coeurrecherche) .prod__duration {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  opacity: 0.85;
  line-height: 1.2;
}

:where(#coeurvente, #coeurrecherche) .prod__price {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.2;
}

:where(#coeurvente, #coeurrecherche) .prod__price strike {
  opacity: 0.85;
}

/* titres de sections */
:where(#coeurvente, #coeurrecherche) .section-header {
  margin: 30px 0 20px 0;
}

:where(#coeurvente, #coeurrecherche) .section-title {
  font-size: 22px;
  font-weight: 700;
  margin: 4px 0 7px 0;
  padding: 0 10px;
}

:where(#coeurvente, #coeurrecherche) .section-line {
  background-image: url(../img/line.png);
  background-repeat: repeat-x;
  background-position: center center;
  height: 10px;
}

/* spinner navigation */
:where(#coeurvente, #coeurrecherche) .prod.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 5;
}

:where(#coeurvente, #coeurrecherche) .prod.is-loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;

  border: 3px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;

  animation: mvod-spin 0.9s linear infinite;
  z-index: 6;
}

@keyframes mvod-spin {
  to { transform: rotate(360deg); }
}

/* responsive mosaïque */
@media (max-width: 768px) {
  :where(#coeurvente, #coeurrecherche) .mosaic {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

/* tactile : neutraliser hover collant, garder is-open */
@media (hover: none) and (pointer: coarse) {
  :where(#coeurvente, #coeurrecherche) .prod:hover .prod__info {
    opacity: 0;
    transform: translateY(10px);
  }
  :where(#coeurvente, #coeurrecherche) .prod.is-open .prod__info {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   BANNIERE DE CAMPAGNE (commune a toutes les pages publiques)
   Ordinateur : largeur limitee a 800 px.
   Mobile : pleine largeur du viewport, meme si le parent est etroit.
   ========================================================= */
.mv-campaign-banner {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 24px;
  box-sizing: border-box;
}

.mv-campaign-banner #bann {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media (max-width: 685px) {
  .mv-campaign-banner {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
    margin-bottom: 20px;
  }
}

/* =========================================================
   RESPONSIVE GLOBAL
   ========================================================= */

@media (max-width: 685px) {

  body { font-size: 16px; }

  td {
    display: block;
    width: auto !important;
    padding: 5px 20px;
  }

  #tableauvente td { display: table-cell; }

  #ml { padding: 10px; }
  form#infopersos { width: 300px; }

  #smart-button-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  #login { font-size: 14px; z-index: 7; }

  #tease { width: 90%; font-size: 16px; }
  #tease p { font-size: 16px; }

  #imgprod { width: 360px; }

  h1 { font-size: 20px; margin-bottom: 10px; }

  #tarif {
    display: block;
    width: 360px;
    margin: auto;
  }

  #prix {
    font-size: 20px;
    margin: auto;
    line-height: 1.2;
  }

  #cadre { width: 95%; }

  .videoWrapper { position: relative; padding-bottom: 56.25%; height: 0; }
  .videoWrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

  #logo img { width: 95%; height: auto; }

  #erwanpack { width: 300px; height: auto; }
}

@media (max-width: 520px) {
  :where(#coeurvente, #coeurrecherche) .mosaic {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MOSAIQUE COEURMESPROD : bibliothèque (plus compact, 2 colonnes mobile)
   ========================================================= */
 
#coeurmesprod { text-align: left; }

#coeurmesprod .mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* plus petit que coeurvente */
  gap: 2px;
  background: #fff;
  margin: 0;
  padding: 0 0 8px 0;
}

#coeurmesprod .prod {
  margin: 0;
  padding: 0;
  position: relative;
}

#coeurmesprod .prod__link {
  display: block;
  position: relative;
  text-decoration: none;
}

#coeurmesprod .prod__img {
  display: block;
  width: 100%;
  height: auto;
}

#coeurmesprod .prod__info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 10px;
  box-sizing: border-box;
  z-index: 2;
}

#coeurmesprod .prod:hover .prod__info {
  opacity: 1;
  transform: translateY(0);
}

/* Sur tactile : on neutralise le hover "collant" */
@media (hover: none) and (pointer: coarse) {
  #coeurmesprod .prod:hover .prod__info {
    opacity: 0;
    transform: translateY(10px);
  }
}

#coeurmesprod .prod__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

#coeurmesprod .prod__duration {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  opacity: 0.85;
  line-height: 1.2;
}

/* Mobile : 2 colonnes */
@media (max-width: 768px) {
  #coeurmesprod .mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  #coeurmesprod .prod__title {
    font-size: 12px;
  }

  #coeurmesprod .prod__duration {
    font-size: 11px;
  }
}

/* Spinner (identique) */
#coeurmesprod .prod.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 5;
}

#coeurmesprod .prod.is-loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 3px solid rgba(255,255,255,0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: mvod-spin 0.9s linear infinite;
  z-index: 6;
}

/* Titres section identiques */
#coeurmesprod .section-header { margin: 30px 0 20px 0; }

#coeurmesprod .section-title {
  font-size: 22px;
  font-weight: 700;
  margin: 4px 0 7px 0;
  padding: 0 10px;
}

#coeurmesprod .section-line {
  background-image: url(../img/line.png);
  background-repeat: repeat-x;
  background-position: center center;
  height: 10px;
}

/* =========================================================
   COEURRECHERCHE = même galerie que COEURVENTE
   ========================================================= */

#coeurrecherche { text-align: left; }

#coeurrecherche .mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
  background: #fff;
  margin: 0;
  padding: 0 0 8px 0;
}

#coeurrecherche .prod { margin: 0; padding: 0; position: relative; }

#coeurrecherche .prod__link { display: block; position: relative; text-decoration: none; }
#coeurrecherche .prod__img  { display: block; width: 100%; height: auto; }

#coeurrecherche .prod__info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 10px;
  box-sizing: border-box;
  z-index: 2;
}

#coeurrecherche .prod:hover .prod__info { opacity: 1; transform: translateY(0); }
#coeurrecherche .prod.is-open .prod__info { opacity: 1; transform: translateY(0); }

#coeurrecherche .prod__title { font-size: 14px; font-weight: 700; line-height: 1.2; }
#coeurrecherche .prod__duration { margin-top: 4px; font-size: 13px; font-weight: 400; opacity: 0.85; line-height: 1.2; }
#coeurrecherche .prod__price { margin-top: 6px; font-size: 14px; line-height: 1.2; }
#coeurrecherche .prod__price strike { opacity: 0.85; }

/* Mobile : si tu veux 1 produit par ligne en recherche */
@media (max-width: 768px) {
  #coeurrecherche .mosaic { grid-template-columns: 1fr; }
}

/* Sur tactile : neutralise hover collant + is-open gagne */
@media (hover: none) and (pointer: coarse) {
  #coeurrecherche .prod:hover .prod__info { opacity: 0; transform: translateY(10px); }
  #coeurrecherche .prod.is-open .prod__info { opacity: 1; transform: translateY(0); }
}

/* Spinner */
#coeurrecherche .prod.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 5;
}
#coeurrecherche .prod.is-loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 3px solid rgba(255,255,255,0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: mvod-spin 0.9s linear infinite;
  z-index: 6;
}

/* === FIX MOBILE : marge intérieure pour ne pas coller aux bords === */
@media (max-width: 768px) {
  #coeurvente .mosaic,
  #coeurrecherche .mosaic {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
    box-sizing: border-box;
  }
}

/* Si tu forces 1 colonne < 520px, on garde aussi le padding */
@media (max-width: 520px) {
  #coeurvente .mosaic,
  #coeurrecherche .mosaic {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
    box-sizing: border-box;
  }
}

/* Mobile : plus d’espace entre les tuiles */
@media (max-width: 768px) {
  #coeurvente .mosaic,
  #coeurrecherche .mosaic {
    gap: 10px; /* ajuste : 8px, 10px, 12px selon ton goût */
  }
}

/* Badge "déjà acheté" — version plus visible */
#coeurvente .prod__owned,
#coeurrecherche .prod__owned {
  position: absolute;
  right: 10px;
  bottom: 10px;

  width: 30px;
  height: 30px;
  line-height: 30px;

  text-align: center;

  background: #ffffff;          /* fond blanc */
  color: #2e7d32;               /* vert plus doux mais lisible */
  font-size: 18px;              /* coche plus grande */
  font-weight: 800;

  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35); /* détaché de l’image */

  z-index: 4;
  pointer-events: none;
}




/* =========================================================
   BANDEAU WEBAPP MAGIC VOD
   ========================================================= */
#webapp-promo {
  position: relative;
  box-sizing: border-box;
  width: calc(100% - 20px);
  max-width: 1100px;
  margin: 16px auto 20px auto;
  padding: 14px 50px 14px 18px;
  background: #f7f7f7;
  border: 1px solid #d5d5d5;
  border-left: 5px solid #cc0e13;
  border-radius: 8px;
  text-align: left;
  font-size: 16px;
  line-height: 1.4;
}

#webapp-promo strong {
  font-size: 19px;
}

#webapp-promo a.webapp-button {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  background: #cc0e13;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

#webapp-promo a.webapp-button:hover {
  background: #a90b0f;
}

#webapp-promo-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

#webapp-promo-close:hover {
  color: #000;
}

@media (max-width: 685px) {
  #webapp-promo {
    width: calc(100% - 16px);
    margin-top: 12px;
    padding: 13px 42px 13px 14px;
    font-size: 15px;
  }

  #webapp-promo strong {
    font-size: 17px;
  }
}



:where(#coeurvente, #coeurrecherche) .prod__link--has-rating .prod__info,
#coeurmesprod .prod__link--has-rating .prod__info {
  bottom: 29px;
}

/* =========================================================
   AVIS MAGIC VOD
   ========================================================= */
 .mv-rating-badge {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 28px;
  padding: 5px 8px;
  box-sizing: border-box;
  background: #f4f4f4;
  color: #333;
  font-size: 13px;
  line-height: 1.2;
  border-top: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
}

.mv-rating-badge__star {
  color: #f5bd1f;
  font-size: 15px;
}

.mv-rating-badge__sep {
  color: #999;
}

.mv-review-open {
  color: #b20d12;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

.mv-review-open:hover,
.mv-review-open:focus {
  color: #7f090d;
  outline: none;
}

.mv-stars {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 1px;
  vertical-align: middle;
}

.mv-stars__base {
  color: #c8c8c8;
}

.mv-stars__fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: #f5bd1f;
  white-space: nowrap;
}

.mv-stars--large {
  font-size: 24px;
}

.mv-product-rating {
  margin: 4px auto 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  min-height: 28px;
}

.mv-product-rating__value {
  font-size: 16px;
}

.mv-product-rating__empty {
  color: #777;
  font-size: 14px;
}

.mv-review-toggle {
  border: 0;
  background: transparent;
  color: #b20d12;
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
  padding: 2px 0;
}

.mv-review-toggle:hover,
.mv-review-toggle:focus {
  color: #7f090d;
}

.mv-review-list {
  max-width: 850px;
  margin: 0 auto 24px auto;
  text-align: left;
  border-top: 1px solid #ddd;
}

.mv-review {
  padding: 16px 4px;
  border-bottom: 1px solid #e4e4e4;
}

.mv-review__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.mv-review__verified {
  display: inline-block;
  margin-left: 8px;
  color: #2f7135;
  font-size: 12px;
  font-weight: 600;
}

.mv-review__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777;
  font-size: 12px;
  white-space: nowrap;
}

.mv-review__text {
  margin-top: 10px;
  color: #333;
  font-size: 15px;
  line-height: 1.5;
}

.mv-my-review {
  box-sizing: border-box;
  max-width: 850px;
  margin: 32px auto 24px auto;
  padding: 22px;
  border: 1px solid #ddd;
  border-radius: 9px;
  background: #f8f8f8;
  text-align: left;
}

.mv-my-review h2 {
  margin: 0 0 16px 0;
  font-size: 22px;
}

.mv-review-form__label {
  display: block;
  margin: 14px 0 7px 0;
  font-weight: 700;
}

.mv-star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 2px;
  margin-bottom: 5px;
}

.mv-star-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mv-star-input label {
  color: #bbb;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transition: color 120ms ease, transform 120ms ease;
}

.mv-star-input label:hover,
.mv-star-input label:hover ~ label,
.mv-star-input input:checked ~ label {
  color: #f5bd1f;
}

.mv-star-input label:hover {
  transform: scale(1.08);
}

.mv-star-input input:focus + label {
  outline: 2px solid #555;
  outline-offset: 2px;
}

.mv-review-form textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #bbb;
  border-radius: 5px;
  font: inherit;
  line-height: 1.45;
  resize: vertical;
  background: #fff;
}

.mv-review-submit {
  display: inline-block;
  margin-top: 12px;
  padding: 9px 16px;
  border: 0;
  border-radius: 5px;
  background: #cc0e13;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.mv-review-submit:hover,
.mv-review-submit:focus {
  background: #a90b0f;
}

.mv-review-form__hint,
.mv-review-restricted {
  margin-top: 10px;
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

.mv-review-message {
  margin: 0 0 14px 0;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 14px;
}

.mv-review-message--ok {
  background: #edf8ee;
  border: 1px solid #a7d3ab;
  color: #285f2d;
}

.mv-review-message--error {
  background: #fff0f0;
  border: 1px solid #e0aaaa;
  color: #8b2020;
}

@media (max-width: 685px) {
  .mv-rating-badge {
    min-height: 26px;
    padding: 4px 6px;
    font-size: 12px;
  }

  .mv-stars--large {
    font-size: 21px;
  }

  .mv-review__head {
    display: block;
  }

  .mv-review__meta {
    margin-top: 7px;
  }

  .mv-review__verified {
    display: block;
    margin: 4px 0 0 0;
  }

  .mv-my-review {
    padding: 16px;
  }
}


.mv-review-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: min(82vh, 780px);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #222;
  box-shadow: 0 25px 80px rgba(0,0,0,.38);
}

.mv-review-dialog::backdrop {
  background: rgba(0,0,0,.62);
}

.mv-review-dialog__panel {
  max-height: min(82vh, 780px);
  display: flex;
  flex-direction: column;
}

.mv-review-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid #ddd;
}

.mv-review-dialog__header h2 {
  margin: 0;
  font-size: 22px;
}

.mv-review-dialog__close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #eee;
  color: #222;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.mv-review-dialog__body {
  padding: 0 18px 18px;
  overflow: auto;
}

.mv-review-modal__summary {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 18px 0 14px;
  border-bottom: 1px solid #ddd;
}

.mv-review-modal__message {
  padding: 24px 0;
  text-align: center;
  color: #666;
}

.mv-review-list--modal {
  margin: 0;
  max-width: none;
  border-top: 0;
}

/* Réponse officielle sous un avis */
.mv-review-response{
  margin:14px 0 0 18px;
  padding:11px 13px;
  border-left:3px solid #b8b8bd;
  background:rgba(127,127,127,.07);
  border-radius:0 8px 8px 0;
}
.mv-review-response__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:6px;
}
.mv-review-response__head strong{
  font-size:.92rem;
}
.mv-review-response__head span{
  color:#7d7d84;
  font-size:.76rem;
  white-space:nowrap;
}
.mv-review-response__text{
  font-size:.92rem;
  line-height:1.5;
  white-space:normal;
}
@media(max-width:620px){
  .mv-review-response{margin-left:8px}
}



/* =========================================================
   PRODUITS REFERENTS / SIMILAIRES
   ========================================================= */
.mv-related-products {
  clear: both;
  max-width: 920px;
  margin: 34px auto 28px auto;
  padding: 22px 14px 8px 14px;
  border-top: 1px solid #e3e3e3;
  box-sizing: border-box;
}

.mv-related-products h2 {
  margin: 0 0 18px 0;
  text-align: center;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}

.mv-related-products__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

.mv-related-product {
  width: 150px;
  text-align: center;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 7px;
  overflow: hidden;
  box-sizing: border-box;
}

.mv-related-product__link {
  display: block;
  color: #222;
  text-decoration: none;
}

.mv-related-product__link:hover .mv-related-product__name,
.mv-related-product__link:focus .mv-related-product__name {
  color: #b20d12;
  text-decoration: underline;
}

.mv-related-product__image {
  display: flex;
  width: 100%;
  height: 105px;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  overflow: hidden;
}

.mv-related-product__image img {
  display: block;
  max-width: 100%;
  max-height: 105px;
  width: auto;
  height: auto;
}

.mv-related-product__name {
  display: flex;
  min-height: 44px;
  padding: 8px 7px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
}

.mv-related-product__reviews .mv-rating-badge {
  min-height: 25px;
  padding: 4px 5px;
  gap: 3px;
  font-size: 11px;
  border-bottom: 0;
}

.mv-related-product__reviews .mv-rating-badge__star {
  font-size: 13px;
}

@media (max-width: 685px) {
  .mv-related-products {
    margin-top: 26px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .mv-related-products h2 {
    font-size: 18px;
  }

  .mv-related-products__list {
    gap: 10px;
  }

  .mv-related-product {
    width: 136px;
  }

  .mv-related-product__image,
  .mv-related-product__image img {
    max-height: 95px;
  }

  .mv-related-product__image {
    height: 95px;
  }
}
