/*
 * HOFF – sekcja rezerwacji (Bookero) zgodna z HOFF Design System (export/cms/Rezerwacja.html).
 * Krok 1: termin, krok 2: dane i płatność. Jedna usługa na stronę docelową.
 * Wszystko zawężone do .hoff-booking. Nadpisania Bookero zaczynają się od
 * „.hoff-booking #bookero-plugin” – selektor z ID wygrywa ze stylami wtyczki bez !important.
 */

.hoff-booking {
  --hb-mint: #41b7a5;
  --hb-mint-hover: #2f9184;
  --hb-mint-ring: rgba(65, 183, 165, .18);
  --hb-ink: #221e19;
  --hb-text: #4a4239;
  --hb-muted: #767671;
  --hb-faint: #c4c3bd;
  --hb-line: #e2e1dc;
  --hb-soft: #f5f5f2;
  --hb-danger: #b3261e;
  /* „Montserrat Variable” – nazwa kroju w motywie Waynet na salonyhoff.pl */
  --hb-font: 'Montserrat Variable', 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;

  font-family: var(--hb-font);
  color: var(--hb-ink);
  -webkit-font-smoothing: antialiased;
}
.hoff-booking *,
.hoff-booking *::before,
.hoff-booking *::after { box-sizing: border-box; font-family: inherit; }
.hoff-booking [hidden] { display: none !important; }
.hoff-booking :focus-visible { outline: 2px solid var(--hb-ink); outline-offset: 3px; }

/* ---------- Sekcja (jak w Rezerwacja.html) ---------- */
.hb-section { background: var(--hb-mint); }
.hb-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 84px 28px 96px;
}
.hb-intro { position: sticky; top: 24px; padding-top: 12px; }
.hb-intro-title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.01em;
}
.hb-intro-title em { font-style: italic; }
.hb-intro-lead { max-width: 440px; margin: 20px 0 28px; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.7; }
.hb-checks { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.hb-checks li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, .92); font-size: 14px; }
/* Warunki cenowe w intro */
.hb-price { max-width: 440px; margin: 28px 0 0; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .35); border-bottom: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.hb-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0; }
.hb-price-row span { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hb-price-row strong { font-size: 30px; font-weight: 500; letter-spacing: -.01em; line-height: 1.1; }
.hb-price-note { margin: 8px 0 0; color: rgba(255, 255, 255, .92); font-size: 13.5px; line-height: 1.6; }
.hb-intro-note { max-width: 440px; margin: 28px 0 0; color: rgba(255, 255, 255, .92); font-size: 14px; line-height: 1.6; }
.hoff-booking .hb-intro-note a { color: #fff; font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.hoff-booking .hb-intro-note a:hover { color: var(--hb-ink); }
.hb-check {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

/* ---------- Karta z krokami ---------- */
.hb-card {
  min-width: 0;
  padding: 40px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(17, 19, 21, .10);
  container-type: inline-size;
  scroll-margin-top: 24px;
}
.hb-progress { display: flex; gap: 10px; margin-bottom: 26px; }
.hb-progress span { flex: 1 1 0%; height: 3px; border-radius: 2px; background: var(--hb-line); transition: background-color .2s; }
.hb-progress span.is-on { background: var(--hb-ink); }
.hb-eyebrow { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--hb-muted); }
.hb-title { margin: 0 0 26px; font-size: 28px; font-weight: 500; line-height: 1.2; color: var(--hb-ink); }
.hb-title:focus { outline: none; }
/* Osadzenie w cudzej stronie: motyw (np. Waynet) stylizuje h2/h4/p/ul – teksty karty mają własny krój i układ */
.hoff-booking .hb-card .hb-title,
.hoff-booking .hb-card .hb-eyebrow,
.hoff-booking .hb-card .hb-thanks-title,
.hoff-booking .hb-card .hb-thanks-eyebrow { font-family: var(--hb-font); text-align: left; text-transform: none; letter-spacing: normal; }
.hoff-booking .hb-card .hb-title { margin: 0 0 26px; font-size: 28px; font-weight: 500; line-height: 1.2; color: var(--hb-ink); }
.hoff-booking .hb-card .hb-eyebrow,
.hoff-booking .hb-card .hb-thanks-eyebrow { text-transform: uppercase; letter-spacing: .16em; }
@media (max-width: 560px) { .hoff-booking .hb-card .hb-title { font-size: 24px; margin-bottom: 20px; } }

.hb-status { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 40px 0; font-size: 14px; color: var(--hb-muted); }
/* Komunikat błędu to zwykły akapit (tekst + link), nie wiersz flex */
.hb-status.is-error { display: block; padding: 32px 8px; color: var(--hb-danger); line-height: 1.6; text-align: center; }
.hb-status a { color: inherit; font-weight: 600; white-space: nowrap; }
.hb-spinner { width: 18px; height: 18px; border: 2px solid var(--hb-line); border-top-color: var(--hb-mint); border-radius: 50%; animation: hb-spin 1s linear infinite; }
.hb-status.is-error .hb-spinner { display: none; }
@keyframes hb-spin { to { transform: rotate(360deg); } }

/* Ikona w miętowym kółku */
.hb-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--hb-mint);
  color: #fff;
}
.hb-icon svg { width: 18px; height: 18px; }

/* ---------- Usługa tej strony (krok 1) ---------- */
.hb-summary { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; padding: 14px 16px; border: 1px solid var(--hb-line); border-radius: 16px; }
.hb-summary .hb-icon { width: 36px; height: 36px; }
.hb-summary .hb-icon svg { width: 16px; height: 16px; }
.hb-summary-text { flex: 1 1 0%; min-width: 0; }
.hb-summary-text strong { display: block; font-size: 15px; font-weight: 600; }
.hb-summary-text span { display: block; margin-top: 2px; font-size: 13px; color: var(--hb-muted); }
/* W kroku 2 usługę pokazuje podsumowanie Bookero */
.hoff-booking[data-hb-step="2"] .hb-summary { display: none; }

