body {
  font-family: 'Poppins', sans-serif;
  background: var(--module_bg);
  margin: 0;
  padding: 0px 30px 30px 30px;
  color:var(--module_color_txt);
  line-height: 1.3em;
}




.calendar-info {
    background-color: var(--accent);
    width: fit-content;
    margin: auto;
    color: #fff;
    font-style: italic;
    padding: 10px 20px;
    border-radius: 33px;
}

.calendar-info strong {
    font-weight: 600;
}

button:disabled {
opacity:0.5;
cursor:not-allowed;
}

.next:disabled{
opacity:0.5;
cursor:not-allowed;
}

/* ===== STEPS (HEADER) ===== */
.steps {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  max-width: 1200px;
  margin: 30px auto 0px auto;
  overflow: visible;
  padding-left: 5px;
}

.step {
  position: relative;
  flex: 1 1 260px;
  text-align: center;
  padding: 20px 18px;
  color: var(--module_color_txt);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.28s ease, color 0.28s ease;
  z-index: 1;
  /* base shape with small left/right notches (visual) */
  clip-path: polygon(
    0px 0, calc(100% - 20px) 0,
    100% 50%,
    calc(100% - 20px) 100%, 0px 100%, 20px 50%
  );
  box-sizing: border-box;
  margin:0px -5px;
  background: var(--module_header_bg);
}

/* First step: remove left notch visually (so it starts flush) */
.step:first-child {
  clip-path: polygon(
    0 0, calc(100% - 20px) 0,
    100% 50%,
    calc(100% - 20px) 100%, 0 100%
  );
  border-radius: var(--module_radius) 0 0 var(--module_radius);
  padding: 20px 35px 20px 20px;
}

.step:nth-child(2) {
  padding: 20px 25px 20px 35px;
}

/* Last step: remove right notch so it ends flush */
.step:last-child {
  clip-path: polygon(
    0px 0, 100% 0,
    100% 100%, 0px 100%, 20px 50%
  );
  margin-right: 0;
  border-radius: 0 var(--module_radius) var(--module_radius) 0;
  padding: 20px 20px 20px 35px;
}

.step-number { 
  display: block;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
  }



/* active state */
.step.active {
  background: var(--accent);
  color: var(--module_color_buttons);
  z-index: 2;
}

/* ensure pseudo that overlaps follows parent's stacking — active must cover neighbour */
.step.active::after { z-index: 1; }

.step.disabled {
cursor: default;
    pointer-events: none; /* bloque le clic */
  }



/* ===== CONTENT SLIDE ===== */
.content-container {
  position: relative;
  overflow: hidden;
  max-width: 100vw;
  margin: 0 auto;
  transition: height 0.3s ease; /* transition fluide de la hauteur */
}

.content-slide {
  display: flex;
  transition: transform 0.45s cubic-bezier(.2,.9,.2,1);
  width: 100%;
  will-change: transform;
  align-items: flex-start; /* empêche le flex de forcer la hauteur */
}

.content {
  flex: 0 0 100%;
  font-size: 14px;
  padding: 36px;
  box-sizing: border-box;
  text-align: center;
}

.content p { margin: 0 0 12px; color:var(--module_color_txt); }

button.next,
button.validate-cal {
  margin: 20px auto 10px auto !important;
  margin-bottom: 20px;
  background: var(--accent);
  color: var(--module_color_buttons);
  border: none;
  font-size: 18px;
  display: block;
  font-family: "Poppins";
  padding: 10px 18px;
  border-radius: var(--module_radius);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.18s ease;
}
button.next:hover,
  button.validate-cal:hover { background: var(--accent-dark); }






  *, *::after, *::before {
      box-sizing: border-box;
  }



.box.room-choice.disabled {
  opacity: 0.5;
  pointer-events: none;
}

li.box.disabled { opacity: .45; }
li.box.disabled input { pointer-events: none; }




/* CALENDAR */


form.form-calendar {
    background: white;
    border-radius: var(--module_radius_big);
    padding: 20px;
    width: 360px;
    margin: 25px auto 35px auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    max-width: calc(100vw - 40px);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

  form.form-calendar h3 {
      margin: 20px 0 8px 0;
  }

.date-display {
  background: var(--module_header_bg);
  border-radius: var(--module_radius_big);
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  font-weight: 400;
  margin-bottom: 10px;
}

.date-display .title {
  display: block;
  font-weight: 600;
  font-size: 16px;
  padding-bottom: 5px;
}

#error_txt {
  font-size: 12px;
  font-weight: 500;
  line-height: 15px;
  padding: 0 30px 10px 30px;
  display: block;
  color: var(--accent);
}

