/*
Theme Name: Cold Plunge Tub
Template: aff-base
Description: Nordic recovery look for cold-plunge-tub.com: glacier blue, ice white, cedar sauna wood and charcoal, with frost and ripple motifs.
Version: 1.0.0
*/

:root {
	--bg: #f3f8fa;
	--surface: #ffffff;
	--surface-2: #e4eff4;
	--ink: #1c2327;
	--ink-2: #3a464d;
	--muted: #66757d;
	--line: #d3e2e9;
	--accent: #1c6688;
	--accent-ink: #ffffff;
	--accent-soft: #dbedf5;
	--accent-2: #a9643a;
	--accent-2-ink: #ffffff;
	--good: #23795a;
	--bad: #b6412f;
	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(15, 50, 70, .05), 0 10px 28px rgba(15, 50, 70, .08);
	--font-display: "Unbounded", "Trebuchet MS", sans-serif;
	--font-body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display-weight: 600;
	--display-tracking: -0.025em;
	--cedar-slats: repeating-linear-gradient(90deg, #b8774a 0 22px, #a3633a 22px 23px, #c4855a 23px 46px, #94562f 46px 47px);
}

/* Unbounded is a wide face: pull display sizes down a step */
.hero__title { font-size: clamp(30px, 4.3vw, 52px); line-height: 1.1; }
.article__title, .silo-head h1 { font-size: clamp(27px, 3.6vw, 42px); line-height: 1.15; }
.prose h2 { font-size: clamp(22px, 2.2vw, 27px); }
.prose h3 { font-size: 19px; }
.section__head h2, .teaser__copy h2 { font-size: clamp(22px, 2.6vw, 30px); }
.card__title { font-size: 17.5px; line-height: 1.3; }
.card--lg .card__title { font-size: 21px; }
.silo__name { font-size: 16.5px; }
.brand__name { font-size: 16px; letter-spacing: -0.01em; }

/* Header: frosted glass over a cedar-slat rail, like a sauna bench */
.site-header { background: color-mix(in srgb, #ffffff 82%, transparent); border-bottom: 0; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--cedar-slats); }
.nav__list a:hover, .nav__list .current-menu-item a { background: var(--accent-soft); color: var(--accent); }

/* Hero: glacier light, ripple rings and a frost haze */
.hero { position: relative; overflow: hidden; border-bottom: 0; padding-bottom: 64px; background:
	repeating-radial-gradient(circle at 92% 112%, transparent 0 34px, rgba(28, 102, 136, .07) 34px 36px),
	radial-gradient(900px 420px at 85% 0%, #d4e9f3, transparent 68%),
	radial-gradient(600px 300px at 0% 100%, #f2e4d6, transparent 70%),
	linear-gradient(180deg, #f6fbfd, var(--bg)); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--cedar-slats); opacity: .9; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.hero .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: linear-gradient(135deg, #bfe1ef, var(--accent)); }
.btn--primary { box-shadow: 0 6px 18px rgba(28, 102, 136, .28); }

/* Silo tiles: ice-cube icon plates with a cedar edge */
.silo { position: relative; overflow: hidden; border-radius: 20px; padding-top: 24px; }
.silo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--cedar-slats); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.silo:hover::before, .silo:focus-visible::before { transform: scaleX(1); }
.silo__icon { width: 60px; height: 60px; padding: 11px; border-radius: 16px; color: #0f4560; background: linear-gradient(145deg, #f4fbfe 0%, #cde6f1 55%, #a9d2e4 100%); box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 rgba(28, 102, 136, .18), 0 4px 10px rgba(28, 102, 136, .12); }
.card__icon { color: var(--accent-2); }

/* Quick picks: numbered ice-cube markers */
.quick-picks { counter-reset: pick; border-color: var(--line); }
.quick-picks li { position: relative; padding-left: 62px; counter-increment: pick; }
.quick-picks li::before { content: counter(pick); position: absolute; left: 18px; top: 15px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; font: 600 13px/1 var(--font-display); color: #0f4560; background: linear-gradient(145deg, #ffffff, #bfe0ee); box-shadow: inset 0 0 0 1.5px #9ccbe0, 0 2px 6px rgba(28, 102, 136, .15); transform: rotate(-6deg); }

/* Product box: cedar-slat edge, glacier icon plate */
.aff-product { border: 0; box-shadow: 0 0 0 1.5px var(--line), var(--shadow); position: relative; overflow: hidden; padding-left: 28px; }
.aff-product::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: repeating-linear-gradient(180deg, #b8774a 0 16px, #94562f 16px 17px, #c4855a 17px 33px, #8a4f2b 33px 34px); }
.aff-product__icon { background: linear-gradient(145deg, #eef8fc, #cde6f1); color: #0f4560; }
.aff-product__badge { background: #0f4560; }
.aff-cta { border-left-color: var(--accent); }
.aff-cta__label { color: var(--accent); }

/* FAQ and blockquotes: frosty */
.prose blockquote { border-left-color: #9ccbe0; background: linear-gradient(90deg, var(--accent-soft), transparent); padding: 12px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.promise__item { border-top: 0; position: relative; padding-top: 30px; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.promise__item::before { content: ""; position: absolute; left: 24px; top: 0; width: 56px; height: 5px; border-radius: 0 0 4px 4px; background: var(--cedar-slats); }
.teaser__inner { background: linear-gradient(135deg, #e1eff5, #f4f9fb 60%, #f3e6d9); box-shadow: inset 0 0 0 1px var(--line); }

/* Footer: charcoal with a cedar rail */
.site-footer { background: #1a2024; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--cedar-slats); }
.site-footer .brand__mark { color: #8fc6de; }

/* ---------- Tools ---------- */
.agt-plunge-tool h3 { margin-bottom: 6px; }
.agt-tool-intro { font-size: 15.5px; color: var(--ink-2); margin: 0 0 16px; }
.agt-fieldlabel { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.agt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.agt-chips button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font: 600 14.5px/1 var(--font-body); color: var(--ink-2); cursor: pointer; }
.agt-chips button:hover { border-color: #9ccbe0; }
.agt-chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.agt-temp__row { display: grid; grid-template-columns: auto 1fr; gap: 14px 22px; align-items: end; margin-bottom: 16px; }
.agt-temp__slider { min-width: 0; }
.agt-temp__slider input[type="range"] { width: 100%; height: 44px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.agt-temp__readout { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.agt-temp__readout output { font: 600 22px/1 var(--font-display); color: var(--accent); }
.agt-temp__readout span { font-size: 13.5px; color: var(--muted); }
.agt-temp__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.agt-temp__card { padding: 14px 16px; border-radius: var(--radius-sm); background: #fff; box-shadow: 0 0 0 1px rgba(28, 102, 136, .16); }
.agt-temp__card b { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.agt-temp__card strong { font-size: 21px; }
.agt-temp__card--exp strong { color: var(--accent); }
.agt-temp__band { display: inline-block; padding: 4px 10px; border-radius: 999px; font: 700 12.5px/1.2 var(--font-body); letter-spacing: .04em; color: #fff; background: var(--accent); }
.agt-temp__band.is-warn { background: var(--bad); }
.agt-temp__band.is-mild { background: #4a8fa8; }
.agt-temp__week { margin: 12px 0 0; font-size: 15px; }
.agt-temp__chart { margin-top: 16px; }
.agt-temp__chart svg { width: 100%; height: auto; display: block; }
.agt-temp__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--ink-2); margin-top: 8px; }
.agt-temp__legend span { display: inline-flex; align-items: center; gap: 7px; }
.agt-temp__legend i { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.agt-safety { margin: 16px 0 0; padding: 12px 14px 12px 16px; border-left: 4px solid var(--bad); background: #fbefec; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.agt-sources { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.agt-sources b { color: var(--ink-2); }
.agt-cost__tiers { margin-bottom: 16px; }
.agt-cost__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 16px; }
.agt-cost__grid [hidden] { display: none; }
.agt-cost__hint { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.agt-cost__lines { margin: 10px 0 0; padding: 0; list-style: none; font-size: 15px; }
.agt-cost__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(28, 102, 136, .14); }
.agt-cost__lines li b { white-space: nowrap; }
.agt-cost__bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin-top: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(28, 102, 136, .16); }
.agt-cost__bar span { display: block; height: 100%; }
.agt-tool-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
@media (max-width: 760px) {
	.agt-temp__row { grid-template-columns: 1fr; }
	.agt-temp__cards { grid-template-columns: 1fr; }
	.aff-product { padding-left: 22px; }
}
.agt-temp__basis { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); }
.agt-temp__card strong { font-size: 19px; line-height: 1.3; display: block; }

/* Amazon photos: frame in this site's style */
:root { --photo-radius: 18px; --photo-stage: var(--cedar-slats); --photo-frame: 8px; }
