/* Booking system — extends Vrind design tokens */
:root {
  --bk-forest: #1a2e1a;
  --bk-champagne: #c4a574;
  --bk-cream: #f7f3ea;
  --bk-ink: #1a2e1a;
  --bk-muted: #6b5a3e;
  --bk-line: #e4d9c4;
  --bk-ok: #2f6b3a;
  --bk-err: #8b2e2e;
  --bk-warn: #8a6a2a;
}

.app-body { background: linear-gradient(180deg, #fbf8f1 0%, #f3eee3 100%); min-height: 100vh; }
.app-main { padding: calc(var(--header-h, 124px) + 2rem) 0 4rem; }
.app-container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.app-alert {
  padding: .9rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: .95rem;
  border: 1px solid var(--bk-line); background: #fff;
}
.app-alert-success { background: #eef6ef; border-color: #c8dfcb; color: var(--bk-ok); }
.app-alert-error { background: #f8eeee; border-color: #e2c8c8; color: var(--bk-err); }
.app-alert-info { background: #fff; color: var(--bk-muted); }

.app-card {
  background: rgba(255,255,255,.86);
  border: 1px solid var(--bk-line);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 10px 30px rgba(26,46,26,.04);
}
.app-card + .app-card { margin-top: 1rem; }

.app-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--bk-forest);
  margin: 0 0 .35rem;
}
.app-sub { color: var(--bk-muted); margin: 0 0 1.4rem; }

.app-grid-2 { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.app-grid-3 { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-grid-4 { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .app-grid-2, .app-grid-3, .app-grid-4 { grid-template-columns: 1fr; }
}

.app-label { display:block; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--bk-muted); margin-bottom: .35rem; }
.app-input, .app-select, .app-textarea {
  width: 100%; border: 1px solid var(--bk-line); background: #fff; border-radius: 10px;
  padding: .75rem .9rem; font: inherit; color: var(--bk-ink);
}
.app-input:focus, .app-select:focus, .app-textarea:focus {
  outline: 2px solid rgba(196,165,116,.35); border-color: var(--bk-champagne);
}
.app-field { margin-bottom: 1rem; }
.app-password-wrap { position: relative; }
.app-password-wrap .app-input { padding-right: 3rem; }
.app-eye {
  position: absolute; right: .6rem; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--bk-muted); cursor: pointer; font-size: .85rem;
}

.app-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; border-radius: 999px; padding: .8rem 1.35rem; font: inherit; cursor: pointer;
  background: var(--bk-forest); color: #f7f3ea; text-decoration: none;
}
.app-btn:hover { filter: brightness(1.08); }
.app-btn-outline {
  background: transparent; color: var(--bk-forest); border: 1px solid var(--bk-forest);
}
.app-btn-gold { background: var(--bk-champagne); color: #1a2e1a; }
.app-btn-block { width: 100%; }
.app-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }

.stat-card { background: #fff; border: 1px solid var(--bk-line); border-radius: 12px; padding: 1rem 1.1rem; }
.stat-card strong { display:block; font-size: 1.45rem; color: var(--bk-forest); }
.stat-card span { color: var(--bk-muted); font-size: .86rem; }

.room-result {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 1rem; align-items: stretch;
  background: #fff; border: 1px solid var(--bk-line); border-radius: 14px; overflow: hidden;
}
.room-result img { width: 100%; height: 100%; min-height: 160px; object-fit: cover; }
.room-result-body { padding: 1rem 0; }
.room-result-price { padding: 1rem 1.2rem; text-align: right; white-space: nowrap; }
.room-result-price strong { display:block; font-size: 1.35rem; color: var(--bk-forest); }
@media (max-width: 760px) {
  .room-result { grid-template-columns: 1fr; }
  .room-result img { height: 180px; }
  .room-result-body, .room-result-price { padding: 1rem; text-align: left; }
}

.badge {
  display: inline-block; padding: .2rem .55rem; border-radius: 999px; font-size: .75rem;
  background: #eee7d8; color: var(--bk-forest);
}
.badge-confirmed, .badge-paid, .badge-checked_in { background: #e2efE4; color: #24552c; }
.badge-pending { background: #f5eed8; color: #7a6120; }
.badge-cancelled, .badge-failed, .badge-no_show { background: #f3e2e2; color: #7a2d2d; }
.badge-checked_out { background: #e6eaf1; color: #2d3d5c; }

.table-wrap { overflow-x: auto; }
.app-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.app-table th, .app-table td { padding: .75rem .55rem; border-bottom: 1px solid var(--bk-line); text-align: left; vertical-align: top; }
.app-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--bk-muted); }

.auth-shell { width: min(460px, 100%); margin: 0 auto; }
.auth-shell-wide { width: min(520px, 100%); }

.auth-stage {
  width: min(980px, 100%);
  margin: 0 auto;
}

.auth-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--bk-line);
  box-shadow: 0 22px 50px rgba(15, 42, 36, 0.1);
  background: #fff;
}

.auth-brand {
  background:
    linear-gradient(160deg, rgba(15, 42, 36, 0.92), rgba(27, 67, 50, 0.88)),
    url("../images/vrind/balcony-view.jpg") center / cover;
  color: #F7F4EC;
  padding: 2rem 1.75rem;
  min-height: 100%;
}

.auth-brand-inner { position: relative; z-index: 1; }

.auth-brand-logo {
  width: auto;
  height: 64px;
  max-width: min(260px, 100%);
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.45rem 0.65rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.auth-brand-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C08218;
}

.auth-brand h2 {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
}

.auth-brand p {
  margin: 0;
  color: rgba(247, 244, 236, 0.82);
  font-size: 0.95rem;
  line-height: 1.55;
}

.auth-brand-list {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.auth-brand-list li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(247, 244, 236, 0.9);
  font-size: 0.9rem;
}

.auth-brand-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #C08218;
}

.auth-form-col {
  padding: 1.75rem 1.6rem 1.85rem;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f3ea 100%);
}

.auth-form-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C08218;
  font-weight: 600;
}

