/* ===== Booking flow (book.html) ===== */
.bookpage { background: var(--cream); min-height: 100vh; }

.bk-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 6vw; border-bottom: 1px solid rgba(17,17,17,0.07); background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 50; }
.bk-brand { display: flex; align-items: center; gap: 11px; color: var(--ink-2); }
.bk-brand img { width: 36px; height: 36px; object-fit: contain; }
.bk-brand span { font-family: var(--serif); font-weight: 800; font-size: 20px; letter-spacing: -0.5px; }
.bk-back { font-size: 13px; font-weight: 700; color: var(--muted-2); }
.bk-back:hover { color: var(--ink-2); }

.bk-wrap { max-width: 760px; margin: 0 auto; padding: 40px 24px 90px; }

/* Stepper */
.bk-steps { display: flex; align-items: center; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0 0 30px; flex-wrap: wrap; }
.bk-steps li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em; color: #aaa; }
.bk-steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #ECE9DF; color: #999; font-size: 13px; transition: all 0.3s var(--ease); }
.bk-steps li.is-on { color: var(--ink-2); }
.bk-steps li.is-on span { background: var(--gold); color: var(--ink-2); }
.bk-steps li.is-done span { background: var(--ink); color: var(--gold); }
.bk-steps li:not(:last-child)::after { content: ""; width: 28px; height: 2px; background: #E2DED2; margin-left: 4px; }

.bk-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 38px; box-shadow: 0 24px 60px rgba(11,11,11,0.06); }
.bk-head { margin-bottom: 26px; }
.bk-h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.01em; margin: 14px 0 0; color: var(--ink-2); }
.bk-h1 em { font-style: italic; color: var(--gold-text); }
.bk-sub { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 12px 0 0; }

