/* Booking page: slots + customer details */

/* #wrapper overflow:hidden breaks position:sticky — allow visible on booking page */
body.page-booking #wrapper {
  overflow: visible;
}

.booking-progress-sentinel {
  height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.booking-progress-placeholder {
  display: none;
  margin: 0;
  padding: 0;
}

.booking-progress-placeholder.is-active {
  display: block;
}

/* Sticky progress checklist — pinned via JS when Lenis/native scroll passes header */
.booking-progress-sticky {
  position: relative;
  z-index: 120;
  margin: 0 0 1.5rem;
  padding: 0.65rem 0 0.85rem;
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.98) 0%, rgba(16, 16, 16, 0.94) 72%, rgba(16, 16, 16, 0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.booking-progress-sticky.is-pinned {
  position: fixed;
  top: var(--booking-pin-top, 0);
  left: var(--booking-pin-left, 0);
  width: var(--booking-pin-width, 100%);
  z-index: 1000;
  margin: 0;
  padding: 0.65rem 0 0.85rem;
  background: rgba(16, 16, 16, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* Progress chips — állapotjelző táblácskák */
.booking-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0;
  padding: 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(207, 129, 77, 0.22);
  background: linear-gradient(145deg, rgba(207, 129, 77, 0.08), rgba(0, 0, 0, 0.35));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.booking-progress__chip {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.booking-progress__chip:focus,
.booking-progress__chip:focus-visible {
  outline: 2px solid rgba(207, 129, 77, 0.45);
  outline-offset: 2px;
}

.booking-progress__chip:hover {
  border-color: rgba(207, 129, 77, 0.45);
  background: rgba(207, 129, 77, 0.1);
  color: inherit;
  text-decoration: none;
}

.booking-progress__badge {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  border: 2px solid rgba(207, 129, 77, 0.4);
  color: #f0e6dc;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.booking-progress__badge svg {
  width: 1rem;
  height: 1rem;
}

.booking-progress__body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.booking-progress__body strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.booking-progress__label-short {
  display: none;
}

.booking-progress__body small {
  display: block;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.58);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-progress__chip.is-done {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.booking-progress__chip.is-done .booking-progress__badge {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.booking-progress__chip.is-done .booking-progress__body small {
  color: rgba(134, 239, 172, 0.88);
}

.booking-progress__chip.is-next:not(.is-done) {
  border-color: rgba(207, 129, 77, 0.55);
  background: rgba(207, 129, 77, 0.12);
  box-shadow: 0 0 0 1px rgba(207, 129, 77, 0.15);
}

.booking-progress__chip.is-next:not(.is-done) .booking-progress__badge {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #fff;
  animation: bookingProgressPulse 2.2s ease-in-out infinite;
}

.booking-progress__chip.is-next:not(.is-done) .booking-progress__body strong {
  color: #ffe8d4;
}

.booking-progress__chip.is-next:not(.is-done) .booking-progress__body small {
  color: rgba(255, 232, 212, 0.9);
}

.booking-progress__chip.is-attention:not(.is-done) {
  animation: bookingProgressShake 0.55s ease;
}

.booking-section.is-attention {
  animation: bookingSectionShake 0.55s ease;
}

@keyframes bookingSectionShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

.booking-section--card {
  padding: 1.2rem 1.25rem 1.35rem;
  border: 1px solid rgba(207, 129, 77, 0.18);
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.22);
  min-width: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.booking-section.is-current {
  border-color: rgba(207, 129, 77, 0.55);
  background: rgba(207, 129, 77, 0.06);
  box-shadow: 0 0 0 1px rgba(207, 129, 77, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.booking-section.is-progress-done {
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.04);
}

.booking-row-split {
  margin-left: 0;
  margin-right: 0;
}

.booking-row-split > [class*="col-"] {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.booking-row-split .booking-section--card {
  flex: 1 1 auto;
  width: 100%;
}

@keyframes bookingProgressPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(207, 129, 77, 0.45);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 8px rgba(207, 129, 77, 0);
  }
}

@keyframes bookingProgressShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

@keyframes bookingSectionHighlight {
  0% { box-shadow: 0 0 0 0 rgba(207, 129, 77, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(207, 129, 77, 0); }
}

.booking-section {
  scroll-margin-top: 9.5rem;
}

.booking-progress__mobile-hint {
  display: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 991px) {
  .booking-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-row-split > [class*="col-"] + [class*="col-"] {
    margin-top: 1rem;
  }
}

@media (max-width: 767px) {
  .booking-progress-sticky {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .booking-progress-sticky.is-pinned {
    margin: 0;
    padding: 0.5rem 0.65rem 0.65rem;
  }

  .booking-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.55rem;
    overflow: visible;
    scroll-snap-type: none;
  }

  .booking-progress__chip {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 0.35rem;
    padding: 0.45rem 0.2rem 0.5rem;
    min-height: 4.25rem;
  }

  .booking-progress__badge {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.72rem;
    border-radius: 999px;
  }

  .booking-progress__badge svg {
    width: 0.85rem;
    height: 0.85rem;
  }

  .booking-progress__body {
    width: 100%;
    gap: 0;
  }

  .booking-progress__body strong {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
  }

  .booking-progress__label-full {
    display: none;
  }

  .booking-progress__label-short {
    display: inline;
  }

  .booking-progress__body small {
    display: none;
  }

  .booking-progress__mobile-hint {
    display: block;
    margin: 0.45rem 0 0;
    padding: 0.45rem 0.55rem 0.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    word-break: break-word;
  }

  .booking-progress__mobile-hint:empty,
  .booking-progress__mobile-hint[hidden] {
    display: none;
  }

  .booking-progress__chip.is-next:not(.is-done) {
    box-shadow: 0 0 0 1px rgba(207, 129, 77, 0.25);
  }

  .booking-section {
    scroll-margin-top: 8.5rem;
  }

  .booking-section--card {
    padding: 1rem 0.95rem 1.1rem;
  }

  #section-form .radio-img {
    flex: 0 0 calc(50% - 8px);
    max-width: none;
    width: auto;
  }
}

@media (max-width: 640px) {
  .booking-progress-sticky:not(.is-pinned) {
    margin-left: -0.35rem;
    margin-right: -0.35rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
}

@media (max-width: 520px) {
  .booking-progress__body strong {
    font-size: 0.58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-progress__chip.is-next:not(.is-done) .booking-progress__badge,
  .booking-progress__chip.is-attention:not(.is-done),
  .booking-section.is-attention {
    animation: none;
  }
}

.form-border input[type="tel"].form-control,
.dark-scheme .form-border input[type="tel"] {
  color: #ffffff !important;
  background: transparent !important;
  border: solid 1px rgba(var(--primary-color-rgb), .5) !important;
  box-shadow: none !important;
  -webkit-text-fill-color: #ffffff;
  caret-color: #ffffff;
}

.dark-scheme .form-border input[type="tel"]:-webkit-autofill,
.dark-scheme .form-border input[type="tel"]:-webkit-autofill:hover,
.dark-scheme .form-border input[type="tel"]:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff;
  border: solid 1px rgba(var(--primary-color-rgb), .5) !important;
  box-shadow: 0 0 0 1000px #151515 inset !important;
  transition: background-color 99999s ease-out;
}

#booking-slots.custom_radio,
#rs-slots.custom_radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  float: none;
}

#booking-slots .radio-opt,
#rs-slots .radio-opt {
  float: none;
  margin: 0;
}

#booking-slots .radio-opt label,
#rs-slots .radio-opt label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 42px;
  margin: 0;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  border: 1px solid rgba(207, 129, 77, 0.45);
  background: rgba(207, 129, 77, 0.18);
  color: #f0e6dc;
  opacity: 1;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#booking-slots .radio-opt:not(.is-disabled) label:hover,
#rs-slots .radio-opt:not(.is-disabled) label:hover {
  background: rgba(207, 129, 77, 0.35);
  border-color: rgba(207, 129, 77, 0.8);
  color: #fff;
}

#booking-slots .radio-opt input[type="radio"]:checked + label,
#rs-slots .radio-opt input[type="radio"]:checked + label {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(207, 129, 77, 0.35);
}

#booking-slots .radio-opt.is-disabled label,
#rs-slots .radio-opt.is-disabled label {
  min-width: 72px;
  opacity: 1 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  background: rgba(18, 18, 18, 0.9) !important;
  border: 1px dashed rgba(255, 255, 255, 0.18) !important;
  color: #5c5c5c !important;
  text-decoration: line-through !important;
  text-decoration-thickness: 2px !important;
  text-decoration-color: #6b6b6b !important;
  box-shadow: none !important;
  filter: none !important;
  position: relative;
}

#booking-slots .radio-opt.is-disabled label::after,
#rs-slots .radio-opt.is-disabled label::after {
  content: "foglalt";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #7a7a7a;
  line-height: 1;
}

#booking-slots .radio-opt.is-disabled label,
#rs-slots .radio-opt.is-disabled label {
  padding-bottom: 12px;
  height: 48px;
  align-items: flex-start;
  padding-top: 10px;
}

#slots-status {
  color: rgba(255, 255, 255, 0.7);
}