/* =====================================================================
 * Bookero – nadpisania wyglądu (logika wtyczki pozostaje nietknięta)
 * ===================================================================== */
.hoff-booking #bookero-plugin { font-family: var(--hb-font); color: var(--hb-ink); font-size: 14px; }
.hoff-booking #bookero-plugin * { font-family: var(--hb-font); }
.hoff-booking #bookero-plugin :focus-visible { outline: 2px solid var(--hb-ink); outline-offset: 2px; }
.hoff-booking #bookero-plugin .bookero-plugin-form { max-width: none; margin: 0; padding: 0; font-weight: 400; }
.hoff-booking #bookero-plugin .bookero-plugin-hideable-part-wrapper { padding: 0; }
/* Bookero wymusza min-height 750px (pusta przestrzeń pod formularzem). */
.hoff-booking #bookero-plugin .bookero-plugin-hideable-part { min-height: 0 !important; }

/* Elementy zastąpione przez kartę (nagłówki, usługa wybrana z góry) */
.hoff-booking #bookero-plugin .bookero-plugin-header-add,
.hoff-booking #bookero-plugin .bookero-plugin-header-summary,
.hoff-booking #bookero-plugin .bookero-plugin-form-heading-summary-main-info,
.hoff-booking #bookero-plugin .bookero-plugin-form-heading-term,
.hoff-booking #bookero-plugin .bookero-plugin-form-heading-your-data,
.hoff-booking #bookero-plugin .services-section { display: none; }

.hoff-booking #bookero-plugin .bookero-plugin-form-heading {
  width: 100%;
  margin: 24px 0 12px;
  padding: 0;
  border: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hb-ink);
}
.hoff-booking #bookero-plugin .bookero-plugin-form-heading.has-separator { padding-top: 20px; border-top: 1px solid var(--hb-line); }

/* Krok 2: kalendarz z kolumną godzin po prawej */
.hoff-booking #bookero-plugin .bookero-plugin-form-cart-step-1 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  column-gap: 24px;
  align-items: start;
}
.hoff-booking #bookero-plugin .bookero-plugin-form-cart-step-1 > * { grid-column: 1 / -1; }
.hoff-booking #bookero-plugin .bookero-plugin-form-cart-step-1:has(> .hours-section) > .dates-section { grid-column: 1; }
.hoff-booking #bookero-plugin .bookero-plugin-form-cart-step-1 > .hours-section { grid-column: 2; }
.hoff-booking #bookero-plugin .bookero-plugin-form-cart-step-2 { display: block; }

.hoff-booking #bookero-plugin .calendar-wrapper,
.hoff-booking #bookero-plugin .calendar { margin: 0; padding: 0; border: 0; background: none; }
.hoff-booking #bookero-plugin .calendar-wrapper::after { display: none; }

.hoff-booking #bookero-plugin .calendar-nav { display: flex; align-items: center; gap: 8px; min-height: 0; margin: 0 0 10px; padding: 0; border: 0; background: none; }
.hoff-booking #bookero-plugin .calendar-nav-month {
  order: -1;
  width: auto;
  margin-right: auto;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  text-transform: capitalize;
  color: var(--hb-ink);
}
.hoff-booking #bookero-plugin .calendar-nav-prev,
.hoff-booking #bookero-plugin .calendar-nav-next {
  position: static;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--hb-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hb-ink);
  font-size: 20px;
  line-height: 1;
  text-indent: 0;
  text-decoration: none;
  overflow: visible;
  transform: none;
  transition: border-color .15s;
}
.hoff-booking #bookero-plugin .calendar-nav-prev::before,
.hoff-booking #bookero-plugin .calendar-nav-next::before { display: none; }
.hoff-booking #bookero-plugin .calendar-nav-prev:hover,
.hoff-booking #bookero-plugin .calendar-nav-next:hover { border-color: var(--hb-ink); transform: none; }
.hoff-booking #bookero-plugin .calendar-nav-prev.is-hidden { visibility: hidden; }

.hoff-booking #bookero-plugin .calendar-days-heading,
.hoff-booking #bookero-plugin .calendar-days-list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0; }
.hoff-booking #bookero-plugin .calendar-days-heading-cell {
  width: auto;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  color: var(--hb-muted);
}
.hoff-booking #bookero-plugin .calendar-days-list-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  background: none;
  color: var(--hb-faint);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  transition: background-color .15s, border-color .15s;
}
.hoff-booking #bookero-plugin .calendar-days-list-cell.is-offset { visibility: hidden; }
.hoff-booking #bookero-plugin .calendar-days-list-cell.is-valid { background: #fff; border-color: var(--hb-line); color: var(--hb-ink); font-weight: 500; }
.hoff-booking #bookero-plugin .calendar-days-list-cell.is-valid:hover { border-color: var(--hb-mint); }
.hoff-booking #bookero-plugin .calendar-days-list-cell.is-selected,
.hoff-booking #bookero-plugin .calendar-days-list-cell.is-in-cart.is-selected { background: var(--hb-ink); border-color: var(--hb-ink); color: #fff; font-weight: 600; }
.hoff-booking #bookero-plugin .calendar-days-list-cell.is-waiting-list::after { background: var(--hb-danger); }
.hoff-booking #bookero-plugin .calendar-message {
  margin: 0 0 12px;
  padding: 12px 16px;
  border: 1px solid var(--hb-line);
  border-radius: 12px;
  background: var(--hb-soft);
  color: var(--hb-text);
  font-size: 13px;
  text-align: left;
}

