/* Book a stay (#/stay, owner 28-Nov-2026). Hotel-app pattern in the Goldys gold system: one raised search card,
   photo-led room cards, bed tiles with the total for her dates, a sticky pay bar, a price calendar sheet. */
.st { padding-bottom: 120px; }
.st-hero { margin: var(--s3) 0 var(--s4); }
.st-hero__eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 var(--s2); font-size: var(--fs-13); font-weight: 650; letter-spacing: 0.02em; color: var(--accent-text); }
.st-hero__title { font-family: var(--font-display); font-weight: 750; font-size: clamp(2rem, 8vw, 2.9rem); line-height: 1.04; letter-spacing: -0.03em; margin: 0; }
.st-hero__sub { margin: var(--s2) 0 0; color: var(--text-2); font-size: var(--fs-17); line-height: 1.45; max-width: 44ch; }

/* Search card */
.st-search { display: grid; gap: var(--s3); padding: var(--s3); }
.st-dates { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s2);
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; background: var(--surface); min-height: 72px; }
.st-dates:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 2px; }
.st-date { display: grid; gap: 2px; min-width: 0; }
.st-date--end { text-align: right; }
.st-date__k { font-size: var(--fs-12, 0.75rem); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3, var(--text-2)); font-weight: 650; }
.st-date__v { font-weight: 700; font-size: var(--fs-17); white-space: nowrap; }
.st-date__t { font-size: var(--fs-13); color: var(--text-2); }
.st-dates__n { font-size: var(--fs-13); font-weight: 700; color: var(--accent-text); background: var(--accent-tint); border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.st-filters { display: flex; gap: var(--s2); flex-wrap: wrap; }
.st-chip { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: var(--fs-15); color: var(--text); background: var(--surface); }
.st-chip.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.st-chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.st-count { margin: 0; font-weight: 650; color: var(--text-2); }

/* Room cards */
.st-rooms { display: grid; gap: var(--s4); }
@media (min-width: 860px) { .st-rooms { grid-template-columns: 1fr 1fr; } }
.st-room { padding: 0; overflow: hidden; display: grid; }
.st-room__media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(160deg, var(--accent-tint), var(--accent-tint-2)); }
.st-room__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-room__art { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent-text); opacity: 0.55; }
.st-room__art .icon { width: 56px; height: 56px; }
.st-room__price { position: absolute; left: 12px; bottom: 12px; background: rgba(20, 16, 8, 0.78); color: #fff; border-radius: 12px; padding: 6px 10px; display: inline-flex; align-items: baseline; gap: 3px; backdrop-filter: blur(6px); }
.st-room__price b { font-size: var(--fs-17); }
.st-room__price small { font-size: 0.75rem; opacity: 0.85; }
.st-room__body { padding: var(--s3) var(--s3) var(--s4); display: grid; gap: var(--s2); }
.st-room__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); }
.st-room__name { margin: 0; font-family: var(--font-display); font-size: var(--fs-20, 1.25rem); font-weight: 700; letter-spacing: -0.01em; }
.st-room__floor { font-size: var(--fs-13); color: var(--text-2); white-space: nowrap; }
.st-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.st-tag { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-13); font-weight: 600; color: var(--text-2); background: var(--surface-2, var(--bg)); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.st-room__k { margin: var(--s2) 0 0; font-size: var(--fs-13); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); }
.st-beds { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: var(--s2); }
.st-bed { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; gap: 2px; padding: 12px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--text) 16%, transparent); background: var(--surface); min-height: 96px; }
.st-bed:hover { border-color: var(--accent); }
.st-bed:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.st-bed.is-on { border-color: var(--accent); background: var(--accent-tint); box-shadow: 0 0 0 1px var(--accent) inset; }
.st-bed__name { font-weight: 700; }
.st-bed__facts { font-size: var(--fs-12, 0.75rem); color: var(--text-2); min-height: 1em; }
.st-bed__total { font-weight: 750; font-size: var(--fs-17); margin-top: 4px; }
.st-bed__per { font-size: var(--fs-12, 0.75rem); color: var(--text-2); }
.st-bed__tick { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }

