/* Offerings: packages, options sheet, gift cards, promise, expert extras. Neutral surfaces, one accent, tokens only (docs/DESIGN.md). */
.of-sec { padding: clamp(28px, 5vw, 64px) var(--pad) 0; }
.of-sec:last-child { padding-bottom: clamp(36px, 6vw, 80px); }
.of-sec h2, .of-sx h2, .of-xp h2 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.02em; margin: 0 0 14px; }
.of-page { padding: 16px var(--pad) 96px; }
.of-page.narrow { max-width: 720px; margin-inline: auto; width: 100%; }
.of-pagehead { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.of-pagehead h1 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.025em; }
.of-lead { color: var(--ink-2); font-size: var(--fs-4); max-width: 60ch; }
.of-help { color: var(--muted); font-size: var(--fs-2); margin: 6px 0 0; }
.of-help.center { text-align: center; }
.of-note { color: var(--muted); font-size: var(--fs-2); margin: 10px 0 0; }
.of-more { margin: 14px 0 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.of-flash { padding: 12px 16px; border-radius: var(--r-m); background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 12px; }
.of-empty { display: grid; gap: 8px; justify-items: start; padding: 28px; border-radius: var(--r-m); border: 1px dashed var(--line-strong); color: var(--muted); }
.of-empty b { color: var(--ink); font-size: var(--fs-4); }

/* cards */
.of-grid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.of-card { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.of-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.of-media picture, .of-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.of-tag { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: var(--r-p); background: var(--scrim); color: var(--on-photo); font-size: var(--fs-1); font-weight: 700; }
.of-body { display: grid; gap: 6px; padding: 16px; align-content: start; }
.of-body h3 { font-size: var(--fs-4); letter-spacing: -.01em; }
.of-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.of-sub { color: var(--ink-2); font-size: var(--fs-3); margin: 0; }
.of-meta { color: var(--muted); font-size: var(--fs-2); margin: 0; }
.of-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.of-foot [data-svc] { position: relative; z-index: 2; }
.of-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.of-price b { font-size: var(--fs-5); letter-spacing: -.02em; }
.of-price s { color: var(--muted); font-size: var(--fs-2); }
.of-save { flex-basis: 100%; color: var(--ok); font-size: var(--fs-2); font-weight: 700; }
.of-price.lg b { font-size: var(--fs-6); }
.of-price.lg { flex-wrap: nowrap; }

/* package page */
.of-detail { display: grid; gap: 28px; padding: 8px var(--pad) 0; }
.of-detail-main { display: grid; gap: clamp(26px, 4vw, 40px); min-width: 0; align-content: start; }
.of-hero { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; margin-inline: calc(var(--pad) * -1); }
.of-hero picture, .of-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.of-head h1 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; }
.of-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; color: var(--ink-2); font-size: 14.5px; }
.of-facts span { display: inline-flex; gap: 6px; align-items: center; } .of-facts .i { width: 16px; height: 16px; }
.of-inc { list-style: none; margin: 0; padding: 0; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.of-inc li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
.of-inc li + li { border-top: 1px solid var(--line); }
.of-inc a { display: grid; gap: 2px; min-width: 0; } .of-inc a span { color: var(--muted); font-size: var(--fs-2); }
.of-inc a:hover b { text-decoration: underline; }
.of-inc s { color: var(--muted); white-space: nowrap; }
.of-side { display: none; }
.of-panel { display: grid; gap: 14px; padding: 24px; border-radius: var(--r-m); background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.of-savebar { margin: 0; color: var(--ok); font-weight: 700; font-size: var(--fs-3); }
.of-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.of-list li { display: flex; gap: 10px; align-items: center; } .of-list .i { width: 18px; height: 18px; color: var(--ink); }
.of-panel [data-svc] .add, .of-panel [data-svc] .stepper { width: 100%; justify-content: center; height: 50px; }
.of-panel [data-svc] .stepper { justify-content: space-between; }
@media (min-width: 1024px) {
  .of-detail { grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 5vw, 80px); align-items: start; }
  .of-hero { margin-inline: 0; border-radius: var(--r-m); aspect-ratio: 16 / 10; }
  .of-side { display: block; position: sticky; top: calc(var(--top-h, 60px) + 20px); }
}

/* earliest chip */
.of-earliest { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-m); background: var(--surface-2); color: var(--ink-2); font-size: var(--fs-3); }
.of-earliest[hidden] { display: none; }
.of-earliest .i { width: 18px; height: 18px; color: var(--ink); }
.of-earliest b { color: var(--ink); }
.of-sx { display: grid; gap: clamp(26px, 4vw, 40px); }
.of-sx > section > h2 { margin-bottom: 12px; }

