/* Lavhome – styles V3 */

/* Variables globales */
:root {
  --bg: #fffffd;
  --card: #f8f8f8;
  --grislcair: #ededed;
  --grisclairborder: #dedede;
  --muted: #9aa0a6;
  --grisclair: #2a2a2aad;
  --text: #2a2a2a;
  --textgris: #494949;
  --lavhome-gris:#494949;
  --accent: #f9e830;
  --accentnew: #ffd23f;
  --accent-soft: #ffe580;
  --accent-pale: #fff5d6;
  --accent-very-pale: #fcf5e2;
  --accent-dark: #e6be38;
  --accent-clair: #fff7d1;
  --accent-2: #3a8c8e;
  --accent2-005: rgba(58, 140, 142, 0.05);
  --accent2-01: rgba(58, 140, 142, 0.1);
  --accent2-03: #3a8c8e4d;
  --danger: #ff6b6b;
  --radius: 10px;
  --shadowp: 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
  --shadowlight: 0px 0px 5px 3px rgba(0, 0, 0, 0.05);
  --anton: "Anton", sans-serif;
  --titi: "Titillium Web", sans-serif;
}

/* Reset et structure */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  background: #f8f8f8 !important;
}

.form-lavhome body {
  margin: 0;
  font-family: "Titillium Web", sans-serif;
  color: var(--text);
  background: #f8f8f8 !important;
}
.form-lavhome .form-body {
  width:100%;
}

@media (max-width: 1024px) {
  html, body {
  height: 100%;
  background: #fffffd !important;
}
  .form-lavhome body {
  background: #fffffd !important;
}
}
/* Container principal */
.form-lavhome .page {
  width: 920px;
  max-width: calc(100%-20px);
  margin: 40px auto;
  padding: 0 16px;
}

/* Titres */
.form-lavhome h1 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  margin: 0 0 6px;
  font-size: 28px;
}
.form-lavhome h2 {
  font-family: "Titillium Web", sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--text);
}


.form-lavhome h3 {
  font-family: "Titillium Web", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--text);
}

/* Styles de texte utilitaires */
.form-lavhome .muted {
  color: var(--muted);
  line-height: 1.2rem;
  font-size: 0.85rem;
}
.form-lavhome .tiny {
  font-size: 14px;
}

.form-lavhome p {
  font-size: 16px;
}
.form-lavhome .txt16px {
  font-size: 16px !important;
}

.form-lavhome label {
  font-size: 16px !important;
}
.form-lavhome a {
  font-size: 16px !important;
  color: var(--accent-2) !important;
  font-weight: 600 !important;
}

.form-lavhome .subtext {
  color: var(--textgris);
  font-size: 14px;
  padding-bottom:8px;
}

.form-lavhome .card-form {
  background-color: var(--bg);
  border: 1px solid var(--grisclairborder);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

.form-lavhome .block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

/*Séparateurs*/

.form-lavhome .group-type-explanation {
  border-bottom: 1px solid var(--grisclairborder);
}

.form-lavhome .group-service-qte {
  margin-top: 24px;
  border-bottom: 1px solid var(--grisclairborder);
  padding-bottom: 16px;
      display: flex;
    flex-direction: column;
    align-items: center;
}

.form-lavhome .card-programme {
  margin-top: 24px;
  border-bottom: 1px solid var(--grisclairborder);
  padding-bottom: 16px;
}

.form-lavhome .card-creneaux {
  margin-top: 24px;
  border-bottom: 1px solid var(--grisclairborder);
  padding-bottom: 16px !important;
}


.form-lavhome .card-infos {
  margin-top: 24px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--grisclairborder);
}


/* Champs texte & textarea */
.form-lavhome input[type="text"],
.form-lavhome input[type="number"],
.form-lavhome input[type="email"],
.form-lavhome input[type="tel"],
.form-lavhome textarea {
  width: auto;
  padding: 6px 6px;
  border: 1px solid var(--grisclairborder);
  border-radius: var(--radius);
  font-size: 16px !important;
  font-family: inherit;
  background: #fff;
  color: #333;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Champ code postal */
.form-lavhome #zipcode {
  width: 120px!important;
  max-width: 100%;
  padding: 6px 6px;
  font-size: 16px;
}

/* Effet focus */
.form-lavhome input[type="text"]:focus,
.form-lavhome input[type="number"]:focus,
.form-lavhome input[type="email"]:focus,
.form-lavhome input[type="tel"]:focus,
.form-lavhome textarea:focus {
  border-color: var(--accent2-03);
  outline: none;
}

/* Placeholder */
.form-lavhome ::placeholder {
  color: #999;
  font-style: italic;
  font-size: 16px;
}

/* 🔍 Section code postal */

.form-lavhome .card-localisation {
  gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 24px;
}

.form-lavhome .card-localisation .h2 {
  text-align: center;
}S

.form-lavhome .card-localisation .muted {
  text-align: center;
}

.form-lavhome .card-localisation.validated {
  border-bottom: 1px solid var(--grisclairborder);
  margin-bottom: 24px;
  padding-bottom: 24px;
}

.form-lavhome .grid-zip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.form-lavhome .zip-status {
  padding: 10px 12px;
  width: 100%;
  background: var(--bg);
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 14px;
}
.form-lavhome .code-postal-inline {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: baseline;
}

