/* ==========================================================================
   Golfdrive.org — main stylesheet
   Brand: Masters Green #0A5C36 · Warm Gold #D4AF37 · Cream #FDFBF7 · Georgia
   ========================================================================== */

:root {
    --green: #0A5C36;
    --green-dark: #07432A;
    --green-deep: #052F1D;
    --green-soft: #E6F0EA;
    --green-mid: #2E7D57;
    --gold: #D4AF37;
    --gold-dark: #A8871F;   /* gold for text on light backgrounds (AA contrast) */
    --gold-soft: #F7EED2;
    --cream: #FDFBF7;
    --paper: #FFFFFF;
    --sand: #F4EEE1;
    --ink: #1F2A24;
    --muted: #5B6A61;
    --line: #E6DFCF;

    --font: Georgia, 'Times New Roman', Times, serif;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(10, 40, 25, .06), 0 6px 18px rgba(10, 40, 25, .07);
    --shadow-lg: 0 2px 4px rgba(10, 40, 25, .06), 0 16px 40px rgba(10, 40, 25, .12);
    --container: 1180px;
    --narrow: 740px;
    --gutter: clamp(1rem, 4vw, 2rem);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; } /* clears the sticky header */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font); line-height: 1.2; margin: 0 0 .5em; color: var(--green-dark); font-weight: 700; }
p { margin: 0 0 1em; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
main:focus { outline: none; }
button, input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--gold); color: var(--green-deep); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 1rem; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block; vertical-align: -.2em; }
.icon--xl { width: 3rem; height: 3rem; margin: 0 auto 1rem; color: var(--gold-dark); }
.icon--title { width: 1em; height: 1em; display: inline-block; margin-right: .35em; color: var(--gold); vertical-align: -.1em; }

/* ------------------------------------------------------------- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .75em 1.35em; border-radius: 999px; border: 2px solid var(--green);
    background: var(--green); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.2;
    text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
    white-space: nowrap;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
.btn--gold:hover { background: #E0BE4C; border-color: #E0BE4C; color: var(--green-deep); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6em; margin: 0 0 .6rem;
    font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-dark);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.eyebrow--light { color: var(--gold); }

.badge {
    display: inline-block; padding: .25em .75em; border-radius: 999px; font-size: .78rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
    background: var(--gold); color: var(--green-deep);
}
.badge:hover { background: #E0BE4C; color: var(--green-deep); }
.badge--draft { background: #FBE3DA; color: #8A2E12; text-transform: none; letter-spacing: 0; }

/* -------------------------------------------------------------- header */
.site-header {
    background: var(--green); color: #fff; border-top: 4px solid var(--gold);
    position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand__mark { width: 40px; height: 40px; }
.brand__name { font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; }
.brand__name span { color: var(--gold); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav { display: flex; align-items: center; gap: .5rem; }
.site-nav a {
    display: block; padding: .5rem .75rem; color: rgba(255, 255, 255, .9); text-decoration: none;
    border-bottom: 2px solid transparent; font-size: 1rem;
}
.site-nav a:hover { color: #fff; border-bottom-color: rgba(212, 175, 55, .6); }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.site-nav a.site-nav__cta { display: inline-flex; align-items: center; gap: .4rem; margin-left: .35rem; padding: .45rem 1.05rem; border: 0; border-radius: 999px; background: var(--gold); color: var(--green-deep); font-weight: 700; }
.site-nav a.site-nav__cta:hover, .site-nav a.site-nav__cta[aria-current="page"] { background: #E0BE4C; color: var(--green-deep); border: 0; }
.site-nav__search { display: inline-flex !important; align-items: center; border: 1px solid rgba(255, 255, 255, .3) !important; border-radius: 999px; padding: .5rem !important; }
.site-nav__search:hover { background: rgba(255, 255, 255, .08); border-color: var(--gold) !important; }

/* Dropdown menus: open on hover or keyboard focus on desktop; on small screens they are listed inline (see below). */
.site-nav__item { position: relative; }
@media (min-width: 961px) {
    .site-nav .has-menu > a { display: inline-flex; align-items: center; gap: .4rem; }
    .site-nav .has-menu > a::after { content: ""; width: .4em; height: .4em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.15em) rotate(45deg); opacity: .8; }
    .site-nav .site-nav__menu {
        display: none; position: absolute; z-index: 60; top: 100%; left: 0; min-width: 15rem; flex-direction: column; align-items: stretch; gap: 0;
        padding: .5rem; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold);
        border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg);
    }
    /* The gap between the link and the bottom of the header stays hoverable. */
    .site-nav .site-nav__menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 1.25rem; }
    .site-nav .has-menu { padding-block: .8rem; }
    .site-nav__item:hover > .site-nav__menu, .site-nav__item:focus-within > .site-nav__menu { display: flex; }
    /* Long menus: two columns that read top to bottom (tools first, then sections). */
    .site-nav__item:hover > .site-nav__menu--cols, .site-nav__item:focus-within > .site-nav__menu--cols { display: block; column-count: 2; column-gap: .5rem; width: max-content; max-width: min(40rem, calc(100vw - 2rem)); }
    .site-nav .site-nav__menu--cols li { break-inside: avoid; }
    .site-nav .site-nav__menu--cols a { display: block; }
    /* Only the first item's menu opens to the right; the rest hang from their right edge so they stay on screen. */
    .site-nav__item:not(:first-child) > .site-nav__menu { left: auto; right: 0; }
    .site-nav .site-nav__menu a { padding: .5rem .75rem; border: 0; border-radius: var(--radius-sm); color: var(--ink); font-size: .95rem; white-space: nowrap; }
    .site-nav .site-nav__menu a:hover, .site-nav .site-nav__menu a:focus-visible { background: var(--green-soft); color: var(--green-dark); }
    .site-nav .site-nav__menu a[aria-current="page"] { color: var(--green); font-weight: 700; }
    .site-nav .site-nav__menu li:first-child a { font-weight: 700; color: var(--green-dark); }
}

.nav-toggle { display: none; background: none; border: 1px solid rgba(255, 255, 255, .35); color: #fff; border-radius: var(--radius-sm); padding: .45rem; cursor: pointer; }
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch;
        background: var(--green-dark); padding: .5rem var(--gutter) 1.25rem; border-bottom: 3px solid var(--gold);
    }
    .site-nav.is-open { display: flex; max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
    .site-nav ul { flex-direction: column; align-items: stretch; }
    .site-nav a { padding: .8rem .25rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .site-nav a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, .08); color: var(--gold); }
    .site-nav__search { align-self: flex-start; margin-top: .75rem; }
    .site-nav a.site-nav__cta { margin: .75rem 0 0; justify-content: center; padding: .7rem 1rem; }
    .site-nav .site-nav__menu { flex-direction: row; flex-wrap: wrap; gap: .4rem; padding: .6rem 0 .5rem; }
    .site-nav .site-nav__menu a { padding: .3rem .8rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: .88rem; }
    .site-nav .site-nav__menu a[aria-current="page"] { border-color: var(--gold); }
    /* Without JS the menu stays reachable */
    .no-js .site-nav { position: static; display: flex; }
}

/* ---------------------------------------------------------- breadcrumbs */
.breadcrumbs ol { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .88rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255, 255, 255, .7); }
.breadcrumbs li + li::before { content: "›"; color: var(--gold); }
.breadcrumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: rgba(255, 255, 255, .65); display: inline-block; max-width: 36ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.article__header .breadcrumbs li, .article__header .breadcrumbs [aria-current] { color: var(--muted); }
.article__header .breadcrumbs a { color: var(--green); }

/* ---------------------------------------------------------------- hero */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .028) 0 46px, transparent 46px 92px),
        radial-gradient(1200px 500px at 85% 0%, rgba(212, 175, 55, .16), transparent 60%),
        linear-gradient(160deg, var(--green) 0%, var(--green-dark) 70%, var(--green-deep) 100%);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero__title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.015em; margin-bottom: 1rem; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .85); max-width: 36em; margin-bottom: 1.75rem; }
.hero__popular { margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .92rem; color: rgba(255, 255, 255, .7); }
.hero__popular a { color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: .2rem .8rem; }
.hero__popular a:hover { border-color: var(--gold); color: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.hero .shop-search { margin-top: 0; }
.hero__art img { width: 100%; border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); border: 3px solid rgba(212, 175, 55, .55); }
@media (max-width: 860px) {
    .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
    .hero__art { max-width: 520px; }
}

/* --------------------------------------------------------- search form */
.search-form { display: flex; gap: .5rem; max-width: 560px; background: #fff; padding: .4rem; border-radius: 999px; box-shadow: var(--shadow); margin-top: 1.25rem; }
.search-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .6rem 1rem; font-size: 1rem; color: var(--ink); }
.search-form input:focus { outline: none; }
.search-form:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.search-form--hero { margin-top: 0; }
@media (max-width: 480px) { .search-form .btn .icon { display: none; } .search-form .btn { padding-inline: 1rem; } }

/* ------------------------------------------------------------ sections */
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem); }
.section--alt { background: var(--sand); border-block: 1px solid var(--line); }
.section--dark { background: var(--green-deep); color: rgba(255, 255, 255, .85); }
.section--dark .section__title { color: #fff; }
.section--dark a:not(.btn) { color: var(--gold); }
.section__header { margin-bottom: 2rem; }
.section__header--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.section__title--small { font-size: 1.35rem; margin: 2rem 0 1rem; }

/* --------------------------------------------------------- page header */
.page-header {
    color: #fff; padding-block: clamp(2rem, 5vw, 3.5rem);
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 46px, transparent 46px 92px),
        linear-gradient(160deg, var(--green), var(--green-dark));
    border-bottom: 4px solid var(--gold);
}
.page-header__title { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .5rem; }
.page-header__intro { color: rgba(255, 255, 255, .85); font-size: 1.15rem; max-width: 42em; margin: 0; }

/* --------------------------------------------------------------- tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.tiles--compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tile {
    display: flex; flex-direction: column; height: 100%; padding: 1.5rem; background: var(--paper);
    border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
    box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative;
}
.tile::after { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #D9CFB7; color: var(--ink); }
.tile:hover::after { transform: scaleX(1); }
.tile__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green-soft); color: var(--green); margin-bottom: 1rem; }
.tile__icon .icon { width: 26px; height: 26px; }
.tile__name { font-size: 1.2rem; font-weight: 700; color: var(--green-dark); margin-bottom: .35rem; }
.tile__desc { color: var(--muted); font-size: .95rem; flex: 1; margin-bottom: .75rem; }
.tile__count { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }

/* --------------------------------------------------------------- cards */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

