/* === TABLEAU TARIFAIRE – VERSION RENFORCÉE === */
.pma_tarif {
  width: 100%;
  max-width: 720px;
  margin: 30px auto;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  color: #222;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.pma_tarif tr {
  border-bottom: 1px solid #eee;
  transition: background 0.2s ease;
}
.pma_tarif tr:hover {
  background: #f8fbff;
}

.pma_tarif td {
  padding: 1rem 1.25rem;
  vertical-align: middle;
}
.pma_tarif td:first-child {
  width: 60%;
  font-weight: 500;
  text-align: left;
}
.pma_tarif td:nth-child(2) {
  width: 20%;
  text-align: right;
  font-weight: 700;
  color: #003f63;
}
.pma_tarif td:last-child {
  width: 20%;
  text-align: right;
}

/* === BOUTON RÉSERVER – Présence renforcée === */
.pma_tarif a.pma_tarif_reserver {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(135deg, #004a8f 0%, #007bff 100%);
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(0, 123, 255, 0.25);
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

.pma_tarif a.pma_tarif_reserver:hover {
  background: linear-gradient(135deg, #007bff 0%, #004a8f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 123, 255, 0.35);
}

/* === État COMPLET === */
.pma_tarif span.pma_tarif_reserver {
  background: #f8d7da;
  color: #b30000 !important;
  font-weight: bold;
  border-radius: 6px;
  padding: 0.55rem 1.2rem;
  border: 1px solid #b30000;
  text-transform: uppercase;
}

/* === Responsive === */
@media (max-width: 600px) {
  .pma_tarif td {
    display: block;
    text-align: left !important;
    width: 100%;
  }
  .pma_tarif tr {
    display: block;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 0.75rem 1rem;
  }
  .pma_tarif td:nth-child(2),
  .pma_tarif td:last-child {
    text-align: left !important;
    padding-top: 0.25rem;
  }
}
/* === TITRE TARIF === */
.mlv-titre-tarif {
  margin: 0;
  padding: 0.8rem 1.2rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #003f63;
  background: #f3f8ff;
  border-bottom: 1px solid #e3edf8;
  border-radius: 8px 8px 0 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === BLOC TARIF 3 COLONNES === */
.mlv-tarif-layout {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 1.5rem;
}

.mlv-tarif-image {
  flex: 0 0 250px;
  max-width: 250px;
}

.mlv-tarif-thumb {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

.mlv-tarif-table {
  flex: 1;
  min-width: 420px;
}

.mlv-tarif-explication {
  flex: 0 0 260px;
  background: #f8fbff;
  border: 1px solid #e3edf8;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.mlv-tarif-explication h4 {
  margin-top: 0;
  color: #004a8f;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.mlv-tarif-explication ul {
  margin: 0.5rem 0 1rem 1.2rem;
  padding: 0;
  list-style-type: disc;
}

/* ============================================================
   MLV — Prix expirés / obsolètes
   Style : barre oblique diagonale
   Appliqué lorsque la ligne possède : .mlv-price-old ou .mlv-price-expired
   ===============================================

.mlv-price-old,
.mlv-price-expired {
    position: relative;
    opacity: 0.65;
}


.mlv-price-old::after,
.mlv-price-expired::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -5%;
    width: 110%;
    height: 2px;
    background: #b30000;
    transform: rotate(-12deg);
    transform-origin: center;
    pointer-events: none;
    opacity: 0.9;
}*/

/* Version ciblée sur la valeur uniquement */
.mlv-price-old .mlv-price-value::after,
.mlv-price-expired .mlv-price-value::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #b30000;
    transform: rotate(-12deg);
    pointer-events: none;
}


/* Responsive */
@media (max-width: 900px) {
  .mlv-tarif-layout {
    flex-direction: column;
  }
  .mlv-tarif-explication {
    width: 100%;
  }
}