/* ==========================================================================
   Nook Booking Template — converted 1:1 from the original BookingModal
   (NBK_CSS) design, minus the popup/scrim/close-button layer.
   Scoped under .nook-booking-wrapper, prefixed nook-booking-.
   Fills 100% width/height of its container — size it from Elementor.
   ========================================================================== */

.nook-booking-wrapper {
  --color-octagon-yellow: #D2B073;
  --color-hague-blue:     #3F4D56;
  --color-hague-900:      #2B353C;
  --color-gold-700:       #B0904F;
  --color-gold-300:       #E4CE9F;
  --color-olive-icon:     #AEBFA8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Mulish', 'Montserrat', Arial, sans-serif;
  --tracking-eyebrow: 0.18em;
  --text-eyebrow: 0.78rem;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --dur-fast: 140ms;
  --dur-base: 240ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-gold: 0 8px 24px rgba(176, 144, 79, 0.22);

  width: 100%;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  background: linear-gradient(168deg, rgba(70,85,95,0.82) 0%, rgba(43,53,60,0.92) 52%, rgba(30,38,42,0.95) 100%);
  padding: 40px 44px 36px;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.82);
  text-align: left;
  overflow: auto;
  position: relative;
}

.nook-booking-wrapper *,
.nook-booking-wrapper *::before,
.nook-booking-wrapper *::after {
  box-sizing: border-box;
}

.nook-booking-wrapper button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.nook-booking-wrapper svg {
  display: inline-block;
  vertical-align: middle;
}

/* ---- Views ------------------------------------------------------------- */
.nook-booking-view {
  display: none;
}

.nook-booking-view[hidden] {
  display: none;
}

.nook-booking-view--active,
.nook-booking-view.nook-booking-view--active {
  display: block;
}

@keyframes nookBtViewIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.nook-booking-view--active {
  animation: nookBtViewIn 0.32s var(--ease-out);
}

/* ---- Typography --------------------------------------------------------- */
.nook-booking-eyebrow {
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-octagon-yellow);
}

.nook-booking-title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.06;
  color: #fff;
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.nook-booking-title em {
  font-style: italic;
  color: var(--color-octagon-yellow);
}

.nook-booking-sub {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 14px 0 0;
  max-width: 52ch;
}

.nook-booking-center {
  text-align: center;
}

.nook-booking-center .nook-booking-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Back / view head ---------------------------------------------------- */
.nook-booking-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color var(--dur-fast);
}

.nook-booking-back:hover,
.nook-booking-back:focus-visible {
  color: #fff;
}

.nook-booking-view-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

/* ---- Choice options ------------------------------------------------------- */
.nook-booking-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.nook-booking-opt {
  position: relative;
  text-align: left;
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  overflow: hidden;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.nook-booking-opt:hover,
.nook-booking-opt:focus-visible {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.nook-booking-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  background: rgba(210,176,115,0.16);
  color: var(--color-octagon-yellow);
}

.nook-booking-opt--olive .nook-booking-tag {
  background: rgba(107,125,106,0.22);
  color: var(--color-olive-icon);
}

.nook-booking-chip,
.nook-booking-area-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(210,176,115,0.16);
  color: var(--color-octagon-yellow);
}

.nook-booking-opt--olive .nook-booking-chip {
  background: rgba(107,125,106,0.22);
  color: var(--color-olive-icon);
}

.nook-booking-opt h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: #fff;
  margin: 0 0 9px;
  line-height: 1.15;
}

.nook-booking-opt p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.nook-booking-go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--color-octagon-yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ---- Attribution --------------------------------------------------------- */
.nook-booking-attrib {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.nook-booking-who {
  line-height: 1.3;
}

.nook-booking-name {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
}

.nook-booking-role {
  display: block;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
}

.nook-booking-stars {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.05);
}

.nook-booking-stars svg {
  color: var(--color-octagon-yellow);
  fill: var(--color-octagon-yellow);
}

/* ---- Pain areas grid ------------------------------------------------------ */
.nook-booking-areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.nook-booking-area {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 14px;
  padding: 20px 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: background var(--dur-fast), transform var(--dur-fast);
}

.nook-booking-area:hover,
.nook-booking-area:focus-visible {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.nook-booking-area.nook-booking-area--selected {
  background: rgba(210,176,115,0.18);
  border-color: var(--color-octagon-yellow);
}

.nook-booking-area-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  margin-bottom: 0;
  background: rgba(255,255,255,0.07);
}

.nook-booking-area.nook-booking-area--selected .nook-booking-area-icon {
  background: rgba(210,176,115,0.25);
}

.nook-booking-area-label {
  font-weight: 600;
  font-size: 13.5px;
  color: #fff;
}

/* ---- Actions / steps ------------------------------------------------------ */
.nook-booking-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.nook-booking-steps {
  display: flex;
  gap: 7px;
}