#booking-date,
#booking-date + input.form-control {
  color: #f4ebe3 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(207, 129, 77, 0.4) !important;
  cursor: pointer;
}

/* Customer / auth block */
.booking-details {
  margin-top: 8px;
}

.booking-auth-tabs {
  display: inline-flex;
  padding: 4px;
  margin-bottom: 28px;
  border: 1px solid rgba(207, 129, 77, 0.35);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  gap: 4px;
}

.booking-auth-tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking-auth-tabs label {
  margin: 0;
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transition: background 0.15s ease, color 0.15s ease;
}

.booking-auth-tabs input:checked + label {
  background: var(--primary-color);
  color: #fff;
}

.booking-auth-tabs label:hover {
  color: #fff;
}

.booking-logged-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(207, 129, 77, 0.4);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(207, 129, 77, 0.12), rgba(0, 0, 0, 0.25));
}

.booking-logged-in__meta {
  margin: 0;
}

.booking-logged-in__meta strong {
  color: #fff;
}

.booking-logged-in__hint {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.booking-noshow-note {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 6px;
  border: 1px solid rgba(207, 129, 77, 0.55);
  background: rgba(207, 129, 77, 0.14);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
}

.booking-noshow-note strong {
  color: #f0c09a;
}

.booking-logged-in .btn-line,
.booking-logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 18px;
  border: 1px solid rgba(207, 129, 77, 0.7);
  border-radius: 4px;
  background: transparent;
  color: #f0c09a;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.booking-logout-btn:hover,
.booking-logged-in .btn-line:hover {
  background: rgba(207, 129, 77, 0.2);
  border-color: var(--primary-color);
  color: #fff;
}

.booking-register-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  margin: 4px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.booking-register-row input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.booking-register-row span {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.booking-register-row small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

#register-password-fields {
  padding: 4px 0 8px;
}

.booking-login-panel {
  max-width: 420px;
  padding: 22px 22px 8px;
  border: 1px solid rgba(207, 129, 77, 0.28);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
}

.booking-remember-row {
  margin-bottom: 16px;
}

.booking-forgot-link a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  text-decoration: underline;
}