/* Godziny */
.hoff-booking #bookero-plugin .hours-section { width: auto; margin: 0; padding: 0; border: 0; }
.hoff-booking #bookero-plugin .hours-section > .bookero-plugin-form-heading { margin: 8px 0 14px; }
.hoff-booking #bookero-plugin .hours-section[data-hb-date] > .bookero-plugin-form-heading { display: none; }
.hoff-booking #bookero-plugin .hours-section[data-hb-date]::before {
  content: attr(data-hb-date);
  display: block;
  margin: 8px 0 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.hoff-booking #bookero-plugin .hours-section .hours-wrapper { margin: 0; }
.hoff-booking #bookero-plugin .hours-section .hours-list { display: grid; grid-template-columns: 1fr; gap: 8px; }
.hoff-booking #bookero-plugin .hours-section .hours-list-item,
.hoff-booking #bookero-plugin .hours-section .hours-list.wide-hours .hours-list-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 8px 6px;
  border: 1px solid var(--hb-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hb-ink);
  font-size: 14px;
  font-weight: 500;
  transition: border-color .15s, background-color .15s;
}
.hoff-booking #bookero-plugin .hours-section .hours-list-item:hover { border-color: var(--hb-mint); }
.hoff-booking #bookero-plugin .hours-section .hours-list-item.is-selected { background: var(--hb-ink); border-color: var(--hb-ink); color: #fff; font-weight: 600; }
.hoff-booking #bookero-plugin .hours-section .hours-list-item.is-selected .hours-list-item-info { color: #fff; }
.hoff-booking #bookero-plugin .hours-section .hours-error {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--hb-line);
  border-radius: 12px;
  background: var(--hb-soft);
  color: var(--hb-text);
  font-size: 13px;
  font-weight: 400;
}
.hoff-booking #bookero-plugin .hours-section .hours-wrapper.is-loading::before { border-color: var(--hb-mint); }

/* Pola formularza (jak na stronie Kontakt) */
.hoff-booking #bookero-plugin .field { margin: 0 0 18px; }
.hoff-booking #bookero-plugin .field label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hb-ink);
}
.hoff-booking #bookero-plugin .field.is-required > label::after { content: " *"; color: var(--hb-mint); }
.hoff-booking #bookero-plugin input:not([type=checkbox]):not([type=radio]),
.hoff-booking #bookero-plugin select,
.hoff-booking #bookero-plugin textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 16px;
  border: 1px solid var(--hb-line);
  border-radius: 12px;
  background-color: #fff;
  box-shadow: none;
  color: var(--hb-ink);
  font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.hoff-booking #bookero-plugin select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23221e19' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.hoff-booking #bookero-plugin input:focus,
.hoff-booking #bookero-plugin select:focus,
.hoff-booking #bookero-plugin textarea:focus { border-color: var(--hb-mint); box-shadow: 0 0 0 3px var(--hb-mint-ring); }
.hoff-booking #bookero-plugin input[type=checkbox],
.hoff-booking #bookero-plugin input[type=radio] { width: 22px; height: 22px; margin: 0; accent-color: var(--hb-mint); cursor: pointer; }
.hoff-booking #bookero-plugin .workers-section { margin-bottom: 6px; }
/* Projektantka jest opcjonalna: domyślnie „Dowolna projektantka” (wartość 0 w Bookero). */
.hoff-booking #bookero-plugin .workers-section .field.is-required > label::after {
  content: " (opcjonalnie)";
  color: var(--hb-muted);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.hoff-booking #bookero-plugin .vue-tel-input { display: flex; align-items: stretch; border: 1px solid var(--hb-line); border-radius: 12px; background: #fff; box-shadow: none; }
.hoff-booking #bookero-plugin .vue-tel-input:focus-within { border-color: var(--hb-mint); box-shadow: 0 0 0 3px var(--hb-mint-ring); }
.hoff-booking #bookero-plugin .vue-tel-input .vti__dropdown { display: flex; align-items: center; flex: none; padding: 0 4px 0 16px; border: 0; background: none; font-size: 15px; }
.hoff-booking #bookero-plugin .vue-tel-input input.vti__input { flex: 1 1 0%; min-width: 0; border: 0; background: none; box-shadow: none; }

.hoff-booking #bookero-plugin .agreements-section { margin-top: 4px; }
.hoff-booking #bookero-plugin .agreements-section label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.55;
  color: var(--hb-text);
  cursor: pointer;
}
.hoff-booking #bookero-plugin .agreements-section input[type=checkbox] { flex: none; margin-top: 1px; }

.hoff-booking #bookero-plugin .field.is-invalid input:not([type=checkbox]):not([type=radio]),
.hoff-booking #bookero-plugin .field.is-error input:not([type=checkbox]):not([type=radio]),
.hoff-booking #bookero-plugin .field.is-invalid .vue-tel-input { border-color: var(--hb-danger); }
.hoff-booking #bookero-plugin .field.is-invalid .vue-tel-input input.vti__input { border: 0; }
.hoff-booking #bookero-plugin .error-message,
.hoff-booking #bookero-plugin .errors-list { margin: 6px 0 0; padding: 0; border: 0; background: none; color: var(--hb-danger); font-size: 12px; font-weight: 500; }
.hoff-booking #bookero-plugin .error-block { color: var(--hb-danger); }
.hoff-booking #bookero-plugin .required-fields-notice { margin: 16px 0 0; font-size: 12px; color: var(--hb-muted); }

