.ivm-booking-v2 {
  --ivm-als-v2-primary: #3b82f6;
  --ivm-als-v2-primary-dark: #0b3f86;
  --ivm-als-v2-primary-soft: #eef5ff;
  --ivm-als-v2-accent: #67b8f3;
  --ivm-als-v2-text: #0b1f45;
  --ivm-als-v2-muted: #61718a;
  --ivm-als-v2-border: #dce6f2;
  --ivm-als-v2-surface: #ffffff;
  --ivm-als-v2-surface-alt: #f7faff;
  --ivm-als-v2-danger: #b42318;
  --ivm-als-v2-success: #087a55;
  --ivm-als-v2-radius: 18px;
  --ivm-als-v2-control-radius: 11px;
  --ivm-als-v2-shadow: 0 22px 60px rgba(24, 52, 60, 0.08);
  width: 100%;
  color: var(--ivm-als-v2-text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.ivm-booking-v2,
.ivm-booking-v2 * { box-sizing: border-box; }
.ivm-booking-v2 [hidden] { display: none !important; }

.ivm-booking-v2__shell {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(24px, 4.2vw, 52px);
  overflow: hidden;
  border: 1px solid var(--ivm-als-v2-border);
  border-radius: calc(var(--ivm-als-v2-radius) + 6px);
  background: var(--ivm-als-v2-surface);
  box-shadow: var(--ivm-als-v2-shadow);
}

.ivm-booking-v2__header {
  max-width: 790px;
  margin: 0 auto 36px;
  text-align: center;
}

.ivm-booking-v2__trust-kicker,
.ivm-booking-v2__confirmation-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  color: var(--ivm-als-v2-primary);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ivm-booking-v2__trust-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ivm-als-v2-success);
  content: "";
}

.ivm-booking-v2__title {
  margin: 0 0 13px;
  color: var(--ivm-als-v2-text);
  font-size: clamp(30px, 4.3vw, 46px);
  font-weight: 720;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.ivm-booking-v2__description {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ivm-als-v2-muted);
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.7;
}