/* Cartes Type de commande */
.form-lavhome .card-type {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.form-lavhome .cards-order {
  display: grid;
  width: 66%;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-lavhome .order-card {
  display: flex;
  cursor: pointer;
  justify-content: center;
}

.form-lavhome .order-card input {
  display: none;
}

.form-lavhome .order-card-body {
  background: #ffffff;
  border: 1px solid var(--grisclairborder);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  align-items: center;
  transition: all 0.2s;
  height: 85%;
  width: 100%;
  gap: 1rem;
}

.form-lavhome .order-card-body .icone-order-type {
  width: 16px;
  height: 16px;
  fill: var(--text);
  margin-right: 8px;
}
.form-lavhome .order-card-body .order-icone {
  display: flex;
  flex-direction: row;
}
.form-lavhome .order-card input:checked + .order-card-body {
  border: 2px solid var(--accent);
  background: var(--accent-pale);
  box-shadow: var(--shadowlight);
}

.form-lavhome .order-card-body .order-type {
  font-family: "Titillium Web";
  font-size: 16px !important;
  font-weight: 600;
  color: #494949;
  text-transform: capitalize;
  background-color: var(--accent-soft);
  padding: 1rem;
  border-radius: 14px;
}

.form-lavhome .order-card-body .type-description {
  font-family: var(--titi);
  font-size: 14px;
  font-weight: 400;
  color: #494949;
  line-height: 1.2;
}

.form-lavhome .order-card:hover .order-card-body {
  box-shadow: var(--shadowlight);
  transform: scale(1.03);
}

@media (max-width: 767px) {
  .form-lavhome .cards-order {
    grid-template-columns: 1fr;
    gap: 0px;
  }
}

/*  Cartes services */

.form-lavhome .card-service {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.form-lavhome .cards {
  display: grid;
  width: auto;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  gap: 24px;
}

.form-lavhome .service-card-2 input {
  display: none;
}

.form-lavhome .service-card-2 {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 100%;
  cursor: pointer;
}
.form-lavhome .service-card-body-2 {
  background: #ffffff;
  border: 1px solid var(--grisclairborder);
  border-radius: 12px;
  padding: 16px;
  transition: 0.2s;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 232px;
  border: 1px solid var(--grisclairborder);
}

.form-lavhome .service-card-2 input:checked + .service-card-body-2 {
  border: 2px solid var(--accent);
  background: var(--accent-pale);
  box-shadow: var(--shadow);
  transform: scale(1.03);
}
.form-lavhome .service-card-2 input:hover + .service-card-body-2 {
  box-shadow: var(--shadowlight);
  transform: scale(1.03);
}


.form-lavhome
  .service-card
  input:checked
  + .form-lavhome
  .service-card-body
  h4 {
  border-bottom: 0px !important;
  box-shadow: none !important;
}

.form-lavhome .service-card-body-2 h4 {
  font-family: "Titillium Web";
  font-size: 16px !important;
  font-weight: 600;
  color: #2a2a2a;
  text-transform: uppercase;
  background-color: var(--accent-soft);
  padding: 1rem;
  border-radius: 14px;
}

.form-lavhome .service-card-body-2 p {
  font-family: var(--titi);
  font-size: 14px !important;
  font-weight: 400;
  color: #494949 !important;
  line-height: 1.2;
}

.form-lavhome .service-card-body-2 .price {
  font-family: var(--titi);
  font-size: 18px;
  font-weight: 600;
  color: #4e4e4e;
}

.form-lavhome .service-card-body-2 .regular-price {
  font-family: var(--titi);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.form-lavhome .service-card-body-2 .price-degressive .label {
  font-size: 14px !important;
  font-weight: 400;
  color: var(--text);
}

.form-lavhome .service-card-body-2 .price-degressive .amount {
  font-size: 18px;
  font-family: var(--titi);
  font-weight: 600;
  color: var(--text);
}

.form-lavhome .service-card-content {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.form-lavhome .price-degressive {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.form-lavhome .price-degressive .label {
  font-size: 14px !important;
  font-weight: 400;
  color: var(--text);
}

.form-lavhome .price-degressive .amount {
  font-size: 28px;
  font-family: var(--anton);
  font-weight: 100;
  color: var(--text);
}

.form-lavhome .regular-price {
  font-family: var(--anton);
  font-weight: 100;
  font-size: 28px;
}

.form-lavhome .service-card .price {
  margin-bottom: 8px;
  font-weight: 100;
  text-align: center;
  color: #2a2a2a;
  font-size: 28px;
}

.form-lavhome .service-card input:checked + .service-card-body {
  border: 20px solid var(--accent2);
  background: var(--accent2-01);
  box-shadow: var(--shadowlight);
  transform: scale(1.03);
}
.form-lavhome .service-card input:hover + .service-card-body {
  box-shadow: var(--shadowlight);
  transform: scale(1.03);
}
.form-lavhome
  .service-card
  input:checked
  + .form-lavhome
  .service-card-body
  h4 {
  border-bottom: 0px !important;
  box-shadow: none !important;
}

/* liste a puce features*/
.form-lavhome .service-features {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  margin-bottom: 12px; /* centre la liste horizontalement dans la card */
  font-size: 14px;
}

.form-lavhome .service-features li {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 6px;
  margin-bottom: 2px;
  transition: all 0.2s ease-in-out;
}

.form-lavhome .service-features li.check {
  color: #2a2a2a;
}

.form-lavhome .service-features li.cross {
  color: var(--grisclair);
}

.form-lavhome .service-features .check-icon {
  width: 16px;
  fill: var(--accent-2);
}
.form-lavhome .service-features .cross-icon {
  width: 16px;
  fill: var(--grisclair);
}

.form-lavhome .service-features li:hover {
  opacity: 0.8;
}
/* card quantité */
.form-lavhome .quantity-row-card {
  background: var(--accent-pale);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center; /* Centre le texte à l'intérieur */
}
.form-lavhome .quantity-row h3 {
  text-align: center;
  margin: 10px;
  margin-top: 20px;
}
.form-lavhome .quantity-row {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centre horizontalement */
  width:100%;
  max-width: 640px;
}

.form-lavhome .quantity-label {
  display: block;
  font-size: 16px;
  color: var(--text);
  text-align: center;
}

.form-lavhome .formule-sac {
  font-size: 14px;
}

.form-lavhome .quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top:8px;
}

.form-lavhome #sacQuantity {
  width: 48px !important;
  text-align: center;
  font-size: 16px;
}

.form-lavhome .quantity-btn {
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  border-radius: 0px;
  font-size: 18px;
  font-weight: 500;
  color: var(--textgris);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0s ease;
}

.form-lavhome .quantity-btn:hover {
  background: var(--accent-soft);
  color: var(--text);
  border-radius: 8px;
  border: none !important;
  transition: all 0s ease;
}

.form-lavhome .quantity-btn:focus {
  background: var(--accent-soft);
  color: var(--text);
  border: none !important;
  border-radius: 8px;
  transition: all 0s ease;
}

.form-lavhome .quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-lavhome .express-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 16px;
  background: none;
  border-radius: var(--radius);
  border: 1px solid var(--accent-soft);
}

.form-lavhome .express-option .checkbox {
  justify-content: center;
}

.form-lavhome .express-option small {
  text-align: center;
  font-size: 12px;
}

.form-lavhome .price-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
}

.form-lavhome .price-preview-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: auto;
  width: auto; /* Ajouter cette ligne */
  margin-top:12px;
}

.form-lavhome .price-preview-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}

.form-lavhome .price-preview-label {
  font-weight: 400;
  font-family: "Titillium Web", sans-serif;
  color: var(--text);
  font-size: 16px;
}

.form-lavhome .price-preview-amount {
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 768px) {
  .form-lavhome .page {
    padding: 0 12px;
    margin: 20px auto;
  }
  /* Coordonnées */
  .form-lavhome .coo-block {
    width: 100%;
  }
}

.form-lavhome .card-programme {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Ligne avec checkbox/radio alignées */
.form-lavhome .inline-option {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: space-between;
  margin-top: 16px;
  gap: 8px;
}
.form-lavhome .checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.form-lavhome .checkbox input {
  width: 16px;
  height: 16px;
}

/* Formulaires en 2 colonnes */
.form-lavhome .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-lavhome .label {
  display: block;
  margin: 16px 0 8px;
}
.form-lavhome .radio-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

 /*Formulaires coordonnées*/
.form-lavhome .coo-block {
  width: 100%;
  max-width: 640px;
}

.form-lavhome .two-col-coo {
  display: grid;
  grid-template-columns: 48% 48%;
  justify-content: space-between;
  gap: 0px;

  width: 100%;
}

.form-lavhome #nom,
.form-lavhome #prenom,
.form-lavhome #city,
.form-lavhome #zipcode2 {
  width: 100%;
}

