/* La Terraza reservation popup (venue-local fork, ported from the Carpe Diem popup). Light sheet over the dark site; tokens come from the venue palette. */
.tz-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* ---------- Reservation popup ---------- */
dialog.tz-reserve { padding: 0; border: 0; background: transparent; width: min(1060px, 100vw - 32px); max-width: none; max-height: calc(100dvh - 32px); overflow: visible; color: var(--ink); }
dialog.tz-reserve::backdrop { background: rgba(4, 12, 18, .72); backdrop-filter: blur(6px); }
dialog.tz-reserve[open] { animation: tz-pop .32s cubic-bezier(.2,.8,.2,1); }
dialog.tz-reserve[open]::backdrop { animation: tz-fade .3s ease; }
@keyframes tz-pop { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes tz-fade { from { opacity: 0; } to { opacity: 1; } }
.tz-reserve__shell { display: grid; grid-template-columns: 0.82fr 1.35fr; background: var(--surface); border-radius: calc(var(--radius) + 12px); overflow: hidden; max-height: calc(100dvh - 32px); box-shadow: 0 40px 90px -20px rgba(0,0,0,.6); }
.tz-reserve__visual { position: relative; background: linear-gradient(rgba(6,16,24,.25), rgba(6,16,24,.88)), var(--tz-photo) center / cover; color: #fff; display: flex; }
.tz-reserve__visual-inner { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; justify-content: flex-end; width: 100%; }
.tz-reserve__logo { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; box-shadow: 0 8px 24px rgba(0,0,0,.4); margin-bottom: auto; }
.tz-reserve__visual .eyebrow { color: var(--accent); margin: 0; }
.tz-reserve__visual h2 { font-family: var(--font-heading); font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.05; margin: 0; color: #fff; }
.tz-reserve__rating { margin: 0; font-size: .95rem; color: rgba(255,255,255,.88); }
.tz-reserve__rating b { font-size: 1.5rem; font-family: var(--font-heading); margin-right: 4px; }
.tz-reserve__rating span { display: block; font-size: .82rem; opacity: .8; }
.tz-reserve__perks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: .94rem; }
.tz-reserve__perks li { padding-left: 24px; position: relative; color: rgba(255,255,255,.92); }
.tz-reserve__perks li::before { content: ''; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.tz-reserve__hours { margin: 8px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.22); font-size: .8rem; line-height: 1.5; color: rgba(255,255,255,.76); }
.tz-reserve__main { position: relative; padding: clamp(22px, 3vw, 38px); overflow-y: auto; max-height: calc(100dvh - 32px); background: var(--surface); }
.tz-reserve__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer; z-index: 3; transition: background .2s, transform .2s; }
.tz-reserve__close:hover { background: var(--brand); color: var(--brand-ink); transform: rotate(90deg); }
.tz-reserve__close:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.tz-steps { list-style: none; display: flex; gap: 0; margin: 0 56px 26px 0; padding: 0; counter-reset: none; }
.tz-steps li { flex: 1; display: flex; align-items: center; gap: 9px; position: relative; font-size: .8rem; color: var(--muted); min-width: 0; }
.tz-steps li + li::before { content: ''; position: absolute; left: -10%; width: 20%; top: 50%; height: 2px; background: color-mix(in srgb, var(--ink) 14%, transparent); }
.tz-steps li span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: color-mix(in srgb, var(--ink) 9%, transparent); color: var(--muted); transition: all .25s; position: relative; z-index: 1; }
.tz-steps li b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-steps li.is-current span { background: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 20%, transparent); }
.tz-steps li.is-current { color: var(--ink); }
.tz-steps li.is-done span { background: var(--accent); color: #fff; }

/* re-skin the template's own #reserve section inside the popup */
.tz-reserve .reservation-bar { display: block; padding: 0; background: transparent; color: var(--ink); }
.tz-reserve .reservation-bar > div:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tz-reserve .booking-form { display: grid; gap: 22px; grid-template-columns: 1fr; }
.tz-reserve .booking-form label { color: var(--ink); }
.tz-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.tz-field legend { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); padding: 0; margin-bottom: 10px; }
.tz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tz-chips__label { margin: 10px 0 8px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.tz-chips__label:first-child { margin-top: 0; }
.tz-chip { appearance: none; border: 2px solid color-mix(in srgb, var(--ink) 14%, transparent); background: var(--surface); color: var(--ink); border-radius: calc(var(--radius) + 2px); min-height: 48px; min-width: 52px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; transition: border-color .15s, background .15s, color .15s, transform .15s, box-shadow .15s; }
.tz-chip:hover { border-color: var(--brand); transform: translateY(-1px); }
.tz-chip[aria-checked="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.tz-chip span { font-size: .72rem; font-weight: 600; opacity: .8; text-transform: capitalize; }
.tz-chip b { font-size: 1.05rem; }
.tz-chip--num b { font-size: 1.25rem; font-family: var(--font-heading); }
.tz-chip--date { min-width: 78px; }
.tz-chip--time { flex-direction: row; min-width: 74px; }
.tz-datepick { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.tz-datepick span { white-space: nowrap; }
.tz-datepick input { flex: 1; min-height: 46px; border: 2px solid color-mix(in srgb, var(--ink) 14%, transparent); border-radius: calc(var(--radius) + 2px); padding: 8px 12px; font: inherit; color: var(--ink); background: var(--surface); }
.tz-datepick input:focus { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); border-color: var(--brand); }
.tz-closed { margin: 0; padding: 14px 16px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--ink); font-weight: 600; }
.tz-reserve .booking-form .button, .tz-reserve .button[type="submit"], .tz-reserve #continueBooking { width: 100%; min-height: 54px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: 1.02rem; grid-column: auto; }
.tz-reserve .button:disabled { opacity: .45; cursor: not-allowed; }
.tz-reserve .form-note { color: var(--muted); margin: 8px 0 0; }
.tz-reserve .booking-experience { margin-top: 0; padding: 0; background: transparent; color: var(--ink); }
.tz-reserve[data-step="2"] .booking-form, .tz-reserve[data-step="3"] .booking-form, .tz-reserve[data-step="4"] .booking-form { display: none; }
.tz-reserve .booking-step-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; color: var(--ink); }
.tz-reserve .booking-step-head h3 { font-family: var(--font-heading); font-size: 1.55rem; margin: 2px 0 0; color: var(--ink); }
.tz-reserve .booking-step-head .eyebrow { color: var(--brand); }
.tz-reserve .booking-back { background: transparent; border: 0; color: var(--brand); font-weight: 700; cursor: pointer; text-decoration: underline; font: inherit; font-weight: 700; padding: 6px 0; }
.tz-reserve .booking-guidance, .tz-reserve .table-selection { color: var(--muted); margin: 6px 0 14px; line-height: 1.5; }
.tz-reserve .guest-fields { display: grid; gap: 14px; }
.tz-reserve .guest-fields label, .tz-reserve .guest-details label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.tz-reserve .guest-details input:not([type="radio"]) { min-height: 48px; border: 2px solid color-mix(in srgb, var(--ink) 14%, transparent); border-radius: calc(var(--radius) + 2px); padding: 8px 12px; font: inherit; background: var(--surface); color: var(--ink); }
.tz-reserve .deposit-choice { border: 2px solid color-mix(in srgb, var(--brand) 25%, transparent); border-radius: calc(var(--radius) + 2px); margin: 16px 0; padding: 14px 16px; color: var(--ink); }
.tz-reserve .deposit-choice label { display: flex; gap: 10px; font-weight: 600; margin-top: 8px; }
.tz-reserve .booking-success { text-align: center; padding: 26px 8px 8px; color: var(--ink); }
.tz-reserve .booking-success h3 { font-family: var(--font-heading); font-size: 1.7rem; margin: 6px 0 10px; }
.tz-reserve .booking-success .text-link { color: var(--brand); font-weight: 700; background: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; margin-top: 8px; }
.tz-reserve__group { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); font-size: .9rem; color: var(--muted); }
.tz-reserve__group a { color: var(--brand); font-weight: 700; }

