/* EDK Booking — modal styles. Everything is scoped under #edk-bk so theme/Elementor
   input & button styles can't leak in. Brand: green #119248 / #0B6234, black, white;
   orange (#D06A2C) only on the price. */

html.edk-bk-lock, html.edk-bk-lock body { overflow: hidden !important; }

#edk-bk {
  --g: #119248; --gdk: #0B6234; --gtint: #F2F8F4; --gring: rgba(17,146,72,.14);
  --ink: #0f1a13; --txt: #2a332d; --mut: #66736b; --line: #d8e2db; --line2: #e8eee9;
  --err: #c0392b; --pr: #D06A2C;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
  font-family: var(--sans); color: var(--txt); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
#edk-bk[hidden] { display: none !important; }
#edk-bk *, #edk-bk *::before, #edk-bk *::after { box-sizing: border-box; }
#edk-bk p, #edk-bk h2, #edk-bk form { margin: 0; padding: 0; }

/* backdrop + dialog */
#edk-bk .edk-bk__backdrop {
  position: absolute; inset: 0; background: rgba(5, 22, 12, .62);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .22s ease;
}
#edk-bk .edk-bk__dialog {
  position: relative; width: 100%; max-width: 720px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: #fff; border-radius: 20px; outline: none;
  box-shadow: 0 30px 80px rgba(0, 30, 12, .35), 0 2px 8px rgba(0,0,0,.08);
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity .22s ease, transform .26s cubic-bezier(.2,.8,.2,1);
}
#edk-bk.is-open .edk-bk__backdrop { opacity: 1; }
#edk-bk.is-open .edk-bk__dialog { opacity: 1; transform: none; }

#edk-bk .edk-bk__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 40px; height: 40px; min-height: 0; padding: 0; margin: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line2); border-radius: 50%; background: rgba(255,255,255,.92);
  color: var(--txt); cursor: pointer; box-shadow: none; text-transform: none;
  transition: background .2s, color .2s, border-color .2s;
}
#edk-bk .edk-bk__close:hover { background: var(--g); color: #fff; border-color: var(--g); }
#edk-bk .edk-bk__close .edk-bk__ico { width: 18px; height: 18px; }

/* header */
#edk-bk .edk-bk__head {
  padding: 34px 40px 24px; border-bottom: 1px solid var(--line2);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(17,146,72,.10) 0%, rgba(17,146,72,0) 55%),
    linear-gradient(180deg, var(--gtint) 0%, #fff 100%);
  border-radius: 20px 20px 0 0;
}
#edk-bk .edk-bk__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--g);
  margin-bottom: 10px;
}
#edk-bk .edk-bk__head .edk-bk__eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--g); border-radius: 2px; }
#edk-bk .edk-bk__title {
  font-family: var(--serif); font-weight: 700; color: var(--ink);
  font-size: clamp(26px, 4.4vw, 36px); line-height: 1.12; letter-spacing: -.01em;
  margin: 0 48px 10px 0; text-transform: none; outline: none;
}
#edk-bk .edk-bk__sub { font-size: 14.5px; color: var(--mut); max-width: 560px; line-height: 1.6; }
#edk-bk .edk-bk__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#edk-bk .edk-bk__chips[hidden] { display: none; }
#edk-bk .edk-bk__chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; color: var(--txt);
}
#edk-bk .edk-bk__chip .edk-bk__ico { width: 15px; height: 15px; color: var(--g); }
#edk-bk .edk-bk__chip strong { font-weight: 700; }
#edk-bk .edk-bk__chip--price strong { color: var(--pr); font-family: var(--serif); font-size: 17px; line-height: 1; }

/* form layout */
#edk-bk .edk-bk__form { padding: 26px 40px 30px; display: flex; flex-direction: column; gap: 18px; }
#edk-bk .edk-bk__row { display: grid; gap: 16px; }
#edk-bk .edk-bk__row--2 { grid-template-columns: 1fr 1fr; }
#edk-bk .edk-bk__row--3 { grid-template-columns: 1.35fr 1fr 1fr; }
#edk-bk .edk-bk__field { min-width: 0; }

#edk-bk .edk-bk__label {
  display: block; margin: 0 0 7px; padding: 0;
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink);
}
#edk-bk .edk-bk__req { color: var(--err); }
#edk-bk .edk-bk__hint { color: var(--mut); font-weight: 500; letter-spacing: .02em; text-transform: none; }