.form-lavhome #adresse,
.form-lavhome #phone,
.form-lavhome #email,
.form-lavhome #sponsor,
.form-lavhome #notes {
  width: 100%;
}

/* Formulaires en 1 colonnes */
.form-lavhome .one-col {
  display: block;
  gap: 16px;
}
.form-lavhome .label {
  display: block;
  margin: 8px 0 6px;
}
.form-lavhome .radio-wrap {
  display: grid;
  grid-template-columns: repeat(2, 2);
  gap: 8px;
  width: 400px;
}

/*radio wrap programmes*/
.form-lavhome .radio-wrap label {
  background: #fff;
  border: 1px solid var(--grisclairborder);
  padding: 8px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
}

.form-lavhome .radio-wrap label:has(input:checked) {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

.form-lavhome .radio-wrap input {
  margin-right: 8px;
}

.form-lavhome .radio-wrap :hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: scale(1.03);
  background: var(--accent-pale);
}

.form-lavhome #vetsDetails {
  margin-top: 6px;
  width: 100%;
}

/* Checkbox avec info tooltip */
.form-lavhome .checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 8px;
}
.form-lavhome .info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent-soft) !important;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  line-height: 1em;
}
.form-lavhome .tooltip h3 {
  font-size: 20px;
}

.form-lavhome .tooltip {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}
.form-lavhome .tooltip .tooltip-inner {
  width: min(580px, 92vw);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadowlight);
}

.form-lavhome .tooltip-inner ul {
  padding-inline-start: 8px;
  font-size: 16px;
}

.form-lavhome .tooltip ul {
  list-style: none;
  margin-bottom: 0px;
  font-size: 16px;
}
.form-lavhome .tooltip li {
  margin-bottom: 18px;
  font-size: 16px;
}

.form-lavhome .tooltip ul ul {
  margin: 12px 0 0 0;
  padding: 0;
  font-size: 16px;
}

.form-lavhome .dryer-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.form-lavhome .tooltip .close {
  float: right;
  background: #0000;
  border: 0;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
}
.form-lavhome .card-qte-abo {
  background: var(--accent-pale);
  border: none;
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
  margin-bottom: 16px;
  gap: 8px;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 744px;
}
.form-lavhome .card-qte-content {
  display:flex;
  flex-direction: column;
  gap:16px;
  width: 100%;
  }

.form-lavhome #subscriptionRow .slider-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.form-lavhome #subscriptionRow .contact-abo {
  text-align: center;
  font-size: 14px;
}

.form-lavhome .contact-abo #contactMore {
  font-size: 14px !important;
}


/* Slider de quantités */
.form-lavhome .slider-row {
  display: grid;
  width: 70%;
  margin: auto;
  gap: 6px;
  position: relative;
}

.form-lavhome .slider-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3px;
  text-align: center;
}
.form-lavhome .slider-meta-label {
  font-size: 16px;
  margin-left: 16px;
}

.form-lavhome .slider-meta-value {
  font-size: 16px;
  font-weight: 600;
}

.form-lavhome input[type="range"] {
  width: 100%;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border-radius: 4px;
  outline: none;
  position: relative;
  z-index: 3;
}

.form-lavhome input[type="range"]::-webkit-slider-track {
  height: 8px;
  background: transparent;
  border-radius: 4px;
  border: none;
}

.form-lavhome input[type="range"]::-moz-range-track {
  height: 8px;

  background: transparent;
  border-radius: 4px;
  border: none;
}
/*curseur slider*/
.form-lavhome input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.form-lavhome input[type="range"]::-moz-range-thumb {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.form-lavhome .slider-row::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--grislcair);
  border-radius: 4px;
  z-index: 1;
}

.form-lavhome .slider-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 8px;
  background: var(--accent-soft);
  border-radius: 4px;
  width: var(--progress, 0%);
  z-index: 2;
  transition: width 0.15s ease;
}

.form-lavhome .subscription-first-order {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius);
  margin-top: 8px;
}

.form-lavhome .subscription-first-order h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 16px !important;
}

.form-lavhome .subscription-first-order .subscriptionLabel {
  color: var(--textgris);
  font-size: 0.9rem !important;
}

@media (max-width: 768px) {
  .form-lavhome .card-qte-abo,
  .form-lavhome .subscription-first-order {
    width: 100% !important;
  }
}

.form-lavhome #subscriptionQuantity {
  width: 48px !important;
  text-align: center;
}