/* Premium hybrid progress indicator. */
.ivm-booking-v2__progress-wrap { max-width: 820px; margin: 0 auto 34px; }
.ivm-booking-v2__progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.ivm-booking-v2__progress-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 0 8px;
  color: #7a8990;
  text-align: center;
}
.ivm-booking-v2__progress-item::before {
  position: absolute;
  top: 16px;
  left: calc(-50% + 16px);
  width: calc(100% - 32px);
  height: 2px;
  background: var(--ivm-als-v2-border);
  content: "";
  z-index: 0;
}
.ivm-booking-v2__progress-item:first-child::before { display: none; }
.ivm-booking-v2__progress-item.is-active::before,
.ivm-booking-v2__progress-item.is-complete::before { background: var(--ivm-als-v2-primary); }
.ivm-booking-v2__progress-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 8px;
  border: 1px solid var(--ivm-als-v2-border);
  border-radius: 50%;
  background: var(--ivm-als-v2-surface);
  color: #718087;
  font-size: 13px;
  font-weight: 750;
  transition: 160ms ease;
}
.ivm-booking-v2__progress-check { display: none; }
.ivm-booking-v2__progress-item.is-active .ivm-booking-v2__progress-marker,
.ivm-booking-v2__progress-item.is-complete .ivm-booking-v2__progress-marker {
  border-color: var(--ivm-als-v2-primary);
  background: var(--ivm-als-v2-primary);
  color: #fff;
  box-shadow: 0 0 0 5px var(--ivm-als-v2-primary-soft);
}
.ivm-booking-v2__progress-item.is-complete .ivm-booking-v2__progress-number { display: none; }
.ivm-booking-v2__progress-item.is-complete .ivm-booking-v2__progress-check { display: inline; }
.ivm-booking-v2__progress-label {
  overflow: hidden;
  max-width: 100%;
  color: inherit;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ivm-booking-v2__progress-item.is-active,
.ivm-booking-v2__progress-item.is-complete { color: var(--ivm-als-v2-primary); }
.ivm-booking-v2__progress-mobile { display: none; }

.ivm-booking-v2__form { max-width: 900px; margin: 0 auto; }
.ivm-booking-v2__step { animation: ivmBookingFade .28s cubic-bezier(.22, 1, .36, 1); }
.ivm-booking-v2__step-heading { margin: 0 0 24px; }
.ivm-booking-v2__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--ivm-als-v2-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ivm-booking-v2__step-heading h3 {
  margin: 0 0 7px;
  color: var(--ivm-als-v2-text);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 720;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.ivm-booking-v2__step-heading p {
  margin: 0;
  color: var(--ivm-als-v2-muted);
  font-size: 15px;
}

.ivm-booking-v2__section-block,
.ivm-booking-v2__booking-panel,
.ivm-booking-v2__review-intro {
  border: 1px solid var(--ivm-als-v2-border);
  border-radius: var(--ivm-als-v2-radius);
  background: var(--ivm-als-v2-surface);
}
.ivm-booking-v2__section-block { padding: clamp(20px, 3vw, 28px); }
.ivm-booking-v2__section-block + .ivm-booking-v2__section-block { margin-top: 18px; }
.ivm-booking-v2__section-block--soft { background: var(--ivm-als-v2-surface-alt); }
.ivm-booking-v2__section-copy,
.ivm-booking-v2__booking-panel-heading,
.ivm-booking-v2__review-intro {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.ivm-booking-v2__section-copy { margin-bottom: 22px; }
.ivm-booking-v2__section-icon,
.ivm-booking-v2__panel-step {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--ivm-als-v2-primary-soft);
  color: var(--ivm-als-v2-primary);
  font-size: 11px;
  font-weight: 800;
}
.ivm-booking-v2__section-copy h4,
.ivm-booking-v2__booking-panel-heading h4,
.ivm-booking-v2__review-intro h4,
.ivm-booking-v2__confirmation-card h4 {
  margin: 0 0 4px;
  color: var(--ivm-als-v2-text);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.3;
}
.ivm-booking-v2__section-copy p,
.ivm-booking-v2__booking-panel-heading p,
.ivm-booking-v2__review-intro p { margin: 0; color: var(--ivm-als-v2-muted); font-size: 13px; line-height: 1.55; }

.ivm-booking-v2__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ivm-booking-v2__fields--contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ivm-booking-v2__fields--contact .ivm-booking-v2__field:first-child { grid-column: 1 / -1; }
.ivm-booking-v2__fields--single { grid-template-columns: minmax(0, 1fr); }
.ivm-booking-v2__field--wide { grid-column: 1 / -1; }
.ivm-booking-v2__label,
.ivm-booking-v2__fieldset legend {
  display: block;
  margin: 0 0 8px;
  color: var(--ivm-als-v2-text);
  font-size: 14px;
  font-weight: 680;
}
.ivm-booking-v2__field-description { margin: -3px 0 9px; color: var(--ivm-als-v2-muted); font-size: 12px; }
.ivm-booking-v2__control {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #d4dfe2;
  border-radius: var(--ivm-als-v2-control-radius);
  outline: 0;
  background: #fff;
  color: var(--ivm-als-v2-text);
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
  appearance: none;
}
.ivm-booking-v2__control:hover { border-color: #aebec3; }
.ivm-booking-v2__control:focus {
  border-color: var(--ivm-als-v2-primary);
  box-shadow: 0 0 0 4px rgba(59,130,246,.10);
}
.ivm-booking-v2__control[aria-invalid="true"] { border-color: var(--ivm-als-v2-danger); box-shadow: 0 0 0 4px rgba(180,35,24,.08); }
.ivm-booking-v2__control::placeholder { color: #9aa7ad; opacity: 1; }
.ivm-booking-v2__textarea { min-height: 118px; resize: vertical; }
.ivm-booking-v2__control[type="date"], .ivm-booking-v2__control[type="time"] { appearance: auto; }
.ivm-booking-v2__select-wrap { position: relative; }
.ivm-booking-v2__select-wrap::after {
  position: absolute;
  top: 50%; right: 17px;
  width: 8px; height: 8px;
  border-right: 2px solid #718087;
  border-bottom: 2px solid #718087;
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}
.ivm-booking-v2__select-wrap .ivm-booking-v2__control { padding-right: 42px; }

.ivm-booking-v2__fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.ivm-booking-v2__choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.ivm-booking-v2__choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 12px 14px;
  overflow: hidden;
  border: 1px solid var(--ivm-als-v2-border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.ivm-booking-v2__choice:hover { border-color: #8fb8ee; background: #f8fbff; transform: translateY(-1px); }
.ivm-booking-v2__choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.ivm-booking-v2__choice-indicator {
  position: relative;
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border: 1.5px solid #aebbc0;
  border-radius: 50%;
  background: #fff;
}
.ivm-booking-v2__choice-indicator::after {
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg);
}
.ivm-booking-v2__choice-copy { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.ivm-booking-v2__choice-copy strong { color: var(--ivm-als-v2-text); font-size: 14px; font-weight: 650; line-height: 1.3; }
.ivm-booking-v2__choice-copy small { color: var(--ivm-als-v2-muted); font-size: 12px; line-height: 1.45; }
.ivm-booking-v2__choice.is-selected,
.ivm-booking-v2__choice:has(input:checked) {
  border-color: var(--ivm-als-v2-primary);
  background: var(--ivm-als-v2-primary-soft);
  box-shadow: inset 0 0 0 1px var(--ivm-als-v2-primary);
}
.ivm-booking-v2__choice.is-selected .ivm-booking-v2__choice-indicator,
.ivm-booking-v2__choice:has(input:checked) .ivm-booking-v2__choice-indicator { border-color: var(--ivm-als-v2-primary); background: var(--ivm-als-v2-primary); }
.ivm-booking-v2__choice.is-selected .ivm-booking-v2__choice-indicator::after,
.ivm-booking-v2__choice:has(input:checked) .ivm-booking-v2__choice-indicator::after { opacity: 1; }
.ivm-booking-v2__choice:focus-within { outline: 3px solid rgba(59,130,246,.16); outline-offset: 2px; }
.ivm-booking-v2__choices--appointment { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ivm-booking-v2__choices--appointment .ivm-booking-v2__choice { min-height: 78px; align-items: flex-start; padding: 16px; }

.ivm-booking-v2__booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  gap: 18px;
  margin-top: 18px;
}
.ivm-booking-v2__booking-panel { min-width: 0; padding: clamp(18px, 2.5vw, 24px); }
.ivm-booking-v2__booking-panel-heading { margin-bottom: 18px; }
.ivm-booking-v2__calendar { position: relative; min-height: 330px; }
.ivm-booking-v2__calendar-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.ivm-booking-v2__month-label { color: var(--ivm-als-v2-text); font-size: 16px; font-weight: 730; text-align: center; }
.ivm-booking-v2__month-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ivm-als-v2-border);
  border-radius: 10px;
  background: #fff;
  color: var(--ivm-als-v2-text);
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  transition: .15s ease;
}
.ivm-booking-v2__month-button:hover:not(:disabled) { border-color: var(--ivm-als-v2-primary); color: var(--ivm-als-v2-primary); background: var(--ivm-als-v2-primary-soft); }
.ivm-booking-v2__month-button:disabled { cursor: not-allowed; opacity: .32; }
.ivm-booking-v2__weekdays,
.ivm-booking-v2__calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ivm-booking-v2__weekdays { margin-bottom: 7px; }
.ivm-booking-v2__weekdays span { padding: 4px 0; color: #859299; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.ivm-booking-v2__day-placeholder { aspect-ratio: 1 / 1; }
.ivm-booking-v2__day {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 48px;
  aspect-ratio: 1 / 1;
  place-items: center;
  justify-self: center;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ivm-als-v2-text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, color .14s ease;
}
.ivm-booking-v2__day.is-available { background: #f3f7ff; color: #17345f; }
.ivm-booking-v2__day.is-available:hover { border-color: #9dbce5; background: #edf5ff; transform: translateY(-1px); }
.ivm-booking-v2__day.is-selected { border-color: var(--ivm-als-v2-primary); background: var(--ivm-als-v2-primary); color: #fff; box-shadow: 0 4px 12px rgba(59,130,246,.20); }
.ivm-booking-v2__day.is-today:not(.is-selected)::after {
  position: absolute;
  bottom: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ivm-als-v2-accent);
  content: "";
}
.ivm-booking-v2__day.is-unavailable,
.ivm-booking-v2__day:disabled { background: transparent; color: #bdc6ca; cursor: not-allowed; text-decoration: line-through; text-decoration-thickness: 1px; }
.ivm-booking-v2__day:focus-visible,
.ivm-booking-v2__slot:focus-visible,
.ivm-booking-v2__month-button:focus-visible,
.ivm-booking-v2__button:focus-visible { outline: 3px solid rgba(59,130,246,.20); outline-offset: 2px; }
.ivm-booking-v2__calendar-loading,
.ivm-booking-v2__slots-loading { display: flex; align-items: center; gap: 9px; color: var(--ivm-als-v2-muted); font-size: 13px; }
.ivm-booking-v2__calendar-loading { position: absolute; inset: 54px 0 0; justify-content: center; background: rgba(255,255,255,.78); backdrop-filter: blur(2px); }
.ivm-booking-v2__calendar-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 17px; color: var(--ivm-als-v2-muted); font-size: 11px; }
.ivm-booking-v2__calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ivm-booking-v2__calendar-legend i { width: 8px; height: 8px; border-radius: 50%; background: #f3f7ff; border: 1px solid #c7d6e8; }
.ivm-booking-v2__calendar-legend i.is-selected { border-color: var(--ivm-als-v2-primary); background: var(--ivm-als-v2-primary); }
.ivm-booking-v2__calendar-legend i.is-unavailable { border-color: #d7dfe2; background: #e9edef; }

.ivm-booking-v2__selected-date {
  min-height: 42px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ivm-als-v2-surface-alt);
  color: var(--ivm-als-v2-muted);
  font-size: 12px;
  line-height: 1.5;
}
.ivm-booking-v2__slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.ivm-booking-v2__slot {
  min-height: 44px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid var(--ivm-als-v2-border);
  border-radius: 10px;
  background: #fff;
  color: var(--ivm-als-v2-text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 680;
  text-align: center;
  transition: .15s ease;
}
.ivm-booking-v2__slot:hover:not(:disabled) { border-color: var(--ivm-als-v2-primary); background: var(--ivm-als-v2-primary-soft); color: var(--ivm-als-v2-primary-dark); }
.ivm-booking-v2__slot.is-selected { border-color: var(--ivm-als-v2-primary); background: var(--ivm-als-v2-primary); color: #fff; box-shadow: 0 4px 12px rgba(59,130,246,.16); }
.ivm-booking-v2__slot:disabled { background: #f7f8f8; color: #b5c0c4; cursor: not-allowed; text-decoration: line-through; }
.ivm-booking-v2__empty-slots { grid-column: 1 / -1; margin: 0; padding: 16px; border-radius: 10px; background: #f8fbff; color: var(--ivm-als-v2-muted); font-size: 13px; text-align: center; }
.ivm-booking-v2__appointment-summary { margin-top: 18px; padding: 14px; border: 1px solid #d8e5f5; border-radius: 12px; background: var(--ivm-als-v2-primary-soft); }
.ivm-booking-v2__appointment-summary span { display: block; margin-bottom: 3px; color: var(--ivm-als-v2-primary); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ivm-booking-v2__appointment-summary strong { color: var(--ivm-als-v2-text); font-size: 13px; font-weight: 680; line-height: 1.5; }

.ivm-booking-v2__field-error { min-height: 18px; margin-top: 5px; color: var(--ivm-als-v2-danger); font-size: 12px; font-weight: 570; }
.ivm-booking-v2__appointment-error { min-height: 0; margin-top: 10px; }
.ivm-booking-v2__appointment-error:not(:empty) { padding: 11px 13px; border: 1px solid #f1c8c4; border-radius: 10px; background: #fff6f5; }

.ivm-booking-v2__actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; }
.ivm-booking-v2__actions--end { justify-content: flex-end; }
.ivm-booking-v2__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 132px;
  min-height: 50px;
  margin: 0;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.ivm-booking-v2__button:hover:not(:disabled) { transform: translateY(-1px); }
.ivm-booking-v2__button--primary { border-color: var(--ivm-als-v2-primary); background: var(--ivm-als-v2-primary); color: #fff; box-shadow: 0 7px 18px rgba(59,130,246,.16); }
.ivm-booking-v2__button--primary:hover:not(:disabled) { border-color: var(--ivm-als-v2-primary-dark); background: var(--ivm-als-v2-primary-dark); }
.ivm-booking-v2__button--secondary { border-color: var(--ivm-als-v2-border); background: #fff; color: var(--ivm-als-v2-text); }
.ivm-booking-v2__button--secondary:hover:not(:disabled) { border-color: #b6c5c9; background: var(--ivm-als-v2-surface-alt); }
.ivm-booking-v2__button:disabled { cursor: not-allowed; opacity: .58; transform: none; }

.ivm-booking-v2__review-intro { padding: 18px; background: var(--ivm-als-v2-primary-soft); border-color: #d8e5f5; }
.ivm-booking-v2__review-icon { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 50%; background: var(--ivm-als-v2-primary); color: #fff; font-weight: 800; }
.ivm-booking-v2__review { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.ivm-booking-v2__review-row { min-width: 0; padding: 15px 16px; border: 1px solid var(--ivm-als-v2-border); border-radius: 12px; background: #fff; }
.ivm-booking-v2__review-row strong { display: block; margin-bottom: 5px; color: var(--ivm-als-v2-muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ivm-booking-v2__review-row span { display: block; overflow-wrap: anywhere; color: var(--ivm-als-v2-text); font-size: 14px; font-weight: 630; line-height: 1.45; }
.ivm-booking-v2__consent { margin-top: 16px; padding: 16px; border: 1px solid var(--ivm-als-v2-border); border-radius: 12px; background: var(--ivm-als-v2-surface-alt); }
.ivm-booking-v2__checkbox-label { display: flex; align-items: flex-start; gap: 10px; color: var(--ivm-als-v2-muted); cursor: pointer; font-size: 12px; line-height: 1.55; }
.ivm-booking-v2__checkbox-label input { width: 18px; height: 18px; flex: 0 0 18px; margin: 1px 0 0; accent-color: var(--ivm-als-v2-primary); }

.ivm-booking-v2__message { max-width: 900px; margin: 18px auto 0; padding: 13px 15px; border: 1px solid #b8dfd0; border-radius: 11px; background: #f0fbf7; color: var(--ivm-als-v2-success); font-size: 13px; }
.ivm-booking-v2__message.is-error { border-color: #f0c8c4; background: #fff6f5; color: var(--ivm-als-v2-danger); }

.ivm-booking-v2__confirmation { max-width: 700px; margin: 0 auto; padding: 20px 0 4px; text-align: center; outline: 0; }
.ivm-booking-v2__confirmation-icon { display: grid; width: 68px; height: 68px; place-items: center; margin: 0 auto 17px; border-radius: 50%; background: #e7f8f1; color: var(--ivm-als-v2-success); font-size: 30px; font-weight: 800; box-shadow: inset 0 0 0 1px #c8ebdd; }
.ivm-booking-v2__confirmation h3 { margin: 0 0 9px; color: var(--ivm-als-v2-text); font-size: clamp(28px, 4vw, 39px); font-weight: 730; letter-spacing: -.025em; line-height: 1.15; }
.ivm-booking-v2__confirmation > p { max-width: 580px; margin: 0 auto; color: var(--ivm-als-v2-muted); font-size: 15px; line-height: 1.65; }
.ivm-booking-v2__confirmation-card { max-width: 520px; margin: 24px auto 0; padding: 20px; border: 1px solid #d5eae4; border-radius: 16px; background: #f7fcfa; text-align: left; }
.ivm-booking-v2__confirmation-card h4 { margin-bottom: 13px; color: var(--ivm-als-v2-success); }
.ivm-booking-v2__confirmation-details { margin: 0; }
.ivm-booking-v2__confirmation-details > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid #e1eee9; }
.ivm-booking-v2__confirmation-details > div:first-child { border-top: 0; }
.ivm-booking-v2__confirmation-details dt { color: var(--ivm-als-v2-muted); font-size: 12px; font-weight: 650; }
.ivm-booking-v2__confirmation-details dd { margin: 0; color: var(--ivm-als-v2-text); font-size: 13px; font-weight: 700; }
.ivm-booking-v2__confirmation-next { margin-top: 18px !important; font-size: 13px !important; }

.ivm-booking-v2__honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.ivm-booking-v2__spinner { display: inline-block; width: 15px; height: 15px; flex: 0 0 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ivmBookingSpin .7s linear infinite; }

@keyframes ivmBookingFade { from { opacity: 0; transform: translateY(9px) scale(.998); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes ivmBookingSpin { to { transform: rotate(360deg); } }

@media (max-width: 820px) {
  .ivm-booking-v2__shell { padding: 30px 24px; }
  .ivm-booking-v2__header { margin-bottom: 28px; }
  .ivm-booking-v2__progress { display: none; }
  .ivm-booking-v2__progress-mobile { display: block; }
  .ivm-booking-v2__progress-mobile-copy { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
  .ivm-booking-v2__progress-mobile-copy span { color: var(--ivm-als-v2-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .ivm-booking-v2__progress-mobile-copy strong { min-width: 0; overflow: hidden; color: var(--ivm-als-v2-text); font-size: 14px; font-weight: 720; text-overflow: ellipsis; white-space: nowrap; }
  .ivm-booking-v2__progress-track { height: 5px; overflow: hidden; border-radius: 999px; background: #e7edef; }
  .ivm-booking-v2__progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--ivm-als-v2-primary); transition: width .2s ease; }
  .ivm-booking-v2__booking-layout { grid-template-columns: minmax(0, 1fr); }
  .ivm-booking-v2__booking-panel--times { min-height: 240px; }
}

@media (max-width: 640px) {
  .ivm-booking-v2 { font-size: 15px; }
  .ivm-booking-v2__shell { padding: 24px 16px; border-radius: 18px; box-shadow: 0 12px 34px rgba(24,52,60,.07); }
  .ivm-booking-v2__header { margin-bottom: 23px; }
  .ivm-booking-v2__trust-kicker { margin-bottom: 9px; font-size: 10px; }
  .ivm-booking-v2__title { font-size: clamp(27px, 9vw, 34px); }
  .ivm-booking-v2__description { font-size: 14px; line-height: 1.6; }
  .ivm-booking-v2__progress-wrap { margin-bottom: 25px; }
  .ivm-booking-v2__step-heading { margin-bottom: 18px; }
  .ivm-booking-v2__step-heading h3 { font-size: 26px; }
  .ivm-booking-v2__section-block, .ivm-booking-v2__booking-panel { padding: 18px 15px; border-radius: 14px; }
  .ivm-booking-v2__section-copy { margin-bottom: 18px; }
  .ivm-booking-v2__fields,
  .ivm-booking-v2__fields--contact,
  .ivm-booking-v2__choices--appointment,
  .ivm-booking-v2__review { grid-template-columns: minmax(0, 1fr); }
  .ivm-booking-v2__fields--contact .ivm-booking-v2__field:first-child { grid-column: auto; }
  .ivm-booking-v2__fields { gap: 15px; }
  .ivm-booking-v2__choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ivm-booking-v2__choice { min-height: 50px; padding: 10px 11px; }
  .ivm-booking-v2__choices--appointment .ivm-booking-v2__choice { min-height: 72px; padding: 13px; }
  .ivm-booking-v2__booking-layout { gap: 12px; }
  .ivm-booking-v2__calendar { min-height: 305px; }
  .ivm-booking-v2__weekdays, .ivm-booking-v2__calendar-grid { gap: 4px; }
  .ivm-booking-v2__day { max-width: 42px; font-size: 12px; }
  .ivm-booking-v2__slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ivm-booking-v2__actions { margin-top: 22px; }
  .ivm-booking-v2__button { min-width: 0; min-height: 49px; padding: 12px 17px; }
  .ivm-booking-v2__actions .ivm-booking-v2__button--primary { flex: 1 1 auto; }
  .ivm-booking-v2__confirmation { padding-top: 8px; }
  .ivm-booking-v2__confirmation-details > div { grid-template-columns: 1fr; gap: 3px; }
}

@media (max-width: 390px) {
  .ivm-booking-v2__shell { padding: 21px 12px; }
  .ivm-booking-v2__choices { grid-template-columns: minmax(0, 1fr); }
  .ivm-booking-v2__day { max-width: 38px; }
  .ivm-booking-v2__weekdays span { font-size: 9px; }
  .ivm-booking-v2__actions { gap: 8px; }
  .ivm-booking-v2__button { font-size: 13px; padding-inline: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .ivm-booking-v2 *, .ivm-booking-v2 *::before, .ivm-booking-v2 *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* --------------------------------------------------------------------------
 * V2.2 Product polish layer
 * Keeps all presentation strictly scoped to the booking component.
 * -------------------------------------------------------------------------- */
.ivm-booking-v2 {
  --ivm-als-v2-primary: #3b82f6;
  --ivm-als-v2-primary-dark: #0b3f86;
  --ivm-als-v2-primary-soft: #eef5ff;
  --ivm-als-v2-accent: #67b8f3;
  --ivm-als-v2-text: #0b1f45;
  --ivm-als-v2-muted: #61718a;
  --ivm-als-v2-border: #dce6f2;
  --ivm-als-v2-surface: #ffffff;
  --ivm-als-v2-surface-alt: #f7faff;
  --ivm-als-v2-danger: #b42318;
  --ivm-als-v2-success: #0b7b58;
  --ivm-als-v2-radius: 22px;
  --ivm-als-v2-control-radius: 12px;
  --ivm-als-v2-shadow: 0 28px 80px rgba(10, 45, 100, .10);
  --ivm-als-v2-card-shadow: 0 12px 34px rgba(10, 45, 100, .06);
}

.ivm-booking-v2__shell {
  position: relative;
  max-width: 1120px;
  padding: clamp(28px, 4.5vw, 58px);
  border-color: #dce6f2;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--ivm-als-v2-shadow);
}

.ivm-booking-v2__shell::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  border-radius: 28px 28px 0 0;
  background: var(--ivm-als-v2-primary);
  content: "";
  opacity: .92;
}

.ivm-booking-v2__header {
  max-width: 840px;
  margin-bottom: 40px;
}

.ivm-booking-v2__trust-kicker {
  padding: 7px 11px;
  border: 1px solid #dce8f5;
  border-radius: 999px;
  background: #f4f8ff;
  font-size: 11px;
  letter-spacing: .085em;
}

.ivm-booking-v2__title {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 750;
  letter-spacing: -.04em;
}

.ivm-booking-v2__description {
  max-width: 760px;
  font-size: clamp(15px, 1.55vw, 17px);
}

.ivm-booking-v2__progress-wrap {
  max-width: 780px;
  margin-bottom: 30px;
}

.ivm-booking-v2__progress-item::before {
  top: 17px;
  height: 1px;
}

.ivm-booking-v2__progress-marker {
  width: 36px;
  height: 36px;
  margin-bottom: 9px;
  border-width: 1px;
  box-shadow: 0 2px 7px rgba(18, 47, 55, .04);
}

.ivm-booking-v2__progress-item.is-active .ivm-booking-v2__progress-marker,
.ivm-booking-v2__progress-item.is-complete .ivm-booking-v2__progress-marker {
  box-shadow: 0 0 0 5px #eef5ff, 0 6px 18px rgba(59, 130, 246, .16);
}

.ivm-booking-v2__progress-label {
  font-size: 12.5px;
  letter-spacing: -.005em;
}

.ivm-booking-v2__form {
  max-width: 930px;
}

.ivm-booking-v2__step {
  padding: clamp(24px, 3.2vw, 34px);
  border: 1px solid #dce6f2;
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--ivm-als-v2-card-shadow);
}

.ivm-booking-v2__step-heading {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #edf2f8;
}

.ivm-booking-v2__eyebrow {
  display: inline-flex;
  width: auto;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ivm-als-v2-primary-soft);
  font-size: 10px;
  letter-spacing: .11em;
}

.ivm-booking-v2__step-heading h3 {
  font-size: clamp(27px, 3vw, 35px);
  font-weight: 760;
  letter-spacing: -.035em;
}

.ivm-booking-v2__step-heading p {
  max-width: 660px;
  font-size: 14.5px;
  line-height: 1.6;
}

.ivm-booking-v2__section-block,
.ivm-booking-v2__booking-panel,
.ivm-booking-v2__review-intro {
  border-radius: 18px;
}

.ivm-booking-v2__section-block {
  padding: 0;
  border: 0;
  background: transparent;
}

.ivm-booking-v2__section-block + .ivm-booking-v2__section-block {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #edf2f8;
}

.ivm-booking-v2__section-block--soft {
  padding: 24px;
  border: 1px solid #e2eaf5;
  background: #f7faff;
}

.ivm-booking-v2__section-block--soft + .ivm-booking-v2__section-block,
.ivm-booking-v2__section-block + .ivm-booking-v2__section-block--soft {
  border-top: 0;
}

.ivm-booking-v2__section-copy {
  margin-bottom: 20px;
}

.ivm-booking-v2__section-icon,
.ivm-booking-v2__panel-step {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border: 1px solid #d8e5f5;
  border-radius: 9px;
  background: #f2f7ff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, .05);
}

.ivm-booking-v2__section-copy h4,
.ivm-booking-v2__booking-panel-heading h4,
.ivm-booking-v2__review-intro h4,
.ivm-booking-v2__confirmation-card h4 {
  font-size: 17px;
  font-weight: 740;
  letter-spacing: -.015em;
}

.ivm-booking-v2__fields {
  gap: 19px 18px;
}

.ivm-booking-v2__label,
.ivm-booking-v2__fieldset legend {
  margin-bottom: 8px;
  color: #172b4d;
  font-size: 13.5px;
  font-weight: 700;
}

.ivm-booking-v2__field-description {
  margin-bottom: 9px;
  font-size: 12.5px;
}

.ivm-booking-v2__control {
  min-height: 54px;
  padding: 13px 15px;
  border-color: #d7e2f0;
  border-radius: 12px;
  background: #fff;
  font-size: 14.5px;
  box-shadow: 0 1px 2px rgba(7, 37, 85, .025);
}

.ivm-booking-v2__control:hover {
  border-color: #adc2dc;
  box-shadow: 0 2px 8px rgba(11, 31, 69, .04);
}

.ivm-booking-v2__control:focus {
  border-color: var(--ivm-als-v2-primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .10), 0 3px 10px rgba(11, 31, 69, .04);
}

.ivm-booking-v2__textarea {
  min-height: 126px;
}

.ivm-booking-v2__choices {
  gap: 10px;
}

.ivm-booking-v2__choice {
  min-height: 58px;
  padding: 13px 14px;
  border-color: #dce6f2;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(7, 37, 85, .025);
}

.ivm-booking-v2__choice:hover {
  border-color: #9dbce5;
  background: #f8fbff;
  box-shadow: 0 6px 18px rgba(7, 37, 85, .055);
  transform: translateY(-1px);
}

.ivm-booking-v2__choice-indicator {
  width: 21px;
  height: 21px;
  flex-basis: 21px;
  border-color: #a8b7ca;
}

.ivm-booking-v2__choice-copy strong {
  font-size: 14px;
  font-weight: 690;
}

.ivm-booking-v2__choice.is-selected,
.ivm-booking-v2__choice:has(input:checked) {
  border-color: var(--ivm-als-v2-primary);
  background: #eef5ff;
  box-shadow: inset 0 0 0 1px var(--ivm-als-v2-primary), 0 7px 20px rgba(59, 130, 246, .075);
}

.ivm-booking-v2__choices--appointment {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ivm-booking-v2__choices--appointment .ivm-booking-v2__choice {
  min-height: 96px;
  padding: 17px;
  border-radius: 16px;
}

.ivm-booking-v2__choices--appointment .ivm-booking-v2__choice-indicator {
  margin-top: 1px;
}

.ivm-booking-v2__choices--appointment .ivm-booking-v2__choice-copy strong {
  font-size: 15px;
}

.ivm-booking-v2__choices--appointment .ivm-booking-v2__choice-copy small {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.5;
}

.ivm-booking-v2__booking-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 16px;
  margin-top: 22px;
}

.ivm-booking-v2__booking-panel {
  padding: 22px;
  border-color: #dfe8f4;
  background: #fff;
  box-shadow: 0 8px 28px rgba(16, 37, 45, .045);
}

.ivm-booking-v2__booking-panel--times {
  background: #f8fbff;
}

.ivm-booking-v2__calendar {
  min-height: 332px;
}

.ivm-booking-v2__calendar-header {
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  margin-bottom: 17px;
  padding: 5px 0 11px;
  border-bottom: 1px solid #edf2f8;
}

.ivm-booking-v2__month-label {
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -.015em;
}

.ivm-booking-v2__month-button {
  width: 36px;
  height: 36px;
  border-color: #dce6f2;
  border-radius: 10px;
  font-size: 21px;
  box-shadow: 0 1px 3px rgba(16, 37, 45, .03);
}

.ivm-booking-v2__weekdays,
.ivm-booking-v2__calendar-grid {
  gap: 7px;
}

.ivm-booking-v2__weekdays {
  margin-bottom: 8px;
}

.ivm-booking-v2__weekdays span {
  color: #7d8d93;
  font-size: 9.5px;
  letter-spacing: .065em;
}

.ivm-booking-v2__day-placeholder {
  min-height: 40px;
  aspect-ratio: auto;
}

.ivm-booking-v2__day {
  max-width: none;
  min-height: 42px;
  aspect-ratio: auto;
  border-color: transparent;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 690;
}

.ivm-booking-v2__day.is-available {
  border-color: #e0e9f4;
  background: #f7faff;
  color: #17345f;
}

.ivm-booking-v2__day.is-available:hover {
  border-color: #9dbce5;
  background: #edf5ff;
  box-shadow: 0 4px 10px rgba(59, 130, 246, .07);
}

.ivm-booking-v2__day.is-selected {
  border-color: var(--ivm-als-v2-primary);
  background: var(--ivm-als-v2-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(59, 130, 246, .23);
}

.ivm-booking-v2__day.is-today:not(.is-selected) {
  border-color: var(--ivm-als-v2-accent);
}

.ivm-booking-v2__day.is-today:not(.is-selected)::after {
  bottom: 4px;
  width: 3px;
  height: 3px;
}

.ivm-booking-v2__day.is-unavailable,
.ivm-booking-v2__day:disabled {
  border-color: transparent;
  background: #fafbfb;
  color: #b4bfd0;
  text-decoration: none;
}

.ivm-booking-v2__calendar-legend {
  gap: 14px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #edf2f8;
}

.ivm-booking-v2__selected-date {
  min-height: 48px;
  margin-bottom: 15px;
  padding: 12px 14px;
  border: 1px solid #dfe8f4;
  border-radius: 12px;
  background: #fff;
  color: #5d708d;
  font-size: 12.5px;
}

.ivm-booking-v2__slots {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.ivm-booking-v2__slot {
  min-height: 46px;
  border-color: #dce6f2;
  border-radius: 11px;
  background: #fff;
  font-size: 13px;
  box-shadow: 0 1px 3px rgba(7, 37, 85, .025);
}

.ivm-booking-v2__slot:hover:not(:disabled) {
  box-shadow: 0 5px 14px rgba(59, 130, 246, .07);
  transform: translateY(-1px);
}

.ivm-booking-v2__slot.is-selected {
  box-shadow: 0 6px 16px rgba(59, 130, 246, .18);
}

.ivm-booking-v2__appointment-summary {
  margin-top: 18px;
  padding: 15px 16px;
  border-color: #d4e4f7;
  border-radius: 13px;
  background: #eef5ff;
}

.ivm-booking-v2__appointment-summary strong {
  font-size: 13.5px;
}

.ivm-booking-v2__actions {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #edf2f8;
}

.ivm-booking-v2__button {
  min-height: 52px;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 720;
  letter-spacing: -.005em;
}

.ivm-booking-v2__button--primary {
  min-width: 170px;
  box-shadow: 0 9px 22px rgba(59, 130, 246, .18);
}

.ivm-booking-v2__button--primary:hover:not(:disabled) {
  box-shadow: 0 11px 26px rgba(59, 130, 246, .24);
  transform: translateY(-1px);
}

.ivm-booking-v2__button--secondary {
  border-color: #d7e2f0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(7, 37, 85, .025);
}

.ivm-booking-v2__review-intro {
  margin-bottom: 18px;
  padding: 17px 18px;
  border-color: #dce8f5;
  background: #f5f8ff;
}

.ivm-booking-v2__review-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ivm-als-v2-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.ivm-booking-v2__review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ivm-booking-v2__review-group {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe8f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(16, 37, 45, .035);
}

.ivm-booking-v2__review-group:last-child {
  grid-column: 1 / -1;
  border-color: #d7e5f5;
  background: #f8fbff;
}

.ivm-booking-v2__review-group-title {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #edf2f8;
  background: #f8fbff;
  color: #17345f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.ivm-booking-v2__review-group-body {
  padding: 4px 16px;
}

.ivm-booking-v2__review-row {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr);
  gap: 14px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #edf2f8;
  border-radius: 0;
  background: transparent;
}

.ivm-booking-v2__review-row:last-child {
  border-bottom: 0;
}

.ivm-booking-v2__review-row strong {
  color: #66758c;
  font-size: 12px;
  font-weight: 670;
}

.ivm-booking-v2__review-row span {
  color: var(--ivm-als-v2-text);
  font-size: 13.5px;
  font-weight: 650;
  text-align: right;
  overflow-wrap: anywhere;
}

.ivm-booking-v2__consent {
  margin-top: 18px;
  padding: 16px 17px;
  border: 1px solid #dfe8f4;
  border-radius: 14px;
  background: #fbfcff;
}

.ivm-booking-v2__checkbox-label {
  align-items: flex-start;
  gap: 11px;
  color: #566b87;
  font-size: 12.5px;
  line-height: 1.6;
}

.ivm-booking-v2__confirmation {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(16px, 2vw, 24px) 0 4px;
  text-align: center;
}

.ivm-booking-v2__confirmation-icon {
  position: relative;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid #cce7de;
  border-radius: 50%;
  background: #eef9f5;
  color: var(--ivm-als-v2-success);
  box-shadow: 0 0 0 10px #f8fcfa;
  font-size: 28px;
  font-weight: 800;
}

.ivm-booking-v2__confirmation-icon span {
  transform: translateY(-1px);
}

.ivm-booking-v2__confirmation h3 {
  margin: 0 0 10px;
  color: var(--ivm-als-v2-text);
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 770;
  letter-spacing: -.035em;
}

.ivm-booking-v2__confirmation > p {
  max-width: 590px;
  margin: 0 auto 24px;
  color: var(--ivm-als-v2-muted);
  font-size: 15px;
  line-height: 1.7;
}

.ivm-booking-v2__confirmation-card {
  max-width: 590px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #d9e6f5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 37, 85, .055);
  text-align: left;
}

.ivm-booking-v2__confirmation-card h4 {
  margin: 0;
  padding: 15px 18px;
  border-bottom: 1px solid #e8eef7;
  background: #f4f8ff;
  color: var(--ivm-als-v2-primary-dark);
}

.ivm-booking-v2__confirmation-details {
  margin: 0;
  padding: 4px 18px;
}

.ivm-booking-v2__confirmation-details > div {
  padding: 13px 0;
  border-bottom: 1px solid #edf2f8;
}

.ivm-booking-v2__confirmation-details > div:last-child {
  border-bottom: 0;
}

.ivm-booking-v2__confirmation-next {
  display: flex;
  max-width: 590px;
  align-items: flex-start;
  gap: 8px;
  margin: 16px auto 0;
  padding: 14px 16px;
  border-radius: 13px;
  background: #f7faff;
  color: #61718a;
  font-size: 12.5px;
  line-height: 1.55;
  text-align: left;
}

.ivm-booking-v2__confirmation-next strong {
  flex: 0 0 auto;
  color: #26466f;
}

.ivm-booking-v2__message.is-error {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid #efc9c5;
  border-radius: 12px;
  background: #fff7f6;
}

@media (max-width: 900px) {
  .ivm-booking-v2__shell {
    padding: 34px 26px;
    border-radius: 24px;
  }

  .ivm-booking-v2__step {
    padding: 28px;
  }

  .ivm-booking-v2__booking-layout {
    grid-template-columns: 1fr;
  }

  .ivm-booking-v2__booking-panel--times {
    background: #fff;
  }

  .ivm-booking-v2__slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ivm-booking-v2__shell {
    padding: 27px 18px;
    border-radius: 20px;
  }

  .ivm-booking-v2__header {
    margin-bottom: 25px;
    text-align: left;
  }

  .ivm-booking-v2__trust-kicker {
    margin-bottom: 10px;
  }

  .ivm-booking-v2__title,
  .ivm-booking-v2__description {
    margin-left: 0;
  }

  .ivm-booking-v2__title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .ivm-booking-v2__description {
    font-size: 14.5px;
  }

  .ivm-booking-v2__progress {
    display: none;
  }

  .ivm-booking-v2__progress-mobile {
    display: block;
  }

  .ivm-booking-v2__progress-wrap {
    margin-bottom: 18px;
  }

  .ivm-booking-v2__progress-mobile-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
  }

  .ivm-booking-v2__progress-mobile-copy span {
    color: var(--ivm-als-v2-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
  }

  .ivm-booking-v2__progress-mobile-copy strong {
    color: var(--ivm-als-v2-text);
    font-size: 13px;
    font-weight: 720;
  }

  .ivm-booking-v2__progress-track {
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6eeef;
  }

  .ivm-booking-v2__progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--ivm-als-v2-primary);
    transition: width .2s ease;
  }

  .ivm-booking-v2__step {
    padding: 22px 18px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(18, 47, 55, .055);
  }

  .ivm-booking-v2__step-heading {
    margin-bottom: 22px;
    padding-bottom: 18px;
  }

  .ivm-booking-v2__step-heading h3 {
    font-size: 26px;
  }

  .ivm-booking-v2__fields,
  .ivm-booking-v2__fields--contact,
  .ivm-booking-v2__choices--appointment,
  .ivm-booking-v2__review {
    grid-template-columns: 1fr;
  }

  .ivm-booking-v2__fields--contact .ivm-booking-v2__field:first-child,
  .ivm-booking-v2__field--wide,
  .ivm-booking-v2__review-group:last-child {
    grid-column: auto;
  }

  .ivm-booking-v2__section-block + .ivm-booking-v2__section-block {
    margin-top: 24px;
    padding-top: 24px;
  }

  .ivm-booking-v2__section-block--soft {
    padding: 18px;
  }

  .ivm-booking-v2__choice,
  .ivm-booking-v2__choices--appointment .ivm-booking-v2__choice {
    min-height: 58px;
    padding: 13px 14px;
  }

  .ivm-booking-v2__booking-panel {
    padding: 18px;
  }

  .ivm-booking-v2__calendar {
    min-height: 310px;
  }

  .ivm-booking-v2__weekdays,
  .ivm-booking-v2__calendar-grid {
    gap: 5px;
  }

  .ivm-booking-v2__day {
    min-height: 39px;
    border-radius: 9px;
    font-size: 12px;
  }

  .ivm-booking-v2__slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ivm-booking-v2__review-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ivm-booking-v2__review-row span {
    text-align: left;
  }

  .ivm-booking-v2__actions {
    gap: 10px;
    padding-top: 20px;
  }

  .ivm-booking-v2__button {
    min-height: 50px;
  }

  .ivm-booking-v2__actions .ivm-booking-v2__button--primary {
    flex: 1 1 auto;
  }

  .ivm-booking-v2__confirmation-next {
    flex-direction: column;
    gap: 3px;
  }
}

@media (max-width: 390px) {
  .ivm-booking-v2__shell {
    padding: 23px 12px;
    border-radius: 18px;
  }

  .ivm-booking-v2__step {
    padding: 20px 14px;
  }

  .ivm-booking-v2__booking-panel {
    padding: 15px;
  }

  .ivm-booking-v2__weekdays,
  .ivm-booking-v2__calendar-grid {
    gap: 3px;
  }

  .ivm-booking-v2__day {
    min-height: 36px;
    border-radius: 8px;
  }

  .ivm-booking-v2__button--primary {
    min-width: 0;
  }
}

/* --------------------------------------------------------------------------
 * V2.3 Entry experience + appointment-card polish
 * -------------------------------------------------------------------------- */
.ivm-booking-v2__choice-copy {
  flex: 1 1 auto;
}

.ivm-booking-v2__choice-indicator {
  margin-left: auto;
}

.ivm-booking-v2__choices--appointment .ivm-booking-v2__choice {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 22px;
  align-items: start;
  column-gap: 13px;
  min-height: 112px;
  padding: 17px 16px;
}

.ivm-booking-v2__choice-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #dbe8f7;
  border-radius: 13px;
  background: #f4f8ff;
  color: var(--ivm-als-v2-primary);
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.ivm-booking-v2__choice-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ivm-booking-v2__choices--appointment .ivm-booking-v2__choice-copy {
  padding-top: 2px;
}

.ivm-booking-v2__choices--appointment .ivm-booking-v2__choice-indicator {
  margin: 2px 0 0;
}

.ivm-booking-v2__choices--appointment .ivm-booking-v2__choice.is-selected .ivm-booking-v2__choice-icon,
.ivm-booking-v2__choices--appointment .ivm-booking-v2__choice:has(input:checked) .ivm-booking-v2__choice-icon {
  border-color: var(--ivm-als-v2-primary);
  background: var(--ivm-als-v2-primary);
  color: #fff;
  transform: translateY(-1px);
}

.ivm-booking-v2__appointment-summary {
  position: relative;
  overflow: hidden;
}

.ivm-booking-v2__appointment-summary::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--ivm-als-v2-primary);
  content: "";
}

.ivm-booking-v2__button--primary {
  box-shadow: 0 10px 24px rgba(59, 130, 246, .17);
}

.ivm-booking-v2__button--primary:hover:not(:disabled) {
  box-shadow: 0 13px 28px rgba(59, 130, 246, .23);
}

/* Site-entry modal. It is fully isolated from theme/Elementor styles. */
.ivm-entry-popup-v2[hidden] {
  display: none !important;
}

.ivm-entry-popup-v2 {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  display: grid;
  place-items: center;
  padding: 18px;
  font-family: inherit;
  opacity: 0;
  transition: opacity var(--ivm-entry-popup-duration, 320ms) cubic-bezier(.22, 1, .36, 1);
}

.ivm-entry-popup-v2,
.ivm-entry-popup-v2 * {
  box-sizing: border-box;
}

.ivm-entry-popup-v2.is-open {
  opacity: 1;
}

.ivm-entry-popup-v2__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(59, 130, 246, .20), transparent 34%),
    radial-gradient(circle at 85% 88%, rgba(90, 188, 244, .12), transparent 30%),
    rgba(3, 18, 48, .84);
  backdrop-filter: blur(14px) saturate(.82);
  -webkit-backdrop-filter: blur(14px) saturate(.82);
  opacity: .86;
  transition: opacity var(--ivm-entry-popup-duration, 320ms) cubic-bezier(.22, 1, .36, 1);
}

.ivm-entry-popup-v2.is-open .ivm-entry-popup-v2__backdrop {
  opacity: 1;
}

.ivm-entry-popup-v2__dialog {
  --ivm-entry-popup-max-width: 1180px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(var(--ivm-entry-popup-max-width), calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
  overflow: hidden;
  border: 1px solid rgba(219, 231, 233, .94);
  border-radius: 28px;
  outline: 0;
  background: #f8fbff;
  box-shadow: 0 40px 120px rgba(1, 15, 42, .34), 0 8px 30px rgba(1, 15, 42, .16);
  opacity: 0;
  transform: translateY(18px) scale(.972);
  transform-origin: 50% 46%;
  will-change: transform, opacity;
  transition: transform var(--ivm-entry-popup-duration, 320ms) cubic-bezier(.22, 1, .36, 1), opacity var(--ivm-entry-popup-duration, 320ms) ease;
}

.ivm-entry-popup-v2[data-animation="rise"] .ivm-entry-popup-v2__dialog {
  transform: translateY(28px) scale(.994);
}

.ivm-entry-popup-v2[data-animation="fade"] .ivm-entry-popup-v2__dialog {
  transform: none;
}

.ivm-entry-popup-v2[data-animation="slide_up"] .ivm-entry-popup-v2__dialog {
  transform: translateY(48px) scale(.995);
}

.ivm-entry-popup-v2.is-open .ivm-entry-popup-v2__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ivm-entry-popup-v2__topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 13px 18px 13px 22px;
  border-bottom: 1px solid #e2eaf4;
  background: rgba(255, 255, 255, .96);
}

.ivm-entry-popup-v2__brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  color: #0b1f45;
}

.ivm-entry-popup-v2__brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 12px;
  background: #3b82f6;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(59, 130, 246, .18);
}

.ivm-entry-popup-v2__brand > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.ivm-entry-popup-v2__brand strong {
  overflow: hidden;
  color: #0b1f45;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ivm-entry-popup-v2__brand small {
  overflow: hidden;
  color: #6b7d96;
  font-size: 11.5px;
  font-weight: 560;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ivm-entry-popup-v2__close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid #dce6f2;
  border-radius: 13px;
  outline: 0;
  background: #fff;
  color: #53657f;
  cursor: pointer;
  font: inherit;
  font-size: 25px;
  line-height: 1;
  transition: border-color .15s ease, color .15s ease, background .15s ease, transform .15s ease;
}

.ivm-entry-popup-v2__close:hover {
  border-color: #b9cae2;
  background: #f7faff;
  color: #0b1f45;
  transform: translateY(-1px);
}

.ivm-entry-popup-v2__close:focus-visible,
.ivm-entry-popup-v2__continue:focus-visible {
  outline: 3px solid rgba(59, 130, 246, .22);
  outline-offset: 2px;
}

.ivm-entry-popup-v2__content {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(18px, 2.2vw, 30px);
  scrollbar-gutter: stable;
}

.ivm-entry-popup-v2__content .ivm-booking-v2__shell {
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ivm-entry-popup-v2__content .ivm-booking-v2__shell::before {
  display: none;
}

.ivm-entry-popup-v2__content .ivm-booking-v2__header {
  max-width: 800px;
  margin-bottom: 26px;
}

.ivm-entry-popup-v2__content .ivm-booking-v2__trust-kicker {
  margin-bottom: 9px;
}

.ivm-entry-popup-v2__content .ivm-booking-v2__title {
  font-size: clamp(28px, 3.2vw, 42px);
}

.ivm-entry-popup-v2__content .ivm-booking-v2__description {
  font-size: 15px;
  line-height: 1.62;
}

.ivm-entry-popup-v2__content .ivm-booking-v2__progress-wrap {
  margin-bottom: 24px;
}

.ivm-entry-popup-v2__content .ivm-booking-v2__step {
  border-color: #dfe8f4;
  box-shadow: 0 15px 40px rgba(16, 37, 45, .065);
}

.ivm-entry-popup-v2__footer {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 20px 11px 22px;
  border-top: 1px solid #e2eaf4;
  background: rgba(255, 255, 255, .97);
}

.ivm-entry-popup-v2__footer-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6f8098;
  font-size: 11.5px;
  line-height: 1.45;
}

.ivm-entry-popup-v2__footer-note > span {
  color: #0b7b58;
  font-size: 8px;
}

.ivm-entry-popup-v2__continue {
  margin: 0;
  padding: 8px 11px;
  border: 0;
  border-radius: 9px;
  outline: 0;
  background: transparent;
  color: #3b82f6;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
}

.ivm-entry-popup-v2__continue:hover {
  background: #eef5ff;
}

.ivm-entry-popup-v2__continue--success {
  padding: 10px 15px;
  background: #3b82f6;
  color: #fff;
}

.ivm-entry-popup-v2__continue--success:hover {
  background: #0b3f86;
}

.ivm-entry-popup-v2.is-complete .ivm-entry-popup-v2__footer-note {
  color: #0b7b58;
}

@media (max-width: 900px) {
  .ivm-entry-popup-v2 {
    padding: 10px;
  }

  .ivm-entry-popup-v2__dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 22px;
  }

  .ivm-entry-popup-v2__content {
    padding: 18px;
  }

  .ivm-entry-popup-v2__content .ivm-booking-v2__step {
    padding: 22px;
  }
}

@media (max-width: 767px) {
  .ivm-booking-v2__choices--appointment .ivm-booking-v2__choice {
    grid-template-columns: 42px minmax(0, 1fr) 21px;
    min-height: 96px;
    padding: 14px;
  }

  .ivm-booking-v2__choice-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .ivm-entry-popup-v2 {
    padding: 0;
  }

  .ivm-entry-popup-v2__backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .ivm-entry-popup-v2__dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .ivm-entry-popup-v2__topbar {
    min-height: 64px;
    padding: max(10px, env(safe-area-inset-top)) 12px 10px 14px;
  }

  .ivm-entry-popup-v2__brand-mark {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
  }

  .ivm-entry-popup-v2__brand strong {
    font-size: 13px;
  }

  .ivm-entry-popup-v2__brand small {
    max-width: 230px;
    font-size: 10.5px;
  }

  .ivm-entry-popup-v2__close {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
  }

  .ivm-entry-popup-v2__content {
    padding: 15px 12px 18px;
  }

  .ivm-entry-popup-v2__content .ivm-booking-v2__header {
    margin-bottom: 20px;
  }

  .ivm-entry-popup-v2__content .ivm-booking-v2__title {
    font-size: clamp(26px, 8vw, 34px);
  }

  .ivm-entry-popup-v2__content .ivm-booking-v2__description {
    font-size: 14px;
  }

  .ivm-entry-popup-v2__content .ivm-booking-v2__step {
    padding: 19px 14px;
    border-radius: 18px;
  }

  .ivm-entry-popup-v2__footer {
    min-height: 58px;
    padding: 9px 12px max(9px, env(safe-area-inset-bottom));
  }

  .ivm-entry-popup-v2__footer-note {
    display: none;
  }

  .ivm-entry-popup-v2__continue {
    width: 100%;
    min-height: 40px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .ivm-entry-popup-v2__brand small {
    max-width: 185px;
  }

  .ivm-entry-popup-v2__content {
    padding-inline: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ivm-entry-popup-v2,
  .ivm-entry-popup-v2__dialog,
  .ivm-entry-popup-v2 * {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}

.ivm-booking-v2.is-confirmed .ivm-booking-v2__header,
.ivm-booking-v2.is-confirmed .ivm-booking-v2__progress-wrap {
  display: none !important;
}

.ivm-entry-popup-v2 .ivm-booking-v2.is-confirmed .ivm-booking-v2__confirmation {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px) clamp(14px, 3vw, 28px);
}

/* ========================================================================
   V3 PRODUCT LAYER — responsive field architecture + theme-safe interaction
   ======================================================================== */
.ivm-booking-v2 {
  --ivm-v3-field-gap: 18px;
  --ivm-v3-field-row-gap: 20px;
  --ivm-v3-hover-bg: #f3f7ff;
  --ivm-v3-hover-border: #8fb8ee;
  --ivm-v3-hover-text: #0b3f86;
  --ivm-v3-focus-ring: rgba(59, 130, 246, .16);
  --ivm-v3-button-hover-bg: var(--ivm-als-v2-primary-dark);
  --ivm-v3-button-hover-text: #ffffff;
  --ivm-v3-calendar-hover-bg: #edf5ff;
  --ivm-v3-calendar-hover-border: #8fb8ee;
  --ivm-v3-calendar-hover-text: #0b3f86;
  --ivm-v3-date-available-bg: transparent;
  --ivm-v3-date-available-text: #17345f;
  --ivm-v3-date-disabled-text: #adb9c9;
  --ivm-v3-calendar-selected-bg: var(--ivm-als-v2-primary);
  --ivm-v3-calendar-selected-text: #ffffff;
  --ivm-v3-slot-bg: #ffffff;
  --ivm-v3-slot-text: #17345f;
  --ivm-v3-slot-disabled-text: #aab6c7;
  --ivm-v3-choice-selected-bg: var(--ivm-als-v2-primary-soft);
  --ivm-v3-choice-selected-border: var(--ivm-als-v2-primary);
  isolation: isolate;
}

/* A 100-column internal layout gives designers true 10–100% field widths.
   There is no column gap; each field creates its own gutter, avoiding overflow. */
.ivm-booking-v2 .ivm-booking-v2__fields,
.ivm-booking-v2 .ivm-booking-v2__fields--contact,
.ivm-booking-v2 .ivm-booking-v2__fields--single {
  display: grid !important;
  width: calc(100% + var(--ivm-v3-field-gap));
  max-width: calc(100% + var(--ivm-v3-field-gap));
  grid-template-columns: repeat(100, minmax(0, 1fr)) !important;
  column-gap: 0 !important;
  row-gap: var(--ivm-v3-field-row-gap) !important;
  margin-right: calc(var(--ivm-v3-field-gap) * -1);
  align-items: start;
}

.ivm-booking-v2 .ivm-booking-v2__field,
.ivm-booking-v2 .ivm-booking-v2__field--wide,
.ivm-booking-v2 .ivm-booking-v2__fields--contact .ivm-booking-v2__field:first-child {
  --ivm-field-active-span: var(--ivm-field-span-desktop, 100);
  min-width: 0;
  width: auto !important;
  max-width: none !important;
  grid-column: span var(--ivm-field-active-span) !important;
  padding-right: var(--ivm-v3-field-gap);
}

.ivm-booking-v2 .ivm-booking-v2__field.is-single-row {
  grid-column: 1 / -1 !important;
}

/* Give every control an intentional neutral baseline so theme kits cannot leak
   unrelated theme hover states into the booking product. */
.ivm-booking-v2 .ivm-booking-v2__control,
.ivm-booking-v2 .ivm-booking-v2__choice,
.ivm-booking-v2 .ivm-booking-v2__day,
.ivm-booking-v2 .ivm-booking-v2__slot,
.ivm-booking-v2 .ivm-booking-v2__month-button,
.ivm-booking-v2 .ivm-booking-v2__button {
  background-image: none !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-tap-highlight-color: transparent;
}

.ivm-booking-v2 .ivm-booking-v2__control {
  width: 100%;
  min-height: 54px;
  border-color: #d7e2f0;
  background-color: #fff;
  color: var(--ivm-als-v2-text);
  caret-color: var(--ivm-als-v2-primary);
  box-shadow: 0 1px 0 rgba(7, 37, 85, .025);
}

.ivm-booking-v2 .ivm-booking-v2__control:hover:not(:disabled) {
  border-color: var(--ivm-v3-hover-border) !important;
  background-color: #ffffff !important;
  color: var(--ivm-als-v2-text) !important;
}

.ivm-booking-v2 .ivm-booking-v2__control:focus,
.ivm-booking-v2 .ivm-booking-v2__control:focus-visible {
  border-color: var(--ivm-als-v2-primary) !important;
  outline: 0 !important;
  background-color: #fff !important;
  color: var(--ivm-als-v2-text) !important;
  box-shadow: 0 0 0 4px var(--ivm-v3-focus-ring) !important;
}

.ivm-booking-v2 .ivm-booking-v2__choice {
  border-color: #dce6f2;
  background-color: #fff;
  color: var(--ivm-als-v2-text);
}

.ivm-booking-v2 .ivm-booking-v2__choice:hover,
.ivm-booking-v2 .ivm-booking-v2__choice:focus-within {
  border-color: var(--ivm-v3-hover-border) !important;
  background-color: var(--ivm-v3-hover-bg) !important;
  color: var(--ivm-v3-hover-text) !important;
  box-shadow: 0 8px 22px rgba(18, 63, 126, .07) !important;
}

.ivm-booking-v2 .ivm-booking-v2__choice:hover .ivm-booking-v2__choice-copy strong,
.ivm-booking-v2 .ivm-booking-v2__choice:focus-within .ivm-booking-v2__choice-copy strong {
  color: var(--ivm-v3-hover-text) !important;
}

.ivm-booking-v2 .ivm-booking-v2__choice.is-selected,
.ivm-booking-v2 .ivm-booking-v2__choice:has(input:checked) {
  border-color: var(--ivm-v3-choice-selected-border) !important;
  background-color: var(--ivm-v3-choice-selected-bg) !important;
  box-shadow: 0 0 0 1px var(--ivm-als-v2-primary), 0 8px 24px rgba(18, 63, 126, .08) !important;
}

.ivm-booking-v2 .ivm-booking-v2__choice-indicator {
  border-color: #aab9cc;
  background-color: #fff !important;
}

.ivm-booking-v2 .ivm-booking-v2__choice.is-selected .ivm-booking-v2__choice-indicator,
.ivm-booking-v2 .ivm-booking-v2__choice:has(input:checked) .ivm-booking-v2__choice-indicator {
  border-color: var(--ivm-v3-choice-selected-border) !important;
  background-color: var(--ivm-v3-choice-selected-border) !important;
}

/* Appointment stage is the product centerpiece. */
.ivm-booking-v2 .ivm-booking-v2__booking-layout {
  gap: clamp(18px, 2.8vw, 30px);
}

.ivm-booking-v2 .ivm-booking-v2__calendar-card,
.ivm-booking-v2 .ivm-booking-v2__times-card {
  border-color: #dfe8f4;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 37, 85, .05);
}

.ivm-booking-v2 .ivm-booking-v2__month-button {
  border-color: #dce6f2 !important;
  background-color: #fff !important;
  color: #365779 !important;
}

.ivm-booking-v2 .ivm-booking-v2__month-button:hover:not(:disabled),
.ivm-booking-v2 .ivm-booking-v2__month-button:focus-visible:not(:disabled) {
  border-color: var(--ivm-v3-hover-border) !important;
  background-color: var(--ivm-v3-hover-bg) !important;
  color: var(--ivm-v3-hover-text) !important;
  box-shadow: 0 0 0 3px var(--ivm-v3-focus-ring) !important;
}

.ivm-booking-v2 .ivm-booking-v2__day {
  color: #17345f !important;
}

.ivm-booking-v2 .ivm-booking-v2__day.is-available {
  border-color: transparent !important;
  background-color: var(--ivm-v3-date-available-bg) !important;
  color: var(--ivm-v3-date-available-text) !important;
}

.ivm-booking-v2 .ivm-booking-v2__day.is-available:hover,
.ivm-booking-v2 .ivm-booking-v2__day.is-available:focus-visible {
  border-color: var(--ivm-v3-calendar-hover-border) !important;
  background-color: var(--ivm-v3-calendar-hover-bg) !important;
  color: var(--ivm-v3-calendar-hover-text) !important;
  box-shadow: none !important;
}

.ivm-booking-v2 .ivm-booking-v2__day.is-selected,
.ivm-booking-v2 .ivm-booking-v2__day.is-selected:hover,
.ivm-booking-v2 .ivm-booking-v2__day.is-selected:focus-visible {
  border-color: var(--ivm-v3-calendar-selected-bg) !important;
  background-color: var(--ivm-v3-calendar-selected-bg) !important;
  color: var(--ivm-v3-calendar-selected-text) !important;
  box-shadow: 0 6px 18px rgba(59, 130, 246, .20) !important;
}

.ivm-booking-v2 .ivm-booking-v2__day:disabled {
  border-color: transparent !important;
  background-color: transparent !important;
  color: var(--ivm-v3-date-disabled-text) !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

.ivm-booking-v2 .ivm-booking-v2__slot {
  min-height: 47px;
  border-color: #d8e3f0 !important;
  background-color: var(--ivm-v3-slot-bg) !important;
  color: var(--ivm-v3-slot-text) !important;
  font-weight: 700;
}

.ivm-booking-v2 .ivm-booking-v2__slot:disabled {
  color: var(--ivm-v3-slot-disabled-text) !important;
}

.ivm-booking-v2 .ivm-booking-v2__slot:hover:not(:disabled),
.ivm-booking-v2 .ivm-booking-v2__slot:focus-visible:not(:disabled) {
  border-color: var(--ivm-v3-calendar-hover-border) !important;
  background-color: var(--ivm-v3-calendar-hover-bg) !important;
  color: var(--ivm-v3-calendar-hover-text) !important;
  box-shadow: 0 0 0 3px var(--ivm-v3-focus-ring) !important;
}

.ivm-booking-v2 .ivm-booking-v2__slot.is-selected,
.ivm-booking-v2 .ivm-booking-v2__slot.is-selected:hover,
.ivm-booking-v2 .ivm-booking-v2__slot.is-selected:focus-visible {
  border-color: var(--ivm-v3-calendar-selected-bg) !important;
  background-color: var(--ivm-v3-calendar-selected-bg) !important;
  color: var(--ivm-v3-calendar-selected-text) !important;
  box-shadow: 0 6px 18px rgba(59, 130, 246, .18) !important;
}

.ivm-booking-v2 .ivm-booking-v2__button {
  text-decoration: none !important;
}

.ivm-booking-v2 .ivm-booking-v2__button--primary:hover:not(:disabled),
.ivm-booking-v2 .ivm-booking-v2__button--primary:focus-visible:not(:disabled) {
  border-color: var(--ivm-v3-button-hover-bg) !important;
  background-color: var(--ivm-v3-button-hover-bg) !important;
  color: var(--ivm-v3-button-hover-text) !important;
  box-shadow: 0 10px 24px rgba(36, 104, 215, .18) !important;
}

.ivm-booking-v2 .ivm-booking-v2__button--secondary:hover:not(:disabled),
.ivm-booking-v2 .ivm-booking-v2__button--secondary:focus-visible:not(:disabled) {
  border-color: var(--ivm-v3-hover-border) !important;
  background-color: var(--ivm-v3-hover-bg) !important;
  color: var(--ivm-v3-hover-text) !important;
  box-shadow: 0 0 0 3px var(--ivm-v3-focus-ring) !important;
}

.ivm-booking-v2 .ivm-booking-v2__checkbox-label input {
  accent-color: var(--ivm-als-v2-primary) !important;
}

/* Desktop/tablet/mobile use independent stored widths. */
@media (max-width: 1024px) {
  .ivm-booking-v2 .ivm-booking-v2__field,
  .ivm-booking-v2 .ivm-booking-v2__field--wide,
  .ivm-booking-v2 .ivm-booking-v2__fields--contact .ivm-booking-v2__field:first-child {
    --ivm-field-active-span: var(--ivm-field-span-tablet, 100);
  }
}

@media (max-width: 767px) {
  .ivm-booking-v2 {
    --ivm-v3-field-gap: 12px;
    --ivm-v3-field-row-gap: 16px;
  }

  .ivm-booking-v2 .ivm-booking-v2__field,
  .ivm-booking-v2 .ivm-booking-v2__field--wide,
  .ivm-booking-v2 .ivm-booking-v2__fields--contact .ivm-booking-v2__field:first-child {
    --ivm-field-active-span: var(--ivm-field-span-mobile, 100);
  }

  .ivm-booking-v2 .ivm-booking-v2__control { min-height: 52px; font-size: 16px; }
  .ivm-booking-v2 .ivm-booking-v2__slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ivm-booking-v2 .ivm-booking-v2__button { min-height: 50px; }
}

/* Prevent unusably tiny controls on very narrow phones even if a designer
   accidentally configured an aggressive mobile percentage. */
@media (max-width: 420px) {
  .ivm-booking-v2 .ivm-booking-v2__field {
    grid-column: 1 / -1 !important;
    padding-right: var(--ivm-v3-field-gap);
  }
}

/* V3 popup controls are also insulated from Elementor/theme button hover rules. */
.ivm-entry-popup-v2 .ivm-entry-popup-v2__close,
.ivm-entry-popup-v2 .ivm-entry-popup-v2__continue {
  background-image: none !important;
  text-shadow: none !important;
  filter: none !important;
}
.ivm-entry-popup-v2 .ivm-entry-popup-v2__close:hover,
.ivm-entry-popup-v2 .ivm-entry-popup-v2__close:focus-visible {
  border-color: #bfd1e8 !important;
  background-color: #eef5ff !important;
  color: #0b3f86 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12) !important;
}
.ivm-entry-popup-v2 .ivm-entry-popup-v2__continue:hover,
.ivm-entry-popup-v2 .ivm-entry-popup-v2__continue:focus-visible {
  background-color: #eef5ff !important;
  color: #3b82f6 !important;
  box-shadow: none !important;
}
.ivm-entry-popup-v2 .ivm-entry-popup-v2__continue--success:hover,
.ivm-entry-popup-v2 .ivm-entry-popup-v2__continue--success:focus-visible {
  background-color: #0b3f86 !important;
  color: #ffffff !important;
}


/* --------------------------------------------------------------------------
 * V3.2 Newsletter form — compact, inline, responsive and theme-isolated.
 * -------------------------------------------------------------------------- */
.ivm-newsletter-v3 {
  --ivm-newsletter-primary: #3b82f6;
  --ivm-newsletter-primary-dark: #2468d7;
  --ivm-newsletter-surface: #ffffff;
  --ivm-newsletter-text: #0b1f45;
  --ivm-newsletter-muted: #66758c;
  --ivm-newsletter-border: #d9e4f1;
  --ivm-newsletter-success: #087a55;
  --ivm-newsletter-danger: #b42318;
  width: 100%;
  max-width: 720px;
  color: var(--ivm-newsletter-text);
  font-family: inherit;
}
.ivm-newsletter-v3,
.ivm-newsletter-v3 * { box-sizing: border-box; }
.ivm-newsletter-v3 [hidden] { display: none !important; }
.ivm-newsletter-v3__form { width: 100%; margin: 0; }
.ivm-newsletter-v3__label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.ivm-newsletter-v3__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
}
.ivm-newsletter-v3__field-wrap {
  position: relative;
  min-width: 0;
}
.ivm-newsletter-v3__icon {
  position: absolute;
  top: 50%;
  left: 17px;
  z-index: 1;
  color: #7b8ba3;
  font-size: 15px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}
.ivm-newsletter-v3__input {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 18px 0 46px !important;
  border: 1px solid var(--ivm-newsletter-border) !important;
  border-radius: 12px !important;
  outline: 0 !important;
  background: var(--ivm-newsletter-surface) !important;
  box-shadow: 0 5px 16px rgba(7, 37, 85, .05) !important;
  color: var(--ivm-newsletter-text) !important;
  font: inherit !important;
  font-size: 15px !important;
  line-height: 1 !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}
.ivm-newsletter-v3__input::placeholder { color: #8a98ad !important; opacity: 1 !important; }
.ivm-newsletter-v3__input:hover { border-color: #b8c9df !important; }
.ivm-newsletter-v3__input:focus {
  border-color: var(--ivm-newsletter-primary) !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .13), 0 6px 18px rgba(7, 37, 85, .06) !important;
}
.ivm-newsletter-v3__input[aria-invalid="true"] { border-color: var(--ivm-newsletter-danger) !important; }
.ivm-newsletter-v3__button {
  display: inline-flex !important;
  min-width: 138px !important;
  min-height: 52px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border: 1px solid var(--ivm-newsletter-primary) !important;
  border-radius: 12px !important;
  outline: 0 !important;
  background: var(--ivm-newsletter-primary) !important;
  box-shadow: 0 9px 24px rgba(59, 130, 246, .20) !important;
  color: #fff !important;
  cursor: pointer !important;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}
.ivm-newsletter-v3__button:hover:not(:disabled),
.ivm-newsletter-v3__button:focus-visible:not(:disabled) {
  border-color: var(--ivm-newsletter-primary-dark) !important;
  background: var(--ivm-newsletter-primary-dark) !important;
  color: #fff !important;
  box-shadow: 0 11px 28px rgba(36, 104, 215, .24) !important;
  transform: translateY(-1px);
}
.ivm-newsletter-v3__button:focus-visible { box-shadow: 0 0 0 4px rgba(59, 130, 246, .18), 0 11px 28px rgba(36, 104, 215, .20) !important; }
.ivm-newsletter-v3__button:disabled { cursor: wait !important; opacity: .72 !important; transform: none !important; }
.ivm-newsletter-v3__arrow { font-size: 17px; transition: transform .18s ease; }
.ivm-newsletter-v3__button:hover .ivm-newsletter-v3__arrow { transform: translateX(2px); }
.ivm-newsletter-v3__privacy { margin: 8px 2px 0 !important; color: var(--ivm-newsletter-muted) !important; font-size: 11.5px !important; line-height: 1.5 !important; }
.ivm-newsletter-v3__message { margin: 8px 2px 0 !important; font-size: 12.5px !important; font-weight: 650 !important; line-height: 1.45 !important; }
.ivm-newsletter-v3__message.is-success { color: var(--ivm-newsletter-success) !important; }
.ivm-newsletter-v3__message.is-error { color: var(--ivm-newsletter-danger) !important; }
.ivm-newsletter-v3__honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

@media (max-width: 560px) {
  .ivm-newsletter-v3__row { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .ivm-newsletter-v3__input,
  .ivm-newsletter-v3__button { width: 100% !important; }
  .ivm-newsletter-v3__button { min-width: 0 !important; }
}

/* V3.2 first-visit experience: deliberate staged entrance without flashy motion. */
.ivm-entry-popup-v2__topbar,
.ivm-entry-popup-v2__content,
.ivm-entry-popup-v2__footer {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity calc(var(--ivm-entry-popup-duration, 320ms) * .72) ease, transform calc(var(--ivm-entry-popup-duration, 320ms) * .72) cubic-bezier(.22, 1, .36, 1);
}
.ivm-entry-popup-v2.is-open .ivm-entry-popup-v2__topbar { opacity: 1; transform: none; transition-delay: 35ms; }
.ivm-entry-popup-v2.is-open .ivm-entry-popup-v2__content { opacity: 1; transform: none; transition-delay: 75ms; }
.ivm-entry-popup-v2.is-open .ivm-entry-popup-v2__footer { opacity: 1; transform: none; transition-delay: 115ms; }

@media (prefers-reduced-motion: reduce) {
  .ivm-entry-popup-v2__topbar,
  .ivm-entry-popup-v2__content,
  .ivm-entry-popup-v2__footer,
  .ivm-newsletter-v3 *,
  .ivm-newsletter-v3 *::before,
  .ivm-newsletter-v3 *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