/* controls */
#edk-bk .edk-bk__ctl { position: relative; }
#edk-bk .edk-bk__ctl > .edk-bk__ico {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: #8a978f; pointer-events: none; z-index: 1;
  transition: color .2s;
}
#edk-bk .edk-bk__ctl--area > .edk-bk__ico { top: 16px; transform: none; }
#edk-bk .edk-bk__ctl:focus-within > .edk-bk__ico { color: var(--g); }

#edk-bk .edk-bk__input,
#edk-bk .flatpickr-wrapper .edk-bk__input {
  display: block; width: 100%; max-width: none; height: 50px; min-height: 0; margin: 0;
  padding: 0 14px 0 44px;
  font: 400 15px/1.3 var(--sans); color: var(--ink); letter-spacing: normal; text-transform: none;
  background: #fff; border: 1.5px solid var(--line); border-radius: 11px;
  box-shadow: none; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
#edk-bk .edk-bk__input::placeholder { color: #9aa59e; opacity: 1; }
#edk-bk .edk-bk__input:hover { border-color: #bccbc1; }
#edk-bk .edk-bk__input:focus { border-color: var(--g); box-shadow: 0 0 0 4px var(--gring); }
#edk-bk .edk-bk__area { height: auto; min-height: 112px; padding: 13px 14px 13px 44px; resize: vertical; line-height: 1.55; }
#edk-bk input[type="date"].edk-bk__input { padding-right: 10px; }
#edk-bk .edk-bk__alt { cursor: pointer; background: #fff; }
#edk-bk .flatpickr-wrapper { display: block; width: 100%; }

#edk-bk [data-field="details"] { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
#edk-bk [data-field="details"] > .edk-bk__label, #edk-bk [data-field="details"] > .edk-bk__ctl { flex: 0 0 100%; }
#edk-bk [data-field="details"] > .edk-bk__err { order: 3; flex: 1 1 auto; }
#edk-bk [data-field="details"] > .edk-bk__count { order: 4; margin-left: auto; }
#edk-bk .edk-bk__count { margin-top: 6px; text-align: right; font-size: 12px; color: var(--mut); font-variant-numeric: tabular-nums; }
#edk-bk .edk-bk__count.is-near { color: var(--pr); }

/* phone (intl-tel-input) */
#edk-bk .iti { display: block; width: 100%; }
#edk-bk .edk-bk__ctl--tel .edk-bk__input { padding-left: 14px; }
#edk-bk .iti .edk-bk__input { padding-right: 14px; }
#edk-bk .iti--separate-dial-code .iti__selected-flag {
  background: var(--gtint); border-radius: 10px 0 0 10px; border-right: 1px solid var(--line2);
  padding: 0 10px 0 13px;
}
#edk-bk .iti--separate-dial-code .iti__selected-flag:hover,
#edk-bk .iti--separate-dial-code .iti__selected-flag:focus { background: #e6f2ea; }
#edk-bk .iti__selected-dial-code { font-size: 14px; color: var(--ink); margin-left: 6px; }
#edk-bk .iti__flag-container { padding: 1.5px; }
.iti--container { z-index: 100003 !important; }
.iti--container .iti__country-list, #edk-bk .iti__country-list {
  border-radius: 10px; border: 1px solid #d8e2db; box-shadow: 0 16px 40px rgba(0,0,0,.16);
  font-family: 'DM Sans','Segoe UI',system-ui,sans-serif; font-size: 14px;
}
.iti__country.iti__highlight { background: #EAF5EE !important; }

/* steppers */
#edk-bk .edk-bk__stepper {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  height: 50px; padding: 0 7px; background: #fff;
  border: 1.5px solid var(--line); border-radius: 11px; transition: border-color .2s, box-shadow .2s;
}
#edk-bk .edk-bk__stepper:focus-within { border-color: var(--g); box-shadow: 0 0 0 4px var(--gring); }
#edk-bk .edk-bk__step {
  flex: 0 0 34px; width: 34px; height: 34px; min-height: 0; padding: 0; margin: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: var(--gtint); color: var(--gdk);
  cursor: pointer; box-shadow: none; text-transform: none; line-height: 1;
  transition: background .18s, color .18s, transform .12s;
}
#edk-bk .edk-bk__step .edk-bk__ico { width: 16px; height: 16px; stroke-width: 2.4; }
#edk-bk .edk-bk__step:hover:not(:disabled) { background: var(--g); color: #fff; }
#edk-bk .edk-bk__step:active:not(:disabled) { transform: scale(.92); }
#edk-bk .edk-bk__step:disabled { opacity: .38; cursor: not-allowed; }
#edk-bk .edk-bk__step:focus-visible { outline: 2px solid var(--g); outline-offset: 2px; }
#edk-bk .edk-bk__num {
  flex: 1 1 auto; width: 100%; min-width: 0; height: 100%; min-height: 0; margin: 0; padding: 0;
  border: 0; background: transparent; box-shadow: none; outline: none; text-align: center;
  font: 600 17px/1 var(--sans); color: var(--ink); -moz-appearance: textfield; appearance: textfield;
}
#edk-bk .edk-bk__num::-webkit-outer-spin-button,
#edk-bk .edk-bk__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* errors */
#edk-bk .edk-bk__err { min-height: 0; margin-top: 6px; font-size: 12.5px; color: var(--err); display: none; }
#edk-bk .is-invalid .edk-bk__err { display: block; }
#edk-bk .is-invalid .edk-bk__input,
#edk-bk .is-invalid .edk-bk__stepper { border-color: var(--err); }
#edk-bk .is-invalid .edk-bk__input:focus { box-shadow: 0 0 0 4px rgba(192,57,43,.12); }
#edk-bk .is-invalid .edk-bk__ctl > .edk-bk__ico { color: var(--err); }