/* Récap de commande */
.form-lavhome .summary {
  display: block;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

/* Bouton principal */
.form-lavhome .btn-primary {
  margin-top: 10px;
  background: var(--accent-2);
  border: 0;
  color: #ffffff;
  font-size: 18px;
  padding: 12px 30px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: var(--shadowp);
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
}
.form-lavhome .btn-primary:hover {
  background: #fff;
  color: var(--accent-2);
  border: 2px solid var(--accent-2);
  transform: scale(1.03);
  transition: 0.2s ease;
}

.form-lavhome input[type="radio"] {
  accent-color: var(--accent-soft);
}

.form-lavhome input[type="checkbox"]{
  accent-color: var(--accent-2);
}


/* Masquer (toggle) */
.form-lavhome .hidden {
  display: none !important;
}

/* 📱 Responsive */
@media (max-width: 860px) {
  .form-lavhome .cards {
    grid-template-columns: 1fr;
  }
  .form-lavhome .grid-zip {
    grid-template-columns: 1fr;
  }
  .form-lavhome .two-col {
    grid-template-columns: 1fr;
  }
}

/* ===== FLATPICKR CUSTOM STYLES ===== */

/* Champs date/time avec Flatpickr */
.flatpickr-input {
  width: 100% !important;
  padding: 8px !important;
  font-family: "Titillium Web", sans-serif;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: #2a2a2a;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.flatpickr-input:focus {
  box-shadow: 0 0 2px 2px rgba(175, 175, 175, 0.1);
  outline: none;
}

/* Personnalisation du calendrier Flatpickr */
.flatpickr-calendar {
  font-family: "Titillium Web", sans-serif !important;
  border-radius: 12px !important;
  border: 1px solid #e0e0e0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* En-tête du calendrier */
.flatpickr-months {
  background: var(--accent-soft) !important;
  font-size: 14px;
  font-family: "Titillium Web", sans-serif !important;
  border-radius: 12px 12px 0 0 !important;
  padding-bottom: 6px !important;
}

.flatpickr-current-month {
  color: var(--text) !important;
  font-size: 16px !important;
  margin: 0px !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month .numInputWrapper {
  background: transparent !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover,
.flatpickr-current-month .numInputWrapper:hover {
  background: rgba(255, 255, 255, 0) !important;
}

.flatpickr-current-month input.cur-year {
  color: var(--text) !important;
  font-family: "Titillium Web", sans-serif !important;
  font-size: 16px;
}
.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  color: #2a2a2a !important;
  background: #2a2a2a0e;
  border-radius: 999px;
}

.flatpickr-prev-month:hover svg path,
.flatpickr-next-month:hover svg path {
  fill: #2a2a2a !important;
}
/* Flèches de navigation */
.flatpickr-prev-month,
.flatpickr-next-month {
  color: var(--text) !important;
  fill: var(--text) !important;
}

/* Jours de la semaine */
.form-lavhome.flatpickr-weekdays {
  background: #f5f5f5 !important;
  font-family: "Titillium Web", sans-serif !important;
  color: var(--text) !important;
  font-weight: 600 !important;
}

/* Jours du calendrier */
.flatpickr-day {
  color: var(--text);
  font-family: "Titillium Web", sans-serif !important;
  border-radius: 15px !important;
  font-weight: 500 !important;
}

.flatpickr-day.today {
  border: none!important;
  background: var(--accent-pale) !important;
}

.flatpickr-day:hover {
  background: var(--accent-pale) !important;
  color: var(--text) !important;
  border: none !important;
}

.flatpickr-day.selected {
  background: var(--accent-soft) !important;
  color: var(--text) !important;
  border:none !important;
}

.flatpickr-day-disabled {
  color: #cccccc9c !important;
  border: 0px !important;
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}
.flatpickr-day.nextMonthDay {
  color: #656565;
}

/* Jours disabled (mois courant) */
.flatpickr-day.flatpickr-disabled {
  color: #cccccc9c !important;
  border: 0px !important;
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* Jours du mois suivant (normaux) */
.flatpickr-day.nextMonthDay {
  color: #656565;
}

/* Jours du mois suivant ET disabled */
.flatpickr-day.flatpickr-disabled.nextMonthDay,
.flatpickr-day.nextMonthDay.flatpickr-disabled {
  color: #cccccc9c !important;
  background: transparent !important;
  border: 0px !important;
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* Sélecteur d'heure */
.flatpickr-time {
  border-top: 1px solid #e0e0e0 !important;
}

.flatpickr-time input {
  color: var(--text) !important;
  font-weight: 600 !important;
}

.flatpickr-time input:hover,
.flatpickr-time input:focus {
  background: #3a8d8e8f !important;
  color: var(--text) !important;
}

.flatpickr-time .flatpickr-am-pm {
  color: var(--text) !important;
}

.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time .flatpickr-am-pm:focus {
  background: var(--accent) !important;
}

/* Animation à l'ouverture */
.flatpickr-calendar.open {
  animation: slideDown 5s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Style pour mobile */
@media (max-width: 600px) {
  .flatpickr-calendar {
    font-size: 14px !important;
  }

  .flatpickr-day {
    height: 35px !important;
    line-height: 35px !important;
  }
}

/* Masquer le champ input de Flatpickr 
  display: none !important;
}*/

/* ===== NOUVEAU COMPOSANT CRÉNEAUX V2 ===== */

.form-lavhome .creneaux-container-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.form-lavhome .creneau-column {
  padding: 16px;
  border: 1px solid var(--grisclairborder);
  width: 308px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
}

.form-lavhome .creneau-column h3 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

.form-lavhome .creneau-field {
  margin-bottom: 16px;
}

.form-lavhome .creneau-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.form-lavhome .creneau-icon {
  width: 16px;
  height: 16px;
  fill: var(--accent-2);
  flex-shrink: 0;
}

.form-lavhome .creneau-input {
  font-family: "Titillium Web", sans-serif;
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-lavhome .creneau-input:hover {
  border-color: var(--grisclair);
}

.form-lavhome .creneau-input:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
  width:100%;
}

.form-lavhome .creneau-select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  /* Apparence */
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

  /* AJOUTS pour forcer la typographie */
  font-family: "Titillium Web", sans-serif !important;
  color: var(--text) !important;
  /* Flèche custom */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px !important;
  padding-right: 40px !important;
}

.form-lavhome .creneau-select:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 2px rgba(58, 140, 142, 0.2);
  outline: none;
}
.form-lavhome .creneau-select::-webkit-appearance {
  -webkit-appearance: none !important;
}

.form-lavhome .creneau-select::-moz-appearance {
  -moz-appearance: none !important;
}

.form-lavhome .info-coursier {
  font-size: 14px;
  color: var(--muted);
}
.form-lavhome .creneau-subtitle {
  font-size: 14px;
  color: var(--muted);
}
/* Bulles récapitulatives */
.form-lavhome .creneau-recap {
  margin-top: 16px;
}

.form-lavhome .recap-bubble {
  border: 1px solid var(--accent);
  background-color: var(--accent-pale);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  position: relative;
}

.form-lavhome .recap-date {
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 4px;
}

.form-lavhome .recap-time {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 12px;
}

.form-lavhome .recap-edit {
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-lavhome .recap-edit:hover {
  background: var(--accent-soft);
  color: var(--text);
  border: 1px solid var(--text);
}

/* Responsive */
@media (max-width: 768px) {
  .form-lavhome .creneaux-container-v2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-lavhome .creneau-column {
    padding: 12px;
  }
}

/*--------------- Récapitulatif final stylisé -------------*/
.form-lavhome .summary-enhanced {
  border: 1px solid var(--grisclairborder);
  border-radius: var(--radius);
  padding: 24px;
  width: 100%;
  max-width: 640px;
}

.form-lavhome .summary-title {
  display: none;
}

.form-lavhome .summary-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.form-lavhome .summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}

.form-lavhome .summary-item-label {
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
}

.form-lavhome .summary-item-value {
  font-weight: 500;
  color: var(--text);
  font-size: 16px;
}

.form-lavhome .summary-total {
  text-align: center;
  padding: 16px;
  gap:8px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.form-lavhome .summary-total-label {
  font-family: (var(--titi));
  text-transform: uppercase;
  font-size: 18px;
  color: var(--text);
  letter-spacing: 0.5px;
  font-weight: 600;

}
.form-lavhome .summary-total-price {
  font-family: (var(--titi));
  font-size: 18px;
  color: var(--text);
  font-weight: 700;
}


.form-lavhome .summary-total-subscription-container {
  display: flex;
  flex-direction: column;
  padding: 16px 16px 0px 16px;
  gap:8px;
}

.form-lavhome .summary-promo-subscription,
.form-lavhome .subscription-price {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.form-lavhome .subscription-promo-label {
  font-weight: 400;
  font-family: "Titillium Web", sans-serif;
  color: var(--text);
  font-size: 16px;
}

.form-lavhome .subscription-promo-amount {
  font-family: "Titillium Web", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.form-lavhome .subscription-price-label {
  font-weight: 400;
  font-family: "Titillium Web", sans-serif;
  color: #575757;
  font-size: 14px;
}

.form-lavhome .subscription-price-amount {
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #575757;
}

.form-lavhome .btn-commander {
  width: 50%;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent-2) 100%);
  border: 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: var(--shadowp);
  font-family: "Titillium Web", sans-serif;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: block; /* s'assurer qu'il occupe toute une ligne */
  margin: 0 auto; /* centre horizontalement */
  margin-bottom: 24px;
}

.form-lavhome .btn-commander::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.form-lavhome .btn-commander:hover {
  transform: translateY(-2px);
  color: #ffffff;

  background: linear-gradient(135deg, #2a6d6f 0%, var(--accent-2) 100%);
}

.form-lavhome .btn-commander:hover::before {
  left: 100%;
}

.form-lavhome .btn-commander:active {
  transform: translateY(0);
  color:#fff;
}
.form-lavhome .btn-commander:focus {
  color:#fff;
}
.form-lavhome .btn-commander:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}
/* Animation pulse pour attirer l'attention */
/*@keyframes pulse-border {
  0% {
    box-shadow: 0 6px 20px rgba(154, 165, 165, 0.4),
      0 0 0 0 rgba(58, 140, 142, 0.7);
  }
  70% {
    box-shadow: 0 6px 20px rgba(58, 140, 142, 0.4),
      0 0 0 8px rgba(58, 140, 142, 0);
  }
  100% {
    box-shadow: 0 6px 20px rgba(58, 140, 142, 0.4),
      0 0 0 0 rgba(58, 140, 142, 0);
  }
}

.btn-commander-pulse {
  animation: pulse-border 3s infinite;
}
*/

.form-lavhome .cgu-container {
  margin: 16px 0;
  text-align: center;
}

.form-lavhome .cgu-container .checkbox {
  justify-content: center;
  font-size: 14px;
}

.form-lavhome .cgu-container a {
  color: var(--accent-2);
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}

.form-lavhome .cgu-container a:hover {
  color: var(--text);
}

.form-lavhome .cgu-modal {
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}

.form-lavhome .cgu-content {
  margin-top: 12px;
}

.form-lavhome .SubtitleCgu {
  color: var(--accent-2);
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.form-lavhome #showCGU {
  color: var(--accent-2);
  font-size: 16px;
  font-weight: 600;
}

.form-lavhome #city[readonly] {
  background-color: #f0f0f0;
  color: #666;
}

/*.form-lavhome .quantity-error {
  color: #ff6b6b;
  font-weight: 500;
  margin-top: 8px;
  width: 100%;
}*/

.form-lavhome .quantity-error {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 16px;
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  color: var(--danger);
  font-weight: 500;
  text-align: center;
  width: 100%;
  max-width: 640px;
}

.form-lavhome #sacQuantity {
  transition: border-color 0.2s ease;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
  .form-lavhome .page {
    padding: 0 12px;
    margin: 20px auto;
  }

  /* Cards services en colonne */
  .form-lavhome .cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Cards type commande en colonne */
  .form-lavhome .cards-order {
    grid-template-columns: 1fr;
  }

  /* Quantité et prix preview */
  .form-lavhome .quantity-row-card {
    padding: 12px;
  }

  .form-lavhome .price-preview-card {
    max-width: 100%;
    padding: 12px 16px;
  }

  /* Créneaux en une colonne */
  .form-lavhome .creneaux-container {
    grid-template-columns: 1fr;
  }

  .form-lavhome .creneaux-selection {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(42, 42, 42, 0.1);
    padding-bottom: 16px;
  }
  .form-lavhome .card-qte-abo {
    width: 100%;
  }
  .form-lavhome .creneaux-recap {
    padding-left: 0;
    padding-top: 16px;
  }

  /* Coordonnées */
  .form-lavhome .coo-block {
    width: 100%;
  }

  .form-lavhome .two-col-coo {
    grid-template-columns: 1fr;
  }

  /* Bouton commander */
  .form-lavhome .btn-commander {
    width: 100%;
    font-size: 18px;
  }

  /* Summary responsive */
  .form-lavhome .summary-enhanced {
    width: 100%;
    padding: 16px;
  }

  /* Slider abonnement */
  .form-lavhome .slider-row {
    width: 100%;
  }
  .form-lavhome #subscriptionRow #qtySlider {
    width: 90%;
  }

  .form-lavhome .slider-row::after {
    /* Fond gris */
    left: 5%;
    width: 90%;
  }

  .form-lavhome .slider-row::before {
    /* Barre jaune - ajuster la largeur pour tenir compte du décalage */
    left: 5%;
    width: calc(var(--progress, 0%) * 0.9); /* 90% de la progression */
  }
}


@media (max-width: 480px) {
  /* Très petits écrans */
  .form-lavhome .service-features {
    font-size: 12px;
    margin-left: 10%;
  }

  .form-lavhome .quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Réduire l'espace sur mobile */
    flex-direction: row; /* Forcer en ligne */
  }

  .form-lavhome #sacQuantity,
  .form-lavhome #subscriptionQuantity {
    width: 48px; /* Réduire la largeur sur mobile */
  }

  .form-lavhome .quantity-label {
    font-size: 14px; /* Optionnel : réduire la taille du texte */
  }
}

