/* =========================================================================
   Her Circle — booking page and confirmation page
   Built 1:1 to the "Booking page B" and "Thank-you page" prototype frames.
   Phone first; the desktop layout starts at 1101px.
   ========================================================================= */

.bk {
  --navy: #0A192A;
  --cream: #F1F0E3;
  --or: #CC4D29;
  --or-h: #B4431F;
  --or-a: #9E3A1B;
  --ml: #47525C;
  --md: #B7BAB5;
  --bl: #C2C5BE;
  --num: #7D8486;
  --slate: #38444F;
  --tag: #D3D4CB;
  --hair: rgba(10, 25, 42, 0.10);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: normal;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}

body.hc-bk-page { margin: 0; background: #F1F0E3; }

:where(.bk) *,
:where(.bk) *::before,
:where(.bk) *::after { box-sizing: border-box; }

:where(.bk) :where(p, h1, h2) { margin: 0; }

:where(.bk) :where(img) { display: block; max-width: 100%; }
:where(.bk) :where(a) { color: inherit; }
:where(.bk) :where(button) { font: inherit; color: inherit; }

.bk [hidden] { display: none !important; }

/* show / hide by state (seat and mode are set on .bk) */
.bk[data-seat="standard"] [data-only-seat]:not([data-only-seat="standard"]),
.bk[data-seat="clinic"] [data-only-seat]:not([data-only-seat="clinic"]),
.bk[data-mode="confirm"] [data-only-mode="choose"],
.bk[data-mode="choose"] [data-only-mode="confirm"] { display: none !important; }

.bk-only-d { display: none !important; }

.bk-wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.bk-ico { flex: 0 0 auto; }
.bk-ico--or { color: var(--or); }
.bk-ico--lock { color: var(--ml); margin-top: 2px; }

/* ---------- header / footer ---------- */
.bk-header {
  background: var(--cream);
  border-bottom: 1px solid var(--hair);
}

.bk-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.bk-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.bk-logo img { height: 24px; width: auto; }

.bk-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--navy);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

.bk-footer {
  margin-top: auto;
  border-top: 1px solid var(--hair);
}

.bk-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.bk-small {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ml);
}

.bk-small a {
  color: var(--ml);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- type ---------- */
.bk-eyebrow,
.bk-cap {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ml);
}

.bk-eyebrow--dark { color: var(--md); }

.bk-h1 {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.06;
  text-transform: uppercase;
  color: var(--navy);
}

.bk-h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  color: var(--navy);
}

.bk-num {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: var(--num);
}

.bk-desc {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ml);
}

.bk-note {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--or);
}

.bk-was {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ml);
  text-decoration: line-through;
}

.bk-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  background: var(--tag);
  color: var(--navy);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- buttons and links ---------- */
.bk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--or);
  color: #FFFFFF !important;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.bk-btn:hover { background: var(--or-h); }
.bk-btn:active { background: var(--or-a); }
.bk-btn[disabled] { opacity: 0.6; cursor: wait; }

.bk-btn--ol {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--bl);
}

.bk-btn--ol:hover,
.bk-btn--ol:active { background: transparent; border-color: var(--navy); }

.bk-link {
  display: inline-flex;
  align-items: flex-end;
  min-height: 44px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--bl);
  color: var(--navy);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}

.bk-link:hover { border-color: var(--navy); }

.bk-btn:focus-visible,
.bk-link:focus-visible,
.bk-back:focus-visible,
.bk-change:focus-visible,
.bk-upgrade__btn:focus-visible,
.bk-seat:focus-visible,
.bk-box:focus-visible,
.bk input:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 3px;
}

/* =========================================================================
   Booking page
   ========================================================================= */
.bk-main--book { padding: 24px 0 48px; }

.bk-grid { display: block; }
.bk-col { min-width: 0; }

/* summary on phones */
.bk-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 12px;
  border: 1px solid var(--bl);
}

.bk-mini__img {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  overflow: hidden;
  background: var(--slate);
}

.bk-mini__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 45%;
}

.bk-mini__text { min-width: 0; }

.bk-mini__title {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--navy);
}

.bk-mini__line {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ml);
}

.bk-mini__title + .bk-mini__line { margin-top: 4px; }

/* steps */
.bk-step { margin-top: 32px; }

.bk-step__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bl);
}

/* seat confirmed from the landing */
.bk-confirm { margin-top: 20px; }

.bk-chosen {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1.5px solid var(--navy);
  background: rgba(10, 25, 42, 0.03);
}

.bk-chosen__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.bk-chosen__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--navy);
}

.bk-chosen__price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.bk-change {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: flex-end;
  min-height: 44px;
  margin: 0;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid var(--bl);
  background: transparent;
  color: var(--navy);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
}

.bk-change:hover { border-color: var(--navy); }

.bk-upgrade {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-top: 12px;
  padding: 6px 0;
}

.bk[data-seat="standard"][data-mode="confirm"] .bk-upgrade { display: flex; }

.bk-upgrade__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ml);
}

.bk-upgrade__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--bl);
  cursor: pointer;
}

/* choice of seats */
.bk-seats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}

.bk-seat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--bl);
  background: transparent;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}

.bk-seat:hover { border-color: var(--navy); }

.bk-seat[aria-checked="true"] {
  border: 1.5px solid var(--navy);
  background: rgba(10, 25, 42, 0.03);
}

.bk-seat[disabled] { cursor: not-allowed; opacity: 0.55; }
.bk-seat[disabled]:hover { border-color: var(--bl); }

.bk-seat__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.bk-seat__name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bk-seat__title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
}

.bk-radio {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--bl);
  border-radius: 999px;
}

.bk-radio span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: transparent;
}