#edk-bk .edk-bk__alert {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 10px; background: #fdf1ef; border: 1px solid #f2c9c3; color: #8f2a1f; font-size: 14px;
}
#edk-bk .edk-bk__alert[hidden] { display: none; }
#edk-bk .edk-bk__alert .edk-bk__ico { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; }

/* honeypot + turnstile */
#edk-bk .edk-bk__hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
#edk-bk .edk-bk__ts:empty { display: none; }
#edk-bk .edk-bk__ts { min-height: 65px; }

/* submit */
#edk-bk .edk-bk__submit {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 56px; min-height: 0; margin: 4px 0 0; padding: 0 24px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--g) 0%, var(--gdk) 100%); color: #fff;
  font: 700 15px/1 var(--sans); letter-spacing: .03em; text-transform: none;
  box-shadow: 0 12px 26px rgba(17,146,72,.28);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
#edk-bk .edk-bk__submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(17,146,72,.34); filter: brightness(1.04); }
#edk-bk .edk-bk__submit:focus-visible { outline: 3px solid rgba(17,146,72,.4); outline-offset: 3px; }
#edk-bk .edk-bk__submit:disabled { cursor: progress; opacity: .85; }
#edk-bk .edk-bk__spin {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: edkbk-spin .7s linear infinite;
}
#edk-bk .edk-bk__submit.is-busy .edk-bk__spin { display: inline-block; }
@keyframes edkbk-spin { to { transform: rotate(360deg); } }

#edk-bk .edk-bk__secure {
  display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center;
  font-size: 12.5px; color: var(--mut);
}
#edk-bk .edk-bk__secure .edk-bk__ico { width: 14px; height: 14px; flex: 0 0 14px; }

/* success view */
#edk-bk .edk-bk__done { padding: 52px 40px 42px; text-align: center; }
#edk-bk .edk-bk__done[hidden], #edk-bk .edk-bk__view[hidden] { display: none; }
#edk-bk .edk-bk__done .edk-bk__title { margin: 0 0 12px; }
#edk-bk .edk-bk__tick { width: 76px; height: 76px; margin: 0 auto 20px; }
#edk-bk .edk-bk__tick svg { width: 100%; height: 100%; }
#edk-bk .edk-bk__tick circle { fill: var(--gtint); stroke: var(--g); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: edkbk-draw .6s ease-out forwards; }
#edk-bk .edk-bk__tick path { fill: none; stroke: var(--g); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; animation: edkbk-draw .35s .45s ease-out forwards; }
@keyframes edkbk-draw { to { stroke-dashoffset: 0; } }
#edk-bk .edk-bk__done-text { max-width: 470px; margin: 0 auto; font-size: 15.5px; line-height: 1.65; color: var(--txt); }
#edk-bk .edk-bk__done-text strong { color: var(--ink); }
#edk-bk .edk-bk__ref {
  display: inline-flex; flex-direction: column; gap: 2px; margin: 22px auto 0; padding: 12px 26px;
  border: 1.5px dashed #b9d8c4; border-radius: 12px; background: var(--gtint);
}
#edk-bk .edk-bk__ref[hidden] { display: none; }
#edk-bk .edk-bk__ref span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
#edk-bk .edk-bk__ref strong { font-size: 20px; font-weight: 700; letter-spacing: .02em; color: var(--gdk); font-variant-numeric: tabular-nums; }
#edk-bk .edk-bk__done-note { margin-top: 14px; font-size: 13px; color: var(--mut); }
#edk-bk .edk-bk__done-note:empty { display: none; }
#edk-bk .edk-bk__done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
#edk-bk .edk-bk__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 170px; height: 48px; min-height: 0; margin: 0; padding: 0 24px; border-radius: 999px;
  font: 700 14.5px/1 var(--sans); letter-spacing: .02em; text-decoration: none; text-transform: none;
  cursor: pointer; box-shadow: none; transition: background .2s, color .2s, border-color .2s;
}
#edk-bk .edk-bk__btn[hidden] { display: none; }
#edk-bk .edk-bk__btn .edk-bk__ico { width: 18px; height: 18px; }
#edk-bk .edk-bk__btn--solid { background: var(--g); border: 1.5px solid var(--g); color: #fff; }
#edk-bk .edk-bk__btn--solid:hover { background: var(--gdk); border-color: var(--gdk); }
#edk-bk .edk-bk__btn--ghost { background: #fff; border: 1.5px solid var(--line); color: var(--gdk); }
#edk-bk .edk-bk__btn--ghost:hover { border-color: var(--g); background: var(--gtint); color: var(--gdk); }