.auth-card {
  box-shadow: none;
  border-color: rgba(228, 217, 196, 0.85);
}

.auth-error {
  display: grid;
  gap: 0.2rem;
}

.auth-error strong {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0.15rem 0 1rem;
  font-size: 0.9rem;
}

.auth-remember {
  color: var(--bk-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.auth-forgot {
  color: var(--bk-forest);
  font-weight: 600;
  text-decoration: none;
}

.auth-forgot:hover { text-decoration: underline; }

.auth-help {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--bk-muted);
  line-height: 1.5;
}

.auth-help a {
  color: #C08218;
  font-weight: 600;
  text-decoration: none;
}

.auth-help a:hover { text-decoration: underline; }

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  background: #eee7d8;
  padding: 0.3rem;
  border-radius: 999px;
}
.auth-tab {
  text-align: center;
  text-decoration: none;
  color: var(--bk-muted);
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
}
.auth-tab.is-active {
  background: #fff;
  color: var(--bk-forest);
  box-shadow: 0 4px 14px rgba(26,46,26,.06);
}
.booking-resume-card {
  background: linear-gradient(135deg, #fff 0%, #f3eee3 100%);
  border: 1px solid var(--bk-line);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
}

@media (max-width: 860px) {
  .auth-panel {
    grid-template-columns: 1fr;
  }
  .auth-brand {
    min-height: auto;
    padding: 1.4rem 1.25rem;
  }
  .auth-brand h2 { font-size: 1.7rem; }
  .auth-brand-list { display: none; }
  .auth-form-col { padding: 1.25rem 1.1rem 1.4rem; }
}

.room-price-line {
  margin: 0.35rem 0 0.75rem;
  color: var(--bk-forest);
  font-size: 0.98rem;
}

/* Room book modal */
.book-modal[hidden] { display: none !important; }
.book-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.book-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 28, 18, 0.55);
  backdrop-filter: blur(3px);
}
.book-modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f3ea 100%);
  border: 1px solid #e4d9c4;
  border-radius: 18px;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.book-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #6b5a3e;
}
.book-modal-title {
  margin: 0.15rem 0 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  color: #1a2e1a;
}
.book-modal-room {
  margin: 0;
  font-weight: 650;
  color: #1a2e1a;
}
.book-modal-price {
  margin: 0.2rem 0 1rem;
  color: #6b5a3e;
  font-size: 0.92rem;
}
.book-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 0.9rem;
}
.book-modal-note {
  margin: 0.85rem 0 1rem;
  font-size: 0.88rem;
  color: #6b5a3e;
}
.book-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}
body.book-modal-open { overflow: hidden; }
@media (max-width: 560px) {
  .book-form-grid { grid-template-columns: 1fr; }
}
.steps { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.step-pill { padding: .35rem .7rem; border-radius: 999px; background: #eee7d8; color: var(--bk-muted); font-size: .8rem; }
.step-pill.is-active { background: var(--bk-forest); color: #f7f3ea; }

.dash-nav { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom: 1.25rem; }
.dash-nav a {
  text-decoration:none; color: var(--bk-muted); padding: .45rem .8rem; border-radius: 999px; border: 1px solid transparent;
}
.dash-nav a.is-active, .dash-nav a:hover { border-color: var(--bk-line); background: #fff; color: var(--bk-forest); }

.empty-state { text-align:center; padding: 2.5rem 1rem; color: var(--bk-muted); }

/* Admin shell styles live in assets/css/admin.css */

/* --------------------------------------------------------------------------
   Admin login — premium split layout (matches Vrind frontend)
   -------------------------------------------------------------------------- */
.admin-login-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #242725;
  background: #F7F4EC;
  -webkit-font-smoothing: antialiased;
}

.admin-login {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100vh;
}

.admin-login-visual {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  color: #F7F4EC;
}

.admin-login-visual-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: adminLoginKen 18s ease-in-out infinite alternate;
}

.admin-login-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(15, 42, 36, 0.72) 0%, rgba(15, 42, 36, 0.38) 48%, rgba(15, 42, 36, 0.78) 100%),
    linear-gradient(0deg, rgba(192, 130, 24, 0.12), transparent 42%);
}