/* === MODAL OVERLAY === */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* === CALENDAR POPUP === */
.calendar-wrapper {
  background: white;
  border-radius: var(--module_radius_big);
  box-shadow: 0 8px 150px rgba(0,0,0,0.2);
  padding: 70px 20px 20px 20px;
  width: 900px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.35s ease;
}

.overlay.active .calendar-wrapper {
  transform: translateY(0);
  opacity: 1;
}

.calendar-header {
  position: absolute;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  width: calc(100% - 40px);
  height: 50px;
}

.month-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.calendar {
  width: 50%;
}

.month-title {
  text-align: center;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 20px;
  margin-top: 10px;
  height: 30px;
}

.weekday-letters {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 500;
  margin-bottom: 5px;
  color: #999;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 3px;
}

.day {
  padding: 18px;
  font-weight: 600;
  color: #222;
  min-width: 22px;
  border-radius: 5px;
  background-color: #f5f5f5;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}

.day:hover {
  background: #f0f0f0;
}

.badge-2cv {
    position: absolute;
    top: 0px;
    left: 0px;
    line-height: 16px;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--accent);
    padding: 0px 4px;
    border-radius: 0 0 6px 0;
    white-space: nowrap;
    pointer-events: none;
}

.day.weekend {
  background-color: #ececec; /* couleur claire pour week-end */
  color: #555;
}

.day.selected {
  background: var(--accent);
  color: white;
}

.day.disabled.nights {
    text-decoration: none;
}

.day.disabled {
    text-decoration: line-through;
  opacity: 0.5;
  cursor: not-allowed !important;
}

.departure {
  background: var(--accent-dark) !important;
  color: white !important;
  position: relative !important;
}

.arrival {
  position: relative !important;
}

.arrival.nights::after {
  content: "Arrivée";
  font-size: 10px;
  line-height: 18px;
  font-weight: 500;
  position: absolute;
  bottom: 0px;
  padding: 0px 0;
  background-color: rgba(255, 255, 255, 0.2);
  width: 100%;
  left: 0;
}

.departure.nights::after {
  content: "Départ";
  font-size: 10px;
  line-height: 18px;
  font-weight: 500;
  position: absolute;
  bottom: 0px;
  padding: 0px 0;
  background-color: rgba(255, 255, 255, 0.2);
  width: 100%;
  left: 0;
}

button,
a.button:link,
a.button:active,
a.button:hover,
a.button:visited {
  width: fit-content;
  background: var(--accent);
  color: var(--module_color_buttons);
  border: none;
  border-radius: var(--module_radius);
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  margin-top: 10px;
  cursor: pointer;
  transition: 0.2s;
}

button:hover,
a.button:hover {
  background: var(--accent-dark);
}

a.reset:link,
a.reset:active,
a.reset:hover,
a.reset:visited {
  width: fit-content;
  background: var(--accent);
  color: var(--module_color_buttons);
  border: none;
  border-radius: var(--module_radius);
  display: inline-block;
  padding: 8px 15px;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.2s;
}

a.reset:hover {
  background: var(--accent-dark);
}

.arrow {
  cursor: pointer;
  font-size: 20px;
  padding: 0px;
  width: 40px;
  height: 40px;
  background-color: #f5f5f5;
  border-radius: 30px;
  background-image: url(img/icon-before.png);
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.arrow.next {
  background-image: url(img/icon-next.png);
}

.calendar-header span {
  font-weight: bold;
}

.close-btn {
 position: absolute;
  display: block;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background-image: url(img/icon-close-b.png);
  background-size: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #eee;
  top: -63px;
}

.close-btn:hover {
  background-image: url(img/icon-close-b.png);
  background-color: inherit;
  background-size: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #eee;
  opacity: 0.8;
}






h1 {
    font-size: 22px;
    line-height: 30px;
}

h2 {
    font-weight: 500;
    font-size: 20px;
    color: var(--accent);
    margin: 30px 0 20px 0;
}

h3 {
    font-weight: 500;
    font-size: 16px;
    margin: 0px 0 5px 0;
    color: var(--accent);

}

.intro i {
    font-size: 13px;
    font-style: italic;
}



.voucher-products ul {
    list-style: none;
    margin: 0;
    display: inline-block;
    padding: 0px;
    width: fit-content;
    max-width: 600px;
    text-align: left;
}

.voucher-products ul.master {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--module_radius_big);
    padding: 30px 40px;
    background-color: #fff;
    margin-bottom: 10px;
}

