/* Breaks.Golf website. Brand: Atlas Green, Midnight, Warm Sand, Saffron Gold. Type: Plus Jakarta Sans. */
:root {
  --green: #0e4d36;
  --green-2: #1b6b4c;
  --midnight: #0b1f17;
  --ink: #12241c;
  --muted: #4f5e57;
  --sand: #f3f2ec;
  --sand-2: #e8e6dc;
  --line: #d8d5c8;
  --gold: #d9a441;
  --gold-ink: #6b4a0e;
  --mint: #e3ede7;
  --white: #ffffff;
  --danger: #a3341f;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.5rem;
  --step-4: clamp(2.6rem, 5.2vw, 4.4rem);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--sand);
}
img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 800; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 64ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(243, 242, 236, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: var(--step--1); }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--green); }
@media (max-width: 820px) { .nav .hide-sm { display: none; } .brand img { height: 32px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; border-radius: 999px; padding: 14px 24px; text-decoration: none; transition: background-color .15s ease; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-2); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--midnight); }
.btn-gold:hover { background: #e4b358; color: var(--midnight); }
.btn-ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn-ghost:hover { background: var(--mint); }
.btn-small { padding: 9px 16px; font-size: var(--step--1); }
.btn[disabled] { opacity: .55; cursor: progress; }

/* Hero */
.hero {
  --scene-start: 1507px;
  position: relative; min-height: 820px; padding: 72px 0 64px;
  background: #f9eedb url(/assets/art/hero-wide.svg) no-repeat;
  background-size: auto 820px;
  background-position: calc(max(24px, (100vw - var(--wrap)) / 2 + 24px) + 600px + 40px - var(--scene-start)) bottom;
}
.hero-copy { max-width: 600px; }
.hero-lede { font-size: var(--step-1); color: var(--muted); max-width: 34ch; }

.prompt { margin-top: 32px; background: var(--white); border-radius: var(--r-lg); padding: 20px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(14, 77, 54, .45); }
.prompt label { display: block; font-weight: 700; margin-bottom: 8px; }
.prompt textarea { width: 100%; min-height: 104px; resize: vertical; border: 0; background: var(--sand); border-radius: var(--r-md); padding: 14px 16px; font: inherit; color: var(--ink); }
.prompt-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 14px; flex-wrap: wrap; }
.currency { display: flex; align-items: center; gap: 8px; font-size: var(--step--1); color: var(--muted); }
select, input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="datetime-local"], input[type="number"], textarea {
  font: inherit; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; background: var(--white);
}
.facts { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; font-size: var(--step--1); color: var(--muted); padding: 0; list-style: none; }
.facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: 1px; }

