/*
Theme Name: Punching Bag Guide
Template: aff-base
Description: Fight-gym look for punchingbagguide.com: black, boxing red, canvas white and bold diagonals.
Version: 1.0.0
*/

:root {
	--bg: #f3f0e8;
	--surface: #fffefa;
	--surface-2: #e8e3d7;
	--ink: #111111;
	--ink-2: #35322d;
	--muted: #6a655c;
	--line: #d9d3c5;
	--accent: #c8102e;
	--accent-ink: #ffffff;
	--accent-soft: #f6dadc;
	--accent-2: #151515;
	--good: #1f7a45;
	--bad: #c8102e;
	--radius: 4px;
	--radius-sm: 3px;
	--shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 26px rgba(0, 0, 0, .08);
	--font-display: "Anton", Impact, "Arial Narrow", sans-serif;
	--font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display-weight: 400;
	--display-tracking: 0.01em;
	--red-hi: #ff4b59;
	--black: #0e0e0e;
	--stripe: repeating-linear-gradient(-45deg, var(--accent) 0 9px, var(--black) 9px 18px);
	--slant: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

/* ---------- Type and small parts ---------- */
.prose h4, .faq summary { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.kicker { font-weight: 700; letter-spacing: .16em; }
.kicker::before { content: ""; display: inline-block; width: 22px; height: 4px; margin-right: 10px; vertical-align: middle; background: currentColor; transform: skewX(-24deg); }
.btn { border-radius: 0; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; font-size: 14.5px; }
.btn--primary { clip-path: var(--slant); padding: 0 30px; }
.btn--primary:hover { background: #a50c25; filter: none; }

/* ---------- Header: black with a red/black tape stripe ---------- */
.site-header { background: var(--black); border-bottom: 0; backdrop-filter: none; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: var(--stripe); }
.brand, .brand:hover { color: #fff; }
.brand__name { font-size: 25px; text-transform: uppercase; letter-spacing: .03em; }
.nav__list a { border-radius: 0; color: #d8d3c8; font-weight: 600; clip-path: var(--slant); padding: 9px 16px; }
.nav__list a:hover, .nav__list .current-menu-item a { background: var(--accent); color: #fff; }
.nav-toggle { background: transparent; border-color: #3a3a3a; border-radius: 0; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { background: #fff; }
@media (max-width: 1120px) {
	.nav { background: var(--black); border-bottom: 0; top: calc(100% + 6px); }
	.nav__list a { clip-path: none; border-left: 4px solid transparent; }
	.nav__list a:hover { border-left-color: var(--red-hi); }
}

/* ---------- Hero: dark gym wall cut by diagonals ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 0; color: #f3f0e8; padding: 76px 0 72px;
	background:
		linear-gradient(112deg, transparent 0 54%, var(--accent) 54% 55.4%, transparent 55.4% 57.6%, rgba(200, 16, 46, .55) 57.6% 58.2%, transparent 58.2%),
		linear-gradient(112deg, var(--black) 0 56%, #1b1b1b 56%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--stripe); }
.hero__title { color: #fff; text-transform: uppercase; font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: .005em; }
.hero__text { color: #cfc9bd; }
.hero .kicker { color: var(--red-hi); }
.hero .btn--ghost { border-color: #f3f0e8; color: #f3f0e8; }
.hero .btn--ghost:hover { background: #f3f0e8; color: var(--black); }
.hero__art svg { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45)); }

/* ---------- Section heads ---------- */
.section__head h2 { text-transform: uppercase; position: relative; padding-bottom: 12px; }
.section__head h2::after { content: ""; position: absolute; left: 3px; bottom: 0; width: 70px; height: 5px; background: var(--accent); transform: skewX(-24deg); }

/* ---------- Silo tiles: canvas plates with a red corner ---------- */
.silo { position: relative; overflow: hidden; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); padding: 22px 22px 20px; }
.silo::before { content: ""; position: absolute; top: 0; right: 0; width: 46px; height: 46px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%); transition: width .2s, height .2s; }
.silo__name { text-transform: uppercase; font-size: 21px; letter-spacing: .02em; }
.silo__icon { color: var(--ink); }
.silo:hover { background: var(--black); color: #fff; box-shadow: none; }
.silo:hover::before { width: 70px; height: 70px; }
.silo:hover .silo__icon { color: var(--red-hi); }
.silo:hover .silo__count { color: #bdb7ab; }

/* ---------- Cards ---------- */
.card__link { border: 0; box-shadow: inset 0 0 0 1.5px var(--line); position: relative; }
.card__link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--accent); transition: width .2s; }
.card__link:hover { box-shadow: var(--shadow); }
.card__link:hover::after { width: 100%; }
.card--lg .card__link { background: linear-gradient(118deg, var(--surface) 0 62%, var(--accent-soft) 62% 63.5%, var(--surface) 63.5% 66%, #f9e7e8 66%); }
.card__title { text-transform: none; }

/* ---------- Teaser and promise ---------- */
.teaser__inner { border-radius: 0; background: linear-gradient(115deg, var(--surface-2) 0 64%, #ddd6c6 64%); position: relative; overflow: hidden; }
.teaser__inner::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--stripe); }
.teaser__copy h2 { text-transform: uppercase; }
.promise__item { border-top: 0; border-radius: 0; position: relative; box-shadow: inset 0 0 0 1.5px var(--line); padding-top: 32px; }
.promise__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--stripe); }
.promise__item h3 { text-transform: uppercase; font-size: 21px; }

/* ---------- Silo and article heads ---------- */
.silo-head { background: linear-gradient(112deg, var(--black) 0 70%, #1b1b1b 70%); color: #f3f0e8; border-bottom: 0; position: relative; }
.silo-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--stripe); }
.silo-head h1 { color: #fff; text-transform: uppercase; }
.silo-head__intro { color: #cfc9bd; }
.silo-head__icon { color: var(--red-hi); }
.silo-head .crumbs, .silo-head .crumbs a { color: #a9a397; }
.silo-head .crumbs a:hover { color: #fff; }
.article__head { background: linear-gradient(112deg, transparent 0 80%, rgba(200, 16, 46, .08) 80% 81%, transparent 81% 83%, rgba(200, 16, 46, .08) 83% 84%, transparent 84%); }

/* ---------- Prose ---------- */
.prose th { background: var(--black); color: #fff; }
.prose th[data-sort]::after { color: #fff; }
.prose blockquote { border-left-width: 5px; background: var(--surface); padding: 12px 18px; }
.table-wrap { border-radius: 0; }
.aff-disclosure { border-radius: 0; border-left: 4px solid var(--ink); }

/* Quick picks: numbered like rounds on a fight card */
.quick-picks { border-radius: 0; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); counter-reset: agbqp; padding: 0; }
.quick-picks li { position: relative; padding: 16px 20px 16px 84px; counter-increment: agbqp; }
.quick-picks li::before { content: "R" counter(agbqp); position: absolute; left: 18px; top: 17px; min-width: 50px; padding: 5px 12px 4px; text-align: center; background: var(--black); color: #fff; font: 400 16px/1.1 var(--font-display); letter-spacing: .06em; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.quick-picks li:first-child::before { background: var(--accent); }
.quick-picks li strong { text-transform: none; }

/* Product box: tape-striped edge, black button with a slanted cut */
.aff-product { border: 0; border-radius: 0; box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow); position: relative; overflow: hidden; padding-left: 32px; }
.aff-product::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: var(--stripe); }
.aff-product__icon { border-radius: 0; background: var(--black); color: var(--red-hi); }
.aff-product__badge { border-radius: 0; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); padding: 5px 12px; }
.aff-product__btn, .aff-cta__btn { border-radius: 0; clip-path: var(--slant); padding: 0 26px; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; }
.aff-product__btn:hover, .aff-cta__btn:hover { background: var(--accent); filter: none; }
.aff-cta { border-left: 0; border-radius: 0; position: relative; padding-left: 28px; box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow); }
.aff-cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--accent); }
.aff-cta__label { color: var(--accent); }

/* Pros/cons, FAQ */
.proscons__col { border-radius: 0; border-top: 4px solid var(--good); }
.proscons__col--cons { border-top-color: var(--accent); }
.faq summary::after { color: var(--accent); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: #0a0a0a; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--stripe); }
.site-footer .brand__name { text-transform: uppercase; }
.site-footer__title { color: var(--red-hi); }
.site-footer a:hover { color: #fff; }

/* ---------- Tools: shared ---------- */
.aff-tool { border-radius: 0; border: 0; box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow); position: relative; padding-top: 30px; }
.aff-tool::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--stripe); }
.aff-tool h3 { text-transform: uppercase; font-size: 24px; }
.aff-tool select, .aff-tool input { border-radius: 0; }
.aff-tool select:focus, .aff-tool input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(200, 16, 46, .25); }
.aff-tool__result { border-radius: 0; border-left: 5px solid var(--accent); background: #faeced; }
.aff-tool__result strong { font-family: var(--font-display); font-weight: 400; font-size: 32px; letter-spacing: .01em; }
.agb-intro { font-size: 15.5px; color: var(--ink-2); margin: -4px 0 16px; }
.agb-source { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.agb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; background: var(--black); color: #fff; font: 700 14px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.agb-btn:hover { background: #2a2a2a; }
.agb-btn--red { background: var(--accent); }
.agb-btn--red:hover { background: #a50c25; }
.agb-btn--ghost { background: var(--surface-2); color: var(--ink); }
.agb-btn--ghost:hover { background: var(--line); }
.agb-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Bag weight calculator */
.agb-wt__bw { display: flex; gap: 8px; }
.agb-wt__bw input { flex: 1 1 auto; min-width: 0; }
.agb-wt__bw select { flex: 0 0 76px; width: 76px; }
.aff-tool .agb-wt__lines { list-style: none; margin: 10px 0 0; padding: 0; font-size: 15px; line-height: 1.5; }
.aff-tool .agb-wt__lines li { padding: 7px 0; border-top: 1px solid rgba(0, 0, 0, .08); }
.aff-tool .agb-wt__lines b { display: inline-block; min-width: 92px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.aff-tool .agb-wt__ladder { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 16px 0 0; padding: 0; }
.aff-tool .agb-wt__ladder li { position: relative; flex: 1 0 58px; padding: 9px 4px 8px; text-align: center; background: var(--surface-2); font: 400 17px/1 var(--font-display); letter-spacing: .02em; color: var(--ink-2); }
.aff-tool .agb-wt__ladder li small { display: block; margin-top: 4px; font: 600 10.5px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.aff-tool .agb-wt__ladder li.is-over { background: repeating-linear-gradient(-45deg, var(--surface-2) 0 6px, #dcd5c6 6px 12px); }
.aff-tool .agb-wt__ladder li.is-pick { background: var(--accent); color: #fff; }
.aff-tool .agb-wt__ladder li.is-pick small { color: #ffd9dc; }
.agb-wt__flag { margin: 14px 0 0; padding: 12px 14px; background: var(--black); color: #f3f0e8; font-size: 14.5px; line-height: 1.5; border-left: 5px solid var(--red-hi); }
.agb-wt__flag a, .agb-wt__note a { color: inherit; text-decoration-color: var(--red-hi); }
.agb-wt__flag strong { color: #fff; font: 700 14.5px/1.5 var(--font-body); }
.agb-wt__note { margin: 12px 0 0; padding: 10px 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; line-height: 1.5; }
.agb-wt__error { color: var(--accent); font-weight: 600; }

/* Ceiling mount diagram */
.agb-mount__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.agb-mount__tabs button { min-height: 44px; padding: 0 20px; border: 0; background: var(--surface-2); color: var(--ink-2); font: 700 14px/1 var(--font-body); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.agb-mount__tabs button[aria-selected="true"] { background: var(--black); color: #fff; }
.agb-mount__tabs button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.agb-mount__panel { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 22px; align-items: start; }
.agb-mount__panel[hidden] { display: none; }
.agb-mount__svg svg { width: 100%; height: auto; display: block; background: #f7f4ee; box-shadow: inset 0 0 0 1px var(--line); }
.aff-tool .agb-mount__legend { list-style: none; counter-reset: agbml; margin: 0; padding: 0; font-size: 15px; line-height: 1.5; }
.aff-tool .agb-mount__legend li { position: relative; padding: 0 0 10px 40px; margin: 0 0 10px; border-bottom: 1px solid rgba(0, 0, 0, .07); counter-increment: agbml; }
.aff-tool .agb-mount__legend li::before { content: counter(agbml); position: absolute; left: 0; top: 0; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--black); color: #fff; font: 700 13px/1 var(--font-body); }
.aff-tool .agb-mount__legend li:last-child { border-bottom: 0; margin-bottom: 0; }
.aff-tool .agb-mount__legend b { color: var(--ink); }
.agb-mount__safety { margin: 22px 0 0; padding: 18px 20px; background: var(--black); color: #e9e4d9; }
.agb-mount__safety h4 { margin: 0 0 10px; color: #fff; font: 400 20px/1.2 var(--font-display); letter-spacing: .03em; text-transform: uppercase; }
.aff-tool .agb-mount__safety ul { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.5; }
.aff-tool .agb-mount__safety li { position: relative; padding-left: 28px; margin: 8px 0; }
.aff-tool .agb-mount__safety li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; background: var(--red-hi); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.aff-tool .agb-mount__safety li.is-never::before { clip-path: none; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle, transparent 0 4px, var(--red-hi) 4.5px); }
.agb-mount__safety strong { color: #fff; }
.agb-mount__safety a { color: #fff; text-decoration-color: var(--red-hi); }
.agb-mount__plan { margin-top: 22px; padding-top: 18px; border-top: 2px solid var(--ink); }
.agb-mount__plan h4 { margin: 0 0 6px; font: 400 20px/1.2 var(--font-display); letter-spacing: .03em; text-transform: uppercase; }

/* Heavy bag routine player */
.agb-round__top { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin-bottom: 16px; }
.agb-round__top > div { flex: 1 1 200px; }
.agb-round__sound { display: inline-flex !important; align-items: center; gap: 8px; min-height: 44px; margin: 0 !important; cursor: pointer; }
.agb-round__sound input { width: 20px !important; min-height: 20px !important; height: 20px; accent-color: var(--accent); }
.agb-round__stage { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px; align-items: center; padding: 20px; background: var(--black); color: #f3f0e8; }
.agb-round__ring { position: relative; width: 170px; height: 170px; }
.agb-round__ring svg { width: 100%; height: 100%; display: block; transform: rotate(-90deg); }
.agb-round__ring circle { fill: none; stroke-width: 10; }
.agb-round__ring .agb-ring-bg { stroke: #2b2b2b; }
.agb-round__ring .agb-ring-fg { stroke: var(--red-hi); stroke-linecap: butt; transition: stroke-dashoffset .25s linear; }
.agb-round[data-kind="rest"] .agb-ring-fg { stroke: #8f8a80; }
.agb-round[data-kind="easy"] .agb-ring-fg { stroke: #f3f0e8; }
.agb-round__clock { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.agb-round__time { font: 400 44px/1 var(--font-display); letter-spacing: .02em; color: #fff; font-variant-numeric: tabular-nums; }
.agb-round__sub { margin-top: 6px; font: 700 11.5px/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #a9a397; }
.agb-round__label { margin: 0 0 4px; font: 700 12.5px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--red-hi); }
.agb-round__name { margin: 0 0 6px; font: 400 clamp(26px, 4vw, 34px)/1.1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.agb-round__focus { margin: 0 0 8px; font-size: 16px; color: #e9e4d9; }
.agb-round__effort { display: inline-block; margin: 0 0 10px; padding: 4px 12px; background: var(--accent); color: #fff; font: 700 12px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.agb-round[data-kind="rest"] .agb-round__effort { background: #4a4741; }
.agb-round__cue { margin: 0; font-size: 14.5px; line-height: 1.5; color: #bdb7ab; }
.agb-round__flash { margin: 10px 0 0; font: 400 22px/1.1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.agb-round__flash[hidden] { display: none; }
.agb-round__flash.is-rest { color: #a9a397; }
.agb-round__controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.agb-round__total { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.aff-tool .agb-round__list { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin: 16px 0 0; padding: 0; }
.aff-tool .agb-round__list button { min-height: 40px; padding: 0 11px; border: 0; background: var(--surface-2); color: var(--ink-2); font: 600 13px/1.1 var(--font-body); cursor: pointer; }
.aff-tool .agb-round__list button.is-rest { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-weight: 500; }
.aff-tool .agb-round__list button.is-done { opacity: .5; text-decoration: line-through; }
.aff-tool .agb-round__list button[aria-current="step"] { background: var(--accent); color: #fff; opacity: 1; text-decoration: none; }
.aff-tool .agb-round__list button:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }

@media (max-width: 760px) {
	.hero { background: linear-gradient(112deg, var(--black) 0 72%, var(--accent) 72% 74%, #1b1b1b 74%); }
	.agb-mount__panel { grid-template-columns: 1fr; }
	.agb-mount__svg { max-width: 320px; margin: 0 auto; width: 100%; }
	.agb-round__stage { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 18px 14px; }
	.agb-round__ring { width: 150px; height: 150px; }
	.agb-round__time { font-size: 38px; }
	.aff-tool { padding-left: 16px; padding-right: 16px; }
	.quick-picks li { padding-left: 78px; }
}
@media (prefers-reduced-motion: reduce) {
	.agb-round__ring .agb-ring-fg { transition: none; }
}

.aff-tool .agb-wt__lines li, .aff-tool .agb-wt__ladder li, .aff-tool .agb-round__list li { margin: 0; }
.aff-tool .agb-mount__legend li::marker, .aff-tool .agb-round__list li::marker { content: none; }

/* Amazon photos: frame in this site's style */
:root { --photo-radius: 0; --photo-stage: var(--stripe); --photo-frame: 8px; }
.aff-pick { border-radius: 0; }