.nook-booking-steps i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: block;
  transition: width var(--dur-base), background var(--dur-base);
}

.nook-booking-steps i.nook-booking-on {
  width: 22px;
  background: var(--color-octagon-yellow);
}

.nook-booking-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--color-octagon-yellow);
  color: var(--color-hague-900);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.nook-booking-btn-gold:hover:not(:disabled) {
  background: var(--color-gold-700);
  color: #fff;
  transform: translateY(-1px);
}

.nook-booking-btn-gold:disabled {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.4);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ---- Book layout / reco card ---------------------------------------------- */
.nook-booking-book {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  margin-top: 26px;
  align-items: start;
}

.nook-booking-lead {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.74);
  margin: 0 0 20px;
}

.nook-booking-picker-label {
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 11px;
}

.nook-booking-reco-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
}

.nook-booking-rt {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: #fff;
  margin: 9px 0 16px;
}

.nook-booking-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nook-booking-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(255,255,255,0.82);
}

.nook-booking-row svg {
  color: var(--color-octagon-yellow);
  flex: none;
  margin-top: 1px;
}

.nook-booking-price {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.nook-booking-cur {
  font-weight: 700;
  font-size: 17px;
  color: rgba(255,255,255,0.7);
}

.nook-booking-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
}

.nook-booking-cad {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}

.nook-booking-note {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

/* ---- Note copy chip -------------------------------------------------------- */
.nook-booking-prefill {
  margin-top: 4px;
}

.nook-booking-note-chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  max-width: 100%;
  text-align: left;
  border-radius: 12px;
  padding: 12px 15px;
  background: rgba(210,176,115,0.14);
  border: 1.5px dashed rgba(210,176,115,0.55);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}

.nook-booking-note-chip span {
  line-height: 1.35;
}

.nook-booking-note-chip svg {
  color: var(--color-octagon-yellow);
  flex: none;
}

.nook-booking-note-chip:hover,
.nook-booking-note-chip:focus-visible {
  background: rgba(210,176,115,0.22);
}

.nook-booking-note-chip.nook-booking-copied {
  border-style: solid;
  border-color: rgba(210,176,115,0.85);
  background: rgba(210,176,115,0.24);
}

.nook-booking-prefill-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.52);
  margin-top: 9px;
  line-height: 1.45;
}

/* ---- Iframe --------------------------------------------------------------- */
.nook-booking-iframe-wrap {
  position: relative;
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  min-height: 700px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
}

.nook-booking-iframe {
  width: 100%;
  height: 700px;
  border: 0;
  display: block;
  background: #fff;
}

/* ---- Maintenance contacts --------------------------------------------------- */
.nook-booking-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nook-booking-contact {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: 14px;
  padding: 15px 18px;
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  transition: background var(--dur-fast), transform var(--dur-fast);
}

.nook-booking-contact:hover,
.nook-booking-contact:focus-visible {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.nook-booking-cic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(210,176,115,0.16);
  color: var(--color-octagon-yellow);
}

.nook-booking-contact--olive .nook-booking-cic {
  background: rgba(107,125,106,0.22);
  color: var(--color-olive-icon);
}

.nook-booking-ctxt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nook-booking-cl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.nook-booking-cv {
  font-family: var(--font-display);
  font-size: 19px;
  color: #fff;
  line-height: 1.1;
}

.nook-booking-carrow {
  margin-left: auto;
  color: rgba(255,255,255,0.4);
  transition: color var(--dur-fast), transform var(--dur-fast);
}

.nook-booking-contact:hover .nook-booking-carrow {
  color: var(--color-octagon-yellow);
  transform: translate(2px,-2px);
}

.nook-booking-hours-line {
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.52);
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.nook-booking-hours-line svg {
  color: rgba(255,255,255,0.4);
  flex: none;
  margin-top: 1px;
}

/* ---- Focus states (accessibility) ------------------------------------------ */
.nook-booking-wrapper button:focus-visible,
.nook-booking-wrapper a:focus-visible {
  outline: 2px solid var(--color-octagon-yellow);
  outline-offset: 2px;
}

/* ---- Responsive ------------------------------------------------------------- */
@media (max-width: 820px) {
  .nook-booking-options,
  .nook-booking-book {
    grid-template-columns: 1fr;
  }

  .nook-booking-areas {
    grid-template-columns: repeat(2, 1fr);
  }

  .nook-booking-wrapper {
    padding: 30px 22px 26px;
  }

  .nook-booking-iframe-wrap,
  .nook-booking-iframe {
    min-height: 600px;
    height: 600px;
  }
}

@media (max-width: 480px) {
  .nook-booking-wrapper {
    padding: 24px 16px 22px;
  }

  .nook-booking-title {
    font-size: 1.7rem;
  }

  .nook-booking-iframe-wrap,
  .nook-booking-iframe {
    min-height: 560px;
    height: 560px;
  }
}