/* flatpickr — brand theme */
#edk-bk .flatpickr-calendar {
  font-family: var(--sans); border-radius: 14px; border: 1px solid var(--line2);
  box-shadow: 0 18px 44px rgba(0, 30, 12, .18); z-index: 5;
}
#edk-bk .flatpickr-calendar.static { top: calc(100% + 6px); }
#edk-bk .flatpickr-calendar::before, #edk-bk .flatpickr-calendar::after { display: none; }
#edk-bk .flatpickr-months { padding: 6px 4px 0; }
#edk-bk .flatpickr-current-month { font-size: 15px; font-weight: 700; color: var(--ink); }
#edk-bk .flatpickr-current-month input.cur-year { font-weight: 700; }
#edk-bk .flatpickr-months .flatpickr-prev-month:hover svg,
#edk-bk .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--g); }
#edk-bk span.flatpickr-weekday { color: var(--mut); font-weight: 600; font-size: 12px; }
#edk-bk .flatpickr-day { border-radius: 10px; color: var(--ink); font-weight: 500; }
#edk-bk .flatpickr-day:hover, #edk-bk .flatpickr-day:focus { background: var(--gtint); border-color: var(--gtint); }
#edk-bk .flatpickr-day.today { border-color: var(--g); }
#edk-bk .flatpickr-day.today:hover { background: var(--gtint); color: var(--gdk); }
#edk-bk .flatpickr-day.selected, #edk-bk .flatpickr-day.selected:hover,
#edk-bk .flatpickr-day.selected:focus { background: var(--g); border-color: var(--g); color: #fff; }
#edk-bk .flatpickr-day.flatpickr-disabled, #edk-bk .flatpickr-day.prevMonthDay, #edk-bk .flatpickr-day.nextMonthDay { color: #c3ccc6; }

/* responsive */
@media (max-width: 680px) {
  #edk-bk { padding: 0; align-items: flex-end; }
  #edk-bk .edk-bk__dialog {
    max-width: none; max-height: 100vh; max-height: 100dvh; height: 100dvh; border-radius: 0;
    transform: translateY(40px);
  }
  #edk-bk .edk-bk__head { padding: 26px 20px 20px; border-radius: 0; }
  #edk-bk .edk-bk__title { margin-right: 44px; }
  #edk-bk .edk-bk__form { padding: 22px 20px 28px; gap: 16px; }
  #edk-bk .edk-bk__row--2 { grid-template-columns: 1fr; }
  #edk-bk .edk-bk__row--3 { grid-template-columns: 1fr 1fr; }
  #edk-bk .edk-bk__date { grid-column: 1 / -1; }
  #edk-bk .edk-bk__close { position: fixed; top: 12px; right: 12px; }
  #edk-bk .edk-bk__done { padding: 64px 22px 34px; }
  #edk-bk .edk-bk__input, #edk-bk .edk-bk__num { font-size: 16px; } /* stops iOS zoom-on-focus */
  #edk-bk .flatpickr-calendar.static { left: 0; right: 0; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  #edk-bk .edk-bk__dialog, #edk-bk .edk-bk__backdrop { transition: none; }
  #edk-bk .edk-bk__tick circle, #edk-bk .edk-bk__tick path { animation: none; stroke-dashoffset: 0; }
}

/* "Send an Enquiry" buttons that sit beside the booking button are retired (the booking
   button itself is now labelled "Send Enquiry"). Hidden in CSS so they never flash. */
[class*="-btn-book"] ~ [class*="-btn-enquire"] { display: none !important; }
[class*="-btn-book"]:has(~ [class*="-btn-enquire"]) { margin-bottom: 0 !important; }