.form-lavhome #sacQuantity,
.form-lavhome #subscriptionQuantity {
  width: 80px;
}

@media (max-width: 768px) {
  .flatpickr-calendar {
    max-width: 100% !important;
    font-size: 14px !important;
  }
}
@media (max-width: 768px) {
  .form-lavhome .radio-wrap {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 6px;
  }
  .form-lavhome .radio-wrap label {
    padding: 8px; /* Réduire le padding pour mobile */
    font-size: 14px; /* Réduire la taille du texte */
  }
}
@media (max-width: 300px) {
  .form-lavhome .radio-wrap {
    grid-template-columns: 1fr; /* 1 seule colonne pour très petits écrans */
  }
}
@media (max-width: 768px) {
  /* Centrer la section créneaux */
  .form-lavhome .creneaux-container {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
    margin: 0 auto;
  }

  .form-lavhome .creneaux-selection {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(42, 42, 42, 0.1);
    padding-bottom: 16px;
    text-align: center; /* Centrer le contenu */
  }

  .form-lavhome .creneaux-recap {
    padding-left: 0;
    padding-top: 16px;
    text-align: center; /* Centrer les récaps */
  }

  /* Centrer le calendrier Flatpickr */
  .flatpickr-calendar {
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  /* Centrer le sélecteur d'heure */
  .form-lavhome .creneaux-time-selector {
    text-align: center;
  }

  .form-lavhome .creneaux-select {
    width: 80%;
    margin: 0 auto;
  }

  /* Responsive du calendrier pour mobile */
  .flatpickr-day {
    height: 32px !important;
    line-height: 32px !important;
    font-size: 13px !important;
  }

  .flatpickr-months {
    padding-bottom: 4px !important;
  }
}

@media (max-width: 480px) {
  /* Très petits écrans */
  .form-lavhome .creneaux-select {
    width: 95%;
    font-size: 14px;
  }

  .flatpickr-calendar {
    font-size: 12px !important;
  }
}
@media (max-width: 768px) {
  .form-lavhome .service-card-body {
    width: 75%;
    height: auto;
    margin: auto;
    padding-bottom: 10px; /* Réduire de 14px à 10px */
    min-height: auto; /* Supprimer toute hauteur fixe */
    gap: 16px;
  }

  .form-lavhome .service-card h4 {
    font-size: 22px; /* Réduire de 20px à 16px */
  }

  .form-lavhome .service-card p {
    font-size: 16px; /* Réduire la taille */
    line-height: 1.3;
  }
  .form-lavhome .service-card {
    text-align: center; /* Centrer tout dans la card */
  }
  .form-lavhome .service-features {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: auto;
    margin-bottom: 20px; /* centre la liste horizontalement dans la card */
    font-size: 14px;
  }

  .form-lavhome .service-features li {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 6px;
    margin-bottom: 0px;
    transition: all 0.2s ease-in-out;
  }
  .form-lavhome .service-card .price {
    font-size: 22px; /* Réduire de 20px à 18px */
    margin-bottom: 4px;
  }
}

/* Version compacte mobile */
@media (max-width: 768px) {
  .form-lavhome .service-card {
    height: auto; /* Hauteur flexible */
  }

  .form-lavhome .service-card-body {
    height: auto;
    min-height: auto; /* Plus compact */
  }

  .form-lavhome .service-card-content {
    gap: 8px;
  }

  /* Masquer features par défaut sur mobile */
  .form-lavhome .service-features {
    display: none;
    margin-top: 12px;
    animation: slideDown 0.3s ease;
  }

  /* Masquer le paragraphe par défaut */
  .form-lavhome .service-card p {
    display: none;
  }

  /* Afficher quand la card est sélectionnée */
  .form-lavhome
    .service-card
    input:checked
    + .service-card-body
    .service-features,
  .form-lavhome .service-card input:checked + .service-card-body p {
    display: flex; /* ou block pour p */
    animation: slideDown 0.3s ease;
  }

  .form-lavhome .service-card input:checked + .service-card-body p {
    display: block;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Info box abonnement */
.form-lavhome .abonnement-explanation-container {
  margin: 0px auto 24px auto;
  width: 100%;
  max-width: 640px;
}

.form-lavhome .explanation-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--accent-soft);
  background: var(--accent-very-pale);
  transition: all 0.2s ease;
}

.form-lavhome .explanation-trigger:hover {
  background: var(--accent-pale);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.form-lavhome .info-bulb-icon {
  width: 16px;
  height: 16px;
  fill: #4e4e4e;
  margin-right: 8px;
  flex-shrink: 0;
}

.form-lavhome .abonnement-details {
  margin-top: 16px;
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  background: var(--accent-very-pale);
  padding: 0;
  overflow: hidden;
  
}

.form-lavhome .details-content {
  padding: 20px;
}

.form-lavhome .details-content h4 {
  margin: 0 0 16px 0;
  color: var(--text);
  font-size: 16px;
  text-align: center;
}

.form-lavhome .process-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.form-lavhome .process-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-lavhome .step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-lavhome .step-content {
  flex: 1;
}

.form-lavhome .step-content strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 2px;
}

.form-lavhome .step-content p {
  margin: 0;
  font-size: 13px !important;
  color: var(--muted);
  line-height: 1.4;
}

.form-lavhome .example-box {
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 12px;
  margin-top: 16px;
}

.form-lavhome .example-box strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
}