/* trust */
.of-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.of-trust li { display: flex; gap: 12px; align-items: flex-start; }
.of-trust .i { width: 22px; height: 22px; margin-top: 1px; color: var(--ink); }
.of-trust b { display: block; font-size: var(--fs-3); } .of-trust span { display: block; color: var(--muted); font-size: var(--fs-2); }
.of-trust.compact { display: flex; flex-wrap: wrap; gap: 8px; }
.of-trust.compact li { align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-p); box-shadow: inset 0 0 0 1px var(--line); }
.of-trust.compact .i { width: 16px; height: 16px; margin: 0; } .of-trust.compact b { font-size: var(--fs-2); font-weight: 600; }
.of-promise { display: grid; gap: clamp(22px, 3vw, 40px) clamp(24px, 4vw, 56px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.of-promise article { display: grid; gap: 8px; align-content: start; }
.of-promise .i { width: 28px; height: 28px; } .of-promise h3 { font-size: var(--fs-4); } .of-promise p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.of-split { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 900px) { .of-split { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.of-steps { margin: 0; padding-left: 22px; display: grid; gap: 12px; color: var(--ink-2); max-width: 56ch; }
.of-steps b { color: var(--ink); }
.of-checks { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }

/* forms */
.of-form { display: grid; gap: 16px; align-content: start; max-width: 520px; }
.of-field { display: grid; gap: 6px; }
.of-field label, .of-amounts legend, .of-opts legend, .of-tags legend { font-weight: 600; font-size: var(--fs-3); }
.of-field input { min-height: 48px; padding: 0 14px; border-radius: var(--r-field); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; }
.of-field input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.of-err { color: var(--bad); font-size: var(--fs-2); }
.of-amounts, .of-opts, .of-tags { border: 0; padding: 0; margin: 0; min-width: 0; }
.of-amounts { display: flex; flex-wrap: wrap; gap: 8px; } .of-amounts legend { width: 100%; margin-bottom: 8px; }
.of-amt input, .of-tagopt input { position: absolute; opacity: 0; pointer-events: none; }
.of-amt span, .of-tagopt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-p); border: 1px solid var(--line-strong); font-weight: 600; cursor: pointer; background: var(--surface); }
.of-amt input:checked + span, .of-tagopt input:checked + span { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand-t); }
.of-amt input:focus-visible + span, .of-tagopt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.of-tagopt, .of-amt { position: relative; }
.of-tags { display: flex; flex-wrap: wrap; gap: 8px; } .of-tags legend { width: 100%; margin-bottom: 8px; }

/* gift card face: solid, no gradient */
.of-giftface { display: grid; gap: 4px; align-content: end; justify-items: start; aspect-ratio: 8 / 5; max-width: 420px; padding: 22px; border-radius: var(--r-l); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.of-giftface b { font-size: var(--fs-7); letter-spacing: -.03em; line-height: 1; }
.of-giftface span { color: var(--ink-2); font-size: var(--fs-3); }
.of-giftface img { margin-bottom: auto; }
.of-giftface.sm { aspect-ratio: auto; max-width: none; width: 150px; flex: none; padding: 14px; border-radius: var(--r-m); } .of-giftface.sm b { font-size: var(--fs-5); }
.of-giftface.big { margin: 8px auto 20px; width: 100%; max-width: 480px; }
.of-gc { display: flex; gap: 16px; padding: 16px; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 12px; align-items: stretch; flex-wrap: wrap; }
.of-gc-body { display: grid; gap: 8px; align-content: start; flex: 1; min-width: 240px; }
.of-gc-top { display: flex; gap: 12px; align-items: center; justify-content: space-between; font-weight: 600; }
.of-code { font-size: var(--fs-5); font-weight: 800; letter-spacing: .08em; margin: 0; font-variant-numeric: tabular-nums; }
.of-code.big { text-align: center; font-size: clamp(24px, 6vw, 34px); padding: 18px; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line-strong); }
.of-actions { display: flex; flex-wrap: wrap; gap: 8px; } .of-actions.center { justify-content: center; margin: 16px 0; }
.of-quote { margin: 0 0 16px; padding: 16px 18px; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-4); text-align: center; }
.of-quote cite { display: block; margin-top: 6px; font-style: normal; color: var(--muted); font-size: var(--fs-2); }
.of-state { font-size: var(--fs-2); font-weight: 700; }
.of-state::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--muted); }
.of-state.active::before, .of-state.approved::before { background: var(--ok); }
.of-state.pending::before { background: var(--warn); }
.of-state.void::before, .of-state.rejected::before { background: var(--bad); }