/* Forms */
#detailsForm label, .bk-field-label { display: grid; gap: 7px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); margin-bottom: 16px; }
.bk-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-grid2 label { margin-bottom: 0; }
#detailsForm { display: block; }
.bk-grid2 + .bk-grid2, #detailsForm > label, .bk-addons, .bk-packages { margin-bottom: 16px; }
input, select, textarea { font-family: var(--sans); font-size: 15px; font-weight: 500; padding: 13px 15px; border: 1.5px solid #E2DFD4; border-radius: 13px; background: #fff; width: 100%; color: var(--ink-2); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,199,0,0.22); }
textarea { resize: vertical; }

/* Package picker */
.bk-field-label { margin-bottom: 10px; }
.bk-packages { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-pkg { text-align: left; cursor: pointer; border: 1.5px solid #E6E2D6; border-radius: 16px; padding: 16px 18px; background: #fff; transition: all 0.25s var(--ease); display: flex; flex-direction: column; gap: 3px; }
.bk-pkg:hover { border-color: var(--gold); transform: translateY(-2px); }
.bk-pkg.sel { border-color: var(--ink-2); box-shadow: 0 0 0 2px var(--ink-2) inset; }
.bk-pkg__tier { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.bk-pkg__name { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--ink-2); }
.bk-pkg__price { font-weight: 800; font-size: 16px; color: var(--ink-2); margin-top: 2px; }
.bk-pkg__price small { font-weight: 600; font-size: 11px; color: #999; }

/* Pets (multi) */
.bk-pet { border:1.5px solid #E6E2D6; border-radius:16px; padding:16px; margin-bottom:12px; background:#fffdf8; }
.bk-pet__top { display:grid; grid-template-columns:1.4fr 1fr auto; gap:10px; align-items:end; }
.bk-pet__top label { margin-bottom:0; }
.bk-pet__rm { border:none; background:none; color:#c62828; font-weight:800; font-size:18px; cursor:pointer; padding:0 4px; line-height:2.4; }
.bk-pet__pkgs { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:8px; margin-top:12px; }
.bk-addpet { background:none; border:1.5px dashed #d8c98a; color:var(--gold-text); font-weight:800; font-size:13.5px; padding:11px 18px; border-radius:13px; cursor:pointer; width:100%; margin-bottom:16px; }
.bk-addpet:hover { background:rgba(255,199,0,.08); }

/* Add-ons */
.bk-addons-head { font-size: 12.5px; font-weight: 800; color: var(--ink-2); margin-bottom: 10px; }
.bk-addons-head span { font-weight: 600; color: #999; }
.bk-addons-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk-addon { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border: 1.5px solid #E6E2D6; border-radius: 13px; cursor: pointer; transition: all 0.2s; font-size: 13.5px; font-weight: 600; color: #555; }
.bk-addon:hover { border-color: var(--gold); }
.bk-addon.on { border-color: var(--gold); background: rgba(255,199,0,0.1); color: var(--ink-2); }
.bk-addon b { font-weight: 800; }
.bk-addon .chk { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid #ccc; flex: none; display: grid; place-items: center; font-size: 11px; color: transparent; }
.bk-addon.on .chk { background: var(--gold); border-color: var(--gold); color: var(--ink-2); }

/* Products / upsell */
.bk-products { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-product { border: 1.5px solid #E6E2D6; border-radius: 18px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: border-color 0.25s; }
.bk-product.in-cart { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(255,199,0,0.4) inset; }
.bk-product__img { height: 150px; background: #eee; }
.bk-product__img img { width: 100%; height: 100%; object-fit: cover; }
.bk-product__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.bk-product__cat { font-size: 9.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #aaa; }
.bk-product__name { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--ink-2); }
.bk-product__desc { font-size: 12.5px; line-height: 1.5; color: #777; flex: 1; }
.bk-product__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.bk-product__price { font-weight: 800; font-size: 15px; color: var(--ink-2); }
.bk-add { border: 1.5px solid var(--ink-2); background: #fff; color: var(--ink-2); font-weight: 800; font-size: 12.5px; padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: all 0.2s; }
.bk-add:hover { background: var(--ink-2); color: #fff; }
.bk-qty { display: flex; align-items: center; gap: 10px; }
.bk-qty button { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink-2); background: #fff; font-weight: 800; cursor: pointer; font-size: 15px; line-height: 1; }
.bk-qty b { min-width: 16px; text-align: center; font-weight: 800; }

/* Actions */
.bk-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.bk-actions--split { justify-content: space-between; }
.bk-actions-right { display: flex; align-items: center; gap: 18px; }
.bk-running { display: flex; flex-direction: column; }
.bk-running span { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #999; }
.bk-running b { font-family: var(--serif); font-weight: 800; font-size: 26px; color: var(--ink-2); }
.bk-link-back { background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--muted-2); margin-top: 20px; padding: 0; }
.bk-link-back:hover { color: var(--ink-2); }

/* Summary */
.bk-summary { display: flex; flex-direction: column; gap: 2px; }
.bk-srow { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed #E6E2D6; }
.bk-srow__label { font-size: 14.5px; color: #444; }
.bk-srow__label small { display: block; font-size: 12px; color: #999; }
.bk-srow__val { font-weight: 800; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; }
.bk-srow--head { font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--ink-2); border-bottom: none; padding-bottom: 4px; }
.bk-stotal { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding-top: 16px; border-top: 2px solid var(--ink-2); }
.bk-stotal span { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #999; }
.bk-stotal b { font-family: var(--serif); font-weight: 800; font-size: 32px; color: var(--ink-2); }
.bk-paynote { font-size: 13px; color: #888; margin-top: 14px; text-align: center; }

.bk-status { min-height: 22px; text-align: center; font-weight: 700; font-size: 14px; margin: 16px 0 0; }
.bk-status.err { color: #c62828; }
.bk-status.ok { color: #1c7d3a; }
.bk-loading { color: #999; font-size: 14px; padding: 20px 0; }

/* Success */
.bk-success { text-align: center; }
.bk-success-mark { width: 70px; height: 70px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-size: 34px; margin: 0 auto 18px; box-shadow: 0 14px 34px rgba(255,199,0,0.4); }
.bk-done-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

.is-hidden { display: none !important; }

@media (max-width: 620px) {
  .bk-card { padding: 26px 20px; }
  .bk-grid2, .bk-packages, .bk-addons-list, .bk-products { grid-template-columns: 1fr; }
  .bk-pet { position: relative; }
  .bk-pet__top { grid-template-columns: 1fr 1fr; }
  .bk-pet__rm { position: absolute; top: 8px; right: 8px; line-height: 1; }
  .bk-steps li:not(:last-child)::after { width: 14px; }
  .bk-steps { gap: 6px; }
  .bk-h1 { font-size: 26px; }
  .bk-actions { flex-direction: column-reverse; align-items: stretch; }
  .bk-actions .btn { width: 100%; }
  .bk-actions-right { flex-direction: column-reverse; align-items: stretch; width: 100%; }
  .bk-running { align-items: center; }
}