/* Krok 3: podsumowanie i płatność */
.hoff-booking #bookero-plugin .inquiries-list-section { margin: 0 0 24px; }
.hoff-booking #bookero-plugin .inquiry { margin: 0 0 12px; padding: 18px 20px; border: 1px solid var(--hb-line); border-radius: 16px; background: #fff; line-height: 1.7; }
.hoff-booking #bookero-plugin .inquiry-title { font-size: 15px; font-weight: 600; }
.hoff-booking #bookero-plugin .inquiry-service,
.hoff-booking #bookero-plugin .inquiry-worker,
.hoff-booking #bookero-plugin .inquiry-price { font-size: 13px; color: var(--hb-muted); }
.hoff-booking #bookero-plugin .inquiry-actions a { color: var(--hb-ink); text-decoration: underline; text-underline-offset: 3px; }

.hoff-booking #bookero-plugin .payment-summary-section { width: 100%; margin-top: 22px; }
.hoff-booking #bookero-plugin .payment-summary-quote,
.hoff-booking #bookero-plugin .temporary-price-quote { padding: 18px 20px; border-radius: 16px; background: var(--hb-soft); color: var(--hb-text); line-height: 1.8; }
.hoff-booking #bookero-plugin .payment-summary-price { font-size: 22px; font-weight: 700; color: var(--hb-ink); }
.hoff-booking #bookero-plugin .payment-summary-quote small { display: block; font-size: 13px; color: var(--hb-muted); }

/* „Twoje zamówienie” i podsumowanie płatności w układzie prawdziwej wtyczki – zwięźle:
 * cena i zaliczka obok tytułu, „Razem do zapłaty” z kwotą, pod spodem „Pozostanie do zapłaty”. */
.hoff-booking #bookero-plugin .inquiry-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 4px; }
.hoff-booking #bookero-plugin .inquiry-heading .inquiry-title { margin: 0; color: var(--hb-ink); }
.hoff-booking #bookero-plugin .inquiry-heading .inquiry-price { color: var(--hb-ink); font-weight: 600; text-align: right; line-height: 1.4; }
.hoff-booking #bookero-plugin .inquiry-price-advance { display: block; font-weight: 400; color: var(--hb-muted); }
.hoff-booking #bookero-plugin .inquiry-price-advance strong { color: var(--hb-ink); }
.hoff-booking #bookero-plugin .inquiry-datetime,
.hoff-booking #bookero-plugin .inquiry-service,
.hoff-booking #bookero-plugin .inquiry-worker { font-size: 13px; color: var(--hb-text); }
.hoff-booking #bookero-plugin .inquiry-label { color: var(--hb-muted); }
/* Bookero powtarza tu nazwę usługi (bez polskich znaków) jako etykietę – zostaje sama nazwa. */
.hoff-booking #bookero-plugin .inquiry-service .inquiry-label { display: none; }
.hoff-booking #bookero-plugin .inquiry-actions { display: none; }
.hoff-booking #bookero-plugin .payment-methods.is-hidden { display: none; }
.hoff-booking #bookero-plugin .payment-section { margin: 0; padding: 0; }
.hoff-booking #bookero-plugin .payment-summary-section:empty { display: none; }
.hoff-booking #bookero-plugin p.payment-summary-quote { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin: 0; text-align: left; }
.hoff-booking #bookero-plugin p.payment-summary-quote .payment-summary-price { order: 1; }
.hoff-booking #bookero-plugin p.payment-summary-quote small.payment-summary-total-quote,
.hoff-booking #bookero-plugin p.payment-summary-quote small.payment-summary-advance-quote { display: none; }
.hoff-booking #bookero-plugin p.payment-summary-quote small.payment-summary-left-quote { order: 2; flex-basis: 100%; margin: 2px 0 0; }
.hoff-booking #bookero-plugin .payment-summary-left-quote strong { font-weight: 600; color: var(--hb-text); }
/* Odstępy z CSS Bookero (wiersze po 3 px + margines, 30 px nad podsumowaniem) – zwięźlej, żeby krok 2 mieścił się na ekranie. */
.hoff-booking #bookero-plugin .inquiries-list-section { margin-bottom: 16px; }
.hoff-booking #bookero-plugin .inquiries-list-section .inquiry { margin-bottom: 0; }
.hoff-booking #bookero-plugin .inquiry .inquiry-heading,
.hoff-booking #bookero-plugin .inquiry .inquiry-datetime,
.hoff-booking #bookero-plugin .inquiry .inquiry-service,
.hoff-booking #bookero-plugin .inquiry .inquiry-worker { padding: 0; margin-bottom: 0; line-height: 1.55; }
.hoff-booking #bookero-plugin .inquiry .inquiry-heading { margin-bottom: 4px; }
.hoff-booking #bookero-plugin .payment-summary-section { padding: 0; border: 0; }
.hoff-booking #bookero-plugin p.payment-summary-quote { line-height: 1.4; }

/* Przyciski Bookero w stylu design systemu */
.hoff-booking #bookero-plugin .submit-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 20px;
  width: 100%;
  margin: 24px 0 0;
  padding: 0;
}
.hoff-booking #bookero-plugin .submit-section:not(.is-active) { opacity: .4; }
.hoff-booking #bookero-plugin .submit-section .submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  margin: 0;
  padding: 14px 26px;
  border: 1px solid var(--hb-mint);
  border-radius: 999px;
  background: var(--hb-mint);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: none;
  transition: background-color .18s, border-color .18s;
}
.hoff-booking #bookero-plugin .submit-section .submit-button:hover,
.hoff-booking #bookero-plugin .submit-section .submit-button:focus-visible { background: var(--hb-mint-hover); border-color: var(--hb-mint-hover); }
.hoff-booking #bookero-plugin .submit-section .submit-button::after {
  content: "→";
  position: static;
  width: auto;
  height: auto;
  border: 0;
  transform: none;
  font-size: 16px;
  letter-spacing: 0;
}
.hoff-booking #bookero-plugin .submit-section .back-button {
  order: 1;
  width: auto;
  margin: 0 auto 0 0;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--hb-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.hoff-booking #bookero-plugin .submit-section .back-button:hover { color: var(--hb-mint-hover); }