/* expert extras */
.of-xp { margin-top: 16px; }
.of-label { margin: 0 0 6px; color: var(--muted); font-size: var(--fs-2); font-weight: 600; }
.of-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.of-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-p); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: var(--fs-2); font-weight: 600; }
.of-chips .i { width: 14px; height: 14px; }
.of-gallery, .of-photos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.of-gallery figure, .of-photos figure { margin: 0; display: grid; gap: 6px; align-content: start; }
.of-gallery img, .of-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-m); background: var(--surface-2); }
.of-gallery figcaption { font-size: var(--fs-2); color: var(--muted); }
.of-photos figcaption { display: grid; gap: 2px; font-size: var(--fs-2); } .of-photos figcaption small { color: var(--bad); }
.of-upload { display: grid; gap: 12px; max-width: 460px; }
.of-bookme { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.of-bookme h2 { margin: 0 0 4px; }

/* rating breakdown */
.of-bd { display: grid; gap: 16px 28px; grid-template-columns: auto 1fr; align-items: center; max-width: 520px; }
.of-bd-score { display: grid; gap: 2px; justify-items: start; }
.of-bd-score b { font-size: var(--fs-7); line-height: 1; letter-spacing: -.03em; }
.of-bd-score span { display: flex; gap: 1px; } .of-bd-score .i { width: 14px; height: 14px; fill: var(--star); stroke: var(--star); }
.of-bd-score small { color: var(--muted); }
.of-bd-rows { display: grid; gap: 6px; }
.of-bd-row { display: grid; grid-template-columns: 14px 1fr 34px; gap: 8px; align-items: center; font-size: var(--fs-2); color: var(--ink-2); }
.of-bd-row i { display: block; height: 8px; border-radius: var(--r-p); background: var(--surface-3); overflow: hidden; }
.of-bd-row u { display: block; height: 100%; background: var(--ink); text-decoration: none; border-radius: var(--r-p); }
.of-bd-row em { font-style: normal; text-align: right; color: var(--muted); }
.of-bd-sum { margin: 12px 0 0; color: var(--ink-2); }

/* what to expect */
.of-expect { display: grid; gap: 20px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.of-expect h3 { display: flex; gap: 8px; align-items: center; font-size: var(--fs-3); margin: 0 0 10px; } .of-expect h3 .i { width: 18px; height: 18px; }
.of-expect ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.of-expect li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); } .of-expect li .i { margin-top: 3px; width: 16px; height: 16px; color: var(--ok); }

/* options button + sheet */
.of-optbtn { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; text-align: left; min-height: 64px; padding: 12px 16px; border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); font: inherit; }
.of-optbtn:hover { background: var(--surface-2); }
.of-optbtn small { display: block; color: var(--muted); font-size: var(--fs-2); }
.of-sheet { max-width: 560px; }
.of-sheet .sheet-body { padding-bottom: 0; gap: 12px; }
.of-sheet-in { display: grid; gap: 18px; max-height: 52dvh; overflow: auto; overscroll-behavior: contain; padding-bottom: 4px; }
.of-opts { display: grid; gap: 8px; }
.of-opts legend { margin-bottom: 8px; }
.of-opt { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer; }
.of-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--brand); }
.of-opt input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.of-opt .t { flex: 1; min-width: 0; } .of-opt .t b { display: block; } .of-opt small { display: block; color: var(--muted); font-size: var(--fs-2); font-weight: 400; }
.of-opt .p { text-align: right; font-weight: 700; white-space: nowrap; }
.of-sheet-foot { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0 calc(16px + var(--safe-b)); background: var(--surface); border-top: 1px solid var(--line); }
.of-sheet-foot b { font-size: var(--fs-5); display: block; } .of-sheet-foot small { color: var(--muted); font-size: var(--fs-2); }

/* book this expert */
.of-pick { list-style: none; margin: 18px 0 0; padding: 0; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); }
.of-pick li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 14px 16px; }
.of-pick li + li { border-top: 1px solid var(--line); }
.of-pick span { display: block; color: var(--muted); font-size: var(--fs-2); }
.of-bar2 { position: sticky; bottom: calc(var(--nav-h, 60px) + var(--safe-b, 0px)); padding: 12px 0; background: var(--bg); margin-top: 12px; }
.of-bar2 .btn.off { opacity: .5; pointer-events: none; }

/* staff */
.of-s-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.of-s-photo { display: grid; gap: 8px; padding: 10px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface); }
.of-s-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-s); background: var(--surface-2); }
.of-s-photo form { display: grid; gap: 6px; } .of-s-photo input[type=text] { min-height: 36px; padding: 0 10px; border-radius: var(--r-s); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.of-s-fs { display: grid; gap: 8px; }
.of-s-row { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); padding: 10px; border: 1px solid var(--line); border-radius: var(--r-s); }
.of-s-row.del { opacity: .5; }
.of-s-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; letter-spacing: .06em; }
@media (prefers-reduced-motion: reduce) { .of-sheet[open] { animation: none; } }
.of-sec .hx-head { padding-inline: 0; }