.admin-login-visual-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 5vw, 4rem);
  animation: adminLoginRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.admin-login-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C08218;
}

.admin-login-quote {
  margin: 0;
  max-width: 12ch;
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.05;
  color: #F7F4EC;
}

.admin-login-place {
  margin: 1.1rem 0 0;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(247, 244, 236, 0.82);
}

.admin-login-panel {
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(192, 130, 24, 0.1), transparent 55%),
    linear-gradient(180deg, #FBF8F1 0%, #F0EBE0 100%);
}

.admin-login-card {
  width: min(420px, 100%);
  animation: adminLoginRise 0.85s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.admin-login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin: 0 auto 1.85rem;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.admin-login-logo {
  display: block;
  width: auto;
  height: clamp(88px, 14vw, 112px);
  max-width: min(360px, 100%);
  object-fit: contain;
  background: #FDFCEA;
  border: 1px solid rgba(27, 67, 50, 0.1);
  border-radius: 20px;
  padding: 0.7rem 1.25rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 14px 36px rgba(15, 42, 36, 0.1);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.admin-login-brand:hover .admin-login-logo {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 42, 36, 0.12);
}

.admin-login-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(192, 130, 24, 0.12);
  border: 1px solid rgba(192, 130, 24, 0.28);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #A86E12;
}

.admin-login-header {
  text-align: center;
}

.admin-login-header h1 {
  margin: 0 0 0.45rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.55rem);
  font-weight: 600;
  line-height: 1.15;
  color: #0F2A24;
}

.admin-login-header p {
  margin: 0 0 1.6rem;
  color: #5C655F;
  font-size: 0.98rem;
  line-height: 1.55;
}

.admin-login-alert {
  margin-bottom: 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #e2c8c8;
  background: #f8eeee;
  color: #8b2e2e;
  font-size: 0.92rem;
}

.admin-login-form {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 39, 37, 0.08);
  border-radius: 20px;
  padding: 1.45rem 1.4rem 1.5rem;
  box-shadow: 0 18px 50px rgba(15, 42, 36, 0.07);
  backdrop-filter: blur(10px);
}

.admin-login-field {
  margin-bottom: 1.05rem;
}

.admin-login-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5C655F;
}

.admin-login-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(36, 39, 37, 0.12);
  border-radius: 12px;
  background: #fff;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 0.98rem;
  color: #242725;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.admin-login-field input::placeholder {
  color: #9aa39c;
}

.admin-login-field input:focus {
  outline: none;
  border-color: #C08218;
  box-shadow: 0 0 0 3px rgba(192, 130, 24, 0.18);
}

.admin-login-password {
  position: relative;
}

.admin-login-password input {
  padding-right: 4.2rem;
}

.admin-login-eye {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #5C655F;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}

.admin-login-eye:hover {
  color: #0F2A24;
  background: rgba(15, 42, 36, 0.05);
}

.admin-login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  background: #1B4332;
  color: #F7F4EC;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(27, 67, 50, 0.28);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.admin-login-submit:hover {
  background: #0F2A24;
  box-shadow: 0 14px 34px rgba(27, 67, 50, 0.34);
}