.voucher-products ul.options {
    margin: 3px 0 0 20px;
}

.voucher-products ul li {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3em;
    text-align: left;
    display: flex;
    gap: 12px;
    list-style: none;
}

.voucher-products ul li .checkbox {
    padding-top: 12px;
}

.voucher-products ul li .title {
    padding-top: 8px;
}

.voucher-products ul.options li {
    font-size: 12px;
    font-weight: 400;
    padding: 3px 0;
}


.voucher-products ul li .img {
    width: 60px;
    height: 60px;
    border: 2px solid #eee;
    background-size: cover;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0; /* empêche l'image de se réduire */
}

.voucher-products ul.options li .img {
    width: 40px;
    height: 40px;
}


.voucher-products ul.upsell {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    border-radius: var(--module_radius_big);
    padding: 20px 30px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    margin: 35px 0 10px 0px;
}

.voucher-products ul.upsell li {
font-size: 13px;
    border-top: 1px solid #eee;
    font-weight: 400;
    padding: 8px 0;
}

.voucher-products ul.upsell li:first-child {
    border-top: none;
}

.voucher-products ul.upsell li .img {
    width: 50px;
    height: 50px;
}

.voucher-products ul.upsell li .price {
    display: block;
    color: var(--accent);
    font-weight: 500;
    padding-top: 3px;
    font-size:13px;
}

.voucher-products ul.upsell li .reduced_price {
    font-size: 13px;
    background-color: var(--accent);
    font-weight: 600;
    position: relative;
    color: #ffffff;
    padding: 1px 5px 1px 5px;
    border-radius: 6px;
}

.voucher-products ul.upsell li .reduced_price:before {
    display: none;
    content: 'PROMO';
    top: 3px;
    opacity: 0.7;
    font-size: 10px;
    font-weight: 400;
    left: 6px;
    z-index: 2;
    width: 44px;
    height: 30px;
    color: #fff;
    position: absolute;
}


.voucher-products ul.upsell li .quantity-selector {
        margin-top: 5px;
    position: absolute;
    background-color: #F2F2F4;
    right: 0;
    top: 5px;
    border-radius: 21px;
    width: max-content;
    padding: 1px 4px 3px 9px;
}

.voucher-products ul.upsell li .quantity-selector:before {
    content: 'Quantité';
    display: inline-block;
    font-size: 11px;
}

.voucher-products ul.upsell li .option-quantity {
    padding: 4px 6px;
    border-radius: 19px;
    text-align: center;
    color: var(--accent);
    border: 1px solid #ddd;
    font-size: 12px;
    font-weight: 500;
    width: 39px;
    margin: 2px 0 0 0;
    text-align-last: center; 
    -webkit-appearance: none; 
    appearance: none;

}



.voucher-products ul.upsell li.luxe {
    align-items: flex-start;
    padding-bottom: 8px;
}

.voucher-products ul.upsell li.luxe .title {
  font-weight: 600;
    font-size: 15px;
}

.voucher-products ul.upsell li.luxe .title .which-one {
    font-weight: 500;
    font-size: 14px;
    padding: 10px 0 2px 0;
    display: block;
}

.voucher-products ul.upsell li .title .luxe-radio, 
.voucher-products ul.upsell li .title .room-radio {
    display: block;
    padding: 6px 0 0 0;
    cursor: pointer;
    margin-left: -15px;
}

.voucher-products ul.upsell li .title-select {
      font-weight: 500;
    font-size: 15px;
    padding: 10px 0 2px 0;
    display: block;
}

.voucher-products ul.upsell li .title .room-radio .room-name,
.voucher-products ul.upsell li .title .luxe-radio .room-name {
    font-weight: 500;
    font-size: 14px;
    display: block;
    left: 124px;
    top: 20px;
    position: absolute;
    height: 40px;
}

.voucher-products ul.upsell li .title .img {
    display: inline-block;
    width: 100px;
    height: 70px;
    vertical-align: middle;
    margin-left: 14px;
    margin-right: 6px;
}

.voucher-products ul.upsell li.luxe .title .which-one-option {
    display: block;
    font-weight: 400;
    font-size: 12px;
}