.bk-seat[aria-checked="true"] .bk-radio { border-color: var(--navy); }
.bk-seat[aria-checked="true"] .bk-radio span { background: var(--or); }

.bk-seat__prices {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bk-seat__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.bk-seat__amount {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  color: var(--navy);
}

/* details */
.bk-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.bk-fields__pair {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bk-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.bk-field label {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: var(--navy);
}

.bk-field input {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid var(--bl);
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  box-shadow: none;
}

.bk-field input::placeholder { color: #7D8486; opacity: 1; }
.bk-field input:focus { border-color: var(--navy); }
.bk-field input[aria-invalid="true"] { border-color: var(--or); }

.bk-help {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ml);
}

.bk-brief { margin-top: 18px; }

.bk-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}

.bk-box__mark {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1.5px solid var(--navy);
  background: transparent;
}

.bk-box[aria-checked="true"] .bk-box__mark {
  background: var(--navy);
  box-shadow: inset 0 0 0 3px var(--cream);
}

.bk-box__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--navy);
}

/* total + pay */
.bk-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--navy);
}

.bk-total__amount,
.bk-sum__amount {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  color: var(--navy);
}

.bk-pay {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.bk-error {
  font-size: 14px;
  line-height: 1.5;
  color: var(--or);
}

.bk-secure {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ml);
}

.bk-legal {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ml);
}

.bk-legal a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* honeypot */
.bk-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* session card (desktop) */
.bk-card {
  border: 1px solid var(--bl);
  background: var(--cream);
}

.bk-card__img {
  height: 200px;
  overflow: hidden;
  background: var(--slate);
}

.bk-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 6%;
}

.bk-card__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
}

.bk-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--navy);
}

.bk-led {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bk-led img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  background: var(--slate);
}

.bk-led__label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ml);
}

.bk-led__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
}

.bk-fact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--bl);
}

.bk-fact .bk-cap { flex: 0 0 auto; }

.bk-fact__val {
  font-size: 14px;
  line-height: 1.5;
  color: var(--navy);
  text-align: right;
}

.bk-sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--navy);
}

.bk-prep {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ml);
}

/* =========================================================================
   Confirmation page
   ========================================================================= */
.bk-main--done { padding: 40px 0 48px; }

.bk-done-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.bk-done-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.bk-done-head .bk-h1 { margin-top: 0; }

.bk-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
}

.bk-lead {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--navy);
}

.bk-details {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--bl);
}

.bk-details .bk-fact:first-child {
  padding-top: 0;
  border-top: 0;
}

.bk-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.bk-brief-card {
  margin-top: 32px;
  padding: 24px;
  background: var(--navy);
  color: var(--cream);
}

.bk-brief-card__title {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  color: var(--cream);
}

.bk-brief-card__text {
  max-width: 520px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
}

.bk-brief-card .bk-btn { margin-top: 24px; }

.bk-share {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--bl);
}

.bk-share__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--navy);
}

.bk-share__text {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ml);
}

/* phones up to tablets: keep the column comfortable */
@media (min-width: 600px) and (max-width: 1100px) {
  .bk-main--book .bk-grid,
  .bk-main--done .bk-done-wrap {
    max-width: 640px;
    margin: 0 auto;
  }
}

/* =========================================================================
   Desktop (1101px+) — prototype desktop frames
   ========================================================================= */
@media (min-width: 1101px) {
  .bk-only-m { display: none !important; }
  .bk-only-d { display: block !important; }

  .bk-wrap { padding-left: 48px; padding-right: 48px; }
  .bk-header__inner { min-height: 76px; }
  .bk-logo img { height: 28px; }

  .bk-h1 {
    margin-top: 16px;
    font-size: 52px;
  }

  .bk-h3,
  .bk-num { font-size: 28px; }
  .bk-num { font-size: 26px; }

  .bk-main--book { padding: 56px 0 96px; }

  .bk-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 432px;
    column-gap: 96px;
    align-items: start;
  }

  .bk-aside {
    position: sticky;
    top: 24px;
  }

  .bk-step { margin-top: 48px; }
  .bk-step__head { padding-bottom: 18px; }

  .bk-confirm { margin-top: 24px; }
  .bk-chosen { padding: 22px 24px; }
  .bk-chosen__line { font-size: 24px; }

  .bk-upgrade {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
  }

  .bk-seats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
  }

  .bk-seat { padding: 24px; }
  .bk-seat__title { font-size: 24px; }
  .bk-seat__amount { font-size: 34px; }

  .bk-fields {
    gap: 20px;
    margin-top: 24px;
  }

  .bk-fields__pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
  }

  .bk-brief { margin-top: 20px; }

  .bk-pay { margin-top: 32px; }

  .bk-pay .bk-btn {
    width: auto;
    min-width: 320px;
    min-height: 44px;
    align-self: flex-start;
  }

  .bk-sum__amount { font-size: 30px; }

  /* confirmation */
  .bk-main--done { padding: 96px 0; }

  .bk-done-head {
    align-items: center;
    gap: 18px;
    text-align: center;
  }

  .bk-lead { font-size: 18px; }

  .bk-details {
    margin-top: 40px;
    padding: 28px;
  }

  .bk-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 32px;
  }

  .bk-actions .bk-btn {
    width: auto;
    min-height: 44px;
  }

  .bk-brief-card {
    margin-top: 48px;
    padding: 40px;
  }

  .bk-brief-card__title { font-size: 28px; }

  .bk-brief-card .bk-btn {
    width: auto;
    min-height: 44px;
  }

  .bk-share {
    flex-direction: row;
    align-items: center;
    margin-top: 48px;
    padding-top: 32px;
  }
}