.booking-forgot-link a:hover {
  color: var(--primary-color);
}

@media (max-width: 767px) {
  .booking-auth-tabs {
    display: flex;
    width: 100%;
  }

  .booking-auth-tabs label {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    font-size: 11px;
  }

  .booking-logged-in {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Booking manage page */
.bm {
  --bm-field: rgba(255, 255, 255, 0.06);
  --bm-field-hover: rgba(255, 255, 255, 0.1);
  --bm-border: rgba(207, 129, 77, 0.4);
  --bm-text: #f4ebe3;
  --bm-muted: rgba(244, 235, 227, 0.62);
}

.bm-alert {
  margin-bottom: 1.5rem;
  padding: 0.95rem 1.15rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.bm-alert--ok {
  border: 1px solid rgba(207, 129, 77, 0.55);
  background: rgba(207, 129, 77, 0.14);
  color: #f0e6dc;
}

.bm-alert--err {
  border: 1px solid rgba(185, 28, 28, 0.55);
  background: rgba(185, 28, 28, 0.16);
  color: #fecaca;
}

.bm-hero {
  display: grid;
  gap: 1.25rem;
  padding: 1.6rem 1.5rem 1.45rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--bm-border);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(207, 129, 77, 0.14), rgba(0, 0, 0, 0.38));
}

.bm-hero__when {
  margin: 0 0 0.35rem;
  font-family: var(--title-font);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.bm-hero__sub {
  margin: 0;
  color: var(--bm-muted);
  font-size: 0.95rem;
}

.bm-status {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bm-status--uj { background: rgba(207, 129, 77, 0.22); color: #f0c09a; border: 1px solid rgba(207, 129, 77, 0.5); }
.bm-status--megerositve { background: rgba(34, 197, 94, 0.16); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.4); }
.bm-status--lemondva { background: rgba(255, 255, 255, 0.08); color: #a1a1aa; border: 1px solid rgba(255, 255, 255, 0.16); }
.bm-status--teljesitve { background: rgba(56, 189, 248, 0.14); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.35); }
.bm-status--nem_jelent_meg { background: rgba(239, 68, 68, 0.16); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }

.bm-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
}

.bm-meta div span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bm-muted);
}