.voucher-products ul li .title {
    flex: 1;
    position: relative;
    padding-right: 120px;
}

.voucher-products .voucher-card-available {
    font-size: 28px;
    margin: 0px 0 30px 0;
    display: block;
}

.voucher-products ul li.box .img { 
    align-self: flex-start;
}

.voucher-products ul li.box .people, 
.voucher-products ul li.box .description {

    font-size: 12px;
    font-weight: 400;
    display: block;
}


/* Griser le bloc chambre d'origine */
#original-room.is-disabled {
  opacity: .4;
  pointer-events: none; /* empêche clic sur tout le bloc */
}


.original.box.room-choice {
    display: flex;
    width: fit-content;
    margin: 0 auto;
}

.original.box.room-choice .room-radio {
    display: block;
    padding: 0 5px;
}

.original.box.room-choice .img {
    display: block;
    width: 100px;
    height: 70px;
    vertical-align: middle;
    border: 2px solid #eee;
    background-size: cover;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

.original.box.room-choice .room-name {
    display: block;
    font-weight: 500;
    font-size: 14px;
    padding-top: 13px;
}



.original .room-radio {
    position: relative;
    display: block;
    cursor: pointer;
}

/* Cache le radio natif */
.original .room-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Cercle extérieur */
.original .room-radio::before {
content: "";
    position: absolute;
    top: 55px;
    margin-left: -13px;
    width: 25px;
    height: 25px;
    border: 2px solid #333;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
}

/* Point central */
.original .room-radio::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    margin-top: -43.5px;
    margin-left: -55.5px;
    background: #333;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s ease;
}

/* État coché */
.original .room-radio:has(input[type="radio"]:checked)::after {
    transform: scale(1);
}

/* Couleur active */
.original .room-radio::before {
    border-color: var(--accent);
}

.original .room-radio:has(input[type="radio"]:checked)::after {
    background: var(--accent);
}

/* Focus clavier (accessibilité) */
.original .room-radio:has(input[type="radio"]:focus-visible)::before {
    outline: 2px solid var(--accent);;
    outline-offset: 3px;
}







.voucher-products .luxe-radio,
.voucher-products .room-radio {
    position: relative;
    display: block;
    cursor: pointer;
}

/* Cache le radio natif */
.voucher-products .luxe-radio input[type="radio"],
.voucher-products .room-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Cercle extérieur */
.voucher-products .luxe-radio::before,
.voucher-products .room-radio::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 28px;
    margin-left: 2px;
    width: 25px;
    height: 25px;
    border: 2px solid #333;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
}

/* Point central */
.voucher-products .luxe-radio::after,
.voucher-products .room-radio::after {
    content: "";
    position: absolute;
    display: inline-block;
    width: 15px;
    height: 15px;
    left: 7px;
    top: 33px;
    background: #333;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s ease;
}

/* État coché */
.voucher-products .luxe-radio:has(input[type="radio"]:checked)::after,
.voucher-products .room-radio:has(input[type="radio"]:checked)::after {
    transform: scale(1);
}

/* Couleur active */
.voucher-products .luxe-radio::before,
.voucher-products .room-radio::before {
    border-color: var(--accent);
}

.voucher-products .luxe-radio:has(input[type="radio"]:checked)::after,
.voucher-products .room-radio:has(input[type="radio"]:checked)::after {
    background: var(--accent);
}

/* Focus clavier (accessibilité) */
.voucher-products .luxe-radio:has(input[type="radio"]:focus-visible)::before,
.voucher-products .room-radio:has(input[type="radio"]:focus-visible)::before {
    outline: 2px solid var(--accent);;
    outline-offset: 3px;
}










input[type="tel"], input[type="text"], input[type="number"], input[type="password"], input[type="time"], input[type="date"], input[type="datetime-local"], select, textarea {

    -webkit-appearance: none !important;
    appearance: none !important;
    background-color: #fff !important;

    font-size: 13px;
    padding: 8px 15px 8px 15px;
    font-family: 'Poppins';
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    font-weight: 300;
    color: var(--module_color_txt);
    border-radius: 10px;
    outline: none;
    margin: 4px 0px;
    width: 100%;
    min-width: 40px;
    position: relative;
}



input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-text-fill-color: #000 !important;
  transition: background-color 5000s ease-in-out 0s;
}




.search {
    margin: 30px auto 30px auto;
    display: block;
    text-align: center;
    max-width: 90vw;
    width: 600px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    border-radius: var(--module_radius_big);
    padding: 20px 50px 40px 50px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
}



