/* ==========================================================================
   Időpontfoglaló űrlap – a főoldal palettájára és betűire építve (styles.css után töltődik)
   ========================================================================== */

[hidden] { display: none !important; }

/* ---- Szekció a főoldalon ---- */
.booking-section {
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(232, 196, 196, 0.35), transparent 60%),
    radial-gradient(800px 420px at 0% 100%, rgba(148, 173, 182, 0.22), transparent 60%),
    var(--bg-sand);
  padding: 6rem 6vw 6.6rem;
  scroll-margin-top: 90px;
}
.booking-container { max-width: 980px; margin: 0 auto; }
.booking-heading { text-align: center; color: var(--text-accent-teal); margin-bottom: 1rem; }
.booking-sub { text-align: center; max-width: 720px; margin: 0 auto 2.6rem; }

/* ---- Kártya ---- */
.bk-card {
  background: rgba(252, 247, 241, 0.94);
  border-radius: 34px 0 34px 0;
  box-shadow: 0 30px 60px -35px rgba(68, 88, 90, 0.35);
  padding: clamp(1.4rem, 4vw, 3rem);
  text-align: left;
}

.bk-block { border: none; padding: 0; margin: 0 0 2.2rem; min-width: 0; }
.bk-q {
  display: flex; align-items: center; gap: 0.7rem; padding: 0; margin-bottom: 1rem;
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-primary);
}
.bk-q span {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  background: var(--btn-teal); color: #fff; font-size: 0.82rem; letter-spacing: 0; font-weight: 600;
}
.bk-placeholder {
  background: rgba(255, 255, 255, 0.6); border: 1px dashed #E2D6C1; border-radius: 18px 0 18px 0;
  padding: 1.2rem 1.4rem; color: #7a8b8d; font-size: 0.95rem;
}