.bm-meta div strong {
  color: #fff;
  font-weight: 600;
}

.bm-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: start;
}

.bm-card {
  padding: 1.5rem 1.4rem 1.35rem;
  border: 1px solid var(--bm-border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.32);
}

.bm-card h3.s2 {
  margin-bottom: 0.45rem;
}

.bm-card__lead {
  margin: 0 0 1.15rem;
  color: var(--bm-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.bm-field {
  margin-bottom: 1.05rem;
}

.bm-field label,
.bm-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bm-muted);
}

.bm input.form-control,
.bm select.form-control,
.bm textarea.form-control,
.bm .flatpickr-input,
.bm .form-control.input {
  width: 100%;
  display: block;
  padding: 0.85rem 1rem;
  color: var(--bm-text) !important;
  background: var(--bm-field) !important;
  border: 1px solid var(--bm-border) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  outline: none;
}

.bm textarea.form-control {
  min-height: 96px;
  resize: vertical;
}

.bm input.form-control::placeholder,
.bm textarea.form-control::placeholder {
  color: rgba(244, 235, 227, 0.4) !important;
}

.bm input.form-control:focus,
.bm select.form-control:focus,
.bm textarea.form-control:focus {
  border-color: rgba(207, 129, 77, 0.95) !important;
  background: var(--bm-field-hover) !important;
  box-shadow: 0 0 0 3px rgba(207, 129, 77, 0.15) !important;
}

.bm-staff {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.bm-staff input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bm-staff label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  border: 1px solid var(--bm-border);
  border-radius: 6px;
  background: var(--bm-field);
  color: var(--bm-text);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.bm-staff label img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}

.bm-staff input:checked + label {
  border-color: var(--primary-color);
  background: rgba(207, 129, 77, 0.18);
  color: #fff;
}

.bm-slots-status {
  margin: 0 0 0.65rem;
  color: var(--bm-muted);
  font-size: 0.88rem;
}

.bm .btn-main,
.bm button.btn-main {
  display: inline-block;
  width: auto;
  border: none;
  cursor: pointer;
  color: #fff;
  background: var(--primary-color);
}

.bm button.btn-line {
  display: inline-block;
  cursor: pointer;
  background: transparent;
  color: #fff;
  border: solid 2px rgba(255, 255, 255, 0.22);
  font-family: var(--title-font);
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 14px;
  padding: 8px 22px;
}

.bm button.btn-line:hover {
  border-color: var(--primary-color);
  color: #fff;
}

.bm-note {
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--bm-muted);
}