/* The scorecard: the one memorable thing */
.scorecard { background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.scorecard-head { background: var(--green); color: var(--white); padding: 18px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.scorecard-head h3 { margin: 0; font-size: var(--step-1); }
.scorecard-head .sub { color: #cfe0d6; font-size: var(--step--1); }
.price { text-align: right; }
.price strong { display: block; font-size: var(--step-2); line-height: 1; letter-spacing: -0.02em; }
.price span { color: #cfe0d6; font-size: var(--step--1); }
.card-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.card-table th { text-align: left; font-weight: 700; color: var(--muted); background: var(--sand); padding: 9px 12px; border-bottom: 1px solid var(--line); }
.card-table td { padding: 11px 12px; border-bottom: 1px solid var(--sand-2); vertical-align: top; }
.card-table tr:last-child td { border-bottom: 0; }
.card-table .day { white-space: nowrap; font-weight: 700; }
.card-table .tee { font-weight: 800; color: var(--green); white-space: nowrap; }
.card-table .yes { color: var(--green); font-weight: 700; }
.card-table .no { color: #a8aea9; }
.card-table td.course span { display: block; color: var(--muted); font-size: 0.8rem; }
.stay { padding: 12px 22px; background: var(--mint); font-size: var(--step--1); display: flex; gap: 10px; }
.stay b { white-space: nowrap; }
.scorecard-foot { padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.scorecard-foot small { color: var(--muted); }
.scorecard.is-chosen { outline: 3px solid var(--gold); }
.badge { display: inline-block; background: var(--gold); color: var(--midnight); font-weight: 800; font-size: 0.75rem; border-radius: 999px; padding: 3px 10px; margin-left: 8px; vertical-align: 3px; }
/* What you get back: the worked example */
.example { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.example-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.example-copy h2 { margin-bottom: 20px; }
.example-lede { color: var(--muted); font-size: var(--step-1); margin: 0; }
.ask { margin: 14px 0 18px; padding: 16px 20px; background: var(--green); color: var(--white); border-radius: 18px 18px 18px 4px; font-weight: 600; max-width: 46ch; }
.ticks { list-style: none; padding: 0; margin: 18px 0 30px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li b { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); box-shadow: inset 0 0 0 5px var(--mint); }
.example-note { margin: 0 0 10px; font-size: var(--step--1); font-weight: 700; color: var(--gold-ink); }
.example-card .scorecard { box-shadow: 0 1px 0 var(--line), 0 28px 56px -32px rgba(11, 31, 23, .45); }
@media (max-width: 960px) { .example-grid { grid-template-columns: 1fr; gap: 40px; } }

/* More than golf */
.outing-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.outing-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.outing-card img { width: 100%; height: auto; aspect-ratio: 40 / 26; }
.outing-card figcaption { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.outing-card h3 { margin: 0; font-size: var(--step-0); }
.outing-card p { margin: 0; color: var(--muted); font-size: var(--step--1); flex: 1; }
.outing-card .from { font-size: var(--step--1); font-weight: 700; color: var(--green); margin-top: 6px; }
@media (max-width: 1060px) { .outing-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .outing-cards { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { font-size: var(--step-1); color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 24px 28px 8px 0; }
.steps li::before { content: counter(step); display: block; font-size: var(--step-3); font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.region { border-radius: var(--r-md); padding: 22px; display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 6px; align-content: start; background: var(--white); border: 1px solid var(--line); }
.region h3 { margin: 0; font-size: var(--step-1); color: var(--green); }
.region .fly { margin: 0 0 10px; font-size: var(--step--1); font-weight: 700; color: var(--ink); }
.region dl { display: contents; }
.region dt, .region dd { font-size: var(--step--1); }
.region dt { font-weight: 700; color: var(--muted); margin-top: 8px; }
.region dt:first-child { margin-top: 0; }
.region dd { margin: 0; color: var(--ink); align-self: start; }
.region.soon { background: transparent; border-style: dashed; }
.region.soon h3 { color: var(--ink); }
.region.soon .fly { color: var(--gold-ink); }
.region .note { margin: 0; font-size: var(--step--1); color: var(--muted); grid-row: span 4; }
@media (max-width: 1060px) { .regions { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .regions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .regions { grid-template-columns: 1fr; } }

/* Excursions in the trip form and on the scorecard */
.outings { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.outings legend { font-weight: 700; font-size: var(--step--1); margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: var(--step--1); line-height: 1.3; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.card-table td.course .also { display: block; margin-top: 4px; color: var(--green); font-weight: 600; }
.card-table tr.outing-day td.course { color: var(--green); }

.ai { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.endpoint { background: var(--midnight); color: var(--white); border-radius: var(--r-md); padding: 20px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.endpoint code { font-family: inherit; font-weight: 700; word-break: break-all; color: var(--gold); }
@media (max-width: 860px) { .ai { grid-template-columns: 1fr; } }

.dark { background: var(--midnight); color: var(--white); }
.dark p { color: #cfe0d6; }
.dark a:not(.btn) { color: var(--gold); }
.partners { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.partners ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.partners li { padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); }
.partners li b { display: block; color: var(--white); }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr; } }

.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: var(--step-1); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

.site-footer { background: var(--midnight); color: #cfe0d6; padding: 48px 0; font-size: var(--step--1); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer img { height: 34px; width: auto; }
.site-footer a { color: #cfe0d6; margin-left: 20px; }

/* Planner */
.planner { padding: 48px 0 96px; }
.planner-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
@media (max-width: 980px) { .planner-grid { grid-template-columns: 1fr; } }
.panel { background: var(--white); border-radius: var(--r-lg); padding: 22px; border: 1px solid var(--line); position: sticky; top: 96px; }
@media (max-width: 980px) { .panel { position: static; } }
.tabs { display: flex; gap: 6px; background: var(--sand); padding: 5px; border-radius: 999px; margin-bottom: 18px; }
.tabs button { flex: 1; border: 0; background: transparent; font: inherit; font-weight: 700; font-size: var(--step--1); padding: 9px 12px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(18, 36, 28, .15); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .label { font-weight: 700; font-size: var(--step--1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step--1); margin-bottom: 12px; }
.check input { margin-top: 4px; accent-color: var(--green); }
.hint { font-size: 0.8rem; color: var(--muted); margin: 0; }

.chat-log { display: grid; gap: 10px; max-height: 360px; overflow-y: auto; margin-bottom: 12px; }
.msg { padding: 11px 14px; border-radius: 16px; font-size: var(--step--1); max-width: 92%; }
.msg.user { background: var(--green); color: var(--white); justify-self: end; border-bottom-right-radius: 4px; }
.msg.bot { background: var(--sand); justify-self: start; border-bottom-left-radius: 4px; }
.chat-form textarea { width: 100%; min-height: 84px; resize: vertical; }

.results { display: grid; gap: 28px; }
.empty { border: 2px dashed var(--line); border-radius: var(--r-lg); padding: 48px 28px; color: var(--muted); }
.empty h2 { color: var(--ink); font-size: var(--step-2); }
.notice { background: #f6ebd3; color: var(--gold-ink); border-radius: var(--r-md); padding: 12px 16px; font-size: var(--step--1); }
.error { background: #f8e3dd; color: var(--danger); border-radius: var(--r-md); padding: 12px 16px; font-size: var(--step--1); }

.checkout { border-top: 1px solid var(--line); padding: 22px; background: #fbfaf6; }
.checkout h3 { margin-bottom: 4px; }
.timer { font-weight: 800; color: var(--gold-ink); }
.done { padding: 22px; background: var(--mint); }
.done h3 { color: var(--green); }

.legal { padding: 56px 0 96px; }
.legal article { max-width: 720px; }
.legal h2 { font-size: var(--step-2); margin-top: 1.6em; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.field input, .field select, .field textarea { width: 100%; }
.field label input, .field label textarea { display: block; margin-top: 6px; font-weight: 400; }
.form-error:empty { display: none; }
.form-error { margin-bottom: 12px; }

[hidden] { display: none !important; }
.field-row > *, .field input, .field select { min-width: 0; }
.scorecard { scroll-margin-top: 96px; }
.table-scroll { overflow-x: auto; }
.check span a { white-space: nowrap; }
@media (max-width: 560px) {
  .card-table th, .card-table td { padding: 9px 8px; }
  .scorecard-head { padding: 16px; }
  .stay, .scorecard-foot, .checkout { padding-left: 16px; padding-right: 16px; }
  .region { min-height: 0; gap: 18px; }
  .section { padding: 64px 0; }
  .site-footer a { margin: 0 14px 0 0; }
}
@media (max-width: 560px) {
  .card-table th:nth-child(5), .card-table td:nth-child(5) { display: none; }
}
.outings .check { font-weight: 400; margin: 0; }
.outings .check input { width: auto; flex: none; display: inline-block; margin-top: 4px; }
.outings .chip input { width: 100%; height: 100%; margin: 0; }
.outings .chip span { font-weight: 600; }
.empty-art { width: 100%; max-width: 360px; height: auto; border-radius: var(--r-md); margin-bottom: 20px; }

/* Hero on smaller screens: the scene moves below the trip box, on the same grid. */
.hero-art-small { display: none; }
@media (max-width: 1180px) {
  .hero { min-height: 0; padding: 48px 0 0; background: var(--sand); }
  .hero-copy { max-width: 720px; }
  .hero-art-small { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 40%; margin-top: 40px; border-radius: var(--r-lg); }
}
@media (max-width: 560px) {
  .hero-art-small { aspect-ratio: 4 / 3; margin-top: 28px; }
  .prompt textarea { min-height: 172px; }
}

/* Booking request: golfers, contact, flights */
.checkout .group { border: 0; padding: 0; margin: 20px 0 6px; min-width: 0; }
.checkout .group legend { font-weight: 800; font-size: var(--step-0); padding: 0; margin-bottom: 4px; }
.checkout .group .hint { margin-bottom: 12px; }
.checkout .names { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.checkout .names-others { display: contents; }  /* golfers 2+ flow in the same two-column grid as the lead golfer */
.checkout .names-others[hidden] { display: none; }
.checkout [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 2px #f8e3dd; }
@media (max-width: 560px) {
  .checkout .names, .checkout .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* Clickable names in the scorecard */
.info-link { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.info-link:hover { color: var(--green); text-decoration-color: var(--green); }
.info-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
.card-table td.course > .info-link { font-weight: 700; }
.stay .info-link { font-weight: 700; }

/* Details panel */
dialog.details { border: 0; padding: 0; width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 48px);
  border-radius: var(--r-lg); background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(11, 31, 23, .35); overflow: hidden; }
dialog.details::backdrop { background: rgba(11, 31, 23, .62); }
dialog.details[open] { animation: details-in .18s ease-out; }
@keyframes details-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { dialog.details[open] { animation: none; } }
.details-inner { position: relative; max-height: calc(100dvh - 48px); display: flex; flex-direction: column; }
.details-body { overflow-y: auto; overscroll-behavior: contain; }
.details-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0;
  display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, .92); color: var(--midnight); box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.details-close:hover { background: var(--white); }
.details-close:focus-visible, .details-nav button:focus-visible, .details-photos:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.details-gallery { position: relative; background: var(--midnight); }
.details-photos { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 16 / 9; }
.details-photos::-webkit-scrollbar { display: none; }
.details-photos li { flex: 0 0 100%; scroll-snap-align: start; }
.details-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.details-nav { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px;
  background: rgba(11, 31, 23, .72); color: var(--white); border-radius: 999px; padding: 4px; font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.details-nav button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.details-nav button:hover { background: rgba(255,255,255,.16); }
.details-count { min-width: 3.5em; text-align: center; }
.details-credit { margin: 6px 22px 0; font-size: 0.75rem; color: var(--muted); }
.details-art { margin: 0; background: var(--sand); aspect-ratio: 16 / 9; }
.details-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

.details-text { padding: 20px 26px 26px; }
.details-kind { margin: 0; color: var(--gold-ink); font-weight: 700; font-size: var(--step--1); display: flex; gap: 10px; align-items: center; }
.details-stars { color: var(--gold); letter-spacing: 2px; }
.details-text h2 { margin: 4px 0 2px; font-size: var(--step-2); line-height: 1.15; color: var(--midnight); }
.details-where { margin: 0 0 12px; color: var(--muted); font-size: var(--step--1); }
.details-desc p { margin: 0 0 12px; max-width: 64ch; line-height: 1.6; }
.details-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.details-loading { padding: 32px 26px; }
.details-loading h2 { margin: 0 48px 8px 0; font-size: var(--step-1); }
.details-loading p { margin: 0; color: var(--muted); }

@media (max-width: 560px) {
  dialog.details { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .details-inner { max-height: 92dvh; }
  .details-text { padding: 16px 18px 22px; }
  .details-links .btn { flex: 1 1 100%; }
}