.card {
    display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--green-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__media--placeholder {
    display: grid; place-items: center; color: var(--gold);
    background:
        radial-gradient(circle at 78% 28%, rgba(255, 255, 255, .12) 0 14%, transparent 15%),
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 22px, transparent 22px 44px),
        linear-gradient(150deg, var(--green-mid), var(--green-dark));
}
.card__icon { width: 64px; height: 64px; opacity: .95; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.4rem 1.35rem; }
.card__meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 0 .5rem; font-size: .78rem; }
.card__category { color: var(--gold-dark); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.card__category:hover { color: var(--green); }
.card__title { font-size: 1.25rem; margin: 0 0 .5rem; }
.card__title a { color: var(--green-dark); text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
.card__title a:hover { background-size: 100% 2px; }
.card__excerpt { color: var(--muted); font-size: .97rem; flex: 1; }
.card__footer { margin: 0; display: flex; gap: .5rem; font-size: .85rem; color: var(--muted); }

.card--large { display: grid; grid-template-columns: 1.2fr 1fr; margin-bottom: 1.5rem; }
.card--large .card__media { aspect-ratio: auto; min-height: 320px; }
.card--large .card__body { padding: clamp(1.5rem, 3vw, 2.5rem); justify-content: center; }
.card--large .card__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.card--large .card__excerpt { font-size: 1.05rem; flex: 0 0 auto; }
.card--large .card__icon { width: 96px; height: 96px; }
@media (max-width: 760px) { .card--large { grid-template-columns: 1fr; } .card--large .card__media { min-height: 0; aspect-ratio: 16 / 9; } }

.card--compact { box-shadow: none; border-width: 0 0 1px; border-radius: 0; background: transparent; }
.card--compact:hover { transform: none; box-shadow: none; }
.card--compact .card__body { padding: 0 0 1.1rem; }
.card--compact .card__title { font-size: 1.12rem; }

.latest { display: grid; grid-template-columns: 1.65fr 1fr; gap: 2rem; align-items: start; }
.latest .card--large { grid-template-columns: 1fr; margin: 0; }
.latest .card--large .card__media { min-height: 0; aspect-ratio: 16 / 9; }
.latest__list { display: flex; flex-direction: column; gap: 1.1rem; }
.latest__more { margin-top: 2rem; }
@media (max-width: 900px) { .latest { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { display: inline-flex; align-items: center; gap: .4em; padding: .4rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--green-dark); text-decoration: none; font-size: .92rem; }
.chip span { font-size: .75rem; color: var(--muted); }
.chip:hover { border-color: var(--gold); color: var(--green); }
.chip[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }
.chip[aria-current="page"] span { color: var(--gold); }

.tag-cloud { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-cloud a { display: inline-block; padding: .35rem .9rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--green-dark); font-size: .92rem; }
.tag-cloud a:hover { border-color: var(--gold); }
.tag-cloud span { color: var(--muted); font-size: .78rem; margin-left: .2rem; }
.az-group { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; padding-block: .75rem; border-top: 1px solid var(--line); }
.az-group__letter { font-size: 1.5rem; color: var(--gold-dark); margin: 0; }

/* ---------------------------------------------------------- pagination */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; margin-top: 3rem; }
.pagination ol { list-style: none; display: flex; gap: .35rem; margin: 0; padding: 0; }
.pagination a, .pagination span[aria-current] { display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding-inline: .75rem; border-radius: 999px; text-decoration: none; border: 1px solid var(--line); background: var(--paper); color: var(--green-dark); }
.pagination a:hover { border-color: var(--gold); }
.pagination span[aria-current] { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }
.pagination__step { display: inline-flex !important; gap: .4rem; }
.pagination__gap { align-self: center; color: var(--muted); padding-inline: .2rem; }

.empty { text-align: center; padding: 3rem 1rem; max-width: 34rem; margin: 0 auto; }
.results-count { color: var(--muted); margin-bottom: 1.5rem; }

/* -------------------------------------------------------------- toolkit */
.toolkit { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 1.5rem; }
@media (max-width: 960px) { .toolkit { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.panel__title { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; margin-bottom: 1rem; }
.panel__title .icon { color: var(--gold-dark); width: 1.4em; height: 1.4em; }
.panel__quote { font-size: 1.2rem; font-style: italic; line-height: 1.55; color: var(--green-dark); flex: 1; }
.panel__term { font-size: 1.5rem; font-weight: 700; color: var(--green); margin-bottom: .4rem; }
.panel__note { font-size: .85rem; color: var(--muted); margin: .75rem 0; }
.panel__link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; margin-top: auto; }
.panel__link:hover { gap: .65rem; }
.panel--term p:not([class]) { flex: 1; }

.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; }
.calc label { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; color: var(--muted); }
.calc input { width: 100%; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); color: var(--ink); font-size: 1rem; }
.calc input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.calc input[aria-invalid="true"] { border-color: #B3401F; }
.calc__result { display: block; margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--green); color: #fff; font-size: 1.05rem; }
.calc__result strong { color: var(--gold); font-size: 1.35rem; margin-left: .25rem; }

/* Calculators rendered by tools/_calc.php: a report (headline, rows, note) on a light background. */
.calc-panel { margin-bottom: 1.5rem; }
.calc textarea, .calc input[type="time"] { width: 100%; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); color: var(--ink); font-size: 1rem; }
.calc textarea { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .95rem; line-height: 1.5; resize: vertical; }
.calc textarea:focus, .calc select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.calc__result--report { padding: 1.1rem 1.25rem; background: var(--green-soft); color: var(--ink); border-left: 5px solid var(--green); font-size: 1rem; }
.calc__result--report a { color: var(--green); font-weight: 700; }
.calc-report__headline { margin: 0 0 .6rem; font-size: 1.45rem; font-weight: 700; line-height: 1.25; color: var(--green-dark); }
.calc-report__rows { margin: 0; }
.calc-report__rows > div { display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr; gap: .25rem 1rem; padding: .45rem 0; border-top: 1px solid rgba(10, 92, 54, .15); }
.calc-report__rows dt { color: var(--muted); font-size: .92rem; }
.calc-report__rows dd { margin: 0; font-weight: 700; color: var(--green-dark); }
.calc-report__note { margin: .75rem 0 0; font-size: .95rem; }
@media (max-width: 520px) {
    .calc-report__rows > div { grid-template-columns: 1fr; gap: 0; }
    .calc__grid { grid-template-columns: 1fr; }
}
/* Report charts (built in tools.js): bars, you-vs-benchmark, stacked split, per-hole cells, banded scale. */
.calc-bars, .calc-versus, .calc-split, .calc-cells, .calc-scale { margin: .25rem 0 1rem; }
.calc-bars__row { display: grid; grid-template-columns: minmax(6rem, 9rem) 1fr auto; align-items: center; gap: .75rem; padding: .25rem 0; font-size: .92rem; }
.calc-bars__track { height: .8rem; border-radius: 999px; background: rgba(10, 92, 54, .12); overflow: hidden; }
.calc-bars__fill { display: block; height: 100%; border-radius: 999px; background: var(--green); }
.calc-bars__fill.is-gold { background: var(--gold-dark); }
.calc-bars__fill.is-minus { background: #B3401F; }
.calc-bars__value { font-weight: 700; color: var(--green-dark); white-space: nowrap; }
.calc-versus__key { display: flex; gap: 1.25rem; margin: 0 0 .4rem; font-size: .8rem; color: var(--muted); }
.calc-versus__key span::before { content: ""; display: inline-block; width: .7rem; height: .7rem; margin-right: .4rem; border-radius: 2px; background: var(--green); vertical-align: -.05em; }
.calc-versus__key .is-bench::before { background: #B9C4BC; }
.calc-versus__row { display: grid; grid-template-columns: minmax(5rem, 7rem) 1fr; align-items: center; gap: .75rem; padding: .3rem 0; font-size: .92rem; }
.calc-versus__bars { display: grid; gap: 3px; }
.calc-versus__bar { display: block; min-width: 2.4rem; height: 1.15rem; border-radius: 4px; background: #B3401F; color: #fff; font-size: .75rem; line-height: 1.15rem; text-align: right; padding-right: .4rem; white-space: nowrap; }
.calc-versus__bar.is-you.is-good { background: var(--green); }
.calc-versus__bar.is-bench { background: #B9C4BC; color: var(--ink); }
.calc-split__bar { display: flex; height: 1.1rem; border-radius: 999px; overflow: hidden; background: rgba(10, 92, 54, .12); }
.calc-split__key { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .88rem; }
.calc-split__key span { display: inline-block; width: .7rem; height: .7rem; margin-right: .35rem; border-radius: 2px; }
.calc-split .is-s0 { background: var(--green); }
.calc-split .is-s1 { background: var(--gold-dark); }
.calc-split .is-s2 { background: var(--green-mid); }
.calc-split .is-s3 { background: #D9B95A; }
.calc-split .is-s4 { background: var(--green-deep); }
.calc-cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.2rem, 1fr)); gap: .35rem; }
.calc-cells__cell { display: flex; flex-direction: column; align-items: center; padding: .35rem .2rem; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid rgba(10, 92, 54, .18); text-align: center; line-height: 1.25; }
.calc-cells__cell small { font-size: .7rem; color: var(--muted); letter-spacing: .04em; }
.calc-cells__cell b { font-size: .92rem; color: var(--muted); }
.calc-cells__cell.is-on { border-color: var(--green); }
.calc-cells__cell.is-on b { color: var(--green-dark); }
.calc-cells__cell.is-gold { background: var(--gold-soft); border-color: var(--gold-dark); }
.calc-cells__cell.is-gold b { color: var(--green-deep); }
.calc-scale__track { position: relative; display: flex; gap: 2px; padding-top: .9rem; }
.calc-scale__track span { padding: .3rem .2rem; font-size: .78rem; text-align: center; background: rgba(10, 92, 54, .12); color: var(--muted); white-space: nowrap; overflow: hidden; }
.calc-scale__track span:first-of-type { border-radius: 999px 0 0 999px; }
.calc-scale__track span:last-of-type { border-radius: 0 999px 999px 0; }
.calc-scale__track span.is-active { background: var(--green); color: #fff; font-weight: 700; }
.calc-scale__marker { position: absolute; top: 0; margin-left: -.4rem; border: .4rem solid transparent; border-top-color: var(--gold-dark); border-bottom: 0; }

/* Calculator toolbar, restored-values note and saved history. */
.calc-note { margin: 0 0 .9rem; padding: .5rem .8rem; border-radius: var(--radius-sm); background: var(--gold-soft); border: 1px solid #EAD9A4; font-size: .88rem; }
.calc-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 0; }
.calc-tool { display: inline-flex; align-items: center; gap: .35rem; min-height: 38px; padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--green-dark); font: inherit; font-size: .88rem; cursor: pointer; }
.calc-tool:hover { border-color: var(--green); }
.calc-tool:disabled { opacity: .5; cursor: default; }
.calc-tool--primary { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }
.calc-tool--primary:hover { background: var(--green-dark); }
.calc-history { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.calc-history__title { font-size: 1.05rem; margin: 0 0 .75rem; }
.calc-history__title small { font-weight: normal; font-size: .8rem; color: var(--muted); margin-left: .4rem; }
.calc-history__summary { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-bottom: .75rem; }
.calc-spark { width: 240px; max-width: 100%; height: 48px; color: var(--green); }
.calc-history__summary dl { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; }
.calc-history__summary dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.calc-history__summary dd { margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--green-dark); }
.calc-history__summary dd.is-better { color: var(--green); }
.calc-history__summary dd.is-worse { color: #B3401F; }
.calc-history__list { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.calc-history__list li { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: .75rem; align-items: center; padding: .4rem 0; border-top: 1px solid var(--line); }
.calc-history__list time { color: var(--muted); }
.calc-history__list button { border: 0; background: none; color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; padding: .2rem .5rem; border-radius: 50%; }
.calc-history__list button:hover { background: var(--sand); color: #B3401F; }
.calc-history__more { margin: .5rem 0 0; font-size: .85rem; color: var(--muted); }
.calc-history__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 0; }
.calc-history__summary dd small { font-size: .78rem; font-weight: normal; color: var(--muted); }
.calc-trend-chart { display: block; width: 100%; max-width: 560px; height: auto; margin: .25rem 0 .9rem; }
.calc-trend-chart__grid { stroke: var(--line); stroke-width: 1; }
.calc-trend-chart__axis { font-size: 9px; fill: var(--muted); }
.calc-trend-chart__line { fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.calc-trend-chart__dot { fill: var(--paper); stroke: var(--green); stroke-width: 1.5; }
.calc-trend-chart__dot.is-best { fill: var(--gold); stroke: var(--green-dark); }
.calc-trend-chart__goal { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 5 4; }
.calc-trend-chart__goal-label { font-size: 9px; font-weight: 700; fill: var(--green-dark); }
.calc-scenarios { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.calc-scenarios[hidden] { display: none; }
.calc-scenarios__title { font-weight: 700; color: var(--green-dark); margin: 0 0 .6rem; }
.calc-scenarios__title small { display: block; font-weight: normal; font-size: .8rem; color: var(--muted); }
.calc-scenarios__table { text-align: left; }
.calc-scenarios__table td { vertical-align: top; }
.calc-scenarios__result td { font-weight: 700; color: var(--green-dark); background: var(--green-soft); }
.calc-scenarios__x { border: 0; background: none; color: var(--muted); font-size: 1.05rem; line-height: 1; cursor: pointer; padding: 0 .3rem; }
.calc-scenarios__x:hover { color: #B3401F; }
@media (max-width: 520px) {
    .calc-history__list li { grid-template-columns: 1fr auto; }
    .calc-history__list time { grid-column: 1 / -1; }
    .calc-bars__row { grid-template-columns: 5.5rem 1fr auto; gap: .5rem; }
}
.tool-perks { list-style: none; margin: 0 0 2rem; padding: 1rem 1.25rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .75rem 1.5rem; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); font-size: .92rem; }
.tool-perks li { display: flex; gap: .6rem; align-items: flex-start; }
.tool-perks .icon { color: var(--green); margin-top: .15em; }
.tool-locker { margin: 0 0 2.5rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--green-soft); border-left: 5px solid var(--green); }
.tool-locker__title { font-size: 1.1rem; margin: 0 0 .5rem; }
.tool-locker__items { list-style: none; margin: 0 0 .9rem; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; }
@media print {
    body.is-printing-tool .tool-notes, body.is-printing-tool .tool-more, body.is-printing-tool .tool-cta, body.is-printing-tool .calc-toolbar,
    body.is-printing-tool .calc-note, body.is-printing-tool .calc-history__actions, body.is-printing-tool .page-header__intro, body.is-printing-tool .cookie-banner { display: none !important; }
    body.is-printing-tool .page-header { background: none; color: #000; border: 0; padding: 0 0 .5rem; }
    body.is-printing-tool .page-header__title { color: #000; font-size: 20pt; }
    body.is-printing-tool .panel { box-shadow: none; border: 1px solid #999; break-inside: avoid; }
    body.is-printing-tool .calc-bars__fill, body.is-printing-tool .calc-versus__bar, body.is-printing-tool .calc-split__bar span,
    body.is-printing-tool .calc-scale__track span.is-active { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Report diagrams, chart labels and the index trend. */
.calc-chart-label { margin: .9rem 0 .2rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.calc-diagram { display: block; width: 100%; max-width: 420px; margin: .25rem 0 1rem; background: #DCEBDF; border-radius: var(--radius-sm); }
.calc-diagram text { font-size: 9px; fill: var(--green-deep); font-family: inherit; }
.calc-diagram__aim { stroke: var(--gold-dark); stroke-width: 1.2; stroke-dasharray: 4 3; fill: none; }
.calc-diagram__path { stroke: var(--green); stroke-width: 2.2; fill: none; stroke-linecap: round; }
.calc-diagram__hole { fill: var(--green-deep); }
.calc-diagram__ball { fill: #fff; stroke: var(--green-deep); stroke-width: 1; }
.calc-diagram__mark { fill: var(--gold-dark); }
.calc-diagram__trouble { fill: rgba(179, 64, 31, .28); }
.calc-diagram__pattern { fill: rgba(10, 92, 54, .28); stroke: var(--green); stroke-width: 1.2; }
.calc-trend { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; color: var(--green); font-weight: 700; }
.calc-trend span { color: var(--green-dark); }

/* Scorecard: scores coloured against par, and the course row. */
.scorecard input[name="score"][data-rel="under"] { background: var(--gold-soft); border-color: var(--gold-dark); color: var(--green-deep); }
.scorecard input[name="score"][data-rel="par"] { background: var(--green-soft); border-color: var(--green-mid); }
.scorecard input[name="score"][data-rel="double"] { background: #FBE3DA; border-color: #D9967F; }
.scorecard-course { margin-bottom: 1.25rem; }
.scorecard-course .tool-field:first-child { flex: 1 1 12rem; }
.scorecard-course .tool-field:first-child input { width: 100%; }
.scorecard-course .tool-field input[type="number"] { width: 6rem; }
.scorecard-course select { min-width: 12rem; width: auto; }

/* Warm-up timer progress and sound toggle. */
.warmup__bar { height: .5rem; margin: 1rem auto 0; max-width: 26rem; border-radius: 999px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.warmup__bar span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .6s linear; }
.warmup__sound { cursor: pointer; }

/* My Golf dashboard. */
.dashboard__panel { margin-bottom: 1.5rem; }
.dashboard__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.dashboard__card { display: flex; flex-direction: column; gap: .2rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.dashboard__card:hover { border-color: var(--green); transform: translateY(-2px); color: var(--ink); }
.dashboard__name { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dashboard__value { font-size: 1.9rem; font-weight: 700; line-height: 1.1; color: var(--green-dark); }
.dashboard__value small { font-size: .85rem; font-weight: normal; color: var(--muted); }
.dashboard__card .calc-spark { width: 100%; height: 40px; }
.dashboard__meta { font-size: .82rem; color: var(--muted); }
.dashboard__meta .is-better { color: var(--green); }
.dashboard__meta .is-worse { color: #B3401F; }
.dashboard__starts { margin: 0; padding: 0; list-style: none; }
.dashboard__next { margin: 0; padding-left: 1.2rem; }
.dashboard__next li { margin: .4rem 0; }
.dashboard__restore { cursor: pointer; }
.dashboard .calc-note { margin: .9rem 0 0; }

/* Digital scorecard and warm-up timer. */
.scorecard-players { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .6rem 1.5rem; margin-bottom: 1.25rem; }
.scorecard-players__row { display: flex; gap: .6rem; align-items: flex-end; }
.scorecard-players__row .tool-field:first-child { flex: 1; }
.scorecard-players__row .tool-field:first-child input { width: 100%; }
.scorecard-players__row .tool-field:last-child input { width: 5rem; }
.scorecard.scorecard--multi input { width: 2.8rem; }
.scorecard.scorecard--multi input[name="score"] { width: 2.9rem; }
@media (max-width: 520px) {
    .scorecard.scorecard--multi th, .scorecard.scorecard--multi td { padding: .25rem .12rem; }
    .scorecard.scorecard--multi input, .scorecard.scorecard--multi input[name="score"] { width: 2.15rem; padding-inline: 0; }
    .scorecard.scorecard--multi tbody th { width: 1.9rem; }
}
.scorecard--multi + .tool-saved, .scorecard-wrap + .tool-saved { margin-bottom: 1rem; }
.warmup__now { margin: 1.25rem 0 0; padding: 1.5rem 1rem; border-radius: var(--radius); text-align: center; color: #fff; background: linear-gradient(160deg, var(--green), var(--green-deep)); border: 2px solid var(--gold); }
.warmup__step { margin: 0; font-size: 1.05rem; color: var(--gold); font-weight: 700; }
.warmup__clock { margin: .25rem 0; font-size: clamp(3rem, 12vw, 4.5rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.warmup__what { margin: 0 auto; max-width: 30em; color: rgba(255, 255, 255, .88); }
.warmup__list { list-style: none; margin: 1.25rem 0 0; padding: 0; counter-reset: station; }
.warmup__list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .75rem; border-top: 1px solid var(--line); color: var(--muted); }
.warmup__list li strong { color: var(--green-dark); font-weight: normal; }
.warmup__list li.is-now { background: var(--gold-soft); border-radius: var(--radius-sm); }
.warmup__list li.is-now strong { font-weight: 700; }
.warmup__list li.is-done strong { text-decoration: line-through; color: var(--muted); }

.tool-group { margin-bottom: 3rem; scroll-margin-top: 96px; }
.tool-group .section__header { margin-bottom: 1.25rem; }
.tool-jump { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.tool-more__all { margin: 1.25rem 0 0; font-weight: 700; }
.tool-more__all a { text-decoration: none; }

.calc select { width: 100%; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); color: var(--ink); font-size: 1rem; }
.calc__wide { grid-column: 1 / -1; }

.tool-list { list-style: none; margin: 0 0 .5rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.tool-list a { display: flex; gap: .8rem; align-items: flex-start; padding: .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); background: var(--cream); }
.tool-list a:hover { border-color: var(--gold); }
.tool-list strong { display: block; color: var(--green-dark); }
.tool-list span { font-size: .9rem; }
.tool-list__icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--gold); }
.tool-list__icon .icon { width: 22px; height: 22px; }

/* Home page tools: the shaft quiz as a large feature card beside the other tools. */
.toolkit--pair { grid-template-columns: 1fr 1fr; }
.tool-showcase { display: grid; grid-template-columns: minmax(280px, 1fr) 2fr; gap: 1.25rem; align-items: stretch; }
.tool-showcase--plain { grid-template-columns: 1fr; }
.tool-showcase:not(.tool-showcase--plain) .tiles { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .tool-showcase:not(.tool-showcase--plain) .tiles { grid-template-columns: 1fr; } }
.tool-feature {
    display: flex; flex-direction: column; align-items: flex-start; padding: 1.75rem; border-radius: var(--radius); text-decoration: none;
    color: rgba(255, 255, 255, .88); border: 2px solid var(--gold); box-shadow: var(--shadow-lg);
    background: radial-gradient(500px 260px at 100% 0%, rgba(212, 175, 55, .22), transparent 60%), linear-gradient(160deg, var(--green), var(--green-deep));
    transition: transform .2s;
}
.tool-feature:hover { transform: translateY(-3px); color: #fff; }
.tool-feature__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); margin-bottom: 1.1rem; }
.tool-feature__icon .icon { width: 30px; height: 30px; }
.tool-feature__label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: .35rem; }
.tool-feature__name { font-size: 1.6rem; font-weight: 700; line-height: 1.2; color: #fff; margin-bottom: .6rem; }
.tool-feature__desc { flex: 1; margin-bottom: 1.25rem; }
@media (max-width: 960px) { .tool-showcase, .toolkit--pair { grid-template-columns: 1fr; } }
.home-topics { margin: 2rem 0 0; padding: 0; list-style: none; }

.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 3rem; }
@media (max-width: 760px) { .tool-grid { grid-template-columns: 1fr; } }
.tool-notes { border-top: 1px solid var(--line); padding-top: 1rem; }
.tile--disabled { opacity: .7; box-shadow: none; background: var(--sand); }
.tile--disabled:hover { transform: none; box-shadow: none; }
.tile--disabled::after { display: none; }

.shop-hero {
    color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem);
    background:
        radial-gradient(900px 400px at 90% 10%, rgba(212, 175, 55, .22), transparent 60%),
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 46px, transparent 46px 92px),
        linear-gradient(160deg, var(--green), var(--green-deep));
    border-bottom: 4px solid var(--gold);
}
.shop-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }
.btn--on-dark { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--on-dark:hover { background: #fff; color: var(--green-dark); border-color: #fff; }
.shop-promise ul { padding-left: 1.2em; margin: 0; }
.shop-promise li { margin: .5rem 0; }

.gear { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.gear__icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--gold); color: var(--gold); }
.gear__icon .icon { width: 42px; height: 42px; }
.gear p:last-child { margin: .5rem 0 0; max-width: 46em; }
@media (max-width: 760px) { .gear { grid-template-columns: 1fr; text-align: left; } }

/* -------------------------------------------------------------- article */
.article__header { padding-block: clamp(1.5rem, 4vw, 2.75rem) 1.5rem; }
.article__kicker { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.article__title { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.015em; margin-bottom: .75rem; }
.article__dek { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); font-style: italic; margin-bottom: 1.25rem; }
.article__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .92rem; color: var(--muted); padding-top: 1rem; border-top: 1px solid var(--line); margin: 0; }
.article__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.article__meta a { font-weight: 700; text-decoration: none; }
.article__hero { margin-block: 0 2rem; }
.article__hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 8; object-fit: cover; }
.article__body { padding-bottom: 3rem; }

.toc { margin: 0 0 2rem; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); }
.toc summary { cursor: pointer; padding: .9rem 1.25rem; font-weight: 700; color: var(--green-dark); }
.toc ol { margin: 0; padding: 0 1.25rem 1rem 2.5rem; font-size: .97rem; }
.toc li { margin: .3rem 0; }
.toc__item--h3 { list-style: circle; margin-left: 1.25rem !important; font-size: .93rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.disclosure { display: flex; gap: .75rem; align-items: flex-start; background: var(--gold-soft); border: 1px solid #EAD9A4; border-radius: var(--radius-sm); padding: .9rem 1.1rem; font-size: .9rem; margin-bottom: 2rem; }
.disclosure .icon { color: var(--gold-dark); margin-top: .2em; }
.disclosure p { margin: 0; }

/* ----------------------------------------------------- prose (articles) */
.prose { font-size: 1.125rem; line-height: 1.78; }
.prose > * + * { margin-top: 1.25em; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose pre, .prose .table-wrap { margin-bottom: 0; }
.prose h2 { font-size: 1.75rem; margin: 2.2em 0 .6em; padding-top: .2em; position: relative; }
.prose h2::before { content: ""; display: block; width: 44px; height: 3px; background: var(--gold); margin-bottom: .6em; }
.prose h3 { font-size: 1.35rem; margin: 1.8em 0 .5em; }
.prose h4 { font-size: 1.12rem; margin: 1.5em 0 .4em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--gold-dark); }
.prose ol > li::marker { font-weight: 700; }
.prose strong { color: var(--green-deep); }
.prose a { font-weight: 600; }
.prose blockquote { margin-inline: 0; padding: .4em 0 .4em 1.4em; border-left: 4px solid var(--gold); font-style: italic; color: var(--green-dark); font-size: 1.2rem; }
.prose blockquote p { margin: 0 0 .5em; }
.prose img { border-radius: var(--radius-sm); }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: .6rem; font-style: italic; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--sand); padding: .12em .4em; border-radius: 4px; }
.prose pre { background: var(--green-deep); color: #F1F5F2; padding: 1.1rem 1.25rem; border-radius: var(--radius-sm); overflow-x: auto; font-size: .9rem; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose hr { margin: 2.5em auto; width: 80px; border-top: 3px dotted var(--gold); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; line-height: 1.5; }
.prose th, .prose td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--green); color: #fff; font-weight: 700; }
.prose tbody tr:nth-child(even) { background: #FAF7EF; }
.prose tbody tr:last-child td { border-bottom: 0; }
.align-center { text-align: center !important; }
.align-right { text-align: right !important; }

.callout { border-radius: var(--radius-sm); padding: 1rem 1.25rem; border: 1px solid; border-left-width: 5px; font-size: 1.04rem; }
.callout > * + * { margin-top: .6em; }
.callout p { margin-bottom: 0; }
.callout__title { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.callout--tip { background: var(--green-soft); border-color: #BFD8C8; border-left-color: var(--green); }
.callout--tip .callout__title { color: var(--green); }
.callout--note, .callout--important { background: var(--gold-soft); border-color: #EAD9A4; border-left-color: var(--gold); }
.callout--note .callout__title, .callout--important .callout__title { color: var(--gold-dark); }
.callout--warning, .callout--caution { background: #FCEDE7; border-color: #F1CBBD; border-left-color: #B3401F; }
.callout--warning .callout__title, .callout--caution .callout__title { color: #8A2E12; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.product-card { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 1.25rem; padding: 1.25rem; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.product-card__badge { position: absolute; top: -.85rem; left: 1rem; background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.product-card__image { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--cream); border-radius: var(--radius-sm); }
.product-card__body > * { margin: 0 0 .6rem; }
.product-card__name { font-size: 1.25rem; font-weight: 700; color: var(--green-dark); }
.product-card__rating { color: var(--gold-dark); letter-spacing: .1em; }
.product-card__rating span { color: var(--muted); letter-spacing: 0; font-size: .9rem; }
.product-card__body ul { padding-left: 1.2em; margin: .25rem 0 0; font-size: .97rem; }
.product-card__pros strong { color: var(--green); }
.product-card__cons strong { color: #8A2E12; }
.product-card .btn { margin-top: .5rem; }
@media (max-width: 600px) { .product-card { grid-template-columns: 1fr; } }
.shortcode-error { padding: .75rem 1rem; background: #FCEDE7; border: 1px dashed #B3401F; color: #8A2E12; border-radius: var(--radius-sm); font-size: .9rem; }

/* ----------------------------------------------- tags / share / author */
.tag-list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list a { display: inline-block; padding: .3rem .85rem; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); text-decoration: none; font-size: .9rem; }
.tag-list a:hover { background: var(--green); color: #fff; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 2rem 0; padding: 1rem 0; border-block: 1px solid var(--line); }
.share__label { font-weight: 700; color: var(--green-dark); margin-right: .5rem; font-size: .95rem; }
.share a, .share button { display: inline-flex; align-items: center; gap: .4rem; height: 2.5rem; min-width: 2.5rem; justify-content: center; padding: 0 .7rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--green); cursor: pointer; text-decoration: none; font-size: .9rem; }
.share a:hover, .share button:hover { border-color: var(--gold); background: var(--gold-soft); }

.author-box { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.author-box__avatar { width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.author-box__avatar--placeholder { display: grid; place-items: center; background: var(--green); color: var(--gold); }
.author-box__avatar--placeholder .icon { width: 36px; height: 36px; }
.author-box__label { margin: 0; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.author-box__name { margin: 0 0 .35rem; font-size: 1.2rem; font-weight: 700; }
.author-box__name a { text-decoration: none; }
.author-box__bio { margin: 0; color: var(--muted); font-size: .97rem; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.post-nav__link { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); text-decoration: none; transition: border-color .2s; }
.post-nav__link:hover { border-color: var(--gold); }
.post-nav__link span { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-dark); font-weight: 700; }
.post-nav__link strong { color: var(--green-dark); line-height: 1.35; }
.post-nav__link--next { grid-column: 2; text-align: right; align-items: flex-end; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { grid-column: auto; } }

/* ----------------------------------------------------- glossary / pages */
.az-nav { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 2rem; position: sticky; top: 80px; background: var(--cream); padding: .6rem 0; z-index: 5; }
.az-nav a { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 700; }
.az-nav a:hover { background: var(--green); color: #fff; border-color: var(--green); }
.glossary-group { scroll-margin-top: 140px; }
.glossary { margin: 0 0 2rem; }
.glossary__item { padding: 1rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.glossary__item:target { background: var(--gold-soft); padding-inline: 1rem; border-radius: var(--radius-sm); }
.glossary dt { font-weight: 700; color: var(--green-dark); font-size: 1.12rem; }
.glossary dd { margin: .25rem 0 0; color: var(--ink); }
.page-updated { margin-top: 3rem; font-size: .9rem; color: var(--muted); font-style: italic; }

.error-page { text-align: center; padding-block: clamp(4rem, 10vw, 7rem); }
.error-page__code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 700; line-height: 1; color: var(--gold); margin-bottom: .5rem; }
.error-page .search-form { margin: 2rem auto; }
.error-page__links { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------- banner placements (swp, see partials/placements.php) */
/* Hidden until /swp/p.js has a live variant for the slot. Neutral class names: ad-blockers hide
   anything called "ad", "banner" or "sponsor". */
.swp-unit[hidden] { display: none !important; }
.swp-unit a[data-sw-slot] { display: block; line-height: 0; }
.swp-unit img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: 4px; }
.swp-unit a[data-sw-slot]:hover img { opacity: .92; }
.swp-unit__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: .5rem; }
.swp-unit .swp-unit__label { display: block; margin: 0 0 .4rem; font-size: .68rem; font-weight: 400; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--muted); text-decoration: none; }
.swp-unit .swp-unit__label:hover { text-decoration: underline; }
.swp-unit--wide { padding-block: 2rem; background: var(--sand); border-top: 1px solid var(--line); }
.swp-unit--wide .swp-unit__card { max-width: calc(728px + 1rem); margin-inline: auto; }
/* Mid-article square: centred between two sections, never wider than the creative. */
.swp-unit--square { margin-block: 2rem; }
.swp-unit--square .swp-unit__card { width: fit-content; max-width: 100%; margin-inline: auto; }

/* Skyscraper rail: desktop only, never on the home page. The card floats in the right-hand margin and
   follows the scroll from the header down to the end of <main>. Full-width section backgrounds still run
   edge to edge behind it; only the content containers give up --rail of space on the right, keeping their
   left edge in line with the header.
   The rail is as wide as the margin allows (--rail-w, 140px up to 318px), so a 120x600 skyscraper and a
   300x600 half-page creative both fit: each shows at its own shape, never wider than the rail, never
   taller than the window below the header, and never scaled up. */
.swp-unit--rail { display: none; }
@media (min-width: 1200px) {
    .page-shell--rail { --rail: 156px; --rail-w: clamp(140px, (100vw - var(--container)) / 2 - 2.5rem, 318px); position: relative; }
    .page-shell--rail main .container:not(.container--narrow) {
        width: auto; max-width: none;
        margin-left: max(0px, (100% - var(--container)) / 2);
        margin-right: max(var(--rail), (100% - var(--container)) / 2);
    }
    .swp-unit--rail {
        display: block; position: absolute; z-index: 40; top: 0; bottom: 0; width: var(--rail-w); padding-block: 1rem;
        right: max(1rem, (100% - var(--container)) / 2 - var(--rail-w) - 1rem); pointer-events: none;
    }
    .swp-unit--rail .swp-unit__card { position: sticky; top: calc(76px + 1rem); width: max-content; max-width: 100%; margin-inline: auto; pointer-events: auto; }
    .swp-unit--rail img { width: auto; height: auto; max-width: min(300px, var(--rail-w) - 18px); max-height: calc(100vh - 76px - 6.5rem); }
}

/* -------------------------------------------------------------- footer */
.site-footer { background: var(--green-dark); color: rgba(255, 255, 255, .78); border-top: 4px solid var(--gold); font-size: .97rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 2rem; padding-block: 3.5rem 2.5rem; }
@media (max-width: 1020px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer__heading { color: var(--gold); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.brand--footer { margin-bottom: 1rem; }
.brand--footer .brand__mark { width: 36px; height: 36px; }
.brand--footer .brand__name { font-size: 1.4rem; }
.site-footer__about p { max-width: 30em; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer__social a { display: inline-flex; align-items: center; gap: .4rem; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.site-footer__bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-block: 1.25rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }

/* --------------------------------------------------------------- print */
@media print {
    .site-header, .site-footer, .swp-unit, .share, .post-nav, .toc, .breadcrumbs, .section--alt { display: none !important; }
    body { background: #fff; font-size: 12pt; }
    .prose a::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
}

/* HTML sitemap */
.sitemap__sections { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .5rem 2rem; }
.sitemap__sections span { color: var(--muted, #5b6b62); font-size: .92rem; }
.sitemap__group { margin: 0 0 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.sitemap__heading { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 .75rem; font-size: 1.2rem; }
.sitemap__heading a { color: var(--green-dark); text-decoration: none; }
.sitemap__heading a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.sitemap__count { font-size: .8rem; font-weight: normal; padding: .1rem .55rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--green-dark); }
.sitemap__list { margin: 0; padding-left: 1.1rem; columns: 2 300px; column-gap: 2.5rem; }
.sitemap__list li { break-inside: avoid; margin: 0 0 .4rem; }

/* Cookie consent banner */
.cookie-banner { position: fixed; z-index: 1000; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) var(--gutter); pointer-events: none; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { pointer-events: auto; max-width: var(--container); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 1.25rem 1.5rem; background: var(--green-deep); color: var(--cream); border: 2px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.cookie-banner__body { flex: 1 1 420px; }
.cookie-banner__title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .35rem; font-size: 1.1rem; color: var(--cream); }
.cookie-banner__title .icon { color: var(--gold); width: 1.25em; height: 1.25em; }
.cookie-banner__text { margin: 0; font-size: .95rem; line-height: 1.55; color: rgba(253, 251, 247, .9); }
.cookie-banner__text a { color: var(--gold); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
/* Reject is styled with equal prominence to Accept, as UK/EU guidance expects. */
.cookie-banner__reject { background: var(--cream); border-color: var(--cream); color: var(--green-deep); }
.cookie-banner__reject:hover { background: #fff; border-color: #fff; color: var(--green-deep); }
.cookie-banner .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.has-cookie-banner body { padding-bottom: 9rem; }
@media (max-width: 640px) {
    .cookie-banner { padding: 0; }
    .cookie-banner__inner { border-radius: 0; border-width: 2px 0 0; padding: 1rem; }
    .cookie-banner__actions { width: 100%; }
    .cookie-banner__actions .btn { flex: 1 1 100%; justify-content: center; }
    .has-cookie-banner body { padding-bottom: 16rem; }
}
.site-footer__legal button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }
.no-js [data-cookie-settings] { display: none; }

/* ---------------------------------------------------------------- Pro Shop */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.shop-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.shop-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.shop-card__media { display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); }
.shop-card__media img { width: 100%; height: 100%; object-fit: cover; }
.shop-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.35rem; }
.shop-card__brand { margin: 0 0 .25rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); font-weight: bold; }
.shop-card__title { margin: 0 0 .5rem; font-size: 1.15rem; line-height: 1.3; }
.shop-card__title a { color: var(--green-dark); text-decoration: none; }
.shop-card__title a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.shop-card__summary { margin: 0 0 .75rem; color: var(--muted); font-size: .95rem; }
.shop-card__facts { list-style: none; margin: 0 0 .9rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.shop-card__facts li { font-size: .78rem; padding: .15rem .6rem; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); }
.shop-card__price { margin: auto 0 .9rem; font-size: 1.25rem; font-weight: bold; color: var(--green-dark); }
.shop-card__price span { font-size: .75rem; font-weight: normal; color: var(--muted); }
.shop-card__cta { align-self: flex-start; }
.shop-count { color: var(--muted); margin: 0 0 1rem; }
.shop-empty { text-align: center; padding: 3rem 1rem; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }
.section__intro { color: var(--muted); margin: .25rem 0 0; max-width: 60ch; }
ul.chips { list-style: none; padding: 0; }

.product-page { padding: 1.5rem 0 3rem; }
.product-page .breadcrumbs, .product-page .breadcrumbs a, .product-page .breadcrumbs li, .product-page .breadcrumbs [aria-current] { color: var(--muted); }
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: 1rem; }
.product__media { position: sticky; top: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__brand { margin: 0 0 .35rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: bold; color: var(--gold-dark); }
.product__title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; margin: 0 0 .75rem; color: var(--green-deep); }
.product__summary { color: var(--muted); font-size: 1.05rem; margin: 0 0 1.5rem; }
.variant-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 1.25rem; padding: 1.1rem; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); }
.variant-picker[hidden] { display: none; }
.variant-picker__field { display: flex; flex-direction: column; gap: .35rem; }
.variant-picker__field label { font-weight: bold; font-size: .9rem; color: var(--green-dark); }
.variant-picker select { font: inherit; padding: .6rem 2.2rem .6rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A5C36' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .6rem center / 1rem; appearance: none; color: var(--ink); min-height: 44px; }
.variant-picker select:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.variant-picker__update { grid-column: 1 / -1; justify-self: start; }
.product__price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.product__price { margin: 0; font-size: 2rem; font-weight: bold; color: var(--green-deep); }
.product__currency { font-size: .9rem; font-weight: normal; color: var(--muted); }
.product__stock { margin: 0; font-weight: bold; color: var(--green-mid); }
.product__stock::before { content: "●"; margin-right: .35rem; font-size: .8em; }
.product__stock.is-out { color: #9A3B2E; }
.btn--block { display: flex; width: 100%; justify-content: center; }
.product__cta { font-size: 1.1rem; padding-block: .95rem; }
.product__cta.is-disabled { opacity: .5; cursor: not-allowed; }
.product__note { font-size: .88rem; color: var(--muted); margin: .75rem 0 1.25rem; }
.product__highlights { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .45rem; }
.product__highlights li { display: flex; gap: .5rem; align-items: flex-start; }
.product__highlights .icon { color: var(--green); flex-shrink: 0; margin-top: .2rem; }
.product-options { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.5rem; margin: 0 0 1.25rem; }
.product-options dt { font-weight: bold; color: var(--green-dark); }
.product-options dd { margin: 0; }
.product-options__more { margin: 0; color: var(--muted); }
@media (max-width: 820px) {
    .product { grid-template-columns: 1fr; }
    .product__media { position: static; aspect-ratio: 16 / 9; width: 100%; }
}
@media (max-width: 480px) {
    .variant-picker { grid-template-columns: 1fr; }
    .product-options { grid-template-columns: 1fr; gap: .2rem; }
    .product-options dd { margin-bottom: .6rem; }
}

/* ------------------------------------------------- Pro Shop: search, filters, compare */
.btn--small { padding: .5em 1em; font-size: .85rem; }
.page-header--compact { padding-bottom: 2rem; }

.shop-search { position: relative; display: flex; align-items: center; gap: .5rem; max-width: 640px; background: #fff; padding: .35rem .35rem .35rem 2.6rem; border-radius: 999px; box-shadow: var(--shadow); margin: 1.25rem 0 0; }
.shop-search__icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--green); display: flex; }
.shop-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .55rem .25rem; font: inherit; font-size: 1rem; color: var(--ink); }
.shop-search input:focus { outline: none; }
.shop-search:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.shop-search--large { max-width: 720px; }
.shop-search--large input { font-size: 1.05rem; padding-block: .7rem; }
.product-page__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.product-page__bar .shop-search { margin: 0; max-width: 380px; flex: 1 1 280px; box-shadow: none; border: 1px solid var(--line); }
.product-page__bar .shop-search .btn { padding: .5em 1em; }

.finder { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem; margin-top: 1.25rem; padding: 1rem 1.25rem; max-width: 820px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(212, 175, 55, .45); border-radius: var(--radius); }
.finder__title { width: 100%; margin: 0; display: flex; align-items: center; gap: .4rem; color: var(--gold); font-weight: bold; letter-spacing: .04em; }
.finder__field { display: flex; flex-direction: column; gap: .3rem; flex: 1 1 150px; color: rgba(255, 255, 255, .85); font-size: .85rem; }
.finder__field select { font: inherit; font-size: .95rem; padding: .55rem .7rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; color: var(--ink); min-height: 44px; }

.shop-browse { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; align-items: start; }
.shop-filters { position: sticky; top: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: .25rem 1.1rem 1rem; max-height: calc(100vh - 2rem); overflow: auto; }
.shop-filters__summary { list-style: none; display: flex; align-items: center; gap: .45rem; padding: .9rem 0 .6rem; font-weight: bold; font-size: 1.05rem; color: var(--green-dark); cursor: pointer; }
.shop-filters__summary::-webkit-details-marker { display: none; }
.shop-filters__active { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 .4rem; border-radius: 999px; background: var(--gold); color: var(--green-deep); font-size: .8rem; }
.shop-filters__active[hidden] { display: none; }
.facet { border: 0; border-top: 1px solid var(--line); margin: 0; padding: .85rem 0 .4rem; }
.facet__title { padding: 0; margin-bottom: .45rem; font-weight: bold; font-size: .9rem; color: var(--green-dark); text-transform: uppercase; letter-spacing: .06em; }
.facet__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.facet__item { display: flex; align-items: center; gap: .55rem; }
.facet__item input { width: 1.1rem; height: 1.1rem; accent-color: var(--green); margin: 0; flex-shrink: 0; }
.facet__item label { flex: 1; display: flex; justify-content: space-between; gap: .5rem; padding: .3rem 0; cursor: pointer; font-size: .95rem; }
.facet__count { color: var(--muted); font-size: .8rem; background: var(--sand); border-radius: 999px; padding: .05rem .5rem; align-self: center; }
.facet__item.is-empty label { color: var(--muted); opacity: .6; cursor: default; }

[data-shop-results] { transition: opacity .15s; min-width: 0; }
[data-shop-results][aria-busy="true"] { opacity: .5; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.shop-toolbar__count { margin: 0; color: var(--muted); }
.shop-toolbar__count strong { color: var(--green-dark); }
.shop-toolbar__controls { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.shop-toolbar__sort { display: flex; align-items: center; gap: .45rem; font-size: .9rem; color: var(--muted); }
.shop-toolbar__sort select { font: inherit; font-size: .9rem; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); min-height: 40px; }
.segmented { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem; font-size: .88rem; cursor: pointer; color: var(--green-dark); min-height: 40px; }
.segmented input:checked + label { background: var(--green); color: #fff; }
.segmented input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: -3px; }
.shop-chips { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.shop-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .5rem .3rem .85rem; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); text-decoration: none; font-size: .88rem; border: 1px solid transparent; }
.shop-chip span { display: inline-grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: rgba(10, 92, 54, .12); }
.shop-chip:hover { border-color: var(--green); }
.shop-chips__clear { font-size: .88rem; color: var(--muted); }
.shop-notice { display: flex; gap: .5rem; align-items: center; padding: .75rem 1rem; background: var(--gold-soft); border: 1px solid #EAD9A0; border-radius: var(--radius-sm); margin: 0 0 1rem; }
.shop-hint { margin: -1rem 0 2rem; color: var(--muted); }
.shop-browse .shop-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.shop-card__media { position: relative; }
.shop-card__badge { position: absolute; left: .75rem; top: .75rem; padding: .2rem .6rem; border-radius: 999px; background: rgba(5, 47, 29, .85); color: #fff; font-size: .78rem; font-weight: bold; letter-spacing: .03em; }
.shop-card__match { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin: 0 0 .75rem; font-size: .88rem; color: var(--green-dark); }
.shop-card__match .icon { color: var(--green); }
.shop-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.shop-card__link { font-size: .9rem; }
.compare-toggle { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--green-dark); font: inherit; font-size: .85rem; cursor: pointer; min-height: 38px; }
.compare-toggle:hover { border-color: var(--green); }
.compare-toggle[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.compare-toggle--icon { padding: .45rem; }
.no-js .compare-toggle { display: none; }

.options-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin-bottom: 2rem; }
.options-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.options-table th, .options-table td { padding: .6rem .75rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.options-table thead th { background: var(--sand); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--green-dark); white-space: nowrap; }
.options-table tbody tr:hover { background: var(--cream); }
.options-table tbody th { font-weight: normal; }
.options-table__product { display: flex; align-items: center; gap: .6rem; color: var(--green-dark); text-decoration: none; font-weight: bold; }
.options-table__product img { border-radius: 6px; border: 1px solid var(--line); background: #fff; flex-shrink: 0; }
.options-table__price { font-weight: bold; white-space: nowrap; }
.options-table__out { display: block; font-size: .75rem; color: #9A3B2E; font-weight: normal; }
.options-table__actions { white-space: nowrap; text-align: right; }
.options-table code { font-size: .82rem; background: var(--sand); padding: .1rem .35rem; border-radius: 4px; }
@media (max-width: 700px) {
    .options-table thead { display: none; }
    .options-table, .options-table tbody, .options-table tr, .options-table th, .options-table td { display: block; width: 100%; }
    .options-table tr { padding: .75rem; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: .25rem .75rem; }
    .options-table th, .options-table td { border: 0; padding: .15rem 0; }
    .options-table tbody th { grid-column: 1 / -1; }
    .options-table td[data-label]::before { content: attr(data-label); display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
    .options-table__actions { grid-column: 1 / -1; text-align: left; display: flex !important; gap: .5rem; }
}

.compare-bar { position: fixed; z-index: 900; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) .75rem; pointer-events: none; }
.compare-bar[hidden] { display: none; }
.compare-bar__inner { pointer-events: auto; max-width: var(--container); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .7rem 1rem; background: var(--green-deep); color: #fff; border: 2px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.compare-bar__title { margin: 0; display: flex; align-items: center; gap: .4rem; font-weight: bold; color: var(--gold); white-space: nowrap; }
.compare-bar__items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; flex: 1; min-width: 0; }
.compare-bar__items li { display: flex; align-items: center; gap: .4rem; max-width: 260px; padding: .2rem .3rem .2rem .2rem; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .82rem; }
.compare-bar__items img { border-radius: 50%; background: #fff; width: 28px; height: 28px; object-fit: cover; }
.compare-bar__items span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-bar__remove { background: none; border: 0; color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; padding: .1rem .35rem; border-radius: 50%; }
.compare-bar__remove:hover { background: rgba(255, 255, 255, .15); }
.compare-bar__msg { width: 100%; margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .8); order: 5; }
.compare-bar__msg[hidden] { display: none; }
.compare-bar__actions { display: flex; gap: .5rem; }
.compare-bar .btn { padding: .55em 1.1em; }
.compare-bar .is-disabled { opacity: .5; cursor: not-allowed; }
.has-compare-bar body { padding-bottom: 6rem; }
@media (max-width: 640px) {
    .compare-bar { padding: 0; }
    .compare-bar__inner { border-radius: 0; border-width: 2px 0 0; }
    .compare-bar__items li { max-width: 46vw; }
    .has-compare-bar body { padding-bottom: 10rem; }
}

.compare-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.compare-controls__diff { display: flex; align-items: center; gap: .5rem; font-weight: bold; color: var(--green-dark); cursor: pointer; }
.compare-controls__diff input { width: 1.1rem; height: 1.1rem; accent-color: var(--green); }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table tbody th { width: 170px; background: var(--sand); color: var(--green-dark); font-size: .88rem; }
.compare-table__item { vertical-align: bottom; min-width: 180px; }
.compare-table__media { display: block; width: 120px; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: .6rem; border: 1px solid var(--line); }
.compare-table__media img { width: 100%; height: 100%; object-fit: cover; }
.compare-table__name { display: block; font-weight: bold; color: var(--green-dark); text-decoration: none; }
.compare-table__variant { display: inline-block; margin-top: .3rem; padding: .1rem .55rem; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: .8rem; }
.compare-table__remove { display: inline-flex; align-items: center; gap: .25rem; margin-top: .5rem; font-size: .82rem; font-weight: normal; color: var(--muted); }
.compare-table.is-diff-only tr[data-same] { display: none; }
.compare-add { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 1.5rem 0 .5rem; }
.compare-add label { font-weight: bold; color: var(--green-dark); }
.compare-add select { font: inherit; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); min-height: 44px; max-width: 100%; }
.compare-note { color: var(--muted); font-size: .92rem; }

.product__fits { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0 0 1.25rem; font-size: .9rem; }
.product__fits > span { font-weight: bold; color: var(--green-dark); margin-right: .2rem; }
.fit-chip { display: inline-block; padding: .2rem .65rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--green-dark); text-decoration: none; font-size: .85rem; }
a.fit-chip:hover { border-color: var(--gold); }
.fit-chip--muted { color: var(--muted); }
.product__sku { margin: -.5rem 0 1rem; font-size: .88rem; color: var(--muted); }
.product__sku code { background: var(--sand); padding: .1rem .4rem; border-radius: 4px; color: var(--ink); }
.product__secondary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin: .9rem 0 0; font-size: .9rem; }
.product__secondary a { display: inline-flex; align-items: center; gap: .35rem; }
.product__media { position: relative; }
.price-grid-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.price-grid { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.price-grid th, .price-grid td { padding: .5rem .6rem; border-bottom: 1px solid var(--line); text-align: center; }
.price-grid thead th { background: var(--sand); color: var(--green-dark); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.price-grid tbody th { text-align: left; white-space: nowrap; color: var(--green-dark); }
.price-grid td a { display: block; padding: .35rem .25rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.price-grid td a:hover { background: var(--green-soft); color: var(--green-dark); }
.price-grid td a.is-out { color: var(--muted); text-decoration: line-through; }
.price-grid td.is-selected a { background: var(--green); color: #fff; font-weight: bold; }
.price-grid__none { color: var(--muted); }
.product-info { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; }
.product-quote { margin: 0 0 1rem; padding: 1rem 1.25rem; background: var(--paper); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.product-quote p { margin: 0 0 .4rem; }
.product-quote footer { font-style: normal; font-size: .85rem; color: var(--muted); }
.shop-by--inline { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem 2rem; margin-top: -.5rem; }
.shop-by__title { font-size: 1rem; margin: 0 0 .6rem; color: var(--green-dark); }
.shop-by .chips { margin-bottom: 1.25rem; }

/* A product photo with no working fallback: keep the frame, hide the broken-image icon */
img.is-missing { visibility: hidden; }

/* ---- Store front: compact hero with quick links and every department, all above the fold */
.shop-hero--front { padding-block: 1.25rem 1.75rem; }
.shop-hero--front .breadcrumbs { margin-bottom: .5rem; }
.shop-hero__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.12; }
.shop-hero--front .page-header__intro { font-size: 1.05rem; margin-bottom: 1rem; }
.shop-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: center; }
.shop-hero__quick-label { font-size: .85rem; color: rgba(255, 255, 255, .7); align-self: center; }
.shop-hero__quick { list-style: none; margin: .9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.shop-hero__bagroom { padding: 1rem 1.1rem; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(212, 175, 55, .35); }
.shop-hero__bagroom-title { display: flex; align-items: center; gap: .4rem; margin: 0 0 .7rem; font-size: .8rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.shop-hero__bagroom-title .icon { width: 16px; height: 16px; }

/* ---- Department links ("Pick your department", "Elsewhere in the Pro Shop") */
.dept-nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .5rem; }
.dept-nav__link { display: flex; align-items: center; gap: .6rem; height: 100%; padding: .5rem .7rem; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.dept-nav__link:hover { border-color: var(--green); transform: translateY(-1px); color: var(--ink); }
.dept-nav__link[aria-current="page"] { border-color: var(--green); background: var(--green-soft); }
.dept-nav__icon { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.dept-nav__icon .icon { width: 18px; height: 18px; }
.dept-nav__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.dept-nav__name { font-weight: bold; color: var(--green-dark); font-size: .95rem; }
.dept-nav__meta { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dept-nav--dark { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dept-nav--dark .dept-nav__link { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.dept-nav--dark .dept-nav__link:hover { background: rgba(255, 255, 255, .14); border-color: var(--gold); }
.dept-nav--dark .dept-nav__icon { background: rgba(212, 175, 55, .18); color: var(--gold); }
.dept-nav--dark .dept-nav__name { color: #fff; }
.dept-nav--dark .dept-nav__meta { color: rgba(255, 255, 255, .65); }
@media (max-width: 420px) { .dept-nav__link { padding: .45rem .5rem; gap: .45rem; } .dept-nav__icon { width: 28px; height: 28px; } .dept-nav__name { font-size: .86rem; } }

/* ---- Trust strip under the shop-front hero */
.trust-strip { list-style: none; margin: 0; padding: .7rem 1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 2rem; background: var(--paper); border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.trust-strip li { display: flex; align-items: center; gap: .4rem; }
.trust-strip .icon { width: 18px; height: 18px; color: var(--green); flex: none; }
.trust-strip strong { color: var(--green-dark); }
.shop-promise__cta { margin: 1.75rem 0 0; text-align: center; }
.shop-hero__quick a { display: inline-block; padding: .3rem .8rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-size: .88rem; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.shop-hero__quick a:hover { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
@media (max-width: 900px) { .shop-hero__grid { grid-template-columns: 1fr; } }

/* ---- Department cards: "Gear for every moment of your round" */
.dept-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.dept-card { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.dept-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #D9CFB7; color: var(--ink); }
.dept-card--golf { border-top: 3px solid var(--green); }
.dept-card__media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: #fff; border-bottom: 1px solid var(--line); }
.dept-card__media img { width: 100%; height: 100%; object-fit: contain; padding: .75rem; }
.dept-card__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.dept-card__tag { position: absolute; left: .75rem; top: .75rem; padding: .15rem .6rem; border-radius: 999px; background: var(--gold-soft); color: var(--green-dark); font-size: .72rem; font-weight: bold; letter-spacing: .06em; text-transform: uppercase; }
.dept-card--golf .dept-card__tag { background: var(--green); color: #fff; }
.dept-card__body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.2rem 1.2rem; }
.dept-card__moment { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .3rem; font-size: .78rem; font-weight: bold; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); }
.dept-card__moment .icon { width: 16px; height: 16px; }
.dept-card__name { font-size: 1.25rem; font-weight: bold; color: var(--green-dark); margin-bottom: .35rem; }
.dept-card__why { flex: 1; color: var(--muted); font-size: .94rem; margin-bottom: .9rem; }
.dept-card__count { display: inline-flex; align-items: center; gap: .35rem; font-weight: bold; color: var(--green); font-size: .92rem; }
.dept-card__count .icon { width: 16px; height: 16px; transition: transform .2s; }
.dept-card:hover .dept-card__count .icon { transform: translateX(3px); }
@media (max-width: 600px) {
    .dept-cards { gap: .75rem; }
    .dept-card { flex-direction: row; }
    .dept-card__media { flex: none; width: 112px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
    .dept-card__media img { padding: .4rem; }
    .dept-card__tag { display: none; }
    .dept-card__body { padding: .8rem 1rem; }
    .dept-card__name { font-size: 1.1rem; margin-bottom: .2rem; }
    .dept-card__why { font-size: .88rem; margin-bottom: .5rem; }
}

/* ---- Shaft finder band after the golf shafts */
.fit-band { color: rgba(255, 255, 255, .88); padding-block: clamp(2rem, 4vw, 3rem); background: linear-gradient(160deg, var(--green), var(--green-deep)); border-block: 4px solid var(--gold); }
.fit-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.5rem 3rem; align-items: center; }
.fit-band__title { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: .25rem 0 .75rem; }
.fit-band__copy p:last-child { margin: 0; }
.fit-band .quiz-cta--dark { max-width: none; }
@media (max-width: 900px) { .fit-band__inner { grid-template-columns: 1fr; } }

/* ---- Shop promise */
.promise-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.promise-grid li { padding: 1.1rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-size: .93rem; }
.promise-grid strong { display: block; color: var(--green-dark); font-size: 1.02rem; margin: .5rem 0 .25rem; }
.promise-grid__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.promise-grid__icon .icon { width: 20px; height: 20px; }

/* ---- Product cards: why it helps, type badge, sold out */
.shop-card__media img { object-fit: contain; }
.shop-card__badge { max-width: calc(100% - 1.5rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-card__badge--muted ~ .shop-card__badge, .shop-card__badge:has(+ .shop-card__badge--muted) { max-width: calc(60% - 1rem); }
.shop-card__badge--muted { left: auto; right: .75rem; background: rgba(91, 106, 97, .9); }
.shop-card__badge--gold { background: var(--gold); color: var(--green-deep); }
.shop-card__why { margin: 0 0 .8rem; font-size: .92rem; color: var(--ink); line-height: 1.45; }
.shop-card__moment { display: inline-flex; align-items: center; gap: .3rem; margin-right: .2rem; font-size: .74rem; font-weight: bold; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-dark); }
.shop-card__moment .icon { width: 14px; height: 14px; }

/* ---- Product page: why golfers use it */
.why-box { margin: 1.25rem 0; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--green-soft); border: 1px solid #CFE1D6; border-left: 4px solid var(--green); }
.why-box__moment { display: inline-flex; align-items: center; gap: .35rem; margin: 0 0 .25rem; font-size: .76rem; font-weight: bold; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); }
.why-box__moment .icon { width: 16px; height: 16px; }
.why-box__title { margin: 0 0 .6rem; font-size: 1.08rem; color: var(--green-dark); line-height: 1.35; }
.why-box__points { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.why-box__points li { display: flex; gap: .5rem; font-size: .94rem; }
.why-box__points .icon { flex: none; width: 18px; height: 18px; color: var(--green); margin-top: .15rem; }
.why-box__note { margin: .75rem 0 0; font-size: .82rem; color: var(--muted); }

/* ---- Department and type pages */
.page-header__why { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: .5rem 0 1.25rem; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.page-header__why .icon { width: 18px; height: 18px; color: var(--gold); }
.page-header__why strong { color: var(--gold); }
.page-header__why a { color: #fff; text-decoration-color: var(--gold); }
.page-header__why a:hover { color: var(--gold); }
.type-nav { background: var(--paper); border-bottom: 1px solid var(--line); }
.type-nav__list { list-style: none; margin: 0; padding: .75rem 0; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: thin; }
.type-nav__link { display: inline-block; white-space: nowrap; padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); color: var(--green-dark); font-size: .92rem; text-decoration: none; }
.type-nav__link:hover { border-color: var(--green); color: var(--green); }
.type-nav__link[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }
.type-nav__link span { font-size: .78rem; opacity: .75; }
.why-band__points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem 1.5rem; }
.why-band__points li { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.why-band__icon { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.why-band__icon .icon { width: 18px; height: 18px; }
.why-band__note { margin: 1.25rem 0 0; font-size: .88rem; color: var(--muted); max-width: 80ch; }
.why-band__more { margin: 1rem 0 0; }
.why-band__more a { display: inline-flex; align-items: center; gap: .35rem; font-weight: bold; }
.why-band__more .icon { width: 16px; height: 16px; }

/* Handpicked Collections on /shop/: a jump list, then a few picks per collection */
.collection-nav { margin-bottom: 2.5rem; }
.collection { scroll-margin-top: 6rem; }
.collection + .collection { padding-top: 2rem; border-top: 1px solid var(--line); }
.collection .shop-grid:last-child { margin-bottom: 1rem; }

@media (max-width: 900px) {
    .shop-browse { grid-template-columns: 1fr; gap: 1rem; }
    .shop-filters { position: static; max-height: none; }
    .shop-filters__summary { padding-block: .8rem; }
    .product-info { grid-template-columns: 1fr; gap: 1.5rem; }
}
.page-header__intro + .page-header__intro { margin-top: .6rem; }
@media (max-width: 640px) {
    .compare-bar__inner { flex-wrap: nowrap; justify-content: space-between; padding: .55rem .75rem; }
    .compare-bar__items, .compare-bar__msg { display: none; }
    .compare-bar__title { font-size: .9rem; }
    .compare-bar .btn { padding: .5em .9em; font-size: .85rem; }
    .has-compare-bar body { padding-bottom: 4.5rem; }
}

/* ------------------------------------------------------------------ golf tools */
.tool-narrow { max-width: var(--narrow); margin-inline: auto; }
.tool-noscript { padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--gold-soft); border: 1px solid var(--gold); }
.tool-settings { display: flex; flex-wrap: wrap; gap: .9rem 1.25rem; align-items: flex-end; margin-bottom: .9rem; }
.tool-field { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; color: var(--muted); min-width: 0; }
.tool-field > input, .tool-field > select { font: inherit; font-size: 1rem; width: 9rem; max-width: 100%; padding: .55rem .7rem; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); color: var(--ink); }
.tool-field > input:focus, .tool-field > select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
[data-tool] input[aria-invalid="true"] { border-color: #B3401F; background: #FBEDE8; }
.segmented--wrap { flex-wrap: wrap; border-radius: var(--radius-sm); }
.tool-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tool-saved { font-size: .82rem; color: var(--muted); margin: .6rem 0 0; }
.tool-summary { display: flex; flex-direction: column; gap: .35rem; margin-top: 1.1rem; padding: 1rem 1.15rem; border-radius: var(--radius-sm); background: var(--green); color: #fff; }
.tool-summary__big { font-size: 1.15rem; }
.tool-summary__big strong { color: var(--gold); font-size: 2rem; margin-right: .2rem; }
.tool-summary strong { color: var(--gold); }
.tool-summary__stats { list-style: none; margin: .25rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tool-summary__stats li { padding: .25rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .88rem; }
.tool-summary__link { color: var(--gold); font-weight: 700; }
.tool-summary__link:hover { color: #fff; }
.tool-summary__warn { margin-top: .3rem; padding: .5rem .7rem; border-radius: var(--radius-sm); background: #FBEDE8; color: #7A2A12; font-size: .9rem; }
.tool-more { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.tool-more__title { font-size: 1.3rem; margin-bottom: 1rem; }

/* Stableford scorecard */
.scorecard-wrap { overflow-x: auto; margin: 0 -.25rem; }
.scorecard { width: 100%; border-collapse: collapse; font-size: .95rem; text-align: center; }
.scorecard th, .scorecard td { padding: .3rem .25rem; border-bottom: 1px solid var(--line); }
.scorecard thead th { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--sand); }
.scorecard abbr { text-decoration: none; }
.scorecard tbody th { color: var(--green-dark); width: 2.4rem; }
.scorecard input { font: inherit; width: 3rem; padding: .4rem .2rem; min-height: 40px; text-align: center; border: 1px solid var(--line); border-radius: 6px; background: var(--cream); color: var(--ink); }
.scorecard input[name="score"] { width: 3.4rem; background: #fff; border-color: #CFC4A8; font-weight: 700; }
.scorecard input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.scorecard [data-out] { color: var(--muted); min-width: 2.2rem; }
.scorecard [data-out="points"] { font-weight: 700; color: var(--green-dark); }
.scorecard tr[data-points="3"] [data-out="points"] { background: var(--gold-soft); color: var(--gold-dark); }
.scorecard tr[data-points="2"] [data-out="points"] { background: var(--green-soft); }
.scorecard tr[data-points="0"] [data-out="points"] { color: #B3401F; }
.scorecard__sum th, .scorecard__sum td { background: var(--sand); font-weight: 700; color: var(--green-dark); }
.scorecard__sum[data-sum-row="total"] th, .scorecard__sum[data-sum-row="total"] td { background: var(--green); color: #fff; }
.scorecard__sum[data-sum-row="total"] [data-sum="points"] { color: var(--gold); font-size: 1.1rem; }
@media (max-width: 520px) {
    .stableford { padding: 1rem .75rem; }
    .scorecard { font-size: .88rem; }
    .scorecard input { width: 2.5rem; }
    .scorecard input[name="score"] { width: 2.9rem; }
    .scorecard th, .scorecard td { padding: .25rem .1rem; }
}

/* Club distance chart */
.distances__start { margin-bottom: 1.5rem; }
.distances__quick { display: flex; flex-wrap: wrap; gap: .9rem 1.25rem; align-items: flex-end; }
.distances__quick .tool-field > select { width: 11rem; }
.distances__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .distances__layout { grid-template-columns: 1fr; } }
.distance-table-wrap { overflow-x: auto; }
.distance-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.distance-table th, .distance-table td { padding: .3rem .4rem; border-bottom: 1px solid var(--line); text-align: left; }
.distance-table thead th { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.distance-table tbody th { font-weight: 400; }
.distance-table tbody th label { display: block; cursor: pointer; color: var(--green-dark); font-weight: 700; }
.distance-table small { font-weight: 400; color: var(--muted); font-size: .78rem; }
.distance-table input[type="number"] { font: inherit; width: 4.6rem; padding: .4rem .45rem; min-height: 40px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
.distance-table input[type="number"]:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.distance-table input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--green); }
.distance-table__group th { padding-top: .9rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; border-bottom-color: var(--gold-soft); }
.distance-table tr.is-out th label, .distance-table tr.is-out input[type="number"] { opacity: .45; }
.distances__results { position: sticky; top: 1rem; }
@media (max-width: 900px) { .distances__results { position: static; } }
.distances__count { margin: 0 0 1rem; padding: .55rem .8rem; border-radius: var(--radius-sm); background: var(--green-soft); font-size: .92rem; }
.distances__count.is-warn { background: #FBEDE8; color: #7A2A12; }
.distance-chart { display: flex; flex-direction: column; gap: .35rem; }
.distance-bar { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) 4.6rem; align-items: center; gap: .5rem; font-size: .9rem; }
.distance-bar__club { font-weight: 700; color: var(--green-dark); }
.distance-bar__track { display: flex; height: 18px; border-radius: 4px; background: var(--sand); overflow: hidden; }
.distance-bar__carry { background: linear-gradient(90deg, var(--green-mid), var(--green)); border-radius: 4px 0 0 4px; }
.distance-bar__roll { background: var(--gold); opacity: .55; }
.distance-bar__value { font-variant-numeric: tabular-nums; text-align: right; font-weight: 700; color: var(--green-dark); }
.distance-bar__value small { font-weight: 400; color: var(--muted); }
.distance-legend { display: flex; gap: 1rem; margin-top: .6rem; font-size: .8rem; color: var(--muted); }
.distance-legend[hidden] { display: none; }
.distance-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: .2rem; }
.distance-legend__carry { background: var(--green); }
.distance-legend__total { background: var(--gold); opacity: .55; }
.distances__subtitle { font-size: 1rem; margin: 1.5rem 0 .6rem; }
.distance-gaps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; }
.distance-gaps li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; padding: .35rem .6rem; border-radius: 6px; }
.distance-gaps__pair { min-width: 5.5rem; color: var(--muted); }
.distance-gaps li.is-warn { background: #FBEDE8; }
.distance-gaps li.is-warn strong { color: #B3401F; }
.distance-gaps__note { flex-basis: 100%; font-size: .85rem; color: #7A2A12; }
.distance-gaps .distance-gaps__lead { font-weight: 700; color: var(--green-dark); padding-left: 0; }
.distance-gaps .distance-gaps__lead.is-ok { color: var(--green); }
.distance-card[hidden] { display: none; }
@media print {
    body.is-printing-card > :not(main), body.is-printing-card main > :not(.section),
    body.is-printing-card .section .container > :not(.distance-card) { display: none !important; }
    body.is-printing-card, body.is-printing-card main { background: #fff; }
    body.is-printing-card .distance-card { display: block !important; }
    .distance-card__inner { width: 3.4in; padding: .15in; border: 1px solid #000; font-size: 9.5pt; color: #000; }
    .distance-card__title { margin: 0 0 .05in; font-weight: 700; font-size: 11pt; }
    .distance-card table { width: 100%; border-collapse: collapse; }
    .distance-card th, .distance-card td { padding: 1pt 3pt; border-bottom: .5pt solid #999; text-align: left; }
    .distance-card td { text-align: right; font-variant-numeric: tabular-nums; }
    .distance-card__foot { margin: .05in 0 0; font-size: 7pt; color: #444; }
}

/* Shaft flex finder */
.flex-finder .segmented--wrap { margin-bottom: 1rem; }
.flex-result { display: block; margin-top: 1rem; padding: 1.25rem; border-radius: var(--radius); background: var(--green); color: #fff; text-align: center; transition: opacity .2s; }
.flex-result.is-invalid > :not(.flex-result__note) { opacity: .35; }
.flex-result__eyebrow { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.flex-result__flex { display: block; font-size: clamp(2rem, 7vw, 2.8rem); font-weight: 700; color: var(--gold); line-height: 1.15; margin: .2rem 0 .9rem; }
.flex-scale { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; margin: 0 auto 1.4rem; max-width: 420px; }
.flex-scale__band { display: block; padding: .35rem 0; font-size: .8rem; font-weight: 700; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); }
.flex-scale__band:first-child { border-radius: 999px 0 0 999px; }
.flex-scale__band:nth-child(5) { border-radius: 0 999px 999px 0; }
.flex-scale__band.is-active { background: var(--gold); color: var(--green-deep); }
.flex-scale__marker { position: absolute; bottom: -10px; width: 0; height: 0; margin-left: -7px; border: 7px solid transparent; border-bottom-color: #fff; border-top: 0; transition: left .25s; }
.flex-result__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; font-size: .85rem; color: rgba(255, 255, 255, .8); }
.flex-result__facts > span { display: block; }
.flex-result__facts strong { display: block; font-size: 1.1rem; color: #fff; }
@media (max-width: 560px) { .flex-result__facts { grid-template-columns: 1fr; } }
.flex-result__note { display: block; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .95rem; }
.tool-cta { margin: 2rem 0; padding: 1.5rem; border-radius: var(--radius); background: var(--green-dark); color: rgba(255, 255, 255, .88); }
.tool-cta__title { color: #fff; font-size: 1.35rem; }
.tool-cta__title span { color: var(--gold); }
.tool-cta .finder { max-width: none; margin-top: 1rem; }
.tool-cta__links { margin: 1rem 0 0; font-size: .92rem; }
.tool-cta__links a { color: var(--gold); }
.tool-cta__links a:hover { color: #fff; }

/* ------------------------------------------------------------------ golf shaft quiz */
.btn[hidden], .quiz__nav[hidden], .quiz__progress[hidden], .quiz-wrap[hidden], .quiz__submit[hidden] { display: none; }
.quiz-promises { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1.1rem 0 0; padding: 0; color: rgba(255, 255, 255, .85); font-size: .92rem; }
.quiz-promises li { display: inline-flex; align-items: center; gap: .4rem; }
.quiz-promises .icon { color: var(--gold); }
.quiz-wrap { margin-bottom: 2.5rem; }
.quiz-wrap--edit { margin-top: 2.5rem; }
.quiz-wrap__title { font-size: 1.4rem; }
.quiz-missing { margin-bottom: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); background: #FBEDE8; border: 1px solid #E9B8A6; color: #7A2A12; }
.quiz-missing p { margin: 0 0 .3rem; }
.quiz-missing ul { margin: 0; padding-left: 1.2rem; }
.quiz-missing a { color: #7A2A12; }

/* Questions */
.quiz-q { border: 0; margin: 0 0 2.25rem; padding: 0; min-width: 0; }
.quiz-q__title { padding: 0; font-size: 1.3rem; font-weight: 700; line-height: 1.3; color: var(--green-dark); }
.quiz-q__num { color: var(--gold-dark); }
.quiz-q__when { margin: .3rem 0 0; font-size: .85rem; font-style: italic; color: var(--gold-dark); }
.quiz-q__hint { margin: .4rem 0 1rem; color: var(--muted); font-size: .95rem; }
.quiz-options { display: grid; gap: .55rem; }
.quiz-options--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 559px) { .quiz.panel { padding: 1.1rem; } .quiz-options--grid .quiz-option:has(.quiz-option__hint) { grid-column: 1 / -1; } .quiz-options--grid .quiz-option { padding: .7rem 2.1rem .7rem .75rem; } .quiz-options--grid .quiz-option::after { right: .6rem; } .quiz-options--grid .quiz-option__label { font-size: .95rem; } }
.quiz-option__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.quiz-option { position: relative; display: flex; flex-direction: column; gap: .1rem; padding: .8rem 2.8rem .8rem 1rem; min-height: 52px; justify-content: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); cursor: pointer; transition: border-color .15s, background .15s; }
.quiz-option:hover { border-color: var(--gold); }
.quiz-option__label { font-weight: 700; color: var(--green-dark); }
.quiz-option__hint { font-size: .85rem; color: var(--muted); }
.quiz-option::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 1.5px solid #CFC4A8; border-radius: 50%; background: #fff; }
.quiz-option__input[type="checkbox"] + .quiz-option::after { border-radius: 5px; }
.quiz-option__input:checked + .quiz-option { border-color: var(--green); background: var(--green-soft); }
.quiz-option__input:checked + .quiz-option::after { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.quiz-option__input:focus-visible + .quiz-option { outline: 3px solid var(--gold); outline-offset: 2px; }
.quiz__submit { margin-top: .5rem; }

/* Stepper (with JavaScript) */
.quiz.is-stepper .quiz-q { margin-bottom: 0; animation: quiz-in .25s ease-out; }
.quiz.is-stepper .quiz-q__num, .quiz.is-stepper .quiz-q__when { display: none; }
@keyframes quiz-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .quiz.is-stepper .quiz-q { animation: none; } }
.quiz__progress { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.quiz__count { flex-shrink: 0; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--gold-dark); }
.quiz__bar { flex: 1; height: 6px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--green-mid), var(--green)); transition: width .3s; }
.quiz__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.quiz__nav [data-quiz-back] { margin-right: auto; }
.quiz__nav .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* Results */
.quiz-result { margin-bottom: 1rem; }
.quiz-result, .quiz, .quiz-wrap, .quiz-missing, .quiz-q { scroll-margin-top: 5.5rem; }
.quiz-hero { padding: 1.75rem 1.5rem; border-radius: var(--radius); background: radial-gradient(circle at 85% 0%, rgba(212, 175, 55, .22), transparent 45%), linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.quiz-hero__eyebrow { margin: 0; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.quiz-hero__flex { margin: .25rem 0 .2rem; font-size: clamp(2.2rem, 8vw, 3.2rem); color: var(--gold); }
.quiz-hero__for { margin: 0 0 .9rem; font-size: 1.05rem; }
.quiz-hero__badge { display: inline-flex; align-items: center; gap: .35rem; margin: 0 0 1.25rem; padding: .35rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: .88rem; }
.quiz-hero__badge--clear { background: rgba(212, 175, 55, .25); }
.quiz-hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 0 0 1.25rem; }
.quiz-hero__facts div { padding: .7rem .5rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .08); }
.quiz-hero__facts dt { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.quiz-hero__facts dd { margin: .2rem 0 0; font-weight: 700; font-size: 1.05rem; }
@media (max-width: 560px) { .quiz-hero__facts { grid-template-columns: 1fr; } }
.quiz-hero__reasons { margin: 0 auto; padding: 0; list-style: none; max-width: 36em; text-align: left; font-size: .95rem; color: rgba(255, 255, 255, .9); }
.quiz-hero__reasons li { position: relative; padding-left: 1.2rem; margin-bottom: .35rem; }
.quiz-hero__reasons li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.quiz-club { margin-top: 2rem; }
.quiz-club__title { font-size: 1.25rem; margin-bottom: .8rem; }
.quiz-pick { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem; margin-bottom: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.quiz-pick--top { border: 2px solid var(--gold); }
@media (max-width: 600px) { .quiz-pick { grid-template-columns: 1fr; padding: 1rem; } .quiz-pick__media { max-width: 150px; } }
.quiz-pick__media { display: block; align-self: start; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); aspect-ratio: 1; }
.quiz-pick__media img { width: 100%; height: 100%; object-fit: cover; }
.quiz-pick__badge { display: inline-flex; align-items: center; gap: .3rem; margin: 0 0 .3rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--gold-dark); }
.quiz-pick__name { font-size: 1.2rem; margin-bottom: .4rem; }
.quiz-pick__name a { text-decoration: none; color: var(--green-dark); }
.quiz-pick__name a:hover { text-decoration: underline; }
.quiz-pick__variant { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .7rem; }
.quiz-chip { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: var(--green); color: #fff; font-size: .85rem; font-weight: 700; }
.quiz-pick__sku { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.quiz-pick__why { list-style: none; margin: 0 0 1rem; padding: 0; font-size: .93rem; }
.quiz-pick__why li { display: flex; gap: .5rem; margin-bottom: .35rem; }
.quiz-pick__why .icon { flex-shrink: 0; width: 1.1em; height: 1.1em; margin-top: .2em; color: var(--green); }
.quiz-pick__buy { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.quiz-pick__price { margin: 0; display: flex; align-items: baseline; gap: .6rem; }
.quiz-pick__price strong { font-size: 1.35rem; color: var(--green-dark); }
.quiz-pick__price .is-in { font-size: .85rem; color: var(--green); }
.quiz-pick__price .is-out { font-size: .85rem; color: #B3401F; }
.quiz-pick__alt { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; margin: 1rem 0 0; padding-top: .8rem; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--muted); }
.quiz-choices { padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--line); }
.quiz-choices__title { margin: 0 0 .5rem; font-weight: 700; color: var(--green-dark); }
.quiz-choice { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.quiz-choice__label { flex: 1 1 12rem; }
.quiz-choice__price { font-weight: 700; color: var(--green-dark); }
.quiz-choices__note { margin: .6rem 0 0; font-size: .85rem; color: var(--muted); }
.quiz-empty { padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--sand); }
.quiz-set { display: flex; align-items: center; gap: .5rem; margin: 1.25rem 0 0; padding: .9rem 1.1rem; border-radius: var(--radius-sm); background: var(--gold-soft); border: 1px solid var(--gold); }
.quiz-set strong { font-size: 1.2rem; color: var(--green-dark); }
.quiz-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0; }
.quiz-tips { padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.quiz-tips__title { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; }
.quiz-tips__title .icon { color: var(--gold-dark); }
.quiz-tips ul { margin: 0; padding-left: 1.2rem; }
.quiz-tips li { margin-bottom: .5rem; }
.quiz-answers { margin: 1.25rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.quiz-answers summary { padding: .8rem 1rem; cursor: pointer; font-weight: 700; color: var(--green-dark); }
.quiz-answers dl { margin: 0; padding: 0 1rem .8rem; }
.quiz-answers dl div { display: grid; grid-template-columns: minmax(8rem, 35%) 1fr; gap: 1rem; padding: .4rem 0; border-top: 1px solid var(--line); font-size: .92rem; }
.quiz-answers dt { color: var(--muted); }
.quiz-answers dd { margin: 0; }
.quiz-answers dd a { margin-left: .4rem; font-size: .85rem; }
.quiz-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; margin: 1.5rem 0; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--gold-soft); border: 1px solid var(--gold); }
.quiz-cta p { margin: 0; color: var(--green-dark); }
.quiz-cta--dark { background: rgba(255, 255, 255, .08); border-color: rgba(212, 175, 55, .45); }
.quiz-cta--dark p { color: rgba(255, 255, 255, .9); }
.quiz-cta--dark { max-width: 820px; margin: 1rem 0 0; }
.product__quiz { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin: .2rem 0 1rem; font-size: .9rem; color: var(--muted); }
.product__quiz .icon { color: var(--gold-dark); }

/* ------------------------------------------------- navigation, linking and long pages */
/* Tools dropdown: the links to sections of /tools/ read as a second group. */
@media (min-width: 961px) {
    .site-nav .site-nav__menu a[href*="/tools/#"] { color: var(--muted); font-size: .88rem; }
    .site-nav__more { display: none; }
}
/* Phone menu: each section opens with its own button. Without JavaScript everything is shown. */
@media (max-width: 960px) {
    .site-nav .has-menu { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: .5rem; }
    .site-nav .has-menu > .site-nav__menu { grid-column: 1 / -1; }
    .site-nav__more { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius-sm); background: none; color: #fff; cursor: pointer; }
    .site-nav__more::before { content: ""; display: block; width: .55rem; height: .55rem; margin: -.2rem auto 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
    .site-nav__more[aria-expanded="true"]::before { transform: rotate(-135deg); margin-top: .2rem; }
    .site-nav .has-menu:not(.is-open) > .site-nav__menu { display: none; }
    .no-js .site-nav .has-menu > .site-nav__menu { display: flex; }
    .no-js .site-nav__more { display: none; }
    .site-nav a.site-nav__cta { margin-top: 0; }
    .site-nav .has-menu { padding-block: .35rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .site-nav .has-menu > a:not(.site-nav__cta) { border-bottom: 0; }
}

/* Tools suggested beside articles, the glossary, archives and search. */
.related-tools { margin: 2.5rem 0; padding: 1.5rem; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.related-tools__header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1rem; }
.related-tools__title { font-size: 1.3rem; margin: 0; }
.related-tools__all { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .92rem; text-decoration: none; padding-block: .4rem; }
.related-tools__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; }
.related-tools__item { display: flex; gap: .8rem; align-items: flex-start; height: 100%; padding: .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); text-decoration: none; color: var(--ink); font-size: .92rem; line-height: 1.45; transition: border-color .2s, transform .2s; }
.related-tools__item:hover { border-color: var(--green); transform: translateY(-2px); color: var(--ink); }
.related-tools__item strong { display: block; color: var(--green-dark); font-size: 1rem; }
.related-tools__icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--gold); }
.related-tools__icon .icon { width: 22px; height: 22px; }
.glossary__tool { display: inline-block; margin-left: .25rem; font-size: .9rem; font-weight: 700; white-space: nowrap; text-decoration: none; }
.glossary__tool:hover { text-decoration: underline; }

/* Tools page: search box, recently used, and compact rows on phones. */
.tool-filter { position: relative; max-width: 560px; margin: 1.5rem 0 0; }
.tool-filter__icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--green); display: flex; }
.tool-filter input { width: 100%; min-height: 48px; padding: .6rem 1rem .6rem 2.8rem; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-size: 1rem; box-shadow: var(--shadow); }
.tool-filter input:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.tool-filter__status { margin: 0 0 1.5rem; font-weight: 700; color: var(--green-dark); }
.tool-recent { margin: 0 0 1.75rem; }
.tool-recent__title { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 .6rem; }
.tool-recent .chips { margin: 0; padding: 0; list-style: none; }
.is-filtering-tools .tool-perks, .is-filtering-tools .tool-locker, .is-filtering-tools .tool-recent { display: none; }
@media (max-width: 600px) {
    .tool-group .tiles { gap: .6rem; }
    .tool-group .tile { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; padding: .9rem 1rem; }
    .tool-group .tile__icon { grid-row: 1 / 3; width: 44px; height: 44px; margin: 0; align-self: start; }
    .tool-group .tile__name { font-size: 1.05rem; margin: 0; }
    .tool-group .tile__desc { margin: .15rem 0 0; font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .tool-group .tile__count { display: none; }
    .tool-group { margin-bottom: 2rem; }
    .tool-perks { display: none; }
}

/* Tool pages on phones: a shorter header, so the calculator starts near the top. */
@media (max-width: 600px) {
    .page-tool .page-header { padding-block: 1.1rem 1.25rem; }
    .page-tool .page-header .breadcrumbs ol { margin-bottom: .6rem; font-size: .82rem; }
    .page-tool .page-header .eyebrow, .page-tool .page-header .breadcrumbs li:last-child { display: none; }
    .page-tool .page-header__title { font-size: 1.55rem; margin-bottom: .35rem; }
    .page-tool .page-header__intro { font-size: .98rem; line-height: 1.5; }
    .page-tool .section--tight { padding-top: 1.1rem; }
    .page-tool .panel { padding: 1.1rem; }
}
/* The result's headline, pinned to the bottom while the full result is off-screen. */
.calc-peek { position: fixed; z-index: 800; left: 50%; bottom: .75rem; transform: translateX(-50%); display: flex; align-items: center; gap: .9rem; max-width: calc(100vw - 1.5rem); padding: .7rem 1.1rem; border: 2px solid var(--gold); border-radius: 999px; background: var(--green-deep); color: #fff; font: inherit; font-size: .98rem; font-weight: 700; text-align: left; cursor: pointer; box-shadow: var(--shadow-lg); }
.calc-peek[hidden] { display: none; }
.calc-peek span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calc-peek b { flex-shrink: 0; color: var(--gold); font-size: .85rem; }

/* Back to top. */
.to-top { position: fixed; z-index: 45; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; border: 2px solid var(--gold); box-shadow: var(--shadow-lg); }
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--green-dark); color: #fff; }
.to-top .icon { transform: rotate(-90deg); }
@media (min-width: 1200px) { .page-shell--rail ~ .to-top { right: 1rem; bottom: 1rem; } }
@media print { .to-top, .calc-peek, .related-tools { display: none !important; } }

/* Readability and touch: nothing under 13px, and links big enough to tap. */
.shop-card__badge, .shop-card__brand, .shop-card__facts li, .card__category, .shop-card__price span { font-size: .82rem; }
.card__category { display: inline-block; padding-block: .3rem; }
.panel__link, .tile__count { padding-block: .35rem; }
.breadcrumbs a { padding-block: .3rem; display: inline-block; }
.prose { overflow-wrap: break-word; }
.prose h2 { scroll-margin-top: 100px; }

/* Cookie banner on phones: short enough to leave the page usable behind it. */
@media (max-width: 640px) {
    .cookie-banner__inner { padding: .75rem .9rem; gap: .6rem; }
    .cookie-banner__title { font-size: .98rem; margin-bottom: .2rem; }
    .cookie-banner__text { font-size: .82rem; line-height: 1.4; }
    .cookie-banner__actions { flex-wrap: nowrap; gap: .5rem; }
    .cookie-banner__actions .btn { flex: 1 1 0; padding: .6em .5em; font-size: .85rem; white-space: normal; }
    .has-cookie-banner body { padding-bottom: 11rem; }
}

/* Report tables and bingo cards. */
.calc-table-wrap { overflow-x: auto; margin: .25rem 0 1rem; border: 1px solid rgba(10, 92, 54, .18); border-radius: var(--radius-sm); background: var(--paper); }
.calc-table { width: 100%; border-collapse: collapse; font-size: .92rem; text-align: center; }
.calc-table th, .calc-table td { padding: .4rem .6rem; border-bottom: 1px solid var(--line); }
.calc-table thead th { background: var(--sand); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.calc-table tbody th { text-align: left; color: var(--green-dark); white-space: nowrap; }
.calc-table tbody tr:last-child th, .calc-table tbody tr:last-child td { border-bottom: 0; }
.calc-bingo { display: grid; gap: 4px; margin: .25rem 0 1rem; max-width: 34rem; }
.calc-bingo span { display: grid; place-items: center; aspect-ratio: 1; padding: .35rem; border: 1px solid var(--green); border-radius: 6px; background: var(--paper); font-size: clamp(.62rem, 2.2vw, .82rem); line-height: 1.25; text-align: center; color: var(--green-dark); overflow: hidden; }
.calc-bingo span.is-free { background: var(--gold-soft); border-color: var(--gold-dark); font-weight: 700; }
@media print { body.is-printing-tool .calc-bingo span, body.is-printing-tool .calc-table thead th { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* Favourite button on tool pages, pace timer splits. */
.tool-fav { display: inline-flex; align-items: center; margin: .1rem 0 .7rem; padding: .3rem .85rem; min-height: 36px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; background: none; color: #fff; font: inherit; font-size: .88rem; cursor: pointer; }
.tool-fav:hover { border-color: var(--gold); color: var(--gold); }
.tool-fav[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--green-deep); font-weight: 700; }
.warmup__splits { margin-top: 1rem; }
.warmup .tool-field { margin-top: .9rem; }
@media print { .tool-fav { display: none !important; } }

/* Tool pages: "From the Pro Shop" product suggestions */
.tool-shop { margin: 2rem 0; padding: 1.25rem 1.35rem 1.1rem; border: 1px solid #EAD9A4; border-radius: var(--radius); background: var(--gold-soft); }
.tool-shop__label { display: flex; align-items: center; gap: .4rem; margin: 0 0 .35rem; font-size: .78rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.tool-shop__title { margin: 0 0 .35rem; font-size: 1.25rem; }
.tool-shop__text { margin: 0 0 1rem; font-size: .98rem; }
.tool-shop__items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .75rem; }
.tool-shop__item { display: flex; gap: .85rem; align-items: center; height: 100%; padding: .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.tool-shop__item:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.tool-shop__item img { flex: none; width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.tool-shop__body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.tool-shop__brand { font-size: .74rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.tool-shop__name { font-weight: bold; line-height: 1.25; color: var(--green-dark); }
.tool-shop__price { font-size: .95rem; }
.tool-shop__price small { color: var(--muted); }
.tool-shop__go { font-size: .88rem; font-weight: bold; color: var(--green); }
.tool-shop__foot { margin: .9rem 0 0; font-size: .85rem; color: var(--muted); }
@media print { body.is-printing-tool .tool-shop { display: none !important; } }

/* Pro Shop product card in articles ({{ shop: slug }}) */
.product-card--shop .product-card__name a { color: inherit; text-decoration: none; }
.product-card--shop .product-card__name a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.product-card__option { display: inline-block; padding: .15rem .65rem; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: .85rem; }
.product-card__price { font-size: 1.2rem; font-weight: bold; color: var(--green-dark); }
.product-card__price span { font-size: .78rem; font-weight: normal; color: var(--muted); }
.product-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.product-card__actions .btn { margin-top: 0; }
.product-card__buy { font-size: .92rem; }
@media (max-width: 600px) { .product-card--shop .product-card__image { max-width: 200px; margin: 0 auto; display: block; } }

/* ---- Compact shop headers: products start above the fold on department and type pages */
.page-header--shop { padding-block: 1rem 1.25rem; }
.page-header--shop .page-header__title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: .35rem; }
.page-header--shop .page-header__title .icon--title { width: .9em; height: .9em; }
.page-header--shop .page-header__intro { font-size: 1rem; max-width: 60em; }
.page-header--shop .page-header__why { margin: .45rem 0 0; font-size: .92rem; }
.page-header--shop .shop-search { margin-top: .8rem; }
.page-header--shop .shop-search input { padding-block: .4rem; }
.page-header--shop .quiz-cta { margin-top: .8rem; }
#shop-results-top { scroll-margin-top: 5rem; }
.why-band__more { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* ---- "Elsewhere in the Pro Shop" and "Golfers also shop" */
.elsewhere { border-top: 1px solid var(--line); }
.elsewhere .section__title--small { margin-top: 0; }
.elsewhere__more { margin: 1rem 0 0; font-size: .92rem; color: var(--muted); }

/* ---- Product page: hook line and buy assurances above the fold */
.product-page { padding-top: 1rem; }
.product .product__title { margin-bottom: .5rem; }
.product__hook { margin: 0 0 1rem; font-size: 1.02rem; color: var(--ink); line-height: 1.5; }
.product__hook-moment { display: inline-flex; align-items: center; gap: .3rem; margin-right: .25rem; padding: .1rem .55rem; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: .74rem; font-weight: bold; letter-spacing: .06em; text-transform: uppercase; vertical-align: .1em; }
.product__hook-moment .icon { width: 14px; height: 14px; }
.product__hook a { font-size: .9rem; white-space: nowrap; }
.product .variant-picker { margin-bottom: 1rem; }
.product__assure { list-style: none; margin: .65rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; font-size: .82rem; color: var(--muted); }
.product__assure li { display: inline-flex; align-items: center; gap: .3rem; }
.product__assure .icon { width: 14px; height: 14px; color: var(--green); }
.product .why-box { }
.product .product__summary { margin: 0 0 1rem; font-size: .98rem; }
.related__more { margin: 1.5rem 0 0; text-align: center; }
/* Department and type pages: a slim disclosure line and less space before the first products */
.page-shop-browse #shop-results-top { padding-top: 1rem; }
.page-shop-browse #shop-results-top .disclosure { padding: .45rem .8rem; margin-bottom: 1rem; font-size: .8rem; }
.page-shop-browse .type-nav__list { padding-block: .55rem; }
/* Wide screens: search beside the department title, so the first products move up */
@media (min-width: 1000px) {
    .page-header--shop .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); column-gap: 2.5rem; align-items: center; }
    .page-header--shop .container > * { grid-column: 1; }
    .page-header--shop .container > .breadcrumbs { grid-column: 1 / -1; }
    .page-header--shop .container > .shop-search { grid-column: 2; grid-row: 2 / span 3; margin: 0; }
    .page-header--shop .container > .quiz-cta { grid-column: 2; grid-row: 5 / span 2; margin: .5rem 0 0; }
}
/* Phones: a shorter product photo and hero copy, so the price and Buy button come into view sooner */
@media (max-width: 820px) {
    .product__media { aspect-ratio: 4 / 3; position: relative; top: 0; }
    .product__media img { object-fit: contain; }
    .shop-hero--front .page-header__intro { font-size: .98rem; }
    .product-page__bar .shop-search { display: none; }
}

/* ---- Home: compact clubhouse hero with a map of the site in place of the illustration */
.hero--club .hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; padding-block: clamp(1.5rem, 3vw, 2.25rem); }
.hero--club .hero__title { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; margin-bottom: .75rem; }
.hero--club .hero__lead { font-size: 1.05rem; margin-bottom: 1.1rem; }
.hero--club .hero__actions { margin-top: 1rem; }
.hero__map { padding: 1rem 1.1rem; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(212, 175, 55, .35); }
.club-map { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.club-map .dept-nav__link { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); padding: .65rem .75rem; }
.club-map .dept-nav__link:hover { background: rgba(255, 255, 255, .14); border-color: var(--gold); }
.club-map .dept-nav__icon { background: rgba(212, 175, 55, .18); color: var(--gold); }
.club-map .dept-nav__name { color: #fff; }
.club-map .dept-nav__meta { color: rgba(255, 255, 255, .7); white-space: normal; }
@media (max-width: 900px) { .hero--club .hero__inner { grid-template-columns: 1fr; } }

/* ---- Tools hub and other hub headers: compact, so the first tools show above the fold */
.page-header--hub { padding-block: 1rem 1.25rem; }
.page-header--hub .page-header__title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .35rem; }
.page-header--hub .page-header__intro { font-size: 1rem; max-width: 60em; }
.page-header--hub .tool-filter { margin-top: .9rem; }
.page-header--hub .tool-jump { margin-top: .8rem; }
.page-header--hub + .section .tool-perks { margin: 1rem 0 0; }
.page-header--hub + .section { padding-top: 1.25rem; }
.page-header--hub + .section .tool-group:first-of-type .section__header { margin-bottom: 1.25rem; }

/* ---- In-article golf tool call to action (partials/tool-cta.php; post-tool so it does not clash with .tool-cta on tool pages) */
.post-tool { display: flex; gap: 1rem; align-items: flex-start; margin: 2rem 0; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: linear-gradient(160deg, var(--green), var(--green-deep)); border-left: 5px solid var(--gold); color: rgba(255, 255, 255, .88); box-shadow: var(--shadow); }
.post-tool__icon { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(212, 175, 55, .18); color: var(--gold); }
.post-tool__icon .icon { width: 24px; height: 24px; }
.post-tool__body { min-width: 0; }
.prose .post-tool p { margin: 0; }
.post-tool__eyebrow { font-size: .74rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.prose .post-tool .post-tool__title { margin: .25rem 0 .35rem; font-size: 1.3rem; line-height: 1.25; font-weight: bold; color: #fff; }
.post-tool__text { font-size: .98rem; }
.prose .post-tool .post-tool__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .9rem; }
.prose .post-tool .btn { text-decoration: none; color: var(--green-deep); }
.post-tool .btn .icon { width: 16px; height: 16px; }
.post-tool__note { font-size: .8rem; color: rgba(255, 255, 255, .7); }
@media (max-width: 520px) { .post-tool { flex-direction: column; } }

/* ---- Bag fitting report (tools/bag-fitting-report.php, initFitting in tools.js) */
.fitting__steps { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; counter-reset: none; }
.fitting__steps a { display: inline-block; padding: .35rem .85rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--green-dark); font-size: .88rem; text-decoration: none; }
.fitting__steps a:hover { border-color: var(--green); }
.fitting__group { margin: 0 0 1.25rem; padding: 1.1rem 1.25rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); scroll-margin-top: 5rem; }
.fitting__legend { display: flex; align-items: center; gap: .45rem; padding: 0 .4rem; font-size: 1.15rem; font-weight: bold; color: var(--green-dark); }
.fitting__legend .icon { width: 20px; height: 20px; color: var(--gold-dark); }
.fitting__lead { margin: .1rem 0 1rem; font-size: .92rem; color: var(--muted); }
.fitting__fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem 1.25rem; align-items: start; }
.fit-field[hidden] { display: none; }
.fit-field > input, .fit-field > select { width: 100%; }
.fit-field__hint { font-size: .78rem; color: var(--muted); line-height: 1.35; }
.fit-field .segmented label { padding: .4rem .75rem; font-size: .85rem; }
.fitting__report { margin-top: 2rem; scroll-margin-top: 5rem; }
.fitting__report-head { margin-bottom: 1rem; }
.fitting__summary { margin: .4rem 0 0; color: var(--muted); }
.fitting__summary strong { color: var(--green-dark); }
.fit-start { margin: 0 0 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--green-dark); color: rgba(255, 255, 255, .9); }
.fit-start__title { display: flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; color: var(--gold); font-size: 1.05rem; }
.fit-start__title .icon { width: 18px; height: 18px; }
.fit-start ol { margin: 0; padding-left: 1.25rem; display: grid; gap: .3rem; }
.fit-cards { display: grid; gap: 1rem; }
.fit-card { padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); background: var(--paper); break-inside: avoid; }
.fit-card__head { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .6rem; }
.fit-card__icon { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.fit-card__icon .icon { width: 20px; height: 20px; }
.fit-card__title { margin: 0; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.fit-card__headline { margin: .1rem 0 0; font-size: 1.2rem; font-weight: bold; line-height: 1.3; color: var(--green-dark); }
.fit-card .calc-report__rows dd { font-weight: 600; }
.fit-card__why { margin: .75rem 0 0; font-size: .94rem; }
.fit-card__links { margin: .75rem 0 0; font-size: .86rem; color: var(--muted); }
.fit-card__links a { font-weight: 600; }
.fit-shop { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .9rem; }
.fit-pick { display: flex; align-items: center; gap: .75rem; flex: 1 1 320px; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); color: var(--ink); text-decoration: none; }
.fit-pick:hover { border-color: var(--green); color: var(--ink); }
.fit-pick img { flex: none; width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 6px; }
.fit-pick__body { display: flex; flex-direction: column; min-width: 0; font-size: .85rem; color: var(--muted); }
.fit-pick__body small { font-size: .72rem; font-weight: bold; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); }
.fit-pick__body b { color: var(--green-dark); font-size: .95rem; }
.fit-pick__go { margin-left: auto; color: var(--green); }
.fit-pick__go .icon { width: 18px; height: 18px; }
@media print {
    body.is-printing-tool .fitting__group, body.is-printing-tool .fitting__steps, body.is-printing-tool .fit-shop, body.is-printing-tool .fit-card__links { display: none !important; }
    body.is-printing-tool .fit-card, body.is-printing-tool .fit-start { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---- Cross-links: "Goes well with", "Gear for this", "Read before you buy", "Pairs well with" */
.pairs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.pair-card { display: flex; gap: .9rem; padding: .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.pair-card__media { flex: none; width: 96px; height: 96px; border-radius: var(--radius-sm); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.pair-card__media img { width: 100%; height: 100%; object-fit: cover; }
.pair-card__body { display: flex; flex-direction: column; min-width: 0; }
.pair-card__why { display: flex; gap: .3rem; margin: 0 0 .25rem; font-size: .82rem; line-height: 1.35; color: var(--muted); }
.pair-card__why .icon { flex: none; width: 15px; height: 15px; margin-top: .1rem; color: var(--green); }
.pair-card__title { margin: 0 0 .25rem; font-size: 1rem; line-height: 1.3; }
.pair-card__title a { color: var(--green-dark); text-decoration: none; }
.pair-card__title a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.pair-card__price { margin: 0 0 .3rem; font-weight: bold; color: var(--green-dark); }
.pair-card__price span { font-size: .75rem; font-weight: normal; color: var(--muted); }
.pair-card__more { display: inline-flex; align-items: center; gap: .25rem; margin-top: auto; font-size: .85rem; font-weight: bold; }
.pair-card__more .icon { flex: none; width: 14px; height: 14px; }

.post-gear { margin: 2rem 0; padding: 1.25rem 1.35rem 1.1rem; border: 1px solid #EAD9A4; border-radius: var(--radius); background: var(--gold-soft); }
.post-gear__label { display: flex; align-items: center; gap: .4rem; margin: 0 0 .25rem; font-size: .78rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.post-gear__title { margin: 0 0 .9rem; font-size: 1.25rem; }
.post-gear__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; }
.post-gear__item { display: flex; flex-direction: column; gap: .6rem; height: 100%; padding: .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.post-gear__item:hover { box-shadow: var(--shadow); transform: translateY(-1px); color: var(--ink); }
.post-gear__item img { flex: none; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.post-gear__body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.post-gear__moment { font-size: .72rem; font-weight: bold; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); }
.post-gear__name { font-weight: bold; line-height: 1.25; color: var(--green-dark); }
.post-gear__why { font-size: .84rem; line-height: 1.35; color: var(--muted); }
.post-gear__go { margin-top: auto; padding-top: .2rem; font-size: .86rem; font-weight: bold; color: var(--green); }
.post-gear__body { flex: 1; }
@media (max-width: 520px) {
    .post-gear__item { flex-direction: row; align-items: center; }
    .post-gear__item img { width: 76px; aspect-ratio: 1; }
}
.post-gear__foot { margin: .9rem 0 0; font-size: .82rem; color: var(--muted); }

.shop-reading__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .75rem; }
.shop-reading__item { display: flex; gap: .75rem; height: 100%; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); text-decoration: none; }
.shop-reading__item:hover { border-color: var(--green); color: var(--ink); }
.shop-reading__item strong { display: block; color: var(--green-dark); line-height: 1.3; }
.shop-reading__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.shop-reading__icon .icon { width: 18px; height: 18px; }
.shop-reading__dek { display: block; margin-top: .2rem; font-size: .86rem; color: var(--muted); }

.pair-links__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem; }
.pair-links__item { display: flex; gap: .7rem; align-items: center; height: 100%; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); text-decoration: none; }
.pair-links__item:hover { border-color: var(--green); color: var(--ink); }
.pair-links__item img { flex: none; width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: #fff; }
.pair-links__item strong { display: block; color: var(--green-dark); line-height: 1.25; }
.pair-links__item small { display: block; font-size: .8rem; line-height: 1.3; color: var(--muted); }

/* Product page: RRP saving, sold-out alternatives, recently viewed */
.product__was { margin: -.6rem 0 .9rem; font-size: .92rem; font-weight: bold; color: #9A3B2E; }
.product__alts { margin: 0 0 1rem; padding: .8rem 1rem; border: 1px solid #EAD9A4; border-radius: var(--radius-sm); background: var(--gold-soft); font-size: .92rem; }
.product__alts-title { display: flex; align-items: center; gap: .4rem; margin: 0 0 .4rem; font-weight: bold; }
.product__alts-title .icon { width: 16px; height: 16px; }
.product__alts ul { margin: 0; padding-left: 1.2rem; }
.product__alts li span { color: var(--muted); white-space: nowrap; }
.shop-card__badge--save { background: #9A3B2E; }
.recent-products__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; }
.recent-products__item { display: flex; gap: .7rem; align-items: center; height: 100%; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); text-decoration: none; }
.recent-products__item:hover { border-color: var(--green); color: var(--ink); }
.recent-products__item img { flex: none; width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: #fff; }
.recent-products__item strong { display: block; font-size: .92rem; line-height: 1.25; color: var(--green-dark); }
.recent-products__item span span { font-size: .85rem; color: var(--muted); }
@media (max-width: 480px) { .pair-card__media { width: 76px; height: 76px; } }
@media print { .pairs, .post-gear, .shop-reading, .recent-products, .pair-links { display: none !important; } }
.pairs .section__header, .shop-reading .section__header { margin-bottom: 1rem; }

/* ---- Rules question of the day (home, /tools/) and rules flashcards */
.toolkit--trio { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .toolkit--trio { grid-template-columns: 1fr; } }
.rules-daily__q { margin: 0 0 .5rem; font-weight: bold; line-height: 1.4; color: var(--green-dark); }
.rules-daily__options { margin: 0 0 .75rem; padding-left: 1.4rem; }
.rules-daily__options li { margin-bottom: .2rem; }
.rules-daily__answer { margin-bottom: .75rem; }
.rules-daily__answer summary { cursor: pointer; font-weight: bold; color: var(--green); }
.rules-daily__answer[open] summary { margin-bottom: .5rem; }
.rules-daily__answer p { margin: 0 0 .5rem; }
.rules-daily__more { font-size: .9rem; color: var(--muted); }
.rules-daily--hub { max-width: 720px; margin: 0 0 2rem; }
.flashcards__bar { margin-bottom: 1rem; }
.flashcards__progress { margin: 0 0 .4rem; font-weight: bold; color: var(--green-dark); }
.flashcards__list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .75rem; }
.flashcard details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); }
.flashcard summary { display: block; padding: 1rem 1.1rem; cursor: pointer; list-style: none; }
.flashcard summary::-webkit-details-marker { display: none; }
.flashcard__q { display: block; margin-bottom: .6rem; font-size: 1.08rem; font-weight: bold; line-height: 1.4; color: var(--green-dark); }
.flashcard__options { display: grid; gap: .3rem; margin-bottom: .7rem; }
.flashcard__options b { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-right: .4rem; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-size: .85rem; }
.flashcard__flip { display: inline-block; font-weight: bold; color: var(--green); text-decoration: underline; text-decoration-color: var(--gold); }
.flashcard details[open] .flashcard__flip { display: none; }
.flashcard__answer { padding: 0 1.1rem 1rem; }
.flashcard__answer p { margin: 0 0 .5rem; }
.flashcard__right { display: flex; align-items: center; gap: .4rem; font-weight: bold; color: var(--green); }
.flashcard__right .icon { width: 18px; height: 18px; }
.flashcard__more { font-size: .9rem; color: var(--muted); }
.flashcards__list.is-deck .flashcard details { background: var(--paper); box-shadow: var(--shadow); }
.flashcards__list:not(.is-deck) .flashcard.is-known summary::after { content: "Known"; float: right; font-size: .75rem; font-weight: bold; color: var(--green-mid); }
.flashcards__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.flashcards__done { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--green-soft); margin-bottom: 1rem; }
.flashcards__done-title { margin: 0 0 .3rem; font-weight: bold; color: var(--green-dark); }
.flashcards__done p:last-child { margin-bottom: 0; }
.flashcards__meter { height: .5rem; border-radius: 999px; background: var(--sand); overflow: hidden; }
.flashcards__meter span { display: block; height: 100%; width: 0; background: var(--green); transition: width .4s ease; }
.product__history { display: flex; align-items: center; gap: .35rem; margin: -.5rem 0 .9rem; font-size: .88rem; color: var(--green-mid); font-weight: bold; }
.product__history .icon { width: 15px; height: 15px; }

/* ---- Mental game toolkit */
.mind { display: grid; gap: 1.25rem; }
.mind__title { margin: 0 0 .35rem; font-size: 1.3rem; }
.mind__intro { margin: 0 0 1rem; color: var(--muted); }
.mind__breath { display: grid; justify-items: center; gap: .3rem; padding: 1.25rem 0 .5rem; text-align: center; }
.mind__circle { width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--green-mid), var(--green-dark)); transform: scale(.55); transition: transform 4s ease-in-out; box-shadow: 0 0 0 10px var(--green-soft); }
.mind__circle.is-in { transform: scale(1); }
.mind__phase { margin: .6rem 0 0; font-size: 1.5rem; font-weight: bold; color: var(--green-dark); }
.mind__count { margin: 0; color: var(--muted); }
.mind__reset { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--green-soft); }
.mind__reset-title { margin: 0 0 .4rem; font-weight: bold; color: var(--green-dark); }
.mind__reset ol { margin: 0; padding-left: 1.3rem; }
.mind__reset li { margin-bottom: .3rem; }
.mind__checklist { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .45rem; }
.mind__checklist label { display: flex; gap: .55rem; align-items: flex-start; cursor: pointer; }
.mind__checklist input { margin-top: .3rem; flex: none; width: 1.1rem; height: 1.1rem; accent-color: var(--green); }
.mind__message { margin: 0 0 .75rem; font-weight: bold; color: var(--green-mid); }
.mind__journal-title { margin: .5rem 0 .6rem; font-size: 1.05rem; }
.mind__journal-title span { font-weight: normal; font-size: .9rem; color: var(--muted); }
.mind__entries { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.mind__entries li { padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); font-size: .93rem; }
.mind__entries p { margin: 0 0 .25rem; }
.mind__entry-head { display: flex; align-items: center; gap: .4rem; }
.mind__remove { margin-left: auto; border: 0; background: none; font-size: 1.2rem; line-height: 1; color: var(--muted); cursor: pointer; }
.tool-disclaimer { font-size: .9rem; color: var(--muted); }
@media print {
    body.is-printing-tool .mind__panel:not(:nth-child(2)), body.is-printing-tool .mind .calc-toolbar { display: none !important; }
}

/* ---- Pocket card: a calculator result printed small for the range (printPocketCard in tools.js) */
.pocket-card { display: none; }
@media print {
    body.is-printing-card > *:not(.pocket-card) { display: none !important; }
    body.is-printing-card { background: #fff; }
    body.is-printing-card .pocket-card { display: block; width: 100mm; min-height: 140mm; padding: 6mm; border: 1px dashed #777; font-size: 9pt; line-height: 1.35; color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .pocket-card__head { display: flex; justify-content: space-between; gap: 4mm; margin: 0 0 3mm; padding-bottom: 2mm; border-bottom: 2px solid #0A5C36; font-size: 10pt; }
    .pocket-card__head span { font-weight: normal; color: #444; }
    .pocket-card .calc-report__headline { margin: 0 0 2mm; font-size: 11pt; font-weight: bold; }
    .pocket-card .calc-report__rows { margin: 0 0 2mm; }
    .pocket-card .calc-report__rows div { display: grid; grid-template-columns: 34% 1fr; gap: 2mm; padding: 1mm 0; border-bottom: 1px solid #ddd; break-inside: avoid; }
    .pocket-card .calc-report__rows dt { font-weight: bold; }
    .pocket-card .calc-report__rows dd { margin: 0; }
    .pocket-card .calc-report__note { margin: 2mm 0 0; font-size: 8pt; }
    .pocket-card a { color: inherit; text-decoration: none; }
    .pocket-card__foot { margin: 3mm 0 0; font-size: 7pt; color: #555; word-break: break-all; }
}
.stats-card { display: block; width: 100%; max-width: 360px; height: auto; margin: .25rem 0 1rem; border-radius: var(--radius-sm); box-shadow: var(--shadow); }

/* ---- Golf Weather Score: automatic forecast (initForecast in tools.js) */
.forecast-panel { margin-bottom: 1.5rem; }
.forecast__search { display: flex; gap: .5rem; flex-wrap: wrap; }
.forecast__search input { flex: 1 1 220px; min-width: 0; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: var(--paper); }
.forecast__options { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0 0; }
.forecast__places { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.forecast__status { margin: .75rem 0 0; font-weight: bold; color: var(--green-mid); }
.forecast__result { margin-top: 1rem; }
.forecast__best { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--green-soft); border-left: 5px solid var(--green); margin-bottom: 1rem; }
.forecast__best p { margin: 0 0 .4rem; }
.forecast__best p:last-child { margin-bottom: 0; }
.forecast__best-label { font-size: .78rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.forecast__best-time { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: 1.25rem; color: var(--green-dark); }
.forecast__advice, .forecast__gear { font-size: .92rem; }
.forecast__score { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .85rem; font-weight: bold; color: #fff; }
.forecast__score.is-great, .forecast__hour.is-great b { background: var(--green); }
.forecast__score.is-good, .forecast__hour.is-good b { background: var(--green-mid); }
.forecast__score.is-keen, .forecast__hour.is-keen b { background: var(--gold-dark); }
.forecast__score.is-bad, .forecast__hour.is-bad b { background: #9A3B2E; }
.forecast__day { margin-bottom: 1rem; }
.forecast__day-title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .45rem; font-size: 1rem; }
.forecast__hours { list-style: none; margin: 0; padding: 0 0 .3rem; display: flex; gap: .4rem; overflow-x: auto; scroll-snap-type: x proximity; }
.forecast__hours li { flex: none; scroll-snap-align: start; }
.forecast__hour { display: grid; justify-items: center; gap: .15rem; width: 5.4rem; padding: .45rem .3rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font: inherit; font-size: .78rem; color: var(--ink); cursor: pointer; }
.forecast__hour:hover { border-color: var(--green); }
.forecast__hour b { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; color: #fff; font-size: .95rem; }
.forecast__time { font-weight: bold; color: var(--green-dark); }
.forecast__arrow { display: inline-block; margin-right: .15rem; color: var(--green); }
.forecast__legend { margin: .25rem 0 0; font-size: .8rem; color: var(--muted); }
.forecast__legend span { white-space: nowrap; margin-right: .5rem; }
.forecast__legend span::before { content: "●"; margin-right: .2rem; }
.forecast__legend .is-great::before { color: var(--green); }
.forecast__legend .is-good::before { color: var(--green-mid); }
.forecast__legend .is-keen::before { color: var(--gold-dark); }
.forecast__legend .is-bad::before { color: #9A3B2E; }
.forecast__credit { margin: 1rem 0 0; font-size: .78rem; color: var(--muted); }
.forecast__places[hidden], .forecast__status[hidden] { display: none; }
.product__history[hidden], .flashcards__actions[hidden], .flashcards__bar[hidden], .flashcards__done[hidden], .calc-toolbar[hidden], .calc-tool[hidden], .mind__journal[hidden], .forecast__result[hidden] { display: none; }

/* ---- Virtual caddie: big, phone-friendly targets */
.caddie { display: grid; gap: .9rem; }
.caddie__nobag { margin: 0; padding: .75rem .9rem; border-radius: var(--radius-sm); background: var(--gold-soft); font-size: .92rem; }
.caddie__nobag[hidden], .caddie__choice[hidden] { display: none; }
.caddie__distance label { display: block; margin-bottom: .35rem; font-weight: bold; }
.caddie__stepper { display: flex; align-items: center; gap: .5rem; }
.caddie__stepper input { width: 6.5rem; padding: .55rem .6rem; border: 2px solid var(--green); border-radius: var(--radius-sm); font: inherit; font-size: 1.6rem; font-weight: bold; text-align: center; color: var(--green-dark); }
.caddie__unit { color: var(--muted); }
.caddie__step { min-width: 3.2rem; min-height: 3.2rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; font-weight: bold; color: var(--green-dark); cursor: pointer; }
.caddie__step:hover { border-color: var(--green); }
.caddie .segmented label { min-height: 46px; padding: .5rem 1rem; font-size: .95rem; }
.caddie__result { padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--green-dark); color: rgba(255, 255, 255, .9); }
.caddie__label { margin: 0; font-size: .78rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.caddie__club { margin: .1rem 0 .2rem; font-size: clamp(1.8rem, 6vw, 2.4rem); font-weight: bold; line-height: 1.15; color: #fff; }
.caddie__club small { font-size: .9rem; font-weight: normal; color: rgba(255, 255, 255, .75); }
.caddie__alt { margin: 0 0 .4rem; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.caddie__plays { margin: 0 0 .5rem; font-size: 1.1rem; }
.caddie__plays strong { color: var(--gold); }
.caddie__aim { margin: 0 0 .6rem; }
.caddie__aim b { color: var(--gold); }
.caddie__result .calc-report__rows dt, .caddie__result .calc-report__rows dd { color: rgba(255, 255, 255, .85); }
.caddie__result .calc-report__rows div { border-color: rgba(255, 255, 255, .15); }
.caddie__result .calc-report__note { color: rgba(255, 255, 255, .8); }
.caddie__fav input { width: 4.2rem; margin-left: .35rem; padding: .2rem .35rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; }

/* ---- Improvement programmes (/programmes/) */
.programme__facts { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: rgba(255, 255, 255, .85); font-size: .92rem; }
.programme__facts li { display: inline-flex; align-items: center; gap: .35rem; }
.programme__facts .icon { width: 16px; height: 16px; color: var(--gold); }
.programme { display: grid; gap: 1.25rem; }
.programme__progress { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--green-soft); border-left: 5px solid var(--green); }
.programme__progress[hidden] { display: none; }
.programme__resume { margin: 0 0 .6rem; }
.programme__progress .calc-toolbar { margin: .7rem 0 0; }
.programme__weeks-nav ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.programme__weeks-nav a { display: inline-block; padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .88rem; text-decoration: none; }
.programme__weeks-nav a.is-done { background: var(--green); border-color: var(--green); color: #fff; }
.programme__weeks-nav a.is-done::before { content: "✓ "; }
.programme__week { scroll-margin-top: 90px; }
.programme__week.is-done { border-top-color: var(--green); }
.programme__week-label { margin: 0; font-size: .78rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.programme__week-title { margin: .1rem 0 .4rem; font-size: 1.4rem; }
.programme__focus { margin: 0 0 1rem; color: var(--muted); }
.programme__item { padding: .8rem 0; border-top: 1px solid var(--line); }
.programme__item p { margin: .35rem 0 0 2rem; }
.programme__tick { display: flex; gap: .6rem; align-items: flex-start; font-weight: bold; color: var(--green-dark); cursor: pointer; }
.programme__tick input { flex: none; width: 1.3rem; height: 1.3rem; margin-top: .15rem; accent-color: var(--green); }
.programme__tick small { font-weight: normal; color: var(--muted); }
.programme__tick input:checked + span { text-decoration: line-through; text-decoration-color: var(--gold); }
.programme__drills { margin: .4rem 0 0 2rem; padding-left: 1rem; }
.programme__drills li { margin-bottom: .35rem; }
.programme__item--course .programme__tick, .programme__item--check .programme__tick { color: var(--gold-dark); }
.programme-cards { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.programme-card { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.25rem; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.programme-card:hover { box-shadow: var(--shadow-lg); color: var(--ink); }
.programme-card__icon .icon { width: 28px; height: 28px; color: var(--green); }
.programme-card__title { font-size: 1.25rem; font-weight: bold; color: var(--green-dark); }
.programme-card__text { color: var(--muted); }
.programme-card__meta { font-size: .85rem; color: var(--gold-dark); }
.programme-card__go { margin-top: auto; padding-top: .4rem; font-weight: bold; color: var(--green); }
@media print {
    body.is-printing-tool .programme__week.is-print-hidden, body.is-printing-tool .programme__progress, body.is-printing-tool .programme__weeks-nav { display: none !important; }
}
.programme-cta { margin: 2rem 0; padding: 1.3rem 1.4rem; border-radius: var(--radius); background: var(--green-dark); color: rgba(255, 255, 255, .88); }
.programme-cta__label { display: flex; align-items: center; gap: .4rem; margin: 0 0 .3rem; font-size: .78rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.programme-cta__title { margin: 0 0 .5rem; color: #fff; font-size: 1.3rem; }
.programme-cta .btn { margin-top: .4rem; }
.programmes-band { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.5rem; padding: .85rem 1.1rem; border-radius: var(--radius-sm); background: var(--green-soft); border-left: 5px solid var(--green); color: var(--ink); text-decoration: none; }
.programmes-band:hover { color: var(--ink); background: #DCEBE2; }
.programmes-band > .icon { flex: none; width: 22px; height: 22px; color: var(--green); }

/* ---- Golf fitness plan (initFitnessPlan in tools.js) */
.fitness { display: grid; gap: .9rem; }
.fitness__title { margin: .5rem 0 0; font-size: 1.25rem; }
.fitness .segmented { flex-wrap: wrap; border-radius: var(--radius-sm); }
.fitness__summary { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--green-soft); border-left: 5px solid var(--green); }
.fitness__summary p { margin: 0 0 .5rem; }
.fitness__headline { font-size: 1.1rem; font-weight: bold; color: var(--green-dark); }
.fitness__progress { margin: .5rem 0 0 !important; font-size: .9rem; color: var(--muted); }
.fitness__week { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); margin-bottom: .6rem; }
.fitness__week summary { padding: .8rem 1rem; font-weight: bold; color: var(--green-dark); cursor: pointer; }
.fitness__week summary span { font-weight: normal; color: var(--gold-dark); margin-left: .4rem; }
.fitness__session { margin: 0 1rem 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--line); }
.fitness__session.is-done { opacity: .7; border-color: var(--green); }
.fitness__session h3 { margin: 0 0 .5rem; font-size: 1.02rem; }
.fitness__session h3 small { font-weight: normal; color: var(--muted); }
.fitness__session ol { margin: 0 0 .6rem; padding-left: 1.3rem; }
.fitness__session li { margin-bottom: .4rem; font-size: .94rem; }
.fitness__session li span { display: block; color: var(--muted); font-size: .88rem; }
.fitness__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 1rem .8rem; }
.fitness__session .fitness__actions { margin: 0; }
.fitness__timer { padding: 1.2rem; border-radius: var(--radius); background: var(--green-dark); color: rgba(255, 255, 255, .9); text-align: center; scroll-margin-top: 90px; }
.fitness__timer[hidden] { display: none; }
.fitness__timer p { margin: 0 0 .35rem; }
.fitness__timer-session { font-size: .78rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.fitness__timer-step { font-size: .92rem; }
.fitness__timer-name { font-size: 1.5rem; font-weight: bold; color: #fff; }
.fitness__timer-clock { font-size: clamp(2.4rem, 10vw, 3.5rem); font-weight: bold; color: var(--gold); line-height: 1.1; }
.fitness__timer-how { max-width: 34rem; margin: 0 auto .8rem !important; font-size: .95rem; }
.fitness__timer .calc-toolbar { justify-content: center; margin-top: .9rem; }
.fitness__timer .flashcards__meter { background: rgba(255, 255, 255, .2); }
.fitness__timer .flashcards__meter span { background: var(--gold); }
@media print {
    body.is-printing-tool .fitness__week.is-print-hidden, body.is-printing-tool .fitness > .tool-field, body.is-printing-tool .fitness__title,
    body.is-printing-tool .fitness .panel__note, body.is-printing-tool .fitness__actions, body.is-printing-tool .fitness__summary { display: none !important; }
    body.is-printing-tool .fitness__session { break-inside: avoid; border: 1px dashed #777; }
}

/* ---- Swing video analyzer (initSwingVideo in tools.js) */
.sva { display: grid; gap: 1rem; }
.sva__load { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.sva__load .panel__note { flex-basis: 100%; margin: 0; }
.sva__file { position: relative; cursor: pointer; }
.sva__file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.sva__file[hidden], .sva__work[hidden], .sva__view[hidden], .sva__row[hidden], .sva__jump[hidden] { display: none; }
.sva__work { display: grid; gap: .9rem; }
.sva__stage { position: relative; display: grid; gap: .6rem; }
.sva__stage.is-two { grid-template-columns: 1fr 1fr; }
.sva__view { position: relative; background: #000; border-radius: var(--radius-sm); overflow: hidden; outline: 3px solid transparent; }
.sva__view.is-active { outline-color: var(--gold); }
.sva__view video { display: block; width: 100%; max-height: 70vh; object-fit: contain; background: #000; }
.sva__view canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: manipulation; }
.sva__stage.is-drawing canvas { cursor: crosshair; touch-action: none; }
.sva__badge { position: absolute; left: .5rem; top: .5rem; padding: .1rem .5rem; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .75rem; pointer-events: none; }
.sva__stage.is-two.is-overlay { grid-template-columns: 1fr; }
.sva__stage.is-two.is-overlay .sva__view[data-view="b"] { position: absolute; inset: 0; opacity: .5; background: transparent; }
.sva__stage.is-two.is-overlay .sva__view[data-view="b"] video { background: transparent; height: 100%; }
.sva__transport { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.sva__btn { min-width: 3.4rem; min-height: 2.8rem; padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; font-weight: bold; color: var(--green-dark); cursor: pointer; }
.sva__btn--play { min-width: 6rem; background: var(--green); border-color: var(--green); color: #fff; }
.sva__speed { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; }
.sva__speed select { padding: .35rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.sva__time { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: bold; color: var(--green-dark); }
.sva__scrub { width: 100%; accent-color: var(--green); }
.sva__row { display: grid; gap: .5rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.sva__label { font-weight: bold; color: var(--green-dark); }
.sva__label small { font-weight: normal; color: var(--muted); }
.sva__marks { display: flex; flex-wrap: wrap; gap: .4rem; }
.sva__mark { display: inline-flex; gap: .2rem; }
.sva__tempo, .sva__hint { margin: 0; font-size: .88rem; color: var(--muted); }
.sva__swatch { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .3); vertical-align: -1px; }
.sva .calc-toolbar { margin: 0; }
@media (max-width: 640px) { .sva__stage.is-two:not(.is-overlay) { grid-template-columns: 1fr; } }

/* ---- Society season manager (/society/) */
.society__error { margin: 0 0 1rem; padding: .75rem 1rem; border-radius: var(--radius-sm); background: #FBE9E5; border-left: 5px solid #9A3B2E; color: #6E2418; font-weight: bold; }
.society__notice { margin: 0 0 1rem; padding: .75rem 1rem; border-radius: var(--radius-sm); background: var(--green-soft); border-left: 5px solid var(--green); color: var(--green-dark); font-weight: bold; }
.society-create { display: grid; gap: .9rem; }
.society-create input[type="text"], .society-create input[type="password"], .society-edit input[type="text"], .society-edit input[type="password"], .society-edit input[type="date"], .society-edit input[type="number"], .society-edit select, .society-edit textarea {
    width: 100%; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font: inherit; }
.society-edit textarea { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9rem; }
.society-create small, .society-edit small { display: block; margin-top: .3rem; color: var(--muted); font-size: .85rem; }
.society__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.society-edit { display: grid; gap: 1.25rem; }
.society__panel form { display: grid; gap: .8rem; }
.society__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .6rem .9rem; }
.society__links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0; font-size: .9rem; }
.society__links code { word-break: break-all; }
.society__subtitle { margin: 1.4rem 0 .5rem; font-size: 1.05rem; }
.society__event { margin-bottom: .6rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.society__event > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; padding: .7rem .9rem; cursor: pointer; }
.society__event > summary span { color: var(--muted); font-size: .9rem; }
.society__event > form, .society__event > .calc-table-wrap { margin: 0 .9rem .9rem; }
.society__delete { margin-top: -.3rem !important; }
.society__podium { display: inline-flex; flex-wrap: wrap; gap: .3rem .7rem; }
.society__podium .is-p1 { color: var(--gold-dark); font-weight: bold; }
.society__inline { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.society__inline input { flex: 1 1 200px; width: auto !important; }
.society__danger { margin-top: .5rem; }
.society__danger summary { cursor: pointer; color: #9A3B2E; font-weight: bold; }
.society__danger form { display: grid; gap: .5rem; margin-top: .6rem; }
.society__share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .8rem 0 0; color: rgba(255, 255, 255, .85); font-size: .92rem; }
.society__share input { flex: 1 1 260px; max-width: 420px; padding: .4rem .6rem; border: 0; border-radius: 6px; font: inherit; font-size: .88rem; }
.society__share .share__copy { color: #fff; }
.society__organiser { margin: 0 0 1rem; }
.society__block { margin-bottom: 2rem; }
.society__rules { margin: .2rem 0 .7rem; color: var(--muted); font-size: .9rem; }
.society__table tr.is-leader th, .society__table tr.is-leader td { background: var(--gold-soft); }
.society__table--eclectic td, .society__table--eclectic th { padding-left: .35rem; padding-right: .35rem; text-align: center; }
.society__empty, .society__foot { color: var(--muted); }
.society__share input { color: var(--ink); background: #fff; }
.society__share .share__copy { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: .88rem; cursor: pointer; }
.society__share .share__copy:hover { border-color: var(--gold); color: var(--gold); }
.society__share .share__copy .icon { width: 16px; height: 16px; }

/* ---- Course maps: course GPS and yardage book */
.course-picker { display: grid; gap: .2rem; }
.hole-map { display: block; width: 100%; height: auto; background: #CFE3C8; border-radius: var(--radius-sm); }
.hole-map__fairways { fill: #9FCC8E; }
.hole-map__greens { fill: #4FA65A; stroke: #2E7D3A; stroke-width: 1; }
.hole-map__tees { fill: #7CB86C; stroke: #2E7D3A; stroke-width: .6; }
.hole-map__bunkers { fill: #F1E1B0; stroke: #C9AE63; stroke-width: .6; }
.hole-map__water { fill: #7DB7E3; stroke: #4A8CC2; stroke-width: .6; }
.hole-map__line { fill: none; stroke: #fff; stroke-width: 1.4; stroke-dasharray: 4 3; }
.hole-map__flag { fill: #C0392B; stroke: #fff; stroke-width: 1; }
.hole-map__tee { fill: #fff; stroke: var(--green-deep); stroke-width: 1; }
.hole-map__player { fill: #1E6FD9; stroke: #fff; stroke-width: 2; }
.hole-map__mark { fill: var(--green-deep); }
.hole-map__label { font-size: 9px; font-weight: bold; fill: var(--green-deep); font-family: Georgia, serif; }
.gps { display: grid; gap: 1rem; }
.gps__course { display: grid; gap: .8rem; }
.gps__course[hidden], .gps__hazards[hidden], .gps__missing[hidden] { display: none; }
.gps__course-name { margin: 0; font-size: .9rem; color: var(--muted); }
.gps__course-name strong { color: var(--green-dark); font-size: 1rem; }
.gps__nav { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.gps__hole { margin: 0; text-align: center; font-weight: bold; font-size: 1.15rem; color: var(--green-dark); }
.gps__numbers { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: .5rem; text-align: center; }
.gps__numbers div { display: grid; padding: .7rem .4rem; border-radius: var(--radius-sm); background: var(--green-soft); }
.gps__numbers span { font-size: .78rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gps__numbers b { font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.1; color: var(--green-dark); }
.gps__numbers small { color: var(--muted); }
.gps__numbers .gps__middle { background: var(--green-dark); }
.gps__numbers .gps__middle span, .gps__numbers .gps__middle small { color: rgba(255, 255, 255, .75); }
.gps__numbers .gps__middle b { color: #fff; font-size: clamp(2.5rem, 12vw, 3.6rem); }
.gps__from, .gps__status { margin: 0; text-align: center; font-size: .88rem; color: var(--muted); }
.gps__missing { margin: 0; padding: .7rem .9rem; border-radius: var(--radius-sm); background: var(--gold-soft); font-size: .92rem; }
.gps__tools { justify-content: center; margin: 0; }
.gps__hazards { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.gps__hazards-head, .gps__hazards li { display: grid; grid-template-columns: 1fr 4.5rem 4.5rem; gap: .5rem; padding: .45rem .8rem; margin: 0; }
.gps__hazards-head { background: var(--sand); font-size: .78rem; font-weight: bold; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.gps__hazards ul { list-style: none; margin: 0; padding: 0; }
.gps__hazards li { border-top: 1px solid var(--line); }
.gps__hazards li b, .gps__hazards-head span + span { text-align: right; }
.gps__map { max-width: 260px; margin: 0 auto; width: 100%; }
.gps__shot { padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--line); text-align: center; }
.gps__shot p { margin: 0 0 .3rem; }
.gps__shot-label { font-size: .78rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.gps__shot-value { font-size: 1.4rem; font-weight: bold; color: var(--green-dark); }
.gps__shot .calc-toolbar { justify-content: center; margin: .4rem 0 0; }
.ybook { display: grid; gap: 1rem; }
.ybook__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.ybook__tools[hidden] { display: none; }
.ybook__book { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.ybook__page { padding: .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: .85rem; }
.ybook__page--cover { display: flex; flex-direction: column; justify-content: center; text-align: center; background: var(--green-dark); color: rgba(255, 255, 255, .85); }
.ybook__cover-kicker { margin: 0; font-size: .78rem; font-weight: bold; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.ybook__cover-title { margin: .3rem 0 .6rem; color: #fff; font-size: 1.6rem; }
.ybook__credit { font-size: .75rem; opacity: .8; }
.ybook__head { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .5rem; padding-bottom: .3rem; border-bottom: 2px solid var(--green); }
.ybook__head strong { font-size: 1.5rem; color: var(--green-dark); }
.ybook__head span:last-child { margin-left: auto; font-weight: bold; }
.ybook__body { display: grid; grid-template-columns: 45% 1fr; gap: .6rem; }
.ybook__table { width: 100%; border-collapse: collapse; margin-bottom: .5rem; font-size: .8rem; }
.ybook__table caption { text-align: left; font-weight: bold; color: var(--green-dark); padding-bottom: .15rem; }
.ybook__table th, .ybook__table td { padding: .15rem .25rem; border-bottom: 1px solid var(--line); text-align: right; }
.ybook__table th:first-child, .ybook__table td:first-child { text-align: left; }
.ybook__note { margin: 0 0 .4rem; font-size: .8rem; }
.ybook__sketch { min-height: 90px; border: 1px dashed #aaa; border-radius: 6px; padding: .3rem; font-size: .7rem; color: var(--muted); }
.ybook__table--clubs { font-size: .9rem; }
@media print {
    body.is-printing-tool .ybook .course-picker, body.is-printing-tool .ybook__tools, body.is-printing-tool .ybook .forecast__credit, body.is-printing-tool .tool-shop, body.is-printing-tool .page-header, body.is-printing-tool .breadcrumbs { display: none !important; }
    body.is-printing-tool .ybook { border: 0 !important; padding: 0 !important; box-shadow: none !important; }
    body.is-printing-tool .ybook__book { display: block; }
    body.is-printing-tool .ybook__page { break-after: page; border: 0; padding: 0; height: 136mm; }
    body.is-printing-tool .ybook__page--cover { color: #000; background: none; }
    body.is-printing-tool .ybook__page--cover .ybook__cover-title { color: #000; }
    body.is-printing-tool .hole-map, body.is-printing-tool .hole-map * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---- Swing video analyzer: zoom, checkpoints, example (v24) */
.sva__inner { position: relative; transform-origin: center center; transition: transform .15s ease; }
.sva__view.is-zoomed canvas { cursor: grab; }
.sva__stage.is-drawing .sva__view.is-zoomed canvas { cursor: crosshair; }
.sva__example-note { margin: 0; padding: .7rem .9rem; border-radius: var(--radius-sm); background: var(--gold-soft); font-size: .92rem; }
.sva__example-note[hidden] { display: none; }
.sva__checkpoints { display: flex; flex-wrap: wrap; gap: .35rem; }
.sva__cp .calc-tool { font-size: .82rem; }
.sva__cp .calc-tool.is-marked { border-color: var(--green); color: var(--green-dark); }
.sva__cp .calc-tool.is-marked::before { content: "✓ "; color: var(--green); }
.sva__cp .calc-tool.is-chosen { background: var(--green); border-color: var(--green); color: #fff; }
.sva__cp .calc-tool.is-chosen::before { color: var(--gold); }
.sva__cp-detail { padding: .7rem .9rem; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--line); }
.sva__cp-text { margin: 0 0 .5rem; font-size: .92rem; }
.sva__cp-detail .calc-toolbar { margin: 0; }
.sva__pose-options { display: contents; }
.sva__pose-options[hidden] { display: none; }
.sva__progress { height: .5rem; border-radius: 999px; background: var(--sand); overflow: hidden; }
.sva__progress[hidden], .sva__report[hidden] { display: none; }
.sva__progress span { display: block; height: 100%; width: 0; background: var(--green); transition: width .2s linear; }
.sva__report { display: grid; gap: .6rem; padding: .8rem .9rem; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--line); }
.sva__report p { margin: 0; }
.sva__report-head { font-size: .92rem; }
.sva__report-error { font-size: .92rem; color: #8A3418; }
.sva__measures { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sva__measure { display: grid; gap: .15rem; padding: .55rem .7rem; border-radius: var(--radius-sm); background: var(--paper); border-left: 4px solid var(--green); font-size: .88rem; }
.sva__measure.is-ok { border-left-color: var(--gold); }
.sva__measure.is-watch { border-left-color: #C2552B; }
.sva__measure-name { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sva__measure-value { font-weight: 700; font-size: 1.05rem; color: var(--green-dark); }
.sva__measure-note { color: var(--ink); }
.sva__glossary dt { font-weight: bold; color: var(--green-dark); margin-top: .5rem; }
.sva__glossary dd { margin: 0 0 .2rem; }
/* Step-by-step "How to use" lists on tool pages */
.prose ol.howto { counter-reset: howto; list-style: none; padding-left: 0; }
.prose ol.howto > li { counter-increment: howto; position: relative; padding-left: 2.6rem; margin-bottom: .8rem; }
.prose ol.howto > li::before { content: counter(howto); position: absolute; left: 0; top: -.05rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: bold; font-size: .9rem; }
.gps__club { margin: 0; text-align: center; font-size: .95rem; }
.gps__club:empty { display: none; }
.gps__score { padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--green-soft); text-align: center; }
.gps__score p { margin: 0 0 .3rem; }
.gps__score-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem .5rem; }
.gps__score-row b { min-width: 2rem; font-size: 1.5rem; color: var(--green-dark); }
.gps__score-row span { font-size: .85rem; color: var(--muted); margin-left: .4rem; }
.gps__score-total { margin-top: .5rem !important; font-weight: bold; color: var(--green-dark); }
.gps__shot-save { justify-content: center; }
.gps__shot-save[hidden], .gps__shot-log[hidden] { display: none; }
.gps__shot-log { margin-top: .8rem; text-align: left; }
.ybook__card { width: 100%; border-collapse: collapse; margin-bottom: .6rem; font-size: .72rem; table-layout: fixed; }
.ybook__card th, .ybook__card td { border: 1px solid #999; height: 1.6rem; text-align: center; padding: 0; }
.ybook__card th:first-child { width: 22%; text-align: left; padding-left: .25rem; }
.ybook__card-par td, .ybook__card-par th { background: var(--green-soft); font-weight: bold; }
.ybook__page--card { grid-column: 1 / -1; }
[data-custom-marks][hidden] { display: none; }
@media print { body.is-printing-tool .ybook__card-par td, body.is-printing-tool .ybook__card-par th { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
.caddie__carry { width: 9rem; padding: .5rem .6rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; }
.calendar-export { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.calendar-export summary { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; font-weight: bold; color: var(--green-dark); cursor: pointer; }
.calendar-export summary .icon { width: 18px; height: 18px; }
.calendar-export__body { display: grid; gap: .6rem; padding: 0 .9rem .9rem; }
.calendar-export__field input { margin-left: .4rem; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.calendar-export__days { display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin: 0; padding: 0; border: 0; }
.calendar-export__days legend { font-weight: bold; margin-bottom: .3rem; }
.calendar-export__days label { display: inline-flex; align-items: center; gap: .25rem; }
.programme__notes { display: block; margin-top: .6rem; font-size: .85rem; color: var(--muted); }
.programme__notes textarea { display: block; width: 100%; margin-top: .25rem; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: .92rem; color: var(--ink); }
@media print { body.is-printing-tool .calendar-export, body.is-printing-tool .programme__notes textarea:placeholder-shown { display: none !important; } }
.fitness__swap { margin-left: .3rem; padding: .05rem .5rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; font-size: .75rem; color: var(--green); cursor: pointer; }
.fitness__swap:hover { border-color: var(--green); }
.fitness__swapped { font-size: .85rem; color: var(--muted); }
@media print { body.is-printing-tool .fitness__swap { display: none !important; } }
.mind__trend p { margin: .4rem 0; font-size: .9rem; }
.mind__bars { display: flex; align-items: flex-end; gap: 3px; height: 60px; padding: 4px; border-radius: 6px; background: var(--cream); border: 1px solid var(--line); }
.mind__bar { flex: 1; max-width: 18px; border-radius: 3px 3px 0 0; background: var(--green-mid); }
.flashcard__topic { display: block; margin-bottom: .2rem; font-size: .72rem; font-weight: bold; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); }
.flashcards__filters { margin: .6rem 0 0; }
.flashcards__test[hidden], .flashcards__list[hidden] { display: none; }
.fc-test__q { margin: 0 0 .8rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.fc-test__q legend { font-weight: bold; color: var(--green-dark); padding: 0 .3rem; }
.fc-test__q label { display: flex; gap: .5rem; align-items: flex-start; padding: .25rem 0; cursor: pointer; }
.fc-test__q.is-right { border-color: var(--green); background: var(--green-soft); }
.fc-test__q.is-wrong { border-color: #9A3B2E; background: #FBE9E5; }
.fc-test__why { margin: .4rem 0 0; font-size: .9rem; }
.fc-test__why[hidden], .fc-test__score[hidden] { display: none; }
.fc-test__score { font-size: 1.2rem; font-weight: bold; color: var(--green-dark); }
.society__next { margin: 0 0 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); background: var(--gold-soft); border-left: 5px solid var(--gold); }
.society__next p { margin: 0 0 .25rem; }
.society__next-label { font-size: .75rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.society__next-name { font-size: 1.05rem; color: var(--green-dark); }
.society__tools { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.society__tools a.calc-tool { text-decoration: none; }
.society__prize { color: var(--green-mid); }
@media print { .society__share, .society__tools, .society__organiser, .society__foot { display: none !important; } .society__event > summary { list-style: none; } }

/* ---------------------------------------------------------------- the book (/the-golf-guide/)
   Direct-response styling: <mark> = highlighter pen, <u> = hand-drawn gold underline,
   .dr-bullets = big checkmark bullets. The book promo box used elsewhere is at the end. */
.page-book mark { background: linear-gradient(transparent 38%, #FBE38A 38%, #FBE38A 88%, transparent 88%); color: inherit; padding: 0 .12em; }
.page-book u { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-skip-ink: none; }

.book-hero__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .book-hero__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; } }
.book-hero__warning { display: inline-block; margin: 0 0 .9rem; padding: .25rem .8rem; border-radius: 4px; background: #B3401F; color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.book-hero .page-header__title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.2; }
.book-hero__least { color: var(--gold); font-style: italic; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.book-hero .page-header__intro strong { color: #fff; }
.book-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.book-hero__ku { display: flex; align-items: center; gap: .4rem; margin: 1rem 0 0; color: rgba(255, 255, 255, .9); }
.book-hero__ku .icon { color: var(--gold); width: 20px; height: 20px; }
.book-hero__cover { display: block; max-width: 300px; width: 100%; margin-inline: auto; transform: rotate(2deg); transition: transform .2s; }
.book-hero__cover:hover { transform: rotate(0) scale(1.02); }
.book-hero__cover img { display: block; width: 100%; height: auto; border-radius: 3px 8px 8px 3px; box-shadow: -6px 0 0 rgba(0, 0, 0, .25), 0 18px 45px rgba(0, 0, 0, .45); }
@media (max-width: 899px) { .book-hero__cover { max-width: 210px; order: -1; } }

.book-letter p { font-size: 1.15rem; }
.book-callout { padding: 1rem 1.25rem; background: var(--gold-soft); border-left: 5px solid var(--gold); border-radius: var(--radius-sm); font-size: 1.22rem !important; }
.book-steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .7rem; }
.book-steps li { counter-increment: step; position: relative; padding: .9rem 1.1rem .9rem 3.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 1.1rem; line-height: 1.55; }
.book-steps li::before { content: counter(step); position: absolute; left: 1rem; top: .85rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; }
.book-numbers { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .75rem; }
.book-numbers li { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius-sm); font-size: 1.1rem; line-height: 1.5; }
.book-numbers__score { flex: none; font-size: 2.2rem; font-weight: 700; color: var(--green); min-width: 2.4ch; }

/* Big checkmark bullets */
.dr-bullets { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .8rem; }
.dr-bullets > li { position: relative; padding: .95rem 1.1rem .95rem 3.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); font-size: 1.12rem; line-height: 1.55; }
.dr-bullets > li::before { content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
    background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.dr-bullets > li > strong:first-child { color: var(--green-deep); }
.dr-bullets--compact { gap: .55rem; margin: 0; }
.dr-bullets--compact > li { padding: .7rem .9rem .7rem 2.8rem; font-size: 1.02rem; box-shadow: none; background: var(--cream); }
.dr-bullets--compact > li::before { left: .8rem; top: .8rem; width: 1.3rem; height: 1.3rem; }

.book-intro { display: flex; gap: 1.5rem; align-items: center; margin-bottom: 1.25rem; }
.book-intro__cover { flex: none; width: 110px; height: auto; border-radius: 2px 6px 6px 2px; box-shadow: var(--shadow-lg); }
.book-subtitle { font-size: 1.15rem; font-style: italic; color: var(--muted); margin: .4rem 0 0; }
.book-cta { margin: 2rem 0; padding: 1.5rem; text-align: center; background: var(--paper); border: 2px dashed var(--gold); border-radius: var(--radius); }
.book-cta__btn { font-size: 1.15rem; padding: .95rem 1.8rem; box-shadow: 0 6px 18px rgba(168, 135, 31, .35); white-space: normal; text-align: center; max-width: 100%; }
@media (max-width: 480px) { .book-cta__btn { font-size: 1.05rem; padding-inline: 1.1rem; } .book-cta { padding: 1.1rem .9rem; } }
.book-offer > * { min-width: 0; }
.book-cta__note { margin: .75rem 0 0; font-size: .95rem; color: var(--muted); }
.section--dark .book-cta { background: transparent; border-color: rgba(212, 175, 55, .6); }
.section--dark .book-cta__note { color: rgba(255, 255, 255, .8); }
.section--dark .book-cta__note strong { color: #fff; }
.book-ready { text-align: center; }
.book-topics { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 800px) { .book-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.book-topic { padding: 1.25rem 1.25rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); }
.book-topic__title { font-size: 1.25rem; margin: 0 0 .9rem; color: var(--green); }
.book-more { text-align: center; margin: 1.75rem 0 0; font-size: 1.25rem; }

.book-offer { display: grid; gap: 2rem; align-items: center; padding: clamp(1.25rem, 4vw, 2.25rem); background: var(--paper); border: 3px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (min-width: 700px) { .book-offer { grid-template-columns: 200px minmax(0, 1fr); } }
.book-offer__cover { width: 100%; max-width: 200px; height: auto; margin-inline: auto; border-radius: 2px 6px 6px 2px; box-shadow: var(--shadow-lg); }
.book-offer__title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: .3rem 0 1rem; }
.book-offer__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; margin: 0 0 1rem; color: var(--muted); font-size: .95rem; }
.book-offer__amount { font-size: 3rem; font-weight: 700; color: var(--green); line-height: 1; }
.book-offer__ku { margin: 0 0 1.25rem; padding: 1rem 1.1rem; background: var(--green-soft); border: 1px solid #BFD8C8; border-radius: var(--radius-sm); }
.book-offer__ku p { margin: 0; line-height: 1.55; }
.book-offer__ku p + p { margin-top: .4rem; }
.book-offer__ku .icon { color: var(--green); vertical-align: -3px; }
.book-ps { padding: 1rem 1.2rem; background: #FFFDF2; border: 1px dashed var(--gold); border-radius: var(--radius-sm); }
.book-stores { margin: 2rem 0 1rem; padding: 1rem 1.25rem; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.book-stores summary { cursor: pointer; font-weight: 700; color: var(--green); }
.book-stores ul { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .4rem 1rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.book-stores span { color: var(--muted); font-size: .88rem; }
.book-disclosure { font-size: .9rem; color: var(--muted); }

/* Book promo box: end of blog posts, programmes, tools hub, home (partials/book-promo.php) */
.book-promo { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.1rem; align-items: center; margin: 2rem 0; padding: 1.2rem 1.3rem; background: var(--green-deep); color: rgba(255, 255, 255, .88); border: 1px solid rgba(212, 175, 55, .5); border-radius: var(--radius); }
.book-promo__cover { display: block; width: 96px; height: auto; border-radius: 2px 5px 5px 2px; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }
.book-promo__label { margin: 0 0 .25rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.book-promo__title { margin: 0 0 .4rem; color: #fff; font-size: 1.25rem; line-height: 1.3; }
.book-promo p { margin: 0 0 .7rem; line-height: 1.5; }
.book-promo strong { color: #fff; }
.book-promo .btn { margin: 0; }
@media (max-width: 480px) { .book-promo { grid-template-columns: 72px minmax(0, 1fr); } .book-promo__cover { width: 72px; } }