/* Sticky pay bar */
.st-bar { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h, 0px) + env(safe-area-inset-bottom)); z-index: 30; padding: 10px 16px; background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-top: 1px solid var(--line); backdrop-filter: blur(14px); animation: st-up 260ms var(--ease, ease) both; }
.st-bar__in { max-width: 760px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.st-bar__total { font-weight: 800; font-size: var(--fs-20, 1.25rem); }
.st-bar__sub { font-size: var(--fs-13); color: var(--text-2); }
@keyframes st-up { from { transform: translateY(100%); } to { transform: none; } }

/* Calendar */
.st-cal { display: grid; gap: var(--s3); }
.st-cal__hint { margin: 0; font-weight: 600; min-height: 1.4em; }
.st-cal__mname { margin: var(--s2) 0; font-size: var(--fs-15); font-weight: 750; }
.st-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.st-cal__w { text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--text-2); padding-bottom: 4px; }
.st-day { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; gap: 0; min-height: 52px; border-radius: 12px; padding: 4px 0; }
.st-day:hover:not(:disabled) { background: var(--accent-tint); }
.st-day:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.st-day__n { font-weight: 700; font-size: var(--fs-15); }
.st-day__p { font-size: 0.68rem; color: var(--success); font-weight: 650; }
.st-day.is-wk .st-day__p { color: var(--accent-text); }
.st-day.is-full { cursor: not-allowed; }
.st-day.is-full .st-day__n { color: var(--text-3, var(--text-2)); text-decoration: line-through; }
.st-day.is-full .st-day__p { color: var(--text-3, var(--text-2)); }
.st-day.is-in { background: var(--accent-tint); border-radius: 0; }
.st-day.is-edge, .st-day.is-edge:hover:not(:disabled) { background: var(--accent); color: #fff; }
.st-day.is-edge .st-day__p { color: #fff; opacity: 0.9; }
.st-cal__foot { display: flex; justify-content: space-between; gap: var(--s2); position: sticky; bottom: 0; background: var(--surface); padding-top: var(--s2); }

/* Confirm sheet */
.st-sum { display: grid; gap: var(--s3); }
.st-sum__bed { display: flex; gap: var(--s3); align-items: center; }
.st-sum__bed > .icon { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-text); }
.st-sum__bed div { display: grid; }
.st-sum__bed span { font-size: var(--fs-13); color: var(--text-2); }
.st-sum__dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s2); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.st-sum__dates div { display: grid; }
.st-sum__dates div:last-child { text-align: right; }
.st-sum__dates span { font-size: var(--fs-12, 0.75rem); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); font-weight: 650; }
.st-sum__nights summary { cursor: pointer; font-weight: 650; min-height: 40px; display: flex; align-items: center; }
.st-sum__nights ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.st-sum__nights li { display: flex; justify-content: space-between; font-size: var(--fs-15); }
.st-sum__nights small { color: var(--accent-text); font-weight: 650; }
.st-sum__money { border-top: 1px dashed var(--line); padding-top: var(--s2); display: grid; gap: 6px; }
.st-sum__row { display: flex; justify-content: space-between; gap: var(--s2); }
.st-sum__row--now { font-weight: 800; font-size: var(--fs-17); color: var(--accent-text); }
.st-signin, .st-pay { display: grid; gap: var(--s2); }
.st-link { all: unset; cursor: pointer; color: var(--accent-text); font-weight: 650; text-decoration: underline; min-height: 40px; display: inline-flex; align-items: center; }
.st-terms { border: 1px solid var(--line); border-radius: 14px; padding: var(--s3); font-size: var(--fs-15); line-height: 1.5; background: var(--surface-2, var(--bg)); }
.st-terms ol { margin: var(--s2) 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.st-terms ul { margin: 4px 0 0; padding-left: 1.1em; }

/* My bookings */
.st-mine { display: grid; gap: var(--s3); }
.st-mine__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s2); }
.st-mine__head h2 { margin: 0; }
.st-mine__acts { display: flex; flex-wrap: wrap; gap: var(--s2); }

@media (prefers-reduced-motion: reduce) { .st-bar { animation: none; } }

/* Sign-in welcome card: "or" divider under Continue with Google */
.login-or { display: flex; align-items: center; gap: var(--s3); margin: 0; color: var(--text-2); font-size: var(--fs-13); font-weight: 600; }
.login-or::before, .login-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Strictly women only (owner 29-Nov-2026): pill on the page head, banner at sign-in and at booking */
.st-women-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s3); padding: 6px 12px; border-radius: 999px; background: #8E1F4E; color: #fff; font-weight: 700; font-size: var(--fs-13); letter-spacing: 0.02em; }
.st-women { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #C2185B; background: color-mix(in srgb, #C2185B 8%, var(--surface)); }
.st-women > .icon { color: #C2185B; flex: none; margin-top: 2px; }
.st-women div { display: grid; gap: 2px; }
.st-women b { color: #8E1F4E; font-size: var(--fs-15); }
.st-women span { font-size: var(--fs-13); color: var(--text); line-height: 1.45; }
@media (prefers-color-scheme: dark) { .st-women b { color: #F48FB1; } .st-women > .icon { color: #F48FB1; } }

/* Room picking (owner 29-Nov-2026: the PG allots the bed) */
.st-room__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); }
.st-room__total { font-weight: 800; font-size: var(--fs-20, 1.25rem); }
.st-room__per { font-size: var(--fs-13); color: var(--text-2); }
.st-pickroom { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 700;
  border: 1.5px solid var(--accent); color: var(--accent-text); background: var(--surface); white-space: nowrap; }
.st-pickroom:hover { background: var(--accent-tint); }
.st-pickroom.is-on { background: var(--accent); color: #fff; }
.st-pickroom:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.st-room__note { display: flex; align-items: center; gap: 6px; margin: 0; font-size: var(--fs-13); color: var(--text-2); }