.hoff-booking #bookero-plugin .submit-section-cart-step-2 .submit-button { order: 2; margin: 0 0 0 auto; }

.hoff-booking #bookero-plugin .bookero-plugin-footer { margin-top: 22px; font-size: 11px; color: var(--hb-muted); text-align: left; }
.hoff-booking #bookero-plugin .bookero-plugin-footer a { color: inherit; }

/* Okno wyniku po wysłaniu (result-popup-* z Bookero) – okno nad stroną w stylu karty HOFF */
.hoff-booking #bookero-plugin .result-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483100;
  display: flex;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
  background: rgba(34, 30, 25, .55);
}
/* Bookero przykleja .result-popup do ekranu (position: fixed + transform) – tu leży w naszej nakładce / karcie. */
.hoff-booking #bookero-plugin .result-popup {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: auto;
  transform: none;
  width: 100%;
  max-width: 600px;
  margin: auto 0;
  padding: 0;
  background: none;
  box-shadow: none;
}
.hoff-booking #bookero-plugin .result-popup-wrapper {
  position: relative;
  padding: 40px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(17, 19, 21, .25);
  color: var(--hb-ink);
  text-align: left;
}
.hoff-booking #bookero-plugin .result-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hb-line);
  border-radius: 999px;
  background: #fff;
}
.hoff-booking #bookero-plugin .result-popup-close::before,
.hoff-booking #bookero-plugin .result-popup-close::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 11px;
  width: 16px;
  height: 1.8px;
  border-radius: 1px;
  background: var(--hb-ink);
  transform: rotate(45deg);
}
.hoff-booking #bookero-plugin .result-popup-close::after { transform: rotate(-45deg); }
.hoff-booking #bookero-plugin .result-popup-close:hover { background: var(--hb-soft); }
.hoff-booking #bookero-plugin .result-popup-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: var(--hb-mint);
}
.hoff-booking #bookero-plugin .result-popup-icon.is-waiting { background: var(--hb-ink); }
.hoff-booking #bookero-plugin .result-popup-icon.is-rejected { background: var(--hb-danger); }
.hoff-booking #bookero-plugin .result-popup-icon svg { width: 24px; height: 24px; }
.hoff-booking #bookero-plugin .result-popup-header { margin: 0 48px 10px 0; font-size: 26px; font-weight: 500; line-height: 1.2; color: var(--hb-ink); text-align: left; }
/* W Bookero .result-popup-content to sam akapit (<p>) z komunikatem ustawionym w panelu. */
.hoff-booking #bookero-plugin .result-popup-content { margin: 0; font-size: 14.5px; font-weight: 500; line-height: 1.65; color: var(--hb-ink); text-align: left; }

/* Płatność (Bookero): <p class="result-popup-content-payment-link"> = kwota (…-payment-quote) + przycisk
 * a.result-popup-content-paylink, pod nim …-payment-ssl. Kwota w jasnej ramce, przycisk na całą szerokość. */
.hoff-booking #bookero-plugin .result-popup-content-payment-link {
  display: block;
  margin: 16px 0 0;
  padding: 0;
  background: none;
  box-shadow: none;
  text-align: left;
}
.hoff-booking #bookero-plugin .result-popup-content-payment-quote {
  display: block;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--hb-soft);
  color: var(--hb-text);
  font-size: 14px;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
}
.hoff-booking #bookero-plugin .result-popup-content-payment-quote > span,
.hoff-booking #bookero-plugin .result-popup-content-payment-quote > strong { display: inline; font-size: 14px; line-height: 1.5; }
.hoff-booking #bookero-plugin .result-popup-content-payment-quote > strong { margin-left: 6px; font-size: 20px; font-weight: 700; color: var(--hb-ink); }
/* „W tym zaliczka” to ta sama kwota co „Razem do zapłaty” – bez powtórzenia. */
.hoff-booking #bookero-plugin .result-popup-content-payment-quote small,
.hoff-booking #bookero-plugin .result-popup-content-payment-quote small + strong { display: none; }
/* Płatność to obowiązkowy krok – przycisk na całą szerokość, wyraźny, ze strzałką */
.hoff-booking #bookero-plugin a.result-popup-content-paylink {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  margin: 16px 0 10px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background: var(--hb-mint);
  box-shadow: 0 10px 24px rgba(65, 183, 165, .35);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}
.hoff-booking #bookero-plugin a.result-popup-content-paylink:hover,
.hoff-booking #bookero-plugin a.result-popup-content-paylink:focus-visible { background: var(--hb-mint-hover); color: #fff; }
.hoff-booking #bookero-plugin a.result-popup-content-paylink::before { content: none; }
.hoff-booking #bookero-plugin a.result-popup-content-paylink::after {
  content: "→";
  position: static;
  width: auto;
  height: auto;
  margin-left: 12px;
  border: 0;
  background: none;
  transform: none;
  font-size: 18px;
  letter-spacing: 0;
}
.hoff-booking #bookero-plugin .result-popup-content-payment-ssl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  color: var(--hb-muted);
}
.hoff-booking #bookero-plugin .result-popup-content-payment-ssl svg { width: 14px; height: 14px; }