.admin-login-submit:active {
  transform: translateY(1px);
}

.admin-login-submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

.admin-login-foot {
  margin: 1.4rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.admin-login-foot a {
  color: #5C655F;
  text-decoration: none;
  transition: color 0.25s ease;
}

.admin-login-foot a:hover {
  color: #C08218;
}

@keyframes adminLoginKen {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@keyframes adminLoginRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .admin-login {
    grid-template-columns: 1fr;
  }

  .admin-login-visual {
    min-height: 38vh;
  }

  .admin-login-visual-content {
    justify-content: flex-end;
    padding: 1.5rem 1.35rem 1.75rem;
  }

  .admin-login-quote {
    max-width: none;
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .admin-login-panel {
    padding: 1.75rem 1.25rem 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-login-visual-bg,
  .admin-login-visual-content,
  .admin-login-card {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Public booking page — Woodland-style availability + room picker
   -------------------------------------------------------------------------- */
body.page-booking.page-app .app-main,
.page-app.page-booking .app-main {
  padding: 0 0 5.5rem;
  background: #f4f1ea;
  overflow-x: clip;
}
/* Beat account.css `.page-app .app-container` so booking can go full-bleed */
body.page-booking.page-app .app-container,
.page-app.page-booking .app-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.page-app.page-booking .app-alert {
  margin: 1rem auto 0;
  width: min(1200px, calc(100% - 2rem));
}

.booking-page {
  --bk-gold: #c4a84a;
  --bk-gold-soft: #e3d9af;
  --bk-forest-deep: #121812;
  --bk-forest-mid: #1a2e1f;
  --bk-snow: #f7f4ec;
  display: block;
  width: 100%;
  max-width: 100%;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: #1c1a14;
}

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

.bk-container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.bk-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: rgba(247, 244, 236, 0.65);
}
.bk-crumbs a {
  color: rgba(227, 217, 175, 0.9);
  text-decoration: none;
}
.bk-crumbs a:hover { text-decoration: underline; }

.bk-top {
  background: linear-gradient(135deg, #121812, #1a2e1f 60%, #243d2c);
  color: var(--bk-snow);
  padding: calc(var(--header-h, 100px) + 1rem) 0 2.75rem;
}
.bk-top__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(227, 217, 175, 0.85);
  font-weight: 700;
}
.bk-top__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
}
.bk-top__lead {
  margin: 0.45rem 0 0;
  max-width: 36rem;
  color: rgba(247, 244, 236, 0.88);
  font-size: 0.95rem;
  line-height: 1.5;
}

.bk-avail.avail {
  position: relative;
  z-index: 5;
  margin-top: -2.15rem;
  padding-bottom: 0.35rem;
}

.avail__panel {
  background: linear-gradient(145deg, rgba(18, 24, 18, 0.98), rgba(26, 46, 31, 0.96) 55%, rgba(36, 61, 44, 0.97));
  border: 1px solid rgba(227, 217, 175, 0.22);
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(8, 12, 8, 0.35);
  padding: 1.15rem 1rem 1.2rem;
  color: var(--bk-snow);
}
.avail__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.avail__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(227, 217, 175, 0.85);
}
.avail__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
}
.avail__hint {
  margin: 0;
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f1410;
  background: linear-gradient(135deg, #efe6c2, #e3d9af);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.avail__form {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}
.avail__dates {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: stretch;
  min-width: 0;
}
.avail__chip {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(227, 217, 175, 0.2);
  border-radius: 14px;
  padding: 0.65rem 0.7rem;
  min-width: 0;
  cursor: pointer;
}
.avail__chip-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(227, 217, 175, 0.8);
}
.avail__chip input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0;
  min-height: 28px;
  outline: none;
  color-scheme: dark;
  font-family: inherit;
}
.avail__chip input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.9;
  filter: invert(1) brightness(1.25);
}
.avail__divider {
  align-self: center;
  color: rgba(227, 217, 175, 0.55);
  font-size: 1.1rem;
  font-weight: 700;
}
.avail__guests {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.avail__mini {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(227, 217, 175, 0.18);
  border-radius: 14px;
  padding: 0.55rem 0.55rem 0.6rem;
  min-width: 0;
}
.avail__mini span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(227, 217, 175, 0.75);
}
.avail__mini select {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  min-height: 32px;
  outline: none;
  padding: 0;
  color-scheme: dark;
  font-family: inherit;
}
.avail__mini select option {
  color: #1c1a14;
  background: #fff;
}
.avail__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, #efe6c2, #e3d9af 45%, #cbb97a);
  color: #0f1410;
  box-shadow: 0 10px 24px rgba(203, 185, 122, 0.28);
  transition: transform 0.2s ease;
  font-family: inherit;
  text-decoration: none;
}
.avail__cta:hover { transform: translateY(-1px); }
.avail__cta span { font-size: 1rem; font-weight: 800; }
.avail__cta small { font-size: 0.72rem; font-weight: 600; opacity: 0.75; }

