/* GolfSimsForSale.com design system. Ivory ground, deep fairway green, brass accent. Mobile first. */
:root {
  color-scheme: light;
  --bg: #F7F4EE; --surface: #FFFFFF; --sunk: #EFEBE2; --ink: #14201A; --ink-2: #2E3B33; --muted: #5E6A62;
  --line: #E2DCCF; --line-2: #CFC7B6;
  --green: #17372A; --green-2: #22513D; --green-ink: #F3EFE6; --green-soft: #E3ECE5;
  --brass: #A07F3C; --brass-2: #8A6B2D; --brass-soft: #F3EAD6;
  --good: #2F6B45; --good-soft: #E1EFE4; --warn: #9A6A12; --warn-soft: #F8EDD4; --bad: #A33A2A; --bad-soft: #F8E2DC;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 10px; --r-sm: 6px;
  --shadow: 0 1px 2px rgba(20,32,26,.05), 0 8px 24px rgba(20,32,26,.06);
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--ui); font-feature-settings: "ss01", "cv11"; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brass-2); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Typography */
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.12; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(34px, 7vw, 60px); font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(26px, 4.6vw, 38px); font-variation-settings: "opsz" 72; }
h3 { font-size: 20px; font-variation-settings: "opsz" 36; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
.eyebrow { font: 600 12px/1.2 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-2); margin: 0 0 12px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.xs { font-size: 12.5px; }

/* Header */
.mast { position: sticky; top: 0; z-index: 30; background: rgba(247,244,238,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.mast .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 21px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo b { font-weight: 600; }
.logo:hover { color: var(--ink); }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; padding: 8px 10px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sunk); color: var(--ink); }
.mast .cta-sm { margin-left: auto; }
.menu-btn { margin-left: 8px; background: none; border: 1px solid var(--line-2); border-radius: 999px; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.drawer { display: none; border-top: 1px solid var(--line); background: var(--bg); }
.drawer.open { display: block; }
.drawer nav { display: grid; padding: 8px 0 16px; }
.drawer a { padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 17px; display: flex; justify-content: space-between; }
.drawer a::after { content: "›"; color: var(--muted); }
.nav a { white-space: nowrap; }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .mast .cta-sm { margin-left: 8px; }
  .menu-btn, .drawer { display: none !important; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--green); background: var(--green); color: var(--green-ink); font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--green-2); color: #fff; border-color: var(--green-2); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--green); color: var(--green-ink); }
.btn.brass { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn.brass:hover { background: var(--brass-2); border-color: var(--brass-2); }
.btn.sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.cta-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }

/* Layout */
section { padding-block: 56px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.band.green { background: var(--green); color: var(--green-ink); border: 0; }
.band.green h2, .band.green h3 { color: #fff; }
.band.green .muted { color: #BFCDC3; }
.band.green a { color: #E9D7A8; }
.sec-head { display: grid; gap: 10px; margin-bottom: 28px; }
.sec-head p { margin: 0; color: var(--muted); }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid.c2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 900px) { .grid.c3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .grid.c4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (min-width: 640px) and (max-width: 899px) { .grid.c3, .grid.c4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.crumbs { font-size: 13px; color: var(--muted); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.page-head { padding-block: 28px 8px; display: grid; gap: 14px; }
.page-head p { margin: 0; }
.prose { max-width: 72ch; }
.prose h2 { margin: 40px 0 12px; font-size: clamp(24px, 3.6vw, 30px); }
.prose h3 { margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--green); color: var(--green-ink); }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 28px; padding-block: 48px 40px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lede { color: #D3DDD5; }
.hero .eyebrow { color: #D9C08A; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn.ghost:hover { background: #fff; color: var(--green); }
.hero-art { position: absolute; inset: 0; z-index: 0; opacity: .9; pointer-events: none; }
.hero-art svg { width: 100%; height: 100%; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: #C7D3CA; }
.hero-facts span::before { content: "— "; color: #D9C08A; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; align-items: end; padding-block: 88px 64px; } }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 10px; align-content: start; }
.card.flat { box-shadow: none; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--green-2); }
.card .meta { font-size: 13px; color: var(--muted); }
.pcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.pcard .art { background: linear-gradient(180deg, #F2EEE5, #E9E3D6); aspect-ratio: 16/9; display: grid; place-items: center; padding: 12px; border-bottom: 1px solid var(--line); }
.pcard .art svg { width: 80%; max-height: 100%; }
.pcard .body { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.pcard h3 { font-size: 19px; }
.pcard h3 a { color: inherit; text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; }
.pcard .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pcard .price { font-family: var(--display); font-size: 22px; font-weight: 500; }
.pcard .actions { position: relative; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 4px 9px; border-radius: 999px; background: var(--sunk); color: var(--ink-2); white-space: nowrap; }
.tag.best { background: var(--brass-soft); color: var(--brass-2); }
.tag.good { background: var(--good-soft); color: var(--good); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.bad { background: var(--bad-soft); color: var(--bad); }
.tag.green { background: var(--green-soft); color: var(--green); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.score { display: inline-grid; place-items: center; min-width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--brass); font-family: var(--display); font-size: 18px; color: var(--ink); }
.score small { display: block; font: 600 9px/1 var(--ui); letter-spacing: .08em; color: var(--muted); }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; font-size: 14px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 500; }
.nv { color: var(--muted); font-style: italic; font-weight: 400; }

/* Notes and callouts */
.note { background: var(--brass-soft); border-left: 3px solid var(--brass); padding: 12px 16px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 14.5px; }
.note.green { background: var(--green-soft); border-color: var(--green-2); }
.disclose { font-size: 12.5px; color: var(--muted); }
.disclose a { color: var(--muted); }

/* Forms and tools */
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .tool { padding: 32px; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field legend { font-weight: 600; font-size: 14.5px; }
.field .hint { font-size: 13px; color: var(--muted); }
input[type="number"], input[type="email"], input[type="text"], input[type="search"], select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-size: 16px; }
input:focus, select:focus { border-color: var(--green-2); outline: none; box-shadow: 0 0 0 3px rgba(34,81,61,.15); }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.choices { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-size: 15px; line-height: 1.3; transition: border-color .12s, background .12s; }
.choice input:checked + span { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); font-weight: 600; }
.choice input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.dim { display: grid; gap: 4px; }
.dim label { font-size: 13px; color: var(--muted); font-weight: 500; }
.dim .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.unit-toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: #fff; }
.unit-toggle button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; cursor: pointer; min-height: 34px; }
.unit-toggle button[aria-pressed="true"] { background: var(--green); color: #fff; }
.steps { display: flex; gap: 6px; margin-bottom: 18px; }
.steps i { height: 4px; flex: 1; border-radius: 4px; background: var(--line); }
.steps i.on { background: var(--brass); }
.step-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; }
.result { border-radius: var(--r); padding: 18px; border: 1px solid var(--line); background: var(--bg); }
.result.green { background: var(--good-soft); border-color: #BFD9C7; }
.result.yellow { background: var(--warn-soft); border-color: #E8D3A2; }
.result.red { background: var(--bad-soft); border-color: #E8C1B8; }
.light { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.light::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.light.green { color: var(--good); } .light.yellow { color: var(--warn); } .light.red { color: var(--bad); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14.5px; }
.checks li::before { content: ""; width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: var(--muted); }
.checks li.green::before { background: var(--good); } .checks li.yellow::before { background: var(--warn); } .checks li.red::before { background: var(--bad); }

/* Room diagram */
.diagram { background: #FBFAF6; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.diagram svg { width: 100%; }

/* Tables (desktop) and stacked compare (mobile) */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; background: var(--bg); }
tbody tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
.cmp { display: grid; gap: 0; }
.cmp-head { display: grid; gap: 8px; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); position: sticky; top: 64px; z-index: 5; background: var(--bg); padding: 10px 0; border-bottom: 1px solid var(--line); }
.cmp-head .h { font-family: var(--display); font-size: 15px; line-height: 1.2; }
.cmp-head .h a { color: var(--ink); text-decoration: none; }
.cmp-head .h .p { font-family: var(--ui); font-size: 13px; color: var(--muted); display: block; margin-top: 2px; }
.cmp-head .x { font-size: 12px; }
.cmp-group { margin-top: 18px; }
.cmp-group > h3 { font-family: var(--ui); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--brass-2); margin-bottom: 4px; }
.cmp-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.cmp-row .lab { font-size: 13px; color: var(--muted); margin-bottom: 4px; display: flex; gap: 6px; align-items: center; }
.cmp-row .vals { display: grid; gap: 8px; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); font-size: 14.5px; }
.cmp-row.diff { background: linear-gradient(90deg, var(--brass-soft), transparent 70%); }
.cmp-row .win { font-weight: 700; color: var(--green); }
.cmp-row .win::after { content: " ●"; color: var(--brass); font-size: 10px; vertical-align: 2px; }
.cmp-only-diff .cmp-row:not(.diff) { display: none; }
.tip { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 11px; color: var(--muted); cursor: help; background: #fff; padding: 0; }
.tipbox { font-size: 13px; background: var(--ink); color: #fff; padding: 10px 12px; border-radius: 8px; margin-top: 6px; max-width: 46ch; }
@media (min-width: 900px) { .cmp-row { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 16px; align-items: start; } .cmp-row .lab { margin: 0; } .cmp-head { grid-template-columns: 220px repeat(var(--n,2), minmax(0,1fr)); } .cmp-head::before { content: ""; } }

/* Catalog filters */
.filters { display: grid; gap: 10px; margin-bottom: 18px; }
.filters .row { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 900px) { .filters .row { grid-template-columns: repeat(6, minmax(0,1fr)); } }
.filters select { min-height: 44px; font-size: 14.5px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line-2); background: #fff; padding: 8px 14px; border-radius: 999px; font-size: 14px; cursor: pointer; min-height: 40px; }
.chip[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.count { font-size: 14px; color: var(--muted); }

/* Compare tray */
.tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--green); color: #fff; transform: translateY(110%); transition: transform .2s; padding-bottom: env(safe-area-inset-bottom); }
.tray.show { transform: none; }
.tray .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.tray .items { display: flex; gap: 6px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.tray .items span { flex: none; background: rgba(255,255,255,.12); padding: 6px 10px; border-radius: 999px; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.tray .items button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 15px; line-height: 1; padding: 2px; }
.tray .btn { background: var(--brass); border-color: var(--brass); color: #fff; flex: none; min-height: 44px; }
.cmp-toggle[aria-pressed="true"] { background: var(--green); color: #fff; }

/* Buy box */
.buy { display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.buy .price { font-family: var(--display); font-size: 32px; line-height: 1; }
.buy .was { text-decoration: line-through; color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .prod-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; } .prod-grid aside { position: sticky; top: 84px; } }
.specs { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.specs div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.specs .src { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }
.pc { display: grid; gap: 16px; }
@media (min-width: 640px) { .pc { grid-template-columns: 1fr 1fr; } }
.pc ul { margin: 0; padding-left: 20px; }
.pros h3 { color: var(--good); } .cons h3 { color: var(--bad); }
.bar { height: 6px; background: var(--sunk); border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brass); }
.breakdown { display: grid; gap: 10px; }
.breakdown div { display: grid; grid-template-columns: minmax(0,1fr) 54px; gap: 4px 12px; align-items: center; font-size: 14px; }
.breakdown .bar { grid-column: 1 / -1; }

/* Footer */
footer.site { background: #0F1F18; color: #C3CEC6; padding-block: 48px 32px; margin-top: 0; font-size: 14px; }
footer.site a { color: #E6E0D2; text-decoration: none; }
footer.site a:hover { text-decoration: underline; color: #fff; }
footer.site h4 { font: 600 12px/1.2 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: #D9C08A; margin: 0 0 12px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr repeat(5, 1fr); } }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-brand { grid-column: auto; } }
.foot-legal { border-top: 1px solid #23352C; margin-top: 32px; padding-top: 20px; display: grid; gap: 8px; font-size: 12.5px; color: #93A399; }

/* Utility */
.mt0 { margin-top: 0; } .mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; }
.flex { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.hide { display: none !important; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.divider { height: 1px; background: var(--line); margin: 24px 0; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.stat { display: grid; gap: 2px; }
.stat b { font-family: var(--display); font-size: 30px; font-weight: 500; line-height: 1; }
.stat span { font-size: 13px; color: var(--muted); }
details.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: "+"; color: var(--brass); font-size: 20px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 10px 0 0; }
.ill { color: var(--green); }
@media print { .mast, .tray, footer.site, .hero-art { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.cta-sm { white-space: nowrap; }
.show-xs { display: none; }
@media (max-width: 480px) { .hide-xs { display: none; } .show-xs { display: inline; } }
@media (max-width: 560px) {
  .dims { grid-template-columns: 1fr; gap: 10px; }
  .dim { grid-template-columns: 88px 1fr; align-items: center; }
}

/* Build Your Own Golf Simulator */
.bnav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 14px; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.bnav::-webkit-scrollbar { display: none; }
.bnav .chip { font-size: 13px; min-height: 36px; padding: 6px 12px; }
.bnav .chip.done { border-color: var(--green-2); color: var(--green-2); }
.bnav .chip.on { background: var(--green); color: #fff; border-color: var(--green); }
.bnav .chip[disabled] { opacity: .45; cursor: default; }
.bopts { display: grid; gap: 10px; }
@media (min-width: 760px) { .bopts { grid-template-columns: 1fr 1fr; } }
.bopt { position: relative; display: block; }
.bopt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.bcard { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; min-width: 0; }
.bcard b { font-weight: 600; }
.bopt input:checked + .bcard { border-color: var(--green); box-shadow: inset 0 0 0 2px var(--green); background: var(--green-soft); }
.bopt input:focus-visible + .bcard { outline: 2px solid var(--brass); outline-offset: 2px; }
.bopt.red .bcard { background: #FBF7F5; }
.bopt .checks { margin: 4px 0 0; }
.bopt a { position: relative; z-index: 1; justify-self: start; }
.bstep .dims { max-width: 560px; }
#bNav { position: sticky; bottom: 0; background: var(--surface); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); margin-top: 18px; align-items: center; z-index: 5; }
#bRunning { font-variant-numeric: tabular-nums; text-align: center; }
.ecard .kv { margin-top: 8px; }
.ecard details summary { cursor: pointer; min-height: 36px; display: flex; align-items: center; }
svg.diagram { width: 100%; max-width: 520px; color: var(--ink-2); }
@media print {
  .mast, .crumbs, footer, .bnav, #bNav, .tray, .flex .btn, [data-goto] { display: none !important; }
  body { background: #fff; }
}
.build-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 10px; }
.build-steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: baseline; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.build-steps li::before { content: counter(s); grid-row: span 2; font-family: var(--display); font-size: 22px; color: var(--brass); }
@media (max-width: 640px) {
  table.bsum thead { display: none; }
  table.bsum, table.bsum tbody, table.bsum tr, table.bsum td { display: block; width: 100%; }
  table.bsum tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.bsum td { padding: 0; border: 0; }
  table.bsum td:first-child { grid-column: 1 / -1; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  table.bsum td:nth-child(2) { grid-column: 1; }
  table.bsum td:nth-child(3) { grid-column: 2; grid-row: 2; text-align: right; }
  table.bsum td:nth-child(4) { grid-column: 1 / -1; }
  table.bsum td:nth-child(4):empty { display: none; }
}

/* Photography */
.hero.has-photo { background: #0F241B; }
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; display: block; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,30,22,.94) 0%, rgba(12,30,22,.82) 45%, rgba(12,30,22,.45) 100%); }
@media (max-width: 899px) { .hero-photo::after { background: linear-gradient(180deg, rgba(12,30,22,.80) 0%, rgba(12,30,22,.92) 100%); } }
.hero-credit { position: absolute; z-index: 1; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 8px; margin: 0; font-size: 11.5px; color: #AEBDB3; }
.hero-credit a { color: inherit; }
figure.photo { margin: 0; border-radius: 12px; overflow: hidden; background: var(--paper, #fff); border: 1px solid var(--line, #E3DED3); }
figure.photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
figure.photo figcaption { padding: 10px 14px; font-size: 12.5px; color: var(--muted, #5E6A63); }
figure.photo figcaption a { color: inherit; }

/* Product card facts */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.facts div { min-width: 0; }
.facts dt { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-size: 13.5px; line-height: 1.35; }
.pcard .art.photo { padding: 0; }
.pcard .art.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Homepage: how it works, components, sample build */
ol.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
ol.how li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; min-width: 0; }
ol.how li a { color: inherit; }
.hw-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--display); font-size: 18px; }
ol.how.comps { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
ol.how .tag { margin-top: 8px; }
ul.ticks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
ul.ticks li { position: relative; padding-left: 24px; font-size: 14.5px; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg); }
.band.feature { border-block: 1px solid var(--line); }
.sample .slist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; }
.sample .slist li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.sample .slist li > span { min-width: 0; }
.sample .stotal { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; font-weight: 600; }
.sample .stotal b { font-family: var(--display); font-size: 26px; font-weight: 500; }
.trust > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }

/* Builder: progress, requirement tags, sticky footer */
.bprog { display: grid; gap: 6px; margin-bottom: 12px; }
.bprog .bar i { transition: width .25s ease; }
.breq.tag { margin-top: 8px; }
.breq.req-y { background: var(--green-soft); color: var(--green); border-color: transparent; }
#bNav { position: sticky; bottom: 0; z-index: 6; background: var(--surface); padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); align-items: center; }
#bRunning { display: grid; line-height: 1.2; }
#bRunning b { font-family: var(--display); font-size: 20px; font-weight: 500; }

/* Catalog: collapsible filters on phones, shortcut chips */
.fwrap > summary { list-style: none; margin-bottom: 10px; }
.fwrap > summary::-webkit-details-marker { display: none; }
@media (min-width: 760px) { .fwrap > summary { display: none; } }
.chips.quick { margin-bottom: 16px; }
a.chip { text-decoration: none; color: var(--ink); white-space: nowrap; }
a.chip:hover { border-color: var(--brass); }
#count { display: block; margin: 0 0 12px; font-size: 13.5px; color: var(--muted); }
.pcard .art { aspect-ratio: 21/9; }
.pcard .art.photo { aspect-ratio: 16/9; }

/* Compare: at-a-glance cards */
.h3 { font-size: 22px; }
.glance { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 12px; }
.gcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.gcard h3 { font-size: 19px; }
.gcard h3 a { color: inherit; text-decoration: none; }
.gcard .price { font-family: var(--display); font-size: 24px; margin: 0; }
.gcard .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* Package cards: what's included */
ul.inc { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
ul.inc li { font-size: 12.5px; padding: 3px 9px 3px 22px; border-radius: 999px; border: 1px solid var(--line); position: relative; }
ul.inc li::before { position: absolute; left: 8px; top: 2px; font-weight: 700; }
ul.inc li.yes { background: var(--green-soft); border-color: transparent; }
ul.inc li.yes::before { content: "✓"; color: var(--green); }
ul.inc li.no { color: var(--bad); }
ul.inc li.no::before { content: "✕"; }
ul.inc li.na { color: var(--muted); }
ul.inc li.na::before { content: "–"; }
ul.inc li.unk { color: var(--muted); }
ul.inc li.unk::before { content: "?"; }
.basis { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 600; letter-spacing: .03em; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 8px; vertical-align: 2px; }

/* Product page: before you buy */
.qa { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.qa .card h3 { font-size: 17px; }
.mbuy { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin-bottom: 16px; }
.mbuy b { display: block; font-family: var(--display); font-size: 24px; font-weight: 500; }
.mbuy .flex { gap: 8px; }
@media (min-width: 900px) { .mbuy { display: none; } }
details.pkd summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; color: var(--green); }
@media (max-width: 759px) {
  .picks { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); scrollbar-width: none; }
  .picks::-webkit-scrollbar { display: none; }
  .picks > .card { flex: 0 0 78%; scroll-snap-align: start; }
  .hide-sm { display: none; }
}
.cta-band { display: grid; gap: 16px; align-items: center; background: var(--green); color: #fff; border-radius: var(--r); padding: 24px; margin-block: 32px 8px; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 28px); }
.cta-band p { color: #D3DDD5; max-width: 60ch; }
.cta-band .eyebrow { color: #D9C08A; }
.cta-band .btn.ghost { color: #fff; border-color: rgba(255,255,255,.5); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; padding: 32px; } }
@media (max-width: 379px) { .mast .wrap { gap: 10px; } .logo { font-size: 19px; } .logo svg { width: 26px; height: 26px; } .mast .cta-sm { padding: 8px 12px; font-size: 13px; } .menu-btn { margin-left: 0; } }

/* Phones: tables become stacked cards (no sideways scrolling) */
@media (max-width: 639px) {
  .tbl-wrap:has(table.stack) { border: 0; background: none; overflow: visible; }
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tbody { display: grid; gap: 10px; }
  table.stack tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
  table.stack td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 16px; text-align: right; font-size: 14px; }
  table.stack td::before { content: attr(data-label); color: var(--muted); font-size: 12.5px; text-align: left; flex: none; max-width: 45%; }
  table.stack td.n { text-align: right; }
  table.stack td:first-child { display: block; text-align: left; font-family: var(--display); font-size: 18px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
  table.stack td:first-child::before { display: none; }
  table.stack td:first-child a { text-decoration: none; color: var(--ink); }
}

/* Phones: swipeable rows for secondary homepage sections */
@media (max-width: 759px) {
  .swipe { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 10px; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); scroll-padding-inline: max(16px, env(safe-area-inset-left, 0px)); scrollbar-width: none; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 82%; scroll-snap-align: start; min-width: 0; }
  ol.how.swipe > li { flex-basis: 74%; }
}
.ecard details summary { list-style: none; justify-content: space-between; font-weight: 600; }
.ecard details summary::-webkit-details-marker { display: none; }
.ecard details summary::after { content: "+"; color: var(--brass); font-size: 20px; }
.ecard details[open] summary::after { content: "–"; }
/* Room calculator result lists */
details.fitgrp > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 32px; }
details.fitgrp > summary::-webkit-details-marker { display: none; }
details.fitgrp > summary::after { content: "+"; color: var(--brass); font-size: 20px; }
details.fitgrp[open] > summary::after { content: "–"; }
ul.plist { list-style: none; padding: 0; margin: 10px 0 0; display: grid; }
ul.plist li { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
ul.plist li a { color: var(--ink); text-decoration: none; font-weight: 600; }
ul.plist li .num { text-align: right; }
ul.plist li .xs { grid-column: 1 / -1; }
/* equipment at-a-glance: collapsible on phones */
details.glw>summary{list-style:none;display:none}
details.glw>summary::-webkit-details-marker{display:none}
@media (max-width:759px){details.glw>summary{display:inline-flex;margin:4px 0 8px}details.glw[open]>summary{margin-bottom:12px}}
@media (max-width:759px){
  table.stack td { overflow-wrap: anywhere; }
  table.stack td:not(:first-child):has(a, ul, br) { display: block; text-align: left; line-height: 1.6; }
  table.stack td:not(:first-child):has(a, ul, br)::before { display: block; max-width: none; margin-bottom: 2px; }
}
.copy-fallback{flex:1 1 100%;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font:inherit;font-size:14px;background:var(--surface);color:var(--ink)}
/* Larger tap targets for small inline controls (phones) */
button[data-rm] { min-width: 32px; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; }
.link-btn.x, .tip { position: relative; }
.link-btn.x::after, .tip::after { content: ""; position: absolute; inset: -8px; }
/* Homepage: four tools, four jobs */
.tools4 { padding-block: 28px 0; }
.t4 { gap: 12px; }
.t4c { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; padding: 16px 18px; transition: border-color .15s, transform .15s; }
.t4c b { font-family: var(--display); font-size: 19px; font-weight: 500; line-height: 1.2; }
.t4c:hover { border-color: var(--brass); transform: translateY(-1px); }
@media (max-width: 759px) { .t4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .t4c { padding: 14px; } .t4c b { font-size: 17px; } .t4c .small { font-size: 13px; } }
/* Hero: photo beside the words, not behind them */
.hero.side { background: var(--green); }
.hero.side .wrap { grid-template-columns: 1fr; gap: 24px; padding-block: 36px 32px; }
.hero-fig { margin: 0; display: grid; gap: 6px; min-width: 0; }
.hero-fig img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 60% 50%; border-radius: 14px; display: block; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.hero.side .hero-credit { position: static; text-align: right; color: #AEBDB3; }
.hero.side .hero-facts { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .hero.side .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px; padding-block: 72px 48px; }
  .hero.side h1 { max-width: 14ch; }
}
.costsplit dd { font-weight: 600; }
@media print {
  .bnav, #bNav, .bprog, [data-goto], [data-bback], [data-bnext], #bCopy, #bSave, .copy-fallback, .cta-band, .breadcrumbs, .page-head .lede, .hero-fig { display: none !important; }
  table.bsum a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10px; color: #555; word-break: break-all; }
  .card, .result { box-shadow: none !important; break-inside: avoid; }
}
.rowfit { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 4px; }
.rowfit .light { font-size: 11px; }
/* guide photos */
.guide-photo{max-width:760px;margin:4px 0 28px}
.guide-photo figure.photo img{aspect-ratio:3/2}
.gcard{display:grid;gap:8px;align-content:start;overflow:hidden}
.gcard .gthumb{display:block;width:calc(100% + 2*var(--gpad,20px));max-width:none;margin:calc(-1*var(--gpad,20px)) calc(-1*var(--gpad,20px)) 4px;aspect-ratio:16/9;object-fit:cover;height:auto;border-radius:var(--r) var(--r) 0 0}
/* GolfSimsForSale.com: longer wordmark on phones */
@media (max-width: 479px) { .mast .wrap { gap: 8px; } .logo { font-size: 17.5px; gap: 8px; letter-spacing: -0.015em; } .logo svg { width: 26px; height: 26px; } .mast .cta-sm { padding: 8px 12px; font-size: 13.5px; } .menu-btn { margin-left: 0; } }
.menu-btn { flex: none; }
@media (max-width: 389px) { .logo { font-size: 16.5px; } .mast .logo svg { display: none; } }
@media (max-width: 339px) { .mast .cta-sm { display: none; } .menu-btn { margin-left: auto; } }
.grid > * { min-width: 0; }
.tags .tag { white-space: normal; overflow-wrap: anywhere; }
