/* Reviews, Write a Review wizard, Contact Us (screens 2a-08 … 2a-14). Shared tokens and components are in styles.css. */

/* Shared bits */
.rv-wz, .rv-wide, .ct-page { --ease: cubic-bezier(.23, 1, .32, 1); }
.rv-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rv-h { margin: 0; font-size: 17px; font-weight: 700; }
.rv-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--red-soft); color: var(--red-text); font-size: 16px; font-weight: 600; line-height: 1.45; }
.rv-alert .i { font-size: 20px; }
.rv-alert a { color: inherit; }
.rv-ferr:empty { display: none; }
.rv-ferr { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; font-weight: 600; color: var(--red-text); }
.rv-ferr .i { font-size: 18px; }

/* 2a-08 Reviews */
.rv-top, .rv-list { display: flex; flex-direction: column; gap: 12px; }
.rv-avg { display: flex; align-items: center; gap: 16px; }
.rv-avg > div { display: flex; flex-direction: column; gap: 2px; }
.rv-big { font-size: 48px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.rv-sum-stars { font-size: 20px; letter-spacing: 2px; }
.rv-write { min-height: 52px; box-shadow: none; }
.rv-real { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--muted); }
.rv-real .i { font-size: 18px; color: var(--green-ok); margin-top: 1px; }
.rv-empty { gap: 12px; }
.rv-empty .rv-real { font-size: 16px; color: var(--text-2); }
.rv-empty .rv-real .i { font-size: 20px; margin-top: 2px; }
.rv-ask { margin: 0 0 4px; font-size: 16px; color: var(--text-2); }
.rv-s1-hint { margin: -6px 0 0; }
.rv-gal { padding: 16px; gap: 12px; }
.rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rv-tile { position: relative; padding: 0; border: 0; overflow: hidden; aspect-ratio: 1; border-radius: 10px; background: repeating-linear-gradient(135deg, #C7D3E3 0 8px, #D6E0EC 8px 16px); display: flex; align-items: center; justify-content: center; }
.rv-tile { transition: transform 160ms var(--ease); }
.rv-tile:active { transform: scale(.97); }
.rv-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.rv-play { position: relative; width: 40px; height: 40px; border-radius: 20px; background: rgba(15, 27, 45, .75); color: #fff; display: flex; align-items: center; justify-content: center; }
.rv-play .i { font-size: 26px; }
.rv-more { position: absolute; inset: 0; background: rgba(15, 27, 45, .6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; }
.rv-card { padding: 16px; gap: 10px; }
.rv-who { display: flex; align-items: center; gap: 12px; }
.rv-init { width: 44px; height: 44px; border-radius: 22px; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; flex: none; }
.rv-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rv-name h3 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.rv-name .muted { font-size: 14px; }
.rv-tag { height: 28px; padding: 0 10px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text-2); display: flex; align-items: center; }
.rv-stars { font-size: 18px; }
.rv-text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text); overflow-wrap: anywhere; white-space: pre-line; }
.rv-thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-thumbs .rv-tile { width: 72px; height: 72px; }
.rv-thumbs .rv-play { width: 32px; height: 32px; }
.rv-thumbs .rv-play .i { font-size: 22px; }
.card.empty { align-items: center; }
.card.empty p { margin: 0; }

/* Lightbox */
.rv-lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 14, 24, .97); color: #fff; }
.rv-lb::backdrop { background: rgba(8, 14, 24, .6); }
.rv-lb[open] { display: flex; align-items: center; justify-content: center; animation: rv-fade 180ms var(--ease, ease-out); }
.rv-lb[open] .rv-lb-media > * { animation: rv-zoom 200ms cubic-bezier(.23, 1, .32, 1); }
.rv-lb[open]::backdrop { animation: rv-fade 180ms ease-out; }
@keyframes rv-fade { from { opacity: 0; } }
@keyframes rv-zoom { from { opacity: 0; transform: scale(.97); } }
.rv-lb-media { width: 100%; height: 100%; padding: 64px 12px 56px; display: flex; align-items: center; justify-content: center; }
.rv-lb-media img, .rv-lb-media video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; background: #000; }
.rv-lb-x, .rv-lb-nav { transition: background-color 150ms ease; position: absolute; width: 48px; height: 48px; border-radius: 24px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: flex; align-items: center; justify-content: center; }
.rv-lb-x { top: 10px; right: 10px; }
.rv-lb-nav { top: 50%; transform: translateY(-50%); }
.rv-lb-nav .i { font-size: 30px; }
.rv-lb-nav.prev { left: 8px; } .rv-lb-nav.next { right: 8px; }
.rv-lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 14px; font-weight: 600; color: #C9D3E1; }
.rv-lb :focus-visible { outline-color: #fff; }
@media (hover: hover) and (pointer: fine) { .rv-lb-x:hover, .rv-lb-nav:hover { background: rgba(255, 255, 255, .24); } }

/* Wizard shell */
.rv-wz { display: flex; flex-direction: column; min-height: calc(100dvh - 83px); }
.rv-wz.white { background: #fff; }
.rv-body { flex: 1; width: 100%; max-width: var(--page); margin: 0 auto; padding: 24px 20px; display: flex; flex-direction: column; gap: 18px; }
.rv-wz:not(.white) .rv-body { padding: 24px 12px; gap: 12px; }
.rv-body, .rv-done { animation: rv-step 180ms cubic-bezier(.23, 1, .32, 1); }
@keyframes rv-step { from { opacity: 0; transform: translateY(6px); } }
.rv-act { position: sticky; bottom: 0; z-index: 10; }
.rv-wz.white .rv-act { border-top-color: transparent; }
.rv-in { max-width: 608px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.rv-lead { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.rv-lead b { color: var(--ink); overflow-wrap: anywhere; }
fieldset { min-width: 0; }

/* Step 1: segmented control, a touch larger than the shared one (design 2a-09) */
.rv-seg { padding: 4px; border-radius: 12px; }
.rv-seg label { height: 48px; border-radius: 9px; }

/* Step 2: six boxes over one input */
.rv-otp { position: relative; }
.rv-otp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; border: 0; z-index: 1; cursor: text; }
.rv-boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.rv-boxes span { transition: border-color 150ms ease, box-shadow 150ms ease; height: 60px; border: 1.5px solid var(--field); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rv-boxes span.on { border: 2px solid var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.rv-otp.bad .rv-boxes span { border: 2px solid var(--red); }
.rv-otp:has(input:focus-visible) .rv-boxes { outline: none; }
.rv-resend { min-height: 48px; }
.rv-resend:disabled { color: var(--muted); font-weight: 600; cursor: default; }

/* Step 3: booking radio cards */
.rv-pick { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.rv-pick legend { padding: 0 8px; margin-bottom: 12px; }
.rv-opt { transition: background-color 150ms ease, border-color 150ms ease; display: flex; align-items: center; gap: 14px; padding: 16px; min-height: 80px; border: 1.5px solid var(--field); background: #fff; border-radius: 14px; cursor: pointer; }
.rv-opt input { position: absolute; opacity: 0; pointer-events: none; }
.rv-opt-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--bg); color: var(--muted); display: flex; align-items: center; justify-content: center; flex: none; }
.rv-opt-ic .i { font-size: 24px; }
.rv-opt-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rv-opt-t b { font-size: 17px; overflow-wrap: anywhere; }
.rv-opt-t span { font-size: 14px; color: var(--text-2); }
.rv-radio::before { content: 'radio_button_unchecked'; font-family: 'Material Symbols Rounded'; font-size: 26px; line-height: 1; color: var(--faint); }
.rv-opt:has(input:checked) { border: 2px solid var(--blue); background: var(--blue-soft); padding: 15.5px; }
.rv-opt:has(input:checked) .rv-opt-ic { background: #fff; color: var(--blue); }
.rv-opt:has(input:checked) .rv-radio::before { content: 'radio_button_checked'; color: var(--blue); }
.rv-opt:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.rv-note { margin: 0; padding: 0 8px; font-size: 14px; color: var(--muted); }

/* Step 4: rating + media */
.rv-rate { margin: 0; align-items: center; gap: 6px; }
.rv-rate legend { float: left; width: 100%; text-align: center; }
.rv-rate.bad { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.rv-starset { display: flex; gap: 4px; }
.rv-starset label { transition: transform 160ms cubic-bezier(.23, 1, .32, 1); width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 10px; }
.rv-starset input { position: absolute; opacity: 0; pointer-events: none; }
.rv-starset .i { font-size: 44px; color: var(--off); transition: color 150ms ease; }
.rv-starset label:active { transform: scale(.9); }
.rv-starset label.on .i { color: var(--star); font-variation-settings: 'FILL' 1; }
.rv-starset label:has(input:focus-visible) { outline: 3px solid var(--blue); }
.rv-rl { font-size: 16px; font-weight: 600; color: var(--muted); }
.rv-ph { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rv-pt { position: relative; aspect-ratio: 1; }
.rv-pt img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; animation: rv-fade 150ms ease-out; }
.rv-x { position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; padding: 0; border-radius: 14px; border: 2px solid #fff; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; }
.rv-x::after { content: ''; position: absolute; inset: -10px; }
.rv-x .i { font-size: 16px; }
.rv-x.static { position: relative; top: 0; right: 0; width: 40px; height: 40px; border-radius: 20px; flex: none; }
.rv-x.static .i { font-size: 20px; }
.rv-add, .rv-addv { transition: background-color 150ms ease, transform 160ms cubic-bezier(.23, 1, .32, 1); }
.rv-add:active, .rv-addv:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .rv-add:hover, .rv-addv:hover { background: var(--blue-soft); } }
.rv-add { aspect-ratio: 1; border-radius: 10px; border: 1.5px dashed var(--off); color: var(--blue); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 13px; font-weight: 700; cursor: pointer; }
.rv-add .i { font-size: 26px; }
.rv-addv { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 14px; border: 1.5px dashed var(--off); border-radius: 12px; color: var(--blue); font-size: 16px; font-weight: 700; cursor: pointer; }
.rv-addv .i { font-size: 24px; }
.rv-add:has(input:focus-visible), .rv-addv:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.rv-vsel { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; border: 1.5px solid var(--field); border-radius: 12px; }
.rv-vsel video { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; background: #000; flex: none; }
.rv-vmeta { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.rv-vmeta b { color: var(--ink); font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-prog { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.rv-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rv-bar i { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 200ms linear; }
.rv-prog span { min-width: 9.5em; font-variant-numeric: tabular-nums; }

/* Step 5 */
.rv-done { flex: 1; padding-top: 120px; border-bottom: 0; }

/* 2a-14 Contact */
.ct-col { display: flex; flex-direction: column; gap: 12px; }
.ct-wa { min-height: 64px; border-radius: 14px; font-size: 19px; gap: 12px; }
.ct-wa svg { width: 26px; height: 26px; }
.ct-list { padding: 4px 16px; gap: 0; }
.ct-row { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 0; }
.ct-row + .ct-row { border-top: 1px solid var(--line-soft); }
.ct-row:has(.link) { align-items: flex-start; padding: 14px 0 4px; }
.ct-ic { width: 40px; height: 40px; border-radius: 10px; }
.ct-ic .i { font-size: 22px; }
.ct-v { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ct-v .muted { font-size: 14px; }
.ct-link { font-size: 17px; font-weight: 700; color: var(--blue); overflow-wrap: anywhere; }
.ct-tap { text-decoration: none; color: inherit; }
.ct-tap .ct-link { transition: opacity 150ms ease; }
.ct-tap:active .ct-link { opacity: .7; }
@media (hover: hover) and (pointer: fine) { .ct-tap:hover .ct-link { text-decoration: underline; text-underline-offset: 3px; } }
.ct-v .link { min-height: 48px; }
.ct-reply { margin: -2px 0 2px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--muted); }
.ct-reply span { display: block; }
.ct-reply:empty { display: none; }
.ct-addr { font-size: 16px; line-height: 1.45; font-weight: 600; }
.ct-hours { font-size: 16px; font-weight: 600; }
.ct-v .link .i { font-size: 18px; }
.ct-form .textarea { min-height: 110px; }
.ct-intro { margin: 0; padding: 0 4px; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.ct-opt { font-weight: 400; color: var(--muted); }
.ct-yn { border: 0; padding: 0; margin: 0; }
.ct-yn legend { padding: 0; margin-bottom: 8px; }
.ct-yn .seg { padding: 4px; border-radius: 12px; }
.ct-yn .seg label { height: 48px; border-radius: 9px; }
.ct-social { display: flex; flex-wrap: wrap; column-gap: 18px; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-form { position: relative; }
.ct-sent { animation: rv-fade 180ms ease-out; }
.ct-sent { align-items: center; text-align: center; gap: 10px; padding: 32px 16px; }
.ct-sent:focus { outline: none; }
.ct-sent p { margin: 0; color: var(--text-2); }
.ct-sent .ring { width: 64px; height: 64px; border-radius: 32px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; }
.ct-sent .ring .i { width: 44px; height: 44px; border-radius: 22px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; }

/* Wider screens: Reviews and Contact use the same single centred column as every other page (styles.css .page). */

/* The signed-in guest's own reviews and their status */
.rv-mine { gap: 12px; }
.rv-mine-row { display: flex; align-items: center; gap: 12px; }
.rv-mine-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rv-mine-t b { font-size: 16px; }
.rv-mine-t .muted { font-size: 14px; }
.rv-mine-st { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 32px; padding: 0 12px; border-radius: 16px; font-size: 14px; font-weight: 700; background: var(--line-soft); color: var(--text-2); }
.rv-mine-st .i { font-size: 18px; }
.rv-mine-st.st-pending { background: #FFF6E5; color: #8A5A00; }
.rv-mine-st.st-live { background: var(--green-soft); color: var(--green-ink); }
.rv-mine-st.st-hidden { background: var(--line-soft); color: var(--muted); }
@media (max-width: 420px) { .rv-mine-row { flex-wrap: wrap; } .rv-mine-st { margin-left: 46px; } }