.bk-main { padding: 0.85rem 0 2.5rem; }
.bk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.bk-rooms,
.bk-side {
  min-width: 0;
}

.bk-rooms__head { margin-bottom: 1rem; }
.bk-rooms__head h2 {
  margin: 0 0 0.3rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a2e1a;
}
.bk-rooms__head p {
  margin: 0;
  color: #6b5a3e;
  font-size: 0.92rem;
}

.bk-empty {
  background: #fff;
  border: 1px solid rgba(26, 46, 31, 0.1);
  border-radius: 16px;
  padding: 2rem 1.25rem;
  text-align: center;
  color: #6b5a3e;
}
.bk-empty p { margin: 0 0 1rem; }

.bk-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: #fff;
  border: 1px solid rgba(26, 46, 31, 0.1);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 8px 22px rgba(15, 20, 16, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bk-card.is-selected {
  border-color: #c4a84a;
  box-shadow: 0 12px 30px rgba(139, 105, 20, 0.16);
}
.bk-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #1a2e1f;
  min-width: 0;
}
.bk-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bk-card__imgprice {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  background: rgba(15, 20, 16, 0.82);
  color: var(--bk-gold-soft);
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
  line-height: 1.15;
  text-align: right;
}
.bk-card__imgprice strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.bk-card__imgprice span {
  font-size: 0.7rem;
  color: rgba(247, 244, 236, 0.75);
}
.bk-card__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.95rem 0.95rem 1.05rem;
  min-width: 0;
}
.bk-card__info,
.bk-card__deal {
  min-width: 0;
}
.bk-card__info h3 {
  margin: 0 0 0.4rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: #1a2e1a;
}
.bk-card__meta {
  margin: 0 0 0.65rem;
  color: #6b5a3e;
  font-size: 0.88rem;
}
.bk-card__tags {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.bk-card__tags li {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1a2e1a;
  background: rgba(45, 74, 52, 0.08);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}
.bk-card__perk {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1f6b3a;
}
.bk-card__deal {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem 0.85rem;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(26, 46, 31, 0.08);
}
.bk-card__price {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #1a2e1a;
  line-height: 1.1;
}
.bk-card__tax {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: #6b5a3e;
}
.bk-card__btn {
  grid-column: 1 / -1;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  background: linear-gradient(135deg, #efe6c2, #e3d9af 45%, #cbb97a);
  color: #0f1410;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.bk-card__btn:hover { transform: translateY(-1px); }
.bk-card.is-selected .bk-card__btn,
.bk-card__btn.is-selected {
  background: #1a2e1f;
  color: #e3d9af;
}

.bk-summary {
  background: #fff;
  border: 1px solid rgba(26, 46, 31, 0.1);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 10px 28px rgba(15, 20, 16, 0.06);
}
.bk-summary h3 {
  margin: 0 0 0.9rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a2e1a;
}
.bk-summary__empty p {
  margin: 0;
  color: #3a4038;
  font-size: 0.92rem;
  line-height: 1.5;
}
.bk-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(26, 46, 31, 0.07);
  font-size: 0.9rem;
  color: #3a4038;
}
.bk-summary__row strong {
  color: #1c1a14;
  text-align: right;
  font-weight: 600;
}
.bk-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
}
.bk-summary__total span { font-weight: 600; color: #1c1a14; }
.bk-summary__total strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a2e1a;
}

.bk-guest__note {
  margin: 1.1rem 0 0.85rem;
  font-size: 0.88rem;
  color: #5c655f;
  line-height: 1.45;
}
.bk-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  border-radius: 999px;
  background: linear-gradient(135deg, #efe6c2, #e3d9af 45%, #cbb97a);
  color: #0f1410;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(203, 185, 122, 0.28);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.bk-continue:hover { transform: translateY(-1px); }
.bk-continue.is-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}
.bk-guest .form-note {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: #5c655f;
  text-align: center;
}

.bk-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: #121812;
  border-top: 1px solid rgba(227, 217, 175, 0.2);
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  color: var(--bk-snow);
}
.bk-sticky[hidden] { display: none !important; }
.bk-sticky__box {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.bk-sticky__text strong {
  display: block;
  color: #e3d9af;
  font-size: 0.95rem;
}
.bk-sticky__text span {
  font-size: 0.8rem;
  color: rgba(247, 244, 236, 0.75);
}
.bk-sticky__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #efe6c2, #e3d9af);
  color: #0f1410;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
}