.search input[type="text"] {
    font-size: 18px;
    text-align: center;
    padding: 8px 15px 8px 15px;
    font-family: 'Poppins';
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    font-weight: 500;
    color: var(--module_color_txt);
    border-radius: 10px;
    outline: none;
    margin: 0px auto;
    width: 200px;
    min-width: 40px;
    display: block;
}

.search button {
    margin-top: 25px;
    margin-bottom: 0px;
    background: var(--accent);
    color: var(--module_color_buttons);
    border: none;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: var(--module_radius);
    cursor: pointer;
    font-weight: 600;
    transition: background 0.18s ease;
}

.error_msg {
    margin: 15px 20px 15px 25px;
}

.validate-cal-container {
    text-align: right;
}

.validate-cal-container .validate-cal {
    margin: 20px 0 0px 0 !important;
    display: inline-block;
}



form.form-calendar .error {
  border: 2px solid var(--accent);
  background-color: var(--accent-light);
  padding:8px 15px 8px 15px;
  height: inherit;
}


.intro {
    line-height: 1.3em;
}

.first-step .logo {
    display: block;
    text-align: center;
    padding: 50px 0 10px 0;
}

.first-step .logo img {
   width: <?= $voucherInfos['module_logo_width']??200 ?>px;
}

.voucher-found .logo {
    display: block;
    text-align: center;
    padding: 50px 0 20px 0;
}

.voucher-found .logo img {
    max-width: 80vw;
    width: <?= $voucherInfos['module_logo_width']??200 ?>px;
}

.iti--allow-dropdown {
  width: 100%;
}

.iti__selected-flag {
    padding: 0 10px 0 16px !important;
}

.iti--allow-dropdown input[type=tel] {
  padding-left: 58px !important;
}


/* Minimal simple switch */
.simple-switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* hide but keep accessible */
.simple-switch-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* track */
.simple-switch .track {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #e6e7eb;
  display: inline-block;
  position: relative;
  transition: background 150ms ease;
}

/* knob */
.simple-switch .knob {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  position: absolute;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
  transition: transform 150ms ease;
}

/* checked state */
.simple-switch-checkbox:checked + .track {
  background: var(--accent); /* green */
}
.simple-switch-checkbox:checked + .track .knob {
  transform: translateY(-50%) translateX(20px); /* move right */
}

/* focus ring for keyboard users */
.simple-switch-checkbox:focus + .track {
  box-shadow: 0 0 0 4px var(--accent-light);
}

/* compact variant: no extra spacing (useful in lists) */
.simple-switch.compact { margin: 0 6px; }


.luxe-checkbox {
    display: flex;
    padding-top: 3px;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    font-size: 12px;
    cursor: pointer;
}

.luxe-checkbox input {
  display: none;
}

.luxe-checkbox span {
  width: 18px;
    height: 18px;
    border: 2px solid rgba(230, 231, 235);
    border-radius: 4px;
    display: inline-block;
    position: relative;
}

.luxe-checkbox input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
}

.luxe-checkbox input:checked + span::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 6px;
  height: 10px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
}


.days2cv {
display: flex;
    background-color: var(--module_header_bg);
    padding: 18px;
    border-radius: var(--module_radius_big);
    gap: 0px;
        flex-wrap: nowrap;
    width: fit-content;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.15);
    position: relative;
}

.days2cv label.day2cv:first-of-type::after {
    content: 'Arrivée';
    display: block;
    width: fit-content;
    padding: 0px 5px;
    font-size: 10px;
    color: #333;
    opacity: 0.9;
    font-weight: 500;
    background: #ccc;
    border-radius: 13px;
    margin-left: -2px;
    position: absolute;
}

.days2cv label.day2cv:last-of-type::after {
    content: 'Départ';
    display: block;
    width: fit-content;
    padding: 0px 5px;
    font-size: 10px;
    color: #333;
    opacity: 0.9;
    font-weight: 500;
    background: #ccc;
    border-radius: 13px;
    margin-left: -2px;
    position: absolute;
}


.process2cv .intro {
    padding: 0 0 20px 0;
}

#step3-current-room-display {
    font-size: 30px;
    margin-top: -3px;
    padding-bottom: 5px;
    font-weight: 600;
}

.days2cv input[type="radio"] {
    display: none;
}