/* Krok 3: termin wpłaty zaliczki (1 godzina) – wyróżniony nad przyciskiem „Zapłać”. */
.hoff-booking .hb-pay-deadline {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid #e8c37a;
  border-left: 4px solid #d9a43b;
  border-radius: 10px;
  background: #fdf6e7;
  color: var(--hb-ink, #1d1d1b);
  text-align: left;
}
.hoff-booking .hb-pay-deadline svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; color: #b7841f; }
.hoff-booking .hb-pay-deadline strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.hoff-booking .hb-pay-deadline span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; }

/* Osadzenie: krok 3 (oczekuje na płatność / potwierdzone) w karcie zamiast okna nad stroną.
 * Okno odrzucenia („termin zajęty”) zostaje oknem – klient wraca z niego do kalendarza. */
.hb-embed[data-hb-step="3"] #bookero-plugin .bookero-plugin-form { display: none; }
.hb-embed[data-hb-step="3"] #bookero-plugin .result-popup-overlay {
  position: static;
  z-index: auto;
  display: block;
  padding: 0;
  overflow: visible;
  background: none;
}
.hb-embed[data-hb-step="3"] #bookero-plugin .result-popup { max-width: none; margin: 0; }
.hb-embed[data-hb-step="3"] #bookero-plugin .result-popup-wrapper { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.hb-embed[data-hb-step="3"] #bookero-plugin .result-popup-close { display: none; }
.hb-embed[data-hb-step="3"] #bookero-plugin .result-popup-header { margin-right: 0; font-size: 22px; }
.hb-embed .hb-side-thanks .hb-thanks { margin-top: 0; padding: 16px 18px; border: 1px solid var(--hb-line); border-radius: 16px; background: var(--hb-soft); }
.hb-embed .hb-side-thanks .hb-thanks-actions { display: none; }
.hb-embed .hb-side-thanks { margin: 0 0 14px; }

/* Lista „jak przygotować się do wizyty” – w oknie wyniku i po powrocie z płatności */
.hoff-booking .hb-thanks { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--hb-line); text-align: left; }
.hoff-booking .hb-thanks-eyebrow { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--hb-muted); }
.hoff-booking .hb-thanks-title { margin: 0 0 10px; font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--hb-ink); }
.hoff-booking .hb-thanks-lead { margin: 0 0 14px; font-size: 14px; line-height: 1.65; color: var(--hb-text); }
.hoff-booking .hb-thanks-list { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.hoff-booking .hb-thanks-list li { position: relative; padding-left: 32px; font-size: 14px; line-height: 1.55; color: var(--hb-text); }
.hoff-booking .hb-thanks-list li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--hb-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.hoff-booking .hb-thanks-list strong { color: var(--hb-ink); font-weight: 600; }
.hoff-booking .hb-thanks-note { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: var(--hb-soft); font-size: 13px; line-height: 1.6; color: var(--hb-text); }
.hoff-booking .hb-thanks-note a { color: var(--hb-ink); font-weight: 600; white-space: nowrap; }
.hoff-booking .hb-thanks-actions { display: grid; gap: 14px; }
.hoff-booking .hb-thanks-ack { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--hb-ink); cursor: pointer; }
.hoff-booking .hb-thanks-ack input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--hb-mint); }
.hoff-booking .hb-thanks-done {
  justify-self: start;
  min-height: 50px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--hb-ink);
  color: #fff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.hoff-booking .hb-thanks-done:disabled { background: var(--hb-line); color: var(--hb-muted); cursor: not-allowed; }