.form-lavhome .example-box p {
  margin: 0;
  font-size: 13px !important;
  color: var(--text);
  line-height: 1.4;
}

/* Animation d'apparition */
.form-lavhome .abonnement-details {
  transition: all 0.3s ease;
}

.form-lavhome .abonnement-details.hidden {
  max-height: 0;
  padding: 0;
  opacity: 0;
}

.form-lavhome .abonnement-details:not(.hidden) {
  max-height: auto;
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .form-lavhome .process-step {
    gap: 8px;
  }

  .form-lavhome .step-number {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .form-lavhome .details-content {
    padding: 16px;
  }
}

.form-lavhome .programme-info {
  margin-bottom: 16px;
  text-align: center;
}
/* ===== CODES PROMO ===== */
.form-lavhome .promo-section {
  padding: 16px;
}

.form-lavhome .promo-input-container {
  display: flex;
  gap: 8px;
  align-items: center;
}

.form-lavhome .promo-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  text-transform: uppercase;
  font-family: var(--titi);
}

.form-lavhome .btn-promo {
  background: var(--accent-2);
  border: 2px solid var(--accent-2);
  border-radius: var(--radius);
  color: white;
  padding: 8px 20px 8px 20px;
  box-shadow: var(--shadowp);
  font-size: 14px;
  cursor: pointer;
  font-family: var(--titi);
  font-weight: 600;
}
.form-lavhome .btn-promo:focus {
  background: #ffffff00;
  font-weight: 600;

  border: 2px solid var(--accent-2);
  color: var(--accent-2);
  transform: scale(1.03);
  transition: 0.2s ease;
}
.form-lavhome .btn-promo:hover {
  background: #ffffff00;
  font-weight: 600;

  border: 1px solid var(--accent-2);
  color: var(--accent-2);
  transform: scale(1.03);
  transition: 0.2s ease;
}

.form-lavhome .btn-promo:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-lavhome .promo-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(58, 140, 142, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(58, 140, 142, 0.3);
}

.form-lavhome .promo-applied-text {
  color: var(--accent-1);
  font-weight: 500;
  font-size: 14px;
}

.form-lavhome .promo-applied-text #appliedPromoCode {
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text);
}

.form-lavhome .promo-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.form-lavhome .promo-code {
  font-weight: 600;
  color: var(--accent-2);
  text-transform: uppercase;
}

.form-lavhome .promo-discount {
  color: var(--accent-2);
  font-weight: 600;
}

.form-lavhome .btn-remove-promo {
  background: none;
  border: none;
  color: #9aa0a6;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.form-lavhome .btn-remove-promo:hover {
  background: rgba(255, 107, 107, 0.1);
  color: var(--danger);
  border: none;
  border-radius: 8px;
}