/* Flatpickr — match site */
.bm .flatpickr-calendar,
.booking-datepicker.flatpickr-calendar {
  background: #141414;
  border: 1px solid rgba(207, 129, 77, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  font-family: inherit;
}

.flatpickr-calendar.booking-datepicker .flatpickr-months,
.bm .flatpickr-months {
  background: rgba(207, 129, 77, 0.12);
}

.flatpickr-calendar.booking-datepicker .flatpickr-weekday,
.bm .flatpickr-weekday {
  color: rgba(240, 192, 154, 0.85);
}

.flatpickr-calendar.booking-datepicker .flatpickr-days {
  min-height: 255px;
}

.flatpickr-calendar.booking-datepicker .dayContainer {
  min-height: 255px;
  width: 307px;
  max-width: 307px;
}

.flatpickr-calendar.booking-datepicker .flatpickr-day,
.bm .flatpickr-day {
  color: #f4ebe3;
  border-radius: 4px;
  height: 42px;
  max-height: 42px;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 6px;
  gap: 3px;
}

.flatpickr-calendar.booking-datepicker .flatpickr-day:hover,
.flatpickr-calendar.booking-datepicker .flatpickr-day:focus,
.bm .flatpickr-day:hover {
  background: rgba(207, 129, 77, 0.25);
  border-color: transparent;
}

.flatpickr-calendar.booking-datepicker .flatpickr-day.selected,
.flatpickr-calendar.booking-datepicker .flatpickr-day.startRange,
.flatpickr-calendar.booking-datepicker .flatpickr-day.endRange,
.bm .flatpickr-day.selected {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.flatpickr-calendar.booking-datepicker .flatpickr-day.today,
.bm .flatpickr-day.today {
  border-color: rgba(207, 129, 77, 0.8);
}

.flatpickr-calendar.booking-datepicker .flatpickr-day.disabled,
.bm .flatpickr-day.disabled {
  color: #5c5c5c;
}

.flatpickr-calendar.booking-datepicker .flatpickr-day.is-closed-day,
.bm .flatpickr-day.is-closed-day {
  color: #6a6a6a;
}

.fp-busy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 6px;
  pointer-events: none;
}

.fp-busy i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  display: block;
  transform-origin: center;
  animation: fp-busy-pulse 1.7s ease-in-out infinite;
}

.fp-busy[data-level="1"] i {
  background: #8fca7a;
  box-shadow: 0 0 6px rgba(143, 202, 122, 0.55);
}

.fp-busy[data-level="2"] i {
  background: #e0b15a;
  box-shadow: 0 0 6px rgba(224, 177, 90, 0.55);
  animation-duration: 1.35s;
}

.fp-busy[data-level="3"] i {
  background: #e07a52;
  box-shadow: 0 0 7px rgba(224, 122, 82, 0.7);
  animation-duration: 1.05s;
}

.fp-busy i:nth-child(2) {
  animation-delay: 0.18s;
}

.fp-busy i:nth-child(3) {
  animation-delay: 0.36s;
}

.flatpickr-calendar.booking-datepicker .flatpickr-day.selected .fp-busy i,
.bm .flatpickr-day.selected .fp-busy i {
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.45);
}

@keyframes fp-busy-pulse {
  0%, 100% {
    transform: scale(0.72);
    opacity: 0.55;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fp-busy i {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Equal-size staff portraits on the booking form */
#section-form .de_form.de_radio {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: flex-start;
}

#section-form .radio-img {
  float: none;
  flex: 0 0 148px;
  width: 148px;
  max-width: 148px;
}

#section-form .radio-img label {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
  background: none !important;
  cursor: pointer;
}

#section-form .radio-img .booking-staff-photo {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto 10px;
  overflow: hidden;
  box-sizing: border-box;
  border: 3px solid transparent;
  background: rgba(255, 255, 255, 0.06);
}

#section-form .radio-img .booking-staff-photo img,
#contact_form .radio-img label img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center 20%;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  opacity: 0.55;
  background: none !important;
}

#section-form .radio-img input[type="radio"]:checked + label .booking-staff-photo {
  border-color: var(--primary-color);
}

#section-form .radio-img input[type="radio"]:checked + label img,
#contact_form .radio-img input[type="radio"]:checked + label img {
  opacity: 1;
  padding: 0 !important;
  background: none !important;
}

#section-form .radio-img .booking-staff-name {
  display: block;
  min-height: 2.6em;
  line-height: 1.3;
  font-size: 14px;
}

@media (max-width: 991px) {
  .bm-grid {
    grid-template-columns: 1fr;
  }

  .bm-meta {
    grid-template-columns: 1fr;
  }
}