.bk-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.bk-options--3 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.bk-option {
  text-align: left; border: 1px solid #E8DEC8; background: #fff; border-radius: 22px 0 22px 0;
  padding: 1.3rem 1.4rem; cursor: pointer; font: inherit; color: inherit; transition: all 0.25s ease;
}
.bk-option:hover { border-color: var(--btn-teal); transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(57, 119, 127, 0.5); }
.bk-option.is-selected { border-color: var(--btn-teal); background: #F2F6F7; box-shadow: inset 0 0 0 1px var(--btn-teal); }
.bk-option-title { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.2; display: block; margin-bottom: 0.3rem; }
.bk-option-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.4rem 0 0.6rem; }
.bk-pill { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--bg-cream); padding: 0.25rem 0.65rem; border-radius: 999px; }
.bk-option-desc { font-size: 0.9rem; line-height: 1.6; color: #5d6f71; display: block; }
.bk-option--loc { display: flex; align-items: center; gap: 0.7rem; padding: 1.1rem 1.3rem; }
.bk-option--loc .bk-option-title { margin: 0; font-size: 1.35rem; }
.bk-option-icon { font-size: 1.25rem; }

/* ---- Naptár ---- */
.bk-datetime { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.bk-cal { background: #fff; border-radius: 22px 0 22px 0; padding: 1.2rem; border: 1px solid #EFE6D8; }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
.bk-cal-head strong { font-family: var(--font-serif); font-weight: 300; font-size: 1.45rem; }
.bk-cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #E8DEC8; background: none; cursor: pointer; font-size: 1.3rem; color: var(--text-primary); line-height: 1; }
.bk-cal-nav:hover:not(:disabled) { background: var(--bg-cream); }
.bk-cal-nav:disabled { opacity: 0.3; cursor: default; }
.bk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bk-cal-dow div { text-align: center; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8a9a9c; padding: 0.3rem 0; }
.bk-day { aspect-ratio: 1; border: none; background: none; border-radius: 50%; font: inherit; font-size: 0.95rem; color: rgba(68, 88, 90, 0.32); cursor: default; position: relative; }
.bk-day.is-available { color: var(--text-primary); cursor: pointer; background: #EEF3F4; font-weight: 500; }
.bk-day.is-available:hover { background: #DCE7E9; }
.bk-day.is-selected { background: var(--btn-teal) !important; color: #fff; }
.bk-day.is-today::after { content: ''; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.bk-cal.is-loading #bk-days { opacity: 0.4; }
.bk-cal-legend { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: #7a8b8d; margin-top: 0.8rem; }
.bk-cal-legend i { width: 14px; height: 14px; border-radius: 50%; background: #EEF3F4; border: 1px solid #DCE7E9; }

.bk-times-title { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.3; margin-bottom: 1rem; }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 0.55rem; }
.bk-slot { border: 1px solid #E8DEC8; background: #fff; border-radius: 14px 0 14px 0; padding: 0.7rem 0.4rem; font: inherit; font-weight: 500; color: var(--text-primary); cursor: pointer; transition: all 0.2s ease; }
.bk-slot:hover { border-color: var(--btn-teal); background: #F4F7F7; }
.bk-slot.is-selected { background: var(--btn-teal); color: #fff; border-color: var(--btn-teal); }
.bk-empty, .bk-loading { color: #7a8b8d; font-size: 0.95rem; }

/* ---- Mezők ---- */
.bk-fields, .bk-form { display: grid; gap: 1rem; }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bk-fields label, .bk-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.88rem; font-weight: 500; }
.bk-fields input:not([type="checkbox"]), .bk-fields textarea, .bk-form input:not([type="checkbox"]), .bk-form textarea {
  font: inherit; font-weight: 400; color: var(--text-primary); background: #fff; border: 1px solid #E8DEC8;
  border-radius: 12px; padding: 0.8rem 0.95rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; width: 100%;
}
.bk-fields input:focus, .bk-fields textarea:focus, .bk-form input:focus, .bk-form textarea:focus { outline: none; border-color: var(--btn-teal); box-shadow: 0 0 0 3px rgba(144, 169, 178, 0.25); }
.bk-fields .is-invalid { border-color: #C47A6E !important; outline: 2px solid rgba(196, 122, 110, 0.25); }
.bk-check { flex-direction: row !important; align-items: flex-start; gap: 0.6rem !important; font-weight: 400 !important; line-height: 1.5; }
.bk-check input { margin-top: 0.3rem; accent-color: var(--btn-teal); width: 17px; height: 17px; flex-shrink: 0; }
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.bk-summary { background: var(--bg-cream); border-radius: 18px 0 18px 0; padding: 1rem 1.3rem; margin-bottom: 1.2rem; font-size: 0.95rem; }
.bk-summary small { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8a9a9c; }
.bk-summary strong { font-weight: 500; }
.bk-error { color: #A4584C; background: #F8E8E4; padding: 0.75rem 1rem; border-radius: 12px; font-size: 0.92rem; margin-bottom: 1rem; }
.bk-submit { text-align: center; }
.btn-petal[disabled] { opacity: 0.6; cursor: wait; }
.bk-contact { text-align: center; margin-top: 1.4rem; font-size: 0.9rem; color: #6c7d7f; }
.bk-contact a { color: var(--text-accent-teal); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Sikeres foglalás ---- */
.bk-done { text-align: center; }
.bk-done-icon { width: 72px; height: 72px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--btn-teal); color: #fff; display: grid; place-items: center; font-size: 2rem; }
.bk-done-title { font-family: var(--font-serif); font-weight: 300; text-transform: none; letter-spacing: 0; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.25; margin-bottom: 1rem; }
.bk-done p { max-width: 560px; margin: 0 auto 1.2rem; }
.bk-done .bk-summary { max-width: 640px; margin: 0 auto 1rem; }
.bk-small { font-size: 0.85rem; color: #7a8b8d; }

/* ---- Önálló oldal (lemondás) ---- */
.bk-body { background: radial-gradient(1200px 500px at 85% -10%, rgba(232, 196, 196, 0.45), transparent 60%), var(--bg-cream); min-height: 100vh; }
.bk-header { display: flex; align-items: center; justify-content: space-between; max-width: 1120px; margin: 0 auto; padding: 1.4rem 1.5rem; }
.bk-logo img { width: 170px; height: auto; }
.bk-main { max-width: 980px; margin: 0 auto; padding: 1rem 1.25rem 4rem; }
.bk-step h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 1.2rem; }
.bk-step .bk-summary { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; }
.bk-step .bk-summary div { display: flex; flex-direction: column; }

@media (max-width: 760px) {
  .booking-section { padding: 4.2rem 4vw 4.6rem; }
  .bk-datetime { grid-template-columns: 1fr; }
  .bk-row { grid-template-columns: 1fr; }
  .bk-options--3 { grid-template-columns: 1fr; }
  .bk-logo img { width: 130px; }
}