.form-lavhome .promo-error {
  margin-top: 8px;
  color: var(--danger);
  font-size: 13px;
  padding: 4px 8px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 4px;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Prix original barré */
.form-lavhome .original-price-container {
  text-align: center;
  padding-right: 12px;
}

.form-lavhome .original-price-label {
  font-size: 14px;
  color: VAR(--muted);
  margin-right: 4px;
}

.form-lavhome .original-price-value {
  font-size: 14px;
  color: VAR(--muted);
  /*text-decoration: line-through;*/
  font-weight: 500;
}

/* ===== PRICING SUMMARY ===== */
.form-lavhome .summary-pricing {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-lavhome .summary-subtotal {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.form-lavhome .summary-discount {
  font-size: 14px;
  color: #16a34a;
  text-align: center;
  font-weight: 500;
}

/* ===== STRIPE ELEMENTS ===== */
.form-lavhome .payment-section {
  margin-top: 24px;
}

.form-lavhome .payment-section h3 {
  margin: 0 0 16px 0;
  text-align: center;
  color: var(--text);
  font-size: 18px;
}

.form-lavhome #stripe-elements-container {
  display: flex;
  width: 100%;
  position: relative !important;
  overflow: visible !important;
  flex-direction: column;
  align-items: center;
}

.form-lavhome .stripe-element {
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: white;
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}

.form-lavhome .stripe-element:focus-within {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 2px rgba(58, 140, 142, 0.2);
}

.form-lavhome .stripe-error {
  color: #ff6b6b;
  font-size: 13px;
  margin-top: 8px;
  min-height: 20px;
}

/* Styles Stripe Elements */
.form-lavhome .StripeElement {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--grisclairborder);
  transition: box-shadow 150ms ease;
  font-family: var(--titi);
  width:100%;
  max-width: 640px;
}

.form-lavhome .StripeElement .label {
  font-family: var(--titi);
}

.form-lavhome .StripeElement--focus {
  box-shadow: 0 1px 3px 0 #cfd7df;
}

.form-lavhome .StripeElement--invalid {
  border-color: #fa755a;
}

.form-lavhome .StripeElement--webkit-autofill {
  background-color: #fefde5 !important;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Mobile responsive */
@media (max-width: 400px) {
  .form-lavhome .promo-input-container {
    flex-direction: column;
    gap: 12px;
  }

  .form-lavhome .promo-input {
    width: 100%;
  }

  .form-lavhome .btn-promo {
    width: 100%;
    padding: 12px;
  }
}

/* ========================================== */
/* MODAL ABONNEMENT ACTIF */
/* ========================================== */

/* Overlay (fond sombre plein écran) */
.lavhome-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 20px;
}

/* Overlay cliquable */
.lavhome-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999998;
}

/* Card blanche centrée */
.lavhome-modal-content {
  background: white;
  border-radius: 10px;
  max-width: 500px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-family: "Titillium Web", sans-serif;
  position: relative;
  z-index: 1000000;
}

/* Icône alerte */
.lavhome-modal-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.lavhome-modal-icon-svg {
  width: 32px;
  height: 32px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lavhome-modal-icon-svg path {
  fill: var(--accent-soft); /* Triangle jaune */
  stroke: none; /* Pas de contour sur le triangle */
}

.lavhome-modal-icon-svg line {
  stroke: var(--textgris); /* ! en gris foncé */
  stroke-width: 2.5;
  fill: none;
}

/* Titre */
.form-lavhome .lavhome-modal-title {
  font-family: var(--titi);
  font-size: 24px;
  font-weight: 600;
  color: #2a2a2a;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.lavhome-canceled-quota-modal .lavhome-modal-title {
  font-size:20px ;

}


/* Message de bienvenue */
.lavhome-modal-greeting {
  font-size: 16px;
  color: #2a2a2a;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Box détails abonnement */
.lavhome-modal-details {
  background: var(--accent-pale);
  border: 1px solid var(--accent-soft);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
}

.lavhome-modal-detail-row {
  margin-bottom: 8px;
}

.lavhome-modal-detail-row:last-child {
  margin-bottom: 0;
}

.lavhome-modal-detail-label {
  color: #666;
  font-size: 14px;
}

.lavhome-modal-detail-value {
  color: #2a2a2a;
  font-size: 14px;
  margin-left: 8px;
  font-weight: 600;
}

/* Message explicatif */
.lavhome-modal-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.cancel-lavhome-modal-text {
  margin-bottom:16px;
}

/* Container boutons */
.lavhome-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Boutons génériques */
.form-lavhome .lavhome-modal-btn,
.form-lavhome .btn-modal-quota-cancel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: "Titillium Web", sans-serif;
  text-decoration: none;
  background: var(--accent-2);
  color: white !important;
  border: none;
  box-shadow: var(--shadowp);
}



.form-lavhome .lavhome-modal-btn:hover,
.form-lavhome .btn-modal-quota-cancel:hover {
  background: transparent;
  color: var(--accent-2)!important;
  transform: scale(1.02);
  transition:0.2s ease;
  border:1px solid var(--accent-2);
}

.form-lavhome .btn-modal-quota-cancel {
  width:100%;
  max-width: 352px;
  justify-content: center;
}

.form-lavhome .btn-modal-quota-confirm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: var(--shadowp);
  background: #f8f8f8;
  border-color: var(--grisclairborder);
  color: var(--lavhome-gris);
  cursor: pointer;
  transition: all 0.2s;
  font-family: "Titillium Web", sans-serif;
  text-decoration: none;
  width:100%;
  max-width: 352px;
}

.form-lavhome .btn-modal-quota-confirm:hover {
  transition:0.2s ease;
  transform: scale(1.02);
  background-color: transparent;
}


/* Icône dans bouton */
.lavhome-modal-btn-icon {
  width: 20px;
  height: 20px;
  fill: white;
  stroke: white;
  stroke-width: 2;
}

.form-lavhome .lavhome-modal-btn:hover .lavhome-modal-btn-icon {
  fill:var(--accent-2);
  stroke: var(--accent-2);
}

