/* Booking site. Brand colors come from Settings → Branding. */
:root { --ink: #1b2430; --muted: #5d6b7a; --line: #dfe4ea; --canvas: #f6f7f9; }
body.pub { background: var(--canvas); color: var(--ink); display: flex; flex-direction: column; min-height: 100vh; }
.pub-main { flex: 1; padding-bottom: 3rem; }
.pub-header { background: #fff; border-bottom: 3px solid var(--brand); padding: .8rem 0; }
.pub-brand { font-weight: 800; font-size: 1.2rem; color: var(--brand-dark); text-decoration: none; letter-spacing: -.01em; }
.pub-brand img { max-height: 44px; max-width: 220px; }
.pub-header nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.pub-footer { background: var(--brand-dark); color: rgba(255,255,255,.8); padding: 1.5rem 0; font-size: .9rem; }
.pub-footer a { color: #fff; }

.pub-hero { padding: 2.25rem 0 1.25rem; }
.pub-hero h1 { font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 .4rem; }
.pub-hero p { color: var(--muted); max-width: 62ch; margin: 0; }

.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .75rem; row-gap: .15rem; margin: 1.75rem 0 .75rem; }
.cat-head h2 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.cat-head p { color: var(--muted); margin: 0; }

.p-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; height: 100%; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.p-card:hover { border-color: var(--brand); }
.p-card .img { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); background-size: cover; background-position: center; }
.p-card .img.noimg { aspect-ratio: 3/1; display: grid; place-items: center; color: rgba(255,255,255,.75); font-size: 2rem; }
.p-card .body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.p-card h3 { font-size: 1.08rem; font-weight: 700; margin: 0; }
.p-card .sum { color: var(--muted); font-size: .92rem; margin: 0; }
.p-card .price { margin-top: auto; font-weight: 600; color: var(--brand); }

.p-hero-img { border-radius: 12px; aspect-ratio: 21/9; background-size: cover; background-position: center; margin-bottom: 1.25rem; }
.p-desc { line-height: 1.65; max-width: 70ch; }
.book-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; }
@media (min-width: 992px) { .book-box { position: sticky; top: 1rem; } }
.book-box h2 { font-size: 1.1rem; font-weight: 700; }
.step-label { font-weight: 650; font-size: .92rem; margin: 1rem 0 .4rem; }
.step-label:first-of-type { margin-top: 0; }

.dep-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .5rem; }
.dep-opt input { position: absolute; opacity: 0; }
.dep-opt label { display: block; border: 1px solid var(--line); border-radius: 8px; padding: .5rem .6rem; cursor: pointer; text-align: center; }
.dep-opt label small { display: block; color: var(--muted); }
.dep-opt input:checked + label { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: rgba(var(--bs-primary-rgb), .06); }
.dep-opt input:disabled + label { opacity: .45; cursor: not-allowed; }
.dep-opt input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; }

.veh-opt { display: flex; gap: .75rem; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: .6rem .75rem; cursor: pointer; }
.veh-opt + .veh-opt { margin-top: .5rem; }
.veh-opt:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.veh-opt img { width: 72px; height: 48px; object-fit: cover; border-radius: 6px; }

.qty { display: flex; align-items: center; justify-content: space-between; padding: .35rem 0; }
.qty .ctl { display: flex; align-items: center; gap: .25rem; }
.qty .ctl input { width: 56px; text-align: center; }
.qty .ctl button { width: 34px; height: 34px; border-radius: 50%; }

.price-box { border-top: 1px dashed var(--line); margin-top: 1rem; padding-top: .75rem; font-size: .92rem; }
.price-box .total { font-size: 1.15rem; font-weight: 700; }

.sheet { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; }
.sheet + .sheet { margin-top: 1rem; }
.sheet h2 { font-size: 1.1rem; font-weight: 700; }
.stops { list-style: none; padding: 0; margin: 0; }
.stops li { position: relative; padding: 0 0 .6rem 1.4rem; }
.stops li::before { content: ""; position: absolute; left: 4px; top: .45rem; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-2); }
.stops li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 1rem; bottom: -.1rem; border-left: 2px dashed var(--line); }
.status-band { border-left: 4px solid var(--brand); }
.contract-box { max-height: 340px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; padding: 1rem; background: #fbfcfd; font-size: .9rem; }
.repeat-row + .repeat-row { margin-top: .5rem; }
.is-embed .pub-main { padding-bottom: 1rem; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