.day2cv {
    padding: 12px 18px;
    border: 0px solid #ccc;
    cursor: pointer;
    white-space: nowrap;
    background: #ffffff;
    font-weight: 600;
    transition: all 0.2s ease;
}

.days2cv label.day2cv:first-of-type {
    border-radius: 30px 0 0 30px;
}

.days2cv label.day2cv:last-of-type {
    border-radius: 0 30px 30px 0;
}

.days2cv input[type="radio"]:checked + .day2cv {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.days2cv input[type="radio"]:checked + .day2cv {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    position: relative;
}

.days2cv input[type="radio"]:checked + .day2cv::before {
    content: "";
    position: absolute;
    width: 39px;
    height: 25px;
    border-radius: 16px;
    background: var(--accent);
    left: 20px;
    top: 2px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: 9px center;
    background-size: 20px auto;
    background-image: url(img/icon-2cv.png);
}

.day2cv:hover {
    border-color: var(--accent);
}

.days2cv .night {
    padding: 0;
    width: 50px;
    border: 0px solid #ccc;
    border-radius: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px auto;
    background-image: url(img/icon-moon.png);
    cursor: pointer;
    color: #ffffff;
    font-weight: 600;
    background-color: #999;
    transition: all 0.2s ease;
    opacity: 0.4;
    cursor: default;
}




.room-details-link{
    display: inline-block;
    margin-top: 6px;
    font-size: 11px;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 400;
    line-height: 20px;
    border-radius: 7px;
    color: #ffffff;
    background-color: var(--accent-dark);
    opacity: .85;
    padding: 2px 8px;
    text-decoration: none;
}

.voucher-products .room-details-link{
  display: block;
  width: fit-content;
  position: absolute;
  top: 34px;
  left: 124px;
}

.room-modal{ position:fixed; inset:0; display:none; z-index:9999; }
.room-modal.is-open{ display:block; }

.room-modal__backdrop{
  position:absolute; inset:0;
  background:rgba(0,0,0,.55);
}

.room-modal__panel{
    position: relative;
    width: min(92vw, 650px);
    margin: 8vh auto;
    background: #fff;
    border-radius: var(--module_radius_big);
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.room-modal__close{
    position: absolute;
    top: 10px;
    right: 22px;
    padding: 11px 11px;
    text-align: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.room-modal__close:hover {
    opacity: 1;
    background: #ffffff;
}

.room-modal__close:before{
    content: "×";
    font-size: 32px;
    line-height: 20px;
    color: var(--accent);
    text-align: center;
    width: 19px;
    display: block;
}

.room-modal__img{
width: 100%;
    height: 250px;
    border-radius: var(--module_radius_big) var(--module_radius_big) 0 0;
    background-size: cover;
    background-position: center;
    margin-bottom: 12px;
}

#roomModalTitle {
    font-weight: 600;
    font-size: 24px;
    margin: 30px 30px 15px 30px;
    color: var(--accent);
}

#roomModalText {
    white-space: pre-line;
    font-size: 14px;
    padding: 0 30px 30px 30px;
    max-height: 50vh;
    overflow: hidden;
    overflow-y: scroll;
}

#roomModalText b{
    font-weight: 600;
}

#booking-processing #card-element {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 0px 20px;
    border-radius: var(--module_radius_big);
    padding: 30px 40px;
    background-color: rgb(255, 255, 255);
    max-width: 90vw;
    width: 500px;
    margin: 25px auto 25px auto;
}

#booking-processing #card-element .InputElement {
    font-family: 'Poppins', sans-serif;
    border:1px solid #ccc;
}

#booking-processing button {
    font-family: 'Poppins', sans-serif;
    margin: 20px auto 10px auto !important;
    margin-bottom: 20px;
    background: var(--accent);
    color: var(--module_color_buttons);
    border: none;
    font-size: 16px;
    display: block;
    padding: 10px 18px;
    border-radius: var(--module_radius);
    cursor: pointer;
    font-weight: 600;
    transition: background 0.18s ease;
}

#booking-processing #payment-error {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin: -3px 0 0 0;
}

.stripe_secured {
    background-image: url(img/icon_stripe_secured_v2.png);
    display: block;
    background-size: 120px auto;
    height: 60px;
    margin: 15px auto 0 auto;
    width: 120px;
    background-position: 0 3px;
    background-repeat: no-repeat;
}

#resume-notice {
    font-size: 12px;
    line-height: 18px;
    list-style: none;
    margin: 15px auto 40px auto;
    width: fit-content;
    max-width: 500px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: var(--module_radius);
    padding: 15px 20px;
    text-align: center;
}