/* Responsive mobile */
@media (max-width: 600px) {
  .lavhome-modal {
    padding: 10px;
  }
  
  .lavhome-modal-content {
    padding: 24px;
  }
  
  .lavhome-modal-title {
    font-size: 20px;
  }
  
  .lavhome-modal-actions {
    flex-direction: column;
  }
  
  .lavhome-modal-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   CORRECTIONS RESPONSIVE UNIQUEMENT
   ======================================== */

/* CORRECTION 1 : Container principal déborde */
.form-lavhome .page {
  width: 100% !important;
  max-width: 920px !important;
  margin: 40px auto;
  padding: 0 16px;
}

/* CORRECTION 2 : Cards-order 66% déborde sur mobile */
.form-lavhome .cards-order {
  width: 100% !important;
  max-width: 640px;
}

/* CORRECTION 3 : Programme-info 75% déborde */
.form-lavhome .programme-info {
max-width: 640px;
}



/* CORRECTION 5 : Cards services débordent sur tablette */
@media (max-width: 768px) {
  .form-lavhome .cards {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

/* CORRECTION 6 : Promo en colonne sur petit mobile */
@media (max-width: 480px) {
  .form-lavhome .promo-input-container {
    flex-direction: column !important;
    gap: 12px;
  }
  
  .form-lavhome .promo-input,
  .form-lavhome .btn-promo {
    width: 100% !important;
  }
}

/* CORRECTION 7 : Padding réduit sur mobile */
@media (max-width: 600px) {
  .form-lavhome .page {
    padding: 0 12px !important;
    margin: 20px auto;
  }
  
  .form-lavhome .card-form {
    padding: 12px !important;
  }
  
  .form-lavhome .order-card-body {
    padding: 24px !important;
    max-width: 80%;
  }

  .form-lavhome .service-card-body-2 {
    padding: 8px 32px !important;
  }

}

/* CORRECTION 8 : Inputs et selects 100% sur mobile */
@media (max-width: 600px) {
  .form-lavhome input[type="text"],
  .form-lavhome input[type="number"],
  .form-lavhome input[type="email"],
  .form-lavhome input[type="tel"],
  .form-lavhome textarea,
  .form-lavhome select {
    width: 100% !important;
  }
}
/* CORRECTION 9 : Payment element pleine largeur responsive */
@media (max-width: 768px) {
  .form-lavhome #stripe-elements-container {
    width: 100%;
  }
}

@media (max-width: 768px) {
    .form-lavhome .card-form {
      border:none;
    }
  }

  /* ================================================
   FORMULAIRE ABONNÉ - STYLES SUPPLÉMENTAIRES
   À ajouter à form-style.css
   ================================================ */

/* Header Abonné */

.form-lavhome-subscriber .block {
  width: 100%;
  max-width:1064px;
  padding: 32px 0px 24px 0px;
  margin:0px;
  }
/* Header Abonné - 3 lignes empilées */
.subscriber-header {
  background:var(--bg);
  border: 1px solid #dedede;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
  text-align: left;
  width: 100%;
  max-width: 496px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-items: center;
  align-items: center;
}

.subscriber-welcome {
  margin-bottom: 0;
}

.subscriber-welcome h1.h2 {
  font-family: "Titillium Web", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #2a2a2a;
  margin: 0 0 16px 0;
  text-transform: none;
  text-align: center;
}

.subscriber-subscription {
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  color: var(--text);
  margin: 0 0 12px 0;
}

.subscriber-subscription strong {
  color: #2a2a2a;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  font-weight: 600;
  background-color: var(--accent-soft);
  border-radius: 8px;
  padding: 4px 8px;
}

/* Quota - Ligne 3 */
.subscriber-quota-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: inline;
  align-items: center;
  gap: 8px;
}

.quota-icon {
  display: none; /* Pas d'icône */
}

.quota-info {
  display: flex;
flex-direction: row;
font-size: 16px;
}

.quota-value {
  font-weight: 700 !important;
  color: #2a2a2a;
  display: inline;
}

.quota-value .quota-unit {
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #2a2a2a;
  display: inline;
}

/* Section Quantité Abonné */
.form-lavhome-subscriber .card-quantity {
  border-bottom: 1px solid var(--grisclairborder);
}

.form-lavhome-subscriber .quantity-row-card {
  width: 100%;
  max-width: 496px;
}

.form-lavhome-subscriber .card-quantity .subtext {
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}




.form-lavhome-subscriber #subscriberQuantity {
    width: 48px !important;
    text-align: center;
}

.form-lavhome-subscriber .quantity-error {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 16px;
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  color: var(--danger);
  font-weight: 500;
  text-align: center;
  width: 100%;
  max-width: 496px;
}

/* Warning Quota */
.quota-warning {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 16px;
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  color: #464646;
  font-weight: 500;
  text-align: center;
  width: 100%;
  max-width: 496px;
}

.quota-warning.hidden {
  display: none;
}

.form-lavhome-subscriber .coo-block {
  width: 100%;
  max-width: 640px;
}

.form-lavhome-subscriber .two-col-coo {
grid-template-columns: 49% 49%;
}

/* Récap Abonné (sans prix) */

.form-lavhome-subscriber .summary-subscriber {
  background: white;
  border: 1px solid var(--grisclairborder);
  border-radius: var(--radius);
  padding: 24px 48px;
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap:16px;
}

.form-lavhome-subscriber .summary-grid {
display: flex;
flex-direction: column;
align-items: stretch;
width:100%;
margin:0px;
}

.form-lavhome-subscriber .summary-creneaux {
display: flex;
flex-direction: column;
align-items: stretch;
width:100%;
}

.form-lavhome-subscriber .summary-quota-info {
  background: rgba(58, 140, 142, 0.1);
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  border: 1px solid rgba(58, 140, 142, 0.3);
  border-radius: 6px;
  padding: 8px 12px;
  margin-top: 8px;
  font-family: "Titillium Web", sans-serif;
  font-weight: 500;
  text-align: center;
  width: 100%;
  color: var(--accent-2);
  font-weight: 500;
  font-size: 14px;
  align-items: center;
}

.summary-free {
  border-top: 2px solid #3a8c8e;
  padding-top: 16px !important;
  margin-top: 16px;
}

.summary-free .summary-item-value {
  color: #3a8c8e;
  font-weight: 700;
}

/* Bouton Commander Abonné */
.form-lavhome-subscriber .btn-commander-subscriber {
 width:380px;
}

/* Responsive */
@media (max-width: 768px) {
  .subscriber-header {
    padding: 24px;
  }

    .form-lavhome-subscriber .card-form {
      padding: 0px !important;
    } 
  
  .form-lavhome-subscriber .block {
    margin:0px;
    padding: 16px 8px 16px 8px;
    gap:0px;
    }

  .subscriber-welcome h1.h2 {
    font-size: 26px;
  }
  .form-lavhome-subscriber .card-quantity .h2 {
    text-align: center;
  }

  .subscriber-subscription {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    align-items: center;
    gap:2px;
  }

  .subscriber-quota-card {
    flex-direction: column;
    text-align: center;
  }

  .quota-icon {
    width: 80px;
    height: 80px;
  }

  .quota-icon svg {
    width: 40px;
    height: 40px;
  }

  .quota-info {
    text-align: center;
  }



  .quantity-btn {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .form-lavhome-subscriber .btn-commander-subscriber {
    width: 100%;
}

  .form-lavhome-subscriber .summary-subscriber {
    padding:16px 16px;
  }
}

@media (max-width: 480px) {
  .subscriber-header {
    padding: 20px;
    max-width: 95%;
  }

  .subscriber-welcome h1.h2 {
    font-size: 22px;
  }

  

}

.access-denied-title {
  color: #333!important;
  margin-bottom: 20px!important;
  font-family: 'Titillium Web' !important;
  font-size: 20px!important;
  text-transform: uppercase!important;
  font-weight: 600!important;
  letter-spacing: 0.5px!important;
}

.btn-access-login {
  display: inline-block;
  padding: 8px 24px;
  background: #F9E830;
  color: #2a2a2a!important;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600!important;
  transition: all 0.3s;
  border: 1px solid #2a2a2a!important;
  box-shadow: var(--shadowp)!important;
}

.btn-access-login:hover {
  background: transparent!important;
  transition: all 0.3s!important;
  transform: scale(1.03)!important;
}