@media (max-width: 420px) {
  .bk-container { width: calc(100% - 1.25rem); }
  .avail__panel { padding: 1rem 0.85rem 1.05rem; border-radius: 18px; }
  .avail__dates { grid-template-columns: minmax(0, 1fr); }
  .avail__divider { display: none; }
  .avail__top { flex-direction: column; align-items: flex-start; gap: 0.55rem; }
  .avail__guests { gap: 0.35rem; }
  .avail__mini { padding: 0.45rem 0.4rem 0.5rem; }
}

@media (max-width: 767px) {
  .bk-top { padding: calc(var(--header-h, 88px) + 0.75rem) 0 2.5rem; }
  .bk-top__lead { font-size: 0.88rem; }
  .bk-avail.avail { margin-top: -1.85rem; }
  .bk-card__img { aspect-ratio: 16 / 11; }
  .bk-card__info h3 { font-size: 1.1rem; }
  .bk-card__content { padding: 0.85rem; }
  .bk-card__price { font-size: 1.35rem; }
  .bk-card__btn { min-height: 48px; }
  .bk-rooms__head h2 { font-size: 1.2rem; }
  .bk-summary { padding: 1rem; border-radius: 14px; }
  .page-booking .app-main { padding-bottom: 5.75rem; }
}

/* Tablet: room card image + content side-by-side */
@media (min-width: 640px) {
  .bk-card__btn {
    grid-column: auto;
    width: auto;
    min-width: 140px;
  }
  .bk-card__deal {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .bk-top { padding: calc(var(--header-h, 110px) + 1rem) 0 3rem; }
  .bk-avail.avail { margin-top: -2.25rem; }
  .avail__panel { padding: 1.25rem 1.2rem 1.3rem; }

  /* Dates + guests on one row, CTA full width below */
  .avail__form--booking {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 0.75rem;
  }
  .avail__cta {
    grid-column: 1 / -1;
    max-width: 320px;
    justify-self: end;
    min-width: 200px;
    padding: 0.75rem 1.2rem;
  }

  .bk-card {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: stretch;
  }
  .bk-card__img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 200px;
  }
  .bk-card__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .bk-card__content {
    padding: 1.1rem 1.15rem;
    align-content: center;
  }
}

/* Large tablet / small laptop: form in one row */
@media (min-width: 960px) {
  .avail__form--booking {
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.95fr) auto;
    gap: 0.85rem;
  }
  .avail__cta {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
    align-self: stretch;
    min-width: 180px;
    padding: 0.85rem 1.15rem;
  }
  .avail__panel { padding: 1.35rem 1.45rem 1.4rem; }

  .bk-card {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .bk-card__content {
    grid-template-columns: minmax(0, 1.35fr) minmax(160px, 0.85fr);
    align-items: center;
    gap: 1rem 1.15rem;
    padding: 1.15rem 1.25rem;
  }
  .bk-card__deal {
    border-top: 0;
    border-left: 1px solid rgba(26, 46, 31, 0.08);
    padding-top: 0;
    padding-left: 1rem;
    grid-template-columns: minmax(0, 1fr);
    justify-items: end;
    text-align: right;
    gap: 0.65rem;
  }
  .bk-card__pricebox { text-align: right; }
  .bk-card__btn {
    width: 100%;
    min-width: 0;
  }
}

/* Desktop: rooms + sticky summary sidebar */
@media (min-width: 1100px) {
  .bk-top { padding: calc(var(--header-h, 120px) + 1.15rem) 0 3.4rem; }
  .bk-avail.avail { margin-top: -2.6rem; }
  .bk-main { padding: 1.15rem 0 3rem; }

  .bk-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.5rem;
  }
  .bk-side {
    position: sticky;
    top: calc(var(--header-h, 124px) + 1rem);
    align-self: start;
  }
  .bk-sticky { display: none !important; }
  body.page-booking.page-app .app-main,
  .page-app.page-booking .app-main { padding-bottom: 2.5rem; }

  .bk-card {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .bk-card__content {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 180px);
    gap: 1rem 1.15rem;
    padding: 1.15rem 1.25rem;
  }
  .bk-card__info h3 { font-size: 1.3rem; }
  .bk-card__price { font-size: 1.55rem; }
  .bk-rooms__head h2 { font-size: 1.5rem; }
}