#resume-notice input {
    width: inherit;
    display: inline;
}

#resume-notice .checkbox {
  cursor: pointer;
  font-family: Poppins, sans-serif;
  font-size: 12px;
  line-height: 18px;
  gap: 10px;
}

/* Cache checkbox native */
#resume-notice .checkbox input {
  display: none;
}

#resume-notice .checkbox a:link,
#resume-notice .checkbox a:visited,
#resume-notice .checkbox a:hover,
#resume-notice .checkbox a:active {
    color: var(--dark);
    text-decoration: none;
}

/* Boite checkbox */
#resume-notice .checkmark {
    width: 28px;
    height: 27px;
    float: left;
    top: 4px;
    border: 2px solid var(--accent);
    border-radius: 18px;
    display: inline-block;
    position: relative;
    transition: 0.3s ease;
}



/* Animation hover */
#resume-notice .checkbox:hover .checkmark {
  border-color: var(--accent);
  transform: scale(1.05);
}

/* Quand coché */
#resume-notice .checkbox input:checked + .checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

/* Check (✓) */
#resume-notice .checkmark::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 3px;
    width: 8px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg) scale(0);
    transition: 0.2s ease;
}

/* Animation check */
#resume-notice .checkbox input:checked + .checkmark::after {
  transform: rotate(45deg) scale(1);
}







#resume-options {
    margin-bottom: -12px;
}

#resume-options ul.options-resume {
    list-style: none;
    margin: 20px auto 40px auto;
    width: fit-content;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--module_radius_big);
    padding: 25px 40px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    text-align: center;
}

#resume-options ul.options-resume li .opt-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.1em;
    display: block !important;
    list-style: none;
}

#resume-options ul.options-resume li .opt-price {
    display: block;
    font-weight: 500;
    padding-top: 1px;
    font-size: 13px;
    color: var(--accent);
}

#resume-options h2, #resume-dates h2 {
    margin-bottom: 12px;
}

#resume-dates .room {
    font-size: 30px;
    margin-top: -3px;
    padding-bottom: 10px;
    font-weight: 600;
}

.resume-block h3 {
    margin: 10px 0 3px 0px;
    color: inherit;
}

.resume-block h3.no_night {
    margin: -5px 0 3px 0px;
}

.resume-block.booking h2 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 50px;
}

.resume-block.options h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 0;
}

.resume-block-details {
    list-style: none;
    margin: 20px auto 40px auto;
    width: fit-content;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--module_radius_big);
    padding: 30px 40px 10px 40px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
    max-width: 600px;
    text-align: center;
}

#resume-price {
    margin-top: 55px;
}

#resume-price .price {
    font-size: 24px;
    margin-top: -5px;
    font-weight: 600;
    padding-bottom: 20px;
}


.cancel-block {
    margin-top: 30px;
    text-align: center;
}

.cancel-btn {
    font-family: 'Poppins', sans-serif;
    margin: 20px auto 10px auto !important;
    background: #ffffff;
    color: var(--accent);
    border: none;
    font-size: 12px;
    display: block;
    padding: 10px 18px;
    border-radius: var(--module_radius);
    cursor: pointer;
    border: 1.5px solid var(--accent);
    font-weight: 600;
    transition: background 0.18s ease;
}

.cancel-btn:hover {
    background: var(--accent);
    color: #fff;
    border: 1.5px solid var(--accent);
}


textarea::placeholder,
input::placeholder,
select:invalid {
  color: #999;
}

option {
  color: #000;
}