/* Krok 2: lista przygotowania z obowiązkowym potwierdzeniem przed wysłaniem/płatnością */
.hoff-booking .hb-prep { margin: 8px 0 22px; }
.hoff-booking .hb-prep .hb-thanks { margin-top: 0; padding: 20px; border: 1px solid var(--hb-line); border-radius: 16px; background: var(--hb-soft); }
.hoff-booking .hb-prep .hb-thanks-note { background: #fff; }
.hoff-booking .hb-prep-error { margin: 0; color: var(--hb-danger); font-size: 13px; }
/* W oknie po rezerwacji lista bez pola – zostało potwierdzone w kroku 2 */
.hoff-booking .hb-acked .hb-thanks-actions { display: none; }

/* Powrót z płatności (?platnosc=…): podziękowanie zamiast kalendarza */
.hoff-booking[data-hb-step="done"] .hb-summary { display: none; }
.hb-returned-lead { margin: 0; font-size: 15px; line-height: 1.7; color: var(--hb-text); }
.hb-returned .hb-thanks-actions { display: none; }

/* Wąska karta (np. tablet, telefon): godziny pod kalendarzem */
@container (max-width: 520px) {
  .hoff-booking #bookero-plugin .bookero-plugin-form-cart-step-1 { grid-template-columns: minmax(0, 1fr); }
  .hoff-booking #bookero-plugin .bookero-plugin-form-cart-step-1 > .hours-section,
  .hoff-booking #bookero-plugin .bookero-plugin-form-cart-step-1:has(> .hours-section) > .dates-section { grid-column: 1; }
  .hoff-booking #bookero-plugin .hours-section { margin-top: 14px; }
  .hoff-booking #bookero-plugin .hours-section .hours-list { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); }
  .hoff-booking #bookero-plugin .calendar-days-heading,
  .hoff-booking #bookero-plugin .calendar-days-list { gap: 4px; }
  .hoff-booking #bookero-plugin .calendar-days-list-cell { height: 40px; }
  .hoff-booking #bookero-plugin .submit-section .submit-button { width: 100%; }
  .hoff-booking #bookero-plugin .submit-section .back-button { order: 3; margin: 0 auto; }
}

/* ---------- Responsywność sekcji ---------- */
@media (max-width: 960px) {
  .hb-wrap { grid-template-columns: 1fr; gap: 36px; padding: 56px 20px 64px; }
  .hb-intro { position: static; padding-top: 0; }
  .hb-intro-lead { max-width: 560px; }
}
@media (max-width: 560px) {
  .hb-wrap { padding: 40px 16px 48px; gap: 28px; }
  .hb-card { padding: 28px 20px; border-radius: 22px; }
  .hb-title { font-size: 24px; margin-bottom: 20px; }
  /* 16px w polach = brak automatycznego powiększania na iOS */
  .hoff-booking #bookero-plugin input:not([type=checkbox]):not([type=radio]),
  .hoff-booking #bookero-plugin select { font-size: 16px; }
}
/* =====================================================================
 * Osadzenie w stronie (fragment-*.html dla Waynet): sama karta w układzie strony
 * ===================================================================== */
.hoff-booking.hb-embed { max-width: 760px; margin: 0 auto; padding: 0 16px; scroll-margin-top: 96px; }
.hb-embed .hb-card { box-shadow: 0 8px 30px rgba(17, 19, 21, .10); border: 1px solid var(--hb-line); }
.hb-embed .hb-title { margin-top: 0; }
.hb-col-label { display: none; }  /* „Wybrana usługa” – tylko w układzie dwukolumnowym */
/* Miętowy pas HOFF pod kartą, na całą szerokość ekranu (bez poziomego przewijania).
 * Klasa .hb-mint-band na elemencie otaczającym sekcję – w boksie Waynet: section.waynet-box-bookero-booking. */
.hb-mint-band,
.waynet-box-bookero-booking { background: var(--hb-mint, #41b7a5); box-shadow: 0 0 0 100vmax var(--hb-mint, #41b7a5); clip-path: inset(0 -100vmax); padding: 56px 0; }

/* Szeroki ekran: po lewej zawsze informacje (krok, tytuł, usługa, lista przygotowania),
 * po prawej kalendarz i formularz Bookero. Kolumny buduje hoff-rezerwacja.js (.hb-col-info, .hb-col-main). */
@media (min-width: 992px) {
  .hoff-booking.hb-embed { max-width: 1120px; }
  .hb-embed .hb-card {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 48px;
    align-items: start;
    padding: 32px 40px;
  }
  /* Pasek kroków, „Krok X z 3” i tytuł nad obiema kolumnami */
  .hb-embed .hb-progress,
  .hb-embed .hb-card > .hb-eyebrow,
  .hb-embed .hb-card > .hb-title { grid-column: 1 / -1; }
  .hb-embed .hb-progress { margin-bottom: 20px; }
  .hoff-booking.hb-embed .hb-card .hb-title { margin-bottom: 18px; font-size: 24px; }
  .hb-embed #bookero-plugin .calendar-days-list-cell { height: 38px; }
  .hb-embed #bookero-plugin .workers-section .field { margin-bottom: 10px; }
  /* Bookero daje 10 px nad wyborem projektantki – bez tego „Projektantka” stoi niżej niż „Wybrana usługa”. */
  .hb-embed #bookero-plugin .workers-section { padding-top: 0; }
  .hb-embed .hb-col-info .hb-thanks-eyebrow { display: none; }
  .hb-embed .hb-col-info,
  .hb-embed .hb-col-main { min-width: 0; }
  .hb-embed .hb-col-info .hb-summary { margin-bottom: 16px; }
  /* „Wybrana usługa” – ten sam krój i odstęp co etykieta „Projektantka”, żeby ramki zaczynały się równo */
  .hb-embed .hb-col-label {
    display: block;
    margin: 0 0 8px;
    padding: 5px 0;  /* jak etykiety pól Bookero */
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--hb-ink);
  }
  .hb-embed .hb-col-label,
  .hb-embed #bookero-plugin .workers-section .field > label,
  .hb-embed #bookero-plugin .workers-section .field > label::after { line-height: 16px; }
  .hb-embed[data-hb-step="2"] .hb-col-label,
  .hb-embed[data-hb-step="3"] .hb-col-label,
  .hb-embed[data-hb-step="done"] .hb-col-label { display: none; }
  .hb-embed .hb-col-info .hb-modal-note { margin: 0; font-size: 13px; }

  /* Lista przygotowania w kolumnie informacji – zwarta, żeby krok 2 zmieścił się na ekranie */
  .hb-embed .hb-col-info .hb-prep { margin: 0 0 14px; }
  .hb-embed .hb-col-info .hb-prep .hb-thanks { padding: 16px 18px; }
  .hb-embed .hb-col-info .hb-thanks-title { margin-bottom: 6px; font-size: 17px; }
  .hb-embed .hb-col-info .hb-thanks-lead { margin-bottom: 10px; font-size: 13px; line-height: 1.5; }
  .hb-embed .hb-col-info .hb-thanks-list { gap: 12px; margin-bottom: 16px; }
  .hb-embed .hb-col-info .hb-thanks-list li { font-size: 13px; line-height: 1.5; }

  /* Krok 2: ramka listy kończy się równo z ramką zaliczki, a infolinia stoi w rzędzie przycisków
   * (wysokość i odstęp jak .submit-section: 24 px + 46 px). */
  .hb-embed[data-hb-step="2"] .hb-col-info { align-self: stretch; display: flex; flex-direction: column; }
  .hb-embed[data-hb-step="2"] .hb-col-info .hb-prep { display: flex; flex: 1 1 auto; flex-direction: column; margin: 0; }
  .hb-embed[data-hb-step="2"] .hb-col-info .hb-prep .hb-thanks { flex: 1 1 auto; }
  /* Gdy dłuższa jest lista po lewej (węższy ekran): prawa kolumna też do dołu – pola u góry,
   * ramka zaliczki i przyciski na dole, równo z ramką listy i infolinią. */
  .hb-embed[data-hb-step="2"] .hb-col-main,
  .hb-embed[data-hb-step="2"] .hb-col-main > :not([data-hb-status]),
  .hb-embed[data-hb-step="2"] #bookero-plugin,
  .hb-embed[data-hb-step="2"] #bookero-plugin .bookero-plugin-form-wrapper,
  .hb-embed[data-hb-step="2"] #bookero-plugin .bookero-plugin-form,
  .hb-embed[data-hb-step="2"] #bookero-plugin .bookero-plugin-form-cart-step-2 { display: flex; flex: 1 1 auto; flex-direction: column; }
  .hb-embed[data-hb-step="2"] .hb-col-main { align-self: stretch; }
  .hb-embed[data-hb-step="2"] #bookero-plugin .bookero-plugin-form-cart-step-2 > .payment-summary-section { margin-top: auto; padding-top: 14px; }
  .hb-embed[data-hb-step="2"] .hb-col-info .hb-modal-note {
    display: block;  /* nie flex – numer infolinii ma stać w zdaniu, zaraz po dwukropku */
    min-height: 46px;
    margin-top: 24px;
    padding-top: 3px;  /* dwie linie (ok. 40 px) na środku wysokości przycisku (46 px) */
    border-top: 0;
  }
  /* Uwaga o materiałach i zmianie terminu jest w mailu z potwierdzeniem, a infolinia – pod kolumną */
  .hb-embed .hb-col-info .hb-prep .hb-thanks-note,
  .hb-embed .hb-col-info .hb-side-thanks .hb-thanks-note { display: none; }
  /* Krok 3: kwota jest przy przycisku płatności – opis usługi nie jest już potrzebny */
  .hb-embed[data-hb-step="3"] .hb-col-info .hb-summary { display: none; }
  .hb-embed .hb-col-info .hb-thanks-ack { font-size: 13px; }

  /* Formularz – mniejsze odstępy, e-mail i telefon w jednym rzędzie */
  .hb-embed #bookero-plugin .inquiry { padding: 12px 16px; line-height: 1.55; }
  .hb-embed #bookero-plugin .field { margin-bottom: 14px; }
  .hb-embed #bookero-plugin input:not([type=checkbox]):not([type=radio]),
  .hb-embed #bookero-plugin select { min-height: 44px; }
  .hb-embed #bookero-plugin .customer-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
  .hb-embed #bookero-plugin .customer-section > :first-child { grid-column: 1 / -1; }
  .hb-embed #bookero-plugin .required-fields-notice { margin-top: 10px; }
  .hb-embed #bookero-plugin .payment-summary-section { margin-top: 14px; }
  .hb-embed #bookero-plugin .payment-summary-quote { padding: 12px 16px; }
  .hb-embed #bookero-plugin .payment-summary-price { font-size: 20px; }
}
@media (max-width: 560px) {
  .hoff-booking.hb-embed { padding: 0; }
  .hb-embed .hb-card { border-radius: 22px; }
  .hb-embed .hb-summary .hb-icon { display: none; }
  .hb-mint-band,
  .waynet-box-bookero-booking { padding: 32px 12px; }
}

/* =====================================================================
 * Okno rezerwacji (hoff-rezerwacja-popup.js) – ta sama karta w oknie nad stroną
 * ===================================================================== */
html.hb-modal-open,
html.hb-modal-open body { overflow: hidden; }
.hb-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.hb-modal[hidden] { display: none; }
.hb-modal-backdrop { position: fixed; inset: 0; background: rgba(34, 30, 25, .55); animation: hb-fade .2s ease; }
.hb-modal-dialog { position: relative; width: 100%; max-width: 760px; margin: auto 0; animation: hb-rise .2s ease; }
.hb-modal-dialog .hb-card { box-shadow: 0 24px 60px rgba(17, 19, 21, .25); }
.hb-modal-dialog .hb-progress { margin-right: 56px; }
.hb-modal-close {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--hb-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hb-ink);
  cursor: pointer;
  transition: background-color .15s;
}
.hb-modal-close:hover { background: var(--hb-soft); }
.hb-modal-close svg { width: 18px; height: 18px; }
.hb-summary-text .hb-summary-note { margin-top: 6px; font-size: 12.5px; line-height: 1.55; color: var(--hb-text); }
.hb-modal-note { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--hb-line); font-size: 13px; line-height: 1.6; color: var(--hb-muted); }
.hoff-booking .hb-modal-note a { color: var(--hb-ink); font-weight: 600; white-space: nowrap; }
@keyframes hb-fade { from { opacity: 0; } }
@keyframes hb-rise { from { opacity: 0; transform: translateY(12px); } }
/* Telefon: okno na cały ekran */
@media (max-width: 600px) {
  .hb-modal { padding: 0; }
  .hb-modal-dialog { max-width: none; margin: 0; min-height: 100%; }
  .hb-modal-dialog .hb-card { min-height: 100%; border-radius: 0; padding: 24px 16px 32px; box-shadow: none; }
  .hb-modal-close { top: 14px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hb-modal-backdrop,
  .hoff-booking *,
  .hoff-booking *::before,
  .hoff-booking *::after { animation: none !important; transition: none !important; }
}