@media (max-width: 860px) {
  .tz-split { grid-template-columns: 1fr; }
  dialog.tz-reserve { width: 100vw; max-height: 100dvh; margin: 0; max-width: 100vw; }
  .tz-reserve__shell { grid-template-columns: 1fr; border-radius: 0; max-height: 100dvh; height: 100dvh; grid-template-rows: auto 1fr; }
  .tz-reserve__visual { min-height: 0; }
  .tz-reserve__visual-inner { padding: 18px 70px 16px 20px; gap: 6px; flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; }
  .tz-reserve__logo { width: 48px; height: 48px; margin: 0 6px 0 0; border-radius: 10px; }
  .tz-reserve__visual h2 { font-size: 1.25rem; flex: 1 1 60%; }
  .tz-reserve__visual .eyebrow, .tz-reserve__perks, .tz-reserve__hours, .tz-reserve__rating span { display: none; }
  .tz-reserve__rating { font-size: .8rem; flex-basis: 100%; }
  .tz-reserve__rating b { font-size: 1rem; }
  .tz-reserve__main { max-height: none; padding: 20px 18px 28px; }
  .tz-reserve__close { top: 10px; right: 10px; background: rgba(255,255,255,.9); }
  .tz-steps { margin-right: 0; }
  .tz-steps li b { display: none; }
  .tz-steps li.is-current b { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  dialog.tz-reserve[open], dialog.tz-reserve[open]::backdrop, .tz-pill--live::before { animation: none; }
  .tz-card, .tz-card__media img, .tz-space img, .tz-chip, .tz-reserve__close { transition: none; }
}

/* ---------- popup reskin, pass 2: readable text on the white sheet, light floor plan ---------- */
.tz-reserve .booking-experience,
.tz-reserve .booking-experience :where(h3, p, label, legend, small, strong, b, span, div) { color: var(--ink); }
.tz-reserve .booking-experience :where(.booking-guidance, .table-selection, small) { color: var(--muted); }
.tz-reserve .booking-experience .booking-step-head .eyebrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tz-reserve .booking-success .eyebrow { position: static; width: auto; height: auto; clip: auto; color: var(--brand); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .76rem; }
.tz-reserve .booking-step-head { justify-content: space-between; align-items: center; }
.tz-reserve .booking-step-head h3 { text-align: left; }
.tz-reserve .booking-back { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.tz-reserve .guest-details label, .tz-reserve .guest-details legend { color: var(--ink); }
.tz-reserve .guest-details input:focus { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); border-color: var(--brand); }
.tz-reserve .guest-details input:user-invalid { border-color: #b3261e; }
.tz-reserve .guest-floor-plan { min-height: 560px; background: color-mix(in srgb, var(--brand) 9%, var(--bg)); border: 2px solid color-mix(in srgb, var(--brand) 22%, transparent); border-radius: calc(var(--radius) + 4px); }
.tz-reserve .guest-table { background: var(--surface); border: 2px solid color-mix(in srgb, var(--brand) 40%, transparent); color: var(--ink); box-shadow: 0 8px 18px -12px rgba(0,0,0,.4); }
.tz-reserve .guest-table * { color: inherit; }
.tz-reserve .guest-table.is-selected { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 25%, transparent); }
.tz-reserve .guest-table.is-unavailable { background: color-mix(in srgb, var(--ink) 8%, var(--bg)); border-style: dashed; color: var(--muted); opacity: .75; }
.tz-reserve .guest-table.is-available:hover { border-color: var(--brand); transform: translateY(-2px); }
.tz-reserve__visual .eyebrow { color: rgba(255,255,255,.78) !important; letter-spacing: .18em; }
.tz-datepick em { font-style: normal; white-space: nowrap; }
.tz-datepick > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tz-reserve .reservation-bar .eyebrow { color: var(--brand); }
@media (max-width: 860px) { .tz-reserve .guest-floor-plan { min-height: 620px; } }
@media (max-width: 860px) { .tz-steps li.is-current { flex: 2.4; } .tz-steps li.is-current b { overflow: visible; } }

/* La Terraza: wide gold wordmark in the photo panel, ocean-night backdrop */
.tz-reserve__logo { width: min(210px, 70%); height: auto; border-radius: 0; object-fit: contain; box-shadow: none; filter: drop-shadow(0 4px 14px rgba(0,0,0,.45)); }
@media (max-width: 860px) { .tz-reserve__logo { width: 120px; height: auto; margin: 0 8px 0 0; } }

.tz-reserve, .tz-reserve * { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