@media (min-width: 1280px) {
  .bk-container { width: min(1240px, calc(100% - 2.5rem)); }
  .bk-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.75rem;
  }
  .bk-card {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .bk-card__content {
    grid-template-columns: minmax(0, 1.4fr) minmax(160px, 200px);
    padding: 1.25rem 1.35rem;
  }
  .bk-card__info h3 { font-size: 1.4rem; }
  .bk-card__price { font-size: 1.7rem; }
}

/* --------------------------------------------------------------------------
   Checkout — premium guest details + sticky summary
   -------------------------------------------------------------------------- */
body.page-checkout.page-app .app-main {
  padding: 0 0 5.5rem;
  background: #f4f1ea;
  overflow-x: clip;
}
body.page-checkout.page-app .app-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.page-checkout.page-app .app-alert {
  width: min(1200px, calc(100% - 2rem));
  margin: 1rem auto 0;
}

.checkout-page .co-top {
  padding-bottom: 2.25rem;
}

.co-steps {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.co-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(227, 217, 175, 0.18);
  color: rgba(247, 244, 236, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
}
.co-step span {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
}
.co-step.is-done {
  color: #e3d9af;
  border-color: rgba(227, 217, 175, 0.35);
}
.co-step.is-done span {
  background: #e3d9af;
  color: #121812;
}
.co-step.is-active {
  background: linear-gradient(135deg, #efe6c2, #e3d9af);
  border-color: transparent;
  color: #0f1410;
}
.co-step.is-active span {
  background: #1a2e1f;
  color: #e3d9af;
}

.co-main {
  padding: 1.25rem 0 2rem;
  margin-top: -0.35rem;
}
.co-alert { margin-bottom: 1rem !important; }

.co-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.co-primary,
.co-side {
  min-width: 0;
}

.co-card {
  background: #fff;
  border: 1px solid rgba(26, 46, 31, 0.1);
  border-radius: 18px;
  padding: 1.2rem 1.15rem 1.3rem;
  box-shadow: 0 10px 28px rgba(15, 20, 16, 0.05);
  margin-bottom: 1rem;
}
.co-card__head {
  margin-bottom: 1.1rem;
}
.co-card__head h2 {
  margin: 0 0 0.3rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a2e1a;
}
.co-card__head p {
  margin: 0;
  color: #6b5a3e;
  font-size: 0.9rem;
  line-height: 1.45;
}

.co-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}
.co-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b5a3e;
}
.co-field label span {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  opacity: 0.75;
}
.co-field input,
.co-field textarea {
  width: 100%;
  border: 1px solid rgba(26, 46, 31, 0.14);
  border-radius: 12px;
  background: #fff;
  padding: 0.85rem 0.95rem;
  font: inherit;
  font-size: 0.98rem;
  color: #1c1a14;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.co-field textarea { resize: vertical; min-height: 96px; }
.co-field input::placeholder,
.co-field textarea::placeholder { color: #9aa39c; }
.co-field input:focus,
.co-field textarea:focus {
  outline: none;
  border-color: #c4a84a;
  box-shadow: 0 0 0 3px rgba(196, 168, 74, 0.18);
}

.co-coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
  margin-bottom: 0.35rem;
}
.co-field--grow { flex: 1 1 180px; min-width: 0; }
.co-coupon__btn {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(26, 46, 31, 0.18);
  border-radius: 999px;
  background: #f7f3ea;
  color: #1a2e1a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.co-coupon__btn:hover { background: #efe6c2; }
.co-coupon__msg {
  margin: 0.35rem 0 1rem;
  font-size: 0.86rem;
}
.co-coupon__msg.is-ok { color: #1f6b3a; font-weight: 600; }
.co-coupon__msg.is-err { color: #8b2e2e; }

.co-pay {
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}
.co-pay legend {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b5a3e;
}
.co-pay__option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0 0 0.65rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(26, 46, 31, 0.12);
  border-radius: 14px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.co-pay__option:has(input:checked) {
  border-color: #c4a84a;
  box-shadow: 0 0 0 3px rgba(196, 168, 74, 0.14);
  background: linear-gradient(180deg, #fffef9, #fbf7ee);
}
.co-pay__option.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.co-pay__option input {
  margin-top: 0.2rem;
  accent-color: #1a2e1f;
  flex-shrink: 0;
}
.co-pay__box {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}
.co-pay__box strong {
  font-size: 0.98rem;
  color: #1a2e1a;
}
.co-pay__box small {
  color: #6b5a3e;
  font-size: 0.84rem;
  line-height: 1.4;
}

.co-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 0.35rem;
}
.co-back {
  color: #5c655f;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}
.co-back:hover { color: #1a2e1a; text-decoration: underline; }
.co-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #efe6c2, #e3d9af 45%, #cbb97a);
  color: #0f1410;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(203, 185, 122, 0.28);
  transition: transform 0.2s ease;
}
.co-submit:hover { transform: translateY(-1px); }
.co-submit:disabled { opacity: 0.7; cursor: wait; transform: none; }

.co-summary {
  background: #fff;
  border: 1px solid rgba(26, 46, 31, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 20, 16, 0.07);
}
.co-summary__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #1a2e1f;
}
.co-summary__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.co-summary__badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 20, 16, 0.82);
  color: #e3d9af;
  font-size: 0.78rem;
  font-weight: 700;
}
.co-summary__body { padding: 1.15rem 1.15rem 1.25rem; }
.co-summary__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #a86e12;
}
.co-summary__body h3 {
  margin: 0 0 0.9rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a2e1a;
  line-height: 1.2;
}
.co-summary__meta {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.co-summary__meta li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #5c655f;
}
.co-summary__meta strong {
  color: #1c1a14;
  text-align: right;
  font-weight: 600;
}
.co-summary__lines {
  border-top: 1px solid rgba(26, 46, 31, 0.08);
  padding-top: 0.65rem;
}
.co-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: #3a4038;
}
.co-summary__row strong { color: #1c1a14; font-weight: 600; }
.co-summary__row.is-discount,
.co-summary__row.is-discount strong { color: #1f6b3a; }
.co-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(26, 46, 31, 0.1);
}
.co-summary__total span {
  font-weight: 700;
  color: #1a2e1a;
}
.co-summary__total strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #1a2e1a;
}
.co-summary__note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1f6b3a;
}