@media only screen and (max-width: 768px) {

    body {
      padding: 0px 0px 30px 0px;
    }

    /*
    .steps {
        flex-direction: column;
        align-items: stretch;
        max-height: 330px;
        gap: 8px;
        margin: 30px 20px 20px 20px;
    }

    .step {
      margin:-5px 0px;
      clip-path: none;
      position: relative;
      overflow: visible;
    }

    .step:first-child {
        clip-path: polygon(0px 0, 100% 0, 100% 98%, 100% calc(100% - 10px), 50% 100%, 0% calc(100% - 10px), 0px 50%);
        border-radius: var(--module_radius) var(--module_radius) 0 0;
        padding: 15px 20px 30px 20px;
    }

    .step:nth-child(2) {
        clip-path: polygon(0px 0, 50% 10px, 100% 0px, 100% 98%, 100% calc(100% - 10px), 50% 100%, 0% calc(100% - 10px), 0px 50%);
        padding: 35px 20px 30px 20px;
    }

    .step:last-child {
        clip-path: polygon(0px 0, 50% 10px, 100% 0, 100% 98%, 100% 100%, 50% 100%, 0% 100%, 0px 50%);
        border-radius: 0 0 var(--module_radius) var(--module_radius);
        padding: 35px 20px 15px 20px;
    }

    */

    h1 {
      font-size: 22px;
      line-height: 26px;
  }

    .steps {
        margin: 15px 20px 5px 25px;
    }

    .step {
        padding-top: 18px !important;
        padding-bottom: 10px !important;
    }

    .step-number {
        font-size: 28px;
    }

    .step-name { 
        display: none;
    }

    .content-slide {
      flex-direction: row; /* keep horizontal */
    }

    .content { 
        padding: 20px; 
        width: 100%
    }

    .content-container { border-radius: var(--module_radius); }

    .search h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .month-container {
    flex-direction: column;
        gap: 30px; /* espace vertical entre les deux mois */
    }

    .calendar {
        width: 100%; /* chaque mois prend toute la largeur */
    }

    .day {
        padding: 8px 5px;
    }

    .departure.nights::after,
    .arrival.nights::after {
      font-size: 8px;
      line-height: 10px;
    }

    .voucher-products ul.master {
      padding:25px;
      width: 100%;
    }

    .voucher-products ul li .title {
        padding-right: inherit;
    }

    .step:first-child {
      padding: 20px 25px 20px 20px;
    }

    .step:nth-child(2),
    .step:nth-child(3),
    .step:nth-child(4) {
      padding: 20px 25px 20px 25px;
    }

    .step:last-child {
      padding: 20px 20px 20px 30px;
    }

    .voucher-products ul.upsell li .quantity-selector {
        margin: 2px 0 5px -3px;
        position: relative;
    }

    .voucher-products ul li .title {
        padding-top: 0px;
    }

    .original.box.room-choice {
        display: flex;
        flex-wrap: wrap;
        width: fit-content;
        margin: 0 auto;
    }

    .original.box.room-choice > * {
        flex: 0 0 50%;
    }

    .original.box.room-choice .img {
        width: 100%;
        height: 100px;
    }

    .original .room-radio::before {
        top: 85px;
    }

    .original.box.room-choice .room-radio {

        margin-bottom: 20px;
    }

    .day2cv {
        padding: 12px 10px;
    }

    .days2cv input[type="radio"]:checked + .day2cv::before {
        left: 12px;
    }

    #roomModalText {
        max-height: 42vh;
    }

    .days2cv .night {
        width: 30px;
        background-size: 16px auto;
    }

    .room-modal__close:before {
        line-height: 18px;
    }

    .overlay.active .calendar-wrapper {
        transform: inherit;
        padding: 90px 20px 100px 20px;
        width: 100%;
        margin-top: 0;
        max-width: 100%;
        max-height: inherit;
        height: 100%;
    }

    .calendar-header {
        z-index: 10;
        position: fixed;
        display: flex;
        background-color: #efefef;
        width: 100%;
        left: 0;
        top: 0;
        height: 70px;
    }

    .arrow {
        margin-top: 15px;
        margin-left: 20px;   
        background-color: #ffffff;
    }

    .arrow.next {
        margin-right: 80px;
    }

    .close-btn {
        position: absolute;
        display: block;
        right: 20px;
        top: 5px;
        background-color: #ffffff;
    }

    .validate-cal-container {
        text-align: right;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    .validate-cal-container .validate-cal {
        margin: 0px 0 0px 0 !important;
        display: block;
        height: 60px;
        border-radius: 0;
        width: 100%;
    }

    .overlay.active {
        opacity: 1;
        pointer-events: all;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }

    .voucher-products ul.upsell li .title .img {
        width: 100%;
        height: 100px;
        margin-top:5px;
    }

    .voucher-products .room-radio::before {
        top: 45px;
    }

    .voucher-products .room-radio::after {
        top: 50px;
     }

     .voucher-products ul.upsell li .title .room-radio .room-name, .voucher-products ul.upsell li .title .luxe-radio .room-name {
        left: 15px;
        top: 5px;
        height: 20px;
        position: relative;
    }

    .voucher-products .room-details-link {
        top: 0;
        left: 15px;
        position: relative;
    }

           


}