.co-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: #121812;
  border-top: 1px solid rgba(227, 217, 175, 0.2);
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  color: #f7f4ec;
}
.co-sticky__box {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.co-sticky__text strong {
  display: block;
  color: #e3d9af;
  font-size: 0.92rem;
}
.co-sticky__text span {
  font-size: 0.8rem;
  color: rgba(247, 244, 236, 0.75);
}
.co-sticky__btn {
  flex-shrink: 0;
  min-height: 42px;
  padding: 0.55rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #efe6c2, #e3d9af);
  color: #0f1410;
  font: inherit;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
}

.co-actions--desktop { display: none; }

@media (max-width: 640px) {
  .checkout-page .co-top { padding-bottom: 1.85rem; }
  .co-card { padding: 1.05rem 0.95rem 1.15rem; border-radius: 16px; }
  .co-card__head h2 { font-size: 1.25rem; }
  .co-summary__body { padding: 1rem; }
  .co-summary__body h3 { font-size: 1.25rem; }
  body.page-checkout.page-app .app-main { padding-bottom: 5.75rem; }
}

@media (min-width: 640px) {
  .co-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .co-field--full { grid-column: 1 / -1; }
  .co-card { padding: 1.35rem 1.35rem 1.45rem; }
}

@media (min-width: 960px) {
  .co-main { padding: 1.5rem 0 2.75rem; }
  .co-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 380px);
    gap: 1.5rem;
  }
  .co-side {
    position: sticky;
    top: calc(var(--header-h, 124px) + 1rem);
  }
  .co-actions--desktop { display: flex; }
  .co-sticky { display: none !important; }
  body.page-checkout.page-app .app-main { padding-bottom: 2.5rem; }
}

@media (min-width: 1100px) {
  .co-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.75rem;
  }
  .co-card__head h2 { font-size: 1.5rem; }
  .co-summary__total strong { font-size: 1.7rem; }
}

/* Fallback when :has() unsupported — keep usable radios */
@supports not selector(:has(*)) {
  .co-pay__option { border-color: rgba(26, 46, 31, 0.14); }
}
