/*
Theme Name: Springfield Cues
Theme URI: https://springfieldcues.com/
Author: Springfield Cues
Description: Fast, dark custom theme for Springfield Cues: carbon fiber pool cue shafts, break/jump shafts and break cues. Built for WooCommerce.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: springfield
WC requires at least: 8.0
*/

/* ---------- Tokens ---------- */
:root {
	--bg: #0b0b0d;
	--surface: #141417;
	--surface-2: #1b1b1f;
	--line: #2a2a30;
	--line-2: #36363d;
	--text: #ededf0;
	--muted: #9d9da7;
	--red: #e21b22;
	--red-hi: #ff3b41;
	--red-dark: #b8141a;
	--red-soft: rgba(226, 27, 34, .13);
	--plate: #f3f2ef;              /* light tile behind product photos (shot on white) */
	--radius: 16px;
	--shadow: 0 20px 50px rgba(0, 0, 0, .45);
	--head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1200px;
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 var(--body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.02; letter-spacing: .01em; margin: 0 0 .5em; color: #fff; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
strong, b { color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }
.eyebrow { font: 600 .76rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--red-hi); margin: 0 0 16px; display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 44px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 2px; }
::selection { background: var(--red); color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 10px; font: 700 .98rem/1 var(--body); letter-spacing: .02em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(226,27,34,.28); }
.btn-primary:hover { background: var(--red-hi); color: #fff; box-shadow: 0 12px 34px rgba(226,27,34,.4); }
.btn-ghost { border-color: var(--line-2); color: #fff; background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Carbon fiber texture (pure CSS, no image download) ---------- */
.carbon {
	background-color: #0d0d0f;
	background-image:
		linear-gradient(27deg, #121214 5px, transparent 5px),
		linear-gradient(207deg, #121214 5px, transparent 5px),
		linear-gradient(27deg, #1a1a1d 5px, transparent 5px),
		linear-gradient(207deg, #1a1a1d 5px, transparent 5px),
		linear-gradient(90deg, #161618 10px, transparent 10px),
		linear-gradient(#171719 25%, #141416 25%, #141416 50%, transparent 50%, transparent 75%, #1c1c1f 75%, #1c1c1f);
	background-size: 20px 20px;
	background-position: 0 5px, 10px 0, 0 10px, 10px 5px, 0 0, 0 0;
}
.glow { position: relative; isolation: isolate; }
.glow::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(60% 70% at 85% 10%, rgba(226,27,34,.22), transparent 60%), linear-gradient(180deg, rgba(11,11,13,0) 55%, var(--bg) 100%); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--red); color: #fff; font-size: .9rem; text-align: center; padding: 9px 16px; }
.announce strong { color: #fff; }
.announce a { color: #fff; font-weight: 700; }
.announce code { background: rgba(0,0,0,.25); padding: 2px 8px; border-radius: 6px; font: 700 .85rem ui-monospace, Consolas, monospace; letter-spacing: .06em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,11,13,.86); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: flex; flex-direction: column; gap: 5px; margin-right: auto; text-decoration: none; }
.brand img { width: 200px; height: auto; }
.brand-tag { font: 600 .6rem/1 var(--body); letter-spacing: .32em; color: var(--muted); text-transform: uppercase; padding-left: 4px; }
.main-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 14px; color: #cfcfd5; text-decoration: none; font-weight: 500; font-size: .94rem; border-radius: 8px; position: relative; }
.main-nav a:hover { color: #fff; }
.main-nav .current a { color: #fff; }
.main-nav .current a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--red); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-link { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #fff; }
.icon-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.icon-link svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font: 700 11px/18px var(--body); text-align: center; }
.cart-count.is-empty { display: none; }
.header-cta { padding: 11px 18px; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 11px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--red); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 36px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #d6d6dc; font-size: .92rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--red-hi); flex: none; }
.hero-visual { position: relative; }
.hero-photo { background: var(--plate); border-radius: 22px; padding: 12px; box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); transform: rotate(-1.5deg); }
.hero-photo img { border-radius: 14px; width: 100%; }
.hero-badge { position: absolute; right: -18px; bottom: 30px; background: var(--red); color: #fff; padding: 15px 20px; border-radius: 12px; box-shadow: 0 16px 36px rgba(0,0,0,.45); font: 700 1.15rem/1.05 var(--head); letter-spacing: .03em; text-transform: uppercase; }
.hero-badge small { display: block; font: 500 .78rem/1.35 var(--body); text-transform: none; letter-spacing: 0; opacity: .92; margin-top: 3px; }

/* ---------- Spec strip ---------- */
.specs { background: var(--surface); border-bottom: 1px solid var(--line); }
.specs .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec { padding: 30px 22px; border-left: 1px solid var(--line); }
.spec:first-child { border-left: 0; padding-left: 0; }
.spec b { display: block; font: 700 2.3rem/1 var(--head); color: #fff; margin-bottom: 6px; }
.spec b i { font-style: normal; color: var(--red); }
.spec span { color: var(--muted); font-size: .9rem; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); color: inherit; }
.pcard-img { position: relative; aspect-ratio: 4 / 3; background: var(--plate); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-tag { position: absolute; top: 14px; left: 14px; background: #0b0b0d; color: #fff; font: 700 .7rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px; border-radius: 6px; }
.pcard-tag.sale { background: var(--red); }
.pcard-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-size: 1.75rem; margin-bottom: 8px; }
.pcard p { color: var(--muted); font-size: .95rem; flex: 1; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.pcard .price { font-weight: 700; font-size: 1.08rem; color: #fff; }
.pcard .price small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.pcard .price del { color: #6f6f78; font-weight: 500; font-size: .88rem; margin-right: 4px; }
.pcard .price ins { text-decoration: none; }
.pcard .go { font-weight: 700; color: var(--red-hi); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: .92rem; }
.pcard .go svg { width: 16px; height: 16px; transition: transform .2s; }
.pcard:hover .go svg { transform: translateX(4px); }

/* ---------- Why / features ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature-list { display: grid; gap: 26px; margin-top: 32px; }
.feature { display: grid; grid-template-columns: 50px 1fr; gap: 18px; }
.feature .ic { width: 50px; height: 50px; border-radius: 12px; background: var(--red-soft); color: var(--red-hi); display: grid; place-items: center; border: 1px solid rgba(226,27,34,.25); }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.35rem; margin: 3px 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-stack figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--plate); aspect-ratio: 3 / 4; box-shadow: 0 0 0 1px rgba(255,255,255,.05); }
.photo-stack figure:nth-child(2) { transform: translateY(40px); }
.photo-stack img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Joint finder ---------- */
.joint-search { position: relative; max-width: 540px; margin: 0 auto 28px; }
.joint-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.joint-search input { width: 100%; font: 500 1rem var(--body); padding: 16px 18px 16px 50px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--bg); color: #fff; }
.joint-search input::placeholder { color: #75757e; }
.joint-search input:focus { outline: none; border-color: var(--red); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips li { padding: 10px 16px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: .93rem; color: #e8e8ec; }
.chips li small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.chips li.hide { display: none; }
.chips li.custom { background: var(--red-soft); border-color: rgba(226,27,34,.4); color: #fff; }
.joint-none { text-align: center; color: var(--muted); margin-top: 20px; display: none; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; }
.step::before { counter-increment: step; content: "0" counter(step); font: 700 4rem/1 var(--head); color: transparent; -webkit-text-stroke: 1.5px var(--red); display: block; margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Video ---------- */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; border: 1px solid var(--line); padding: 0; width: 100%; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .25s, transform .5s; }
.yt:hover img { opacity: .95; transform: scale(1.03); }
.yt .play { position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 12px 34px rgba(0,0,0,.5); transition: transform .2s; }
.yt:hover .play { transform: scale(1.08); }
.yt .play svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
.yt .label { position: absolute; left: 18px; bottom: 16px; color: #fff; font: 700 1.35rem/1 var(--head); text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font: 700 1.4rem/1.2 var(--head); text-transform: uppercase; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; border-right: 2px solid var(--red-hi); border-bottom: 2px solid var(--red-hi); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq details p { color: var(--muted); padding: 0 0 24px; margin: 0; max-width: 720px; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: 24px; padding: clamp(36px, 6vw, 68px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; border: 1px solid var(--line-2); overflow: hidden; }
.cta-band p { color: #c6c6cd; margin: 0; }
.contact-lines { display: grid; gap: 12px; }
.contact-line { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; background: rgba(11,11,13,.7); border: 1px solid var(--line-2); padding: 15px 18px; border-radius: 12px; font-weight: 700; transition: border-color .15s, background .15s; }
.contact-line:hover { color: #fff; border-color: var(--red); background: rgba(11,11,13,.9); }
.contact-line svg { width: 22px; height: 22px; color: var(--red-hi); flex: none; }
.contact-line small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }

/* ---------- Page header + content pages ---------- */
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero p { color: var(--muted); margin: 14px 0 0; max-width: 660px; font-size: 1.1rem; }
.page-hero p.eyebrow { color: var(--red-hi); font-size: .76rem; margin: 0 0 16px; }
.entry { padding: clamp(44px, 6vw, 80px) 0; }
.prose { max-width: 780px; color: #d4d4da; }
.prose h2 { font-size: 2.1rem; margin-top: 1.5em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--red-hi); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.info-card h2 { font-size: 1.9rem; }
.info-card .row { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.info-card .row:first-of-type { border-top: 0; }
.info-card .row svg { width: 22px; height: 22px; color: var(--red-hi); flex: none; margin-top: 2px; }
.info-card .row b { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.info-card .row a, .info-card .row span { color: #fff; font-weight: 600; text-decoration: none; font-size: 1.05rem; }
.info-card .row a:hover { color: var(--red-hi); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 4 / 3; position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: invert(.92) hue-rotate(180deg) saturate(.6); }
.map-load { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); background: none; border: 0; cursor: pointer; font: inherit; width: 100%; }
.map-load strong { display: block; color: #fff; font: 700 1.6rem/1.1 var(--head); text-transform: uppercase; margin-bottom: 6px; }
.map-load span.btn { margin-top: 16px; }
.perks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; color: #d4d4da; }
.perks svg { width: 20px; height: 20px; color: var(--red-hi); flex: none; margin-top: 3px; }

/* ---------- Footer ---------- */
.site-footer { color: var(--muted); font-size: .94rem; border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 68px; padding-bottom: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; }
.site-footer h4 { color: #fff; font-size: 1.1rem; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand img { width: 190px; margin-bottom: 18px; }
.footer-legal { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .84rem; color: #6f6f78; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.social a:hover { background: var(--red); border-color: var(--red); }
.social svg { width: 18px; height: 18px; color: #fff; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pay-badges span { font: 700 .7rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: #c9c9cf; border: 1px solid var(--line-2); border-radius: 6px; padding: 7px 9px; }

/* ---------- WooCommerce ---------- */
.shop-main { padding: 44px 0 90px; }
.woocommerce-breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 24px; }
.woocommerce-breadcrumb a { color: var(--muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: #fff; }
.woocommerce-products-header__title, .woocommerce .page-title { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.term-description { color: var(--muted); max-width: 680px; }
.woocommerce-result-count { color: var(--muted); font-size: .9rem; margin: 0 0 20px; float: left; }
.woocommerce-ordering { float: right; margin: 0 0 20px; }
.woocommerce select, .woocommerce input[type="text"], .woocommerce input[type="email"], .woocommerce input[type="tel"], .woocommerce input[type="password"], .woocommerce input[type="number"], .woocommerce input[type="search"], .woocommerce textarea, .woocommerce .select2-container .select2-selection { font: 500 1rem var(--body); padding: 13px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--bg); color: #fff; max-width: 100%; }
.woocommerce select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e21b22' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.woocommerce select:focus, .woocommerce input:focus, .woocommerce textarea:focus { outline: none; border-color: var(--red); }
.woocommerce select option { background: var(--surface); color: #fff; }
ul.products { clear: both; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; margin: 0 !important; width: auto !important; float: none !important; transition: transform .25s, box-shadow .25s, border-color .25s; }
ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; color: inherit; flex: 1; display: flex; flex-direction: column; }
ul.products li.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--plate); margin: 0 !important; }
ul.products li.product .woocommerce-loop-product__title { font: 700 1.5rem/1.08 var(--head); text-transform: uppercase; padding: 20px 22px 8px; margin: 0; color: #fff; }
ul.products li.product .price { display: block; padding: 0 22px 18px; font-weight: 700; color: #fff; margin-top: auto; }
.woocommerce .price del { color: #6f6f78; font-weight: 500; opacity: 1; }
.woocommerce .price ins { text-decoration: none; }
ul.products li.product .button { margin: 0 22px 22px; }
.woocommerce span.onsale, span.onsale { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--red); color: #fff; font: 700 .7rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px; border-radius: 6px; min-height: 0; min-width: 0; margin: 0; line-height: 1; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit { display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); color: #fff; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 13px 22px; font: 700 .95rem/1 var(--body); text-decoration: none; cursor: pointer; }
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { border-color: #fff; color: #fff; background: var(--surface-2); }
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce .single_add_to_cart_button, .woocommerce .checkout-button, .woocommerce #place_order { background: var(--red) !important; border-color: var(--red) !important; color: #fff !important; box-shadow: 0 10px 30px rgba(226,27,34,.25); }
.woocommerce .button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce .single_add_to_cart_button:hover, .woocommerce .checkout-button:hover, .woocommerce #place_order:hover { background: var(--red-hi) !important; border-color: var(--red-hi) !important; }
.woocommerce .button.disabled, .woocommerce button.button:disabled, .woocommerce .single_add_to_cart_button.disabled { opacity: .45; cursor: not-allowed; }

/* Single product */
.woocommerce div.product { display: grid; grid-template-columns: 1.08fr 1fr; gap: 60px; align-items: start; position: relative; }
.woocommerce div.product > span.onsale { top: 16px; left: 16px; }
.woocommerce div.product .woocommerce-product-gallery { position: relative; width: auto !important; float: none !important; margin: 0; opacity: 1 !important; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { background: var(--plate); border-radius: var(--radius); overflow: hidden; }
.woocommerce-product-gallery .flex-viewport { border-radius: var(--radius); background: var(--plate); }
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image { border-radius: 0; }
.woocommerce-product-gallery ol.flex-control-thumbs { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li, .woocommerce-product-gallery ol.flex-control-thumbs li { margin: 0; width: auto !important; float: none !important; }
.woocommerce-product-gallery ol.flex-control-thumbs li img { border-radius: 10px; border: 2px solid transparent; cursor: pointer; opacity: .55; aspect-ratio: 1; object-fit: cover; background: var(--plate); transition: opacity .15s, border-color .15s; }
.woocommerce-product-gallery ol.flex-control-thumbs li img.flex-active, .woocommerce-product-gallery ol.flex-control-thumbs li img:hover { border-color: var(--red); opacity: 1; }
.woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: #0b0b0d; box-shadow: var(--shadow); font-size: 0; text-indent: -9999px; overflow: hidden; }
.woocommerce-product-gallery__trigger::before { content: ""; position: absolute; left: 12px; top: 11px; border: 2px solid #fff; border-radius: 50%; width: 13px; height: 13px; }
.woocommerce-product-gallery__trigger::after { content: ""; position: absolute; width: 2px; height: 8px; background: #fff; left: 27px; top: 24px; transform: rotate(-45deg); }
.woocommerce div.product .summary { width: auto !important; float: none !important; margin: 0; }
.woocommerce div.product .product_title { font-size: clamp(2.2rem, 3.8vw, 3.2rem); margin-bottom: 14px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 1.65rem; font-weight: 700; color: #fff; margin: 0 0 20px; }
.woocommerce-product-details__short-description { color: #c6c6cd; font-size: 1.06rem; margin-bottom: 24px; }
.woocommerce div.product form.cart { margin: 0 0 22px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce div.product form.cart table.variations { width: 100%; border: 0; border-collapse: collapse; margin: 0 0 6px; }
.woocommerce div.product form.cart table.variations tbody { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.woocommerce div.product form.cart table.variations tr { display: grid; gap: 7px; }
.woocommerce div.product form.cart table.variations th, .woocommerce div.product form.cart table.variations td { padding: 0; text-align: left; border: 0; display: block; }
.woocommerce div.product form.cart table.variations label { font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.woocommerce div.product form.cart table.variations select { width: 100%; }
.woocommerce div.product form.cart .reset_variations { font-size: .85rem; color: var(--muted); display: inline-block; margin-top: 6px; }
.woocommerce-variation-price .price { font-size: 1.4rem !important; margin: 10px 0 12px !important; display: block; }
.woocommerce-variation-description { color: var(--muted); font-size: .9rem; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart, .woocommerce div.product form.cart:not(.variations_form) { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.woocommerce .quantity .qty { width: 80px; text-align: center; padding: 15px 8px; }
.woocommerce div.product .single_add_to_cart_button { flex: 1; padding: 18px 26px; font-size: 1.02rem; border-radius: 10px; }
.sfc-assure { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sfc-assure li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: #d6d6dc; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.sfc-assure svg { width: 20px; height: 20px; color: var(--red-hi); flex: none; margin-top: 1px; }
.sfc-help { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; background: var(--red-soft); border: 1px solid rgba(226,27,34,.35); color: #fff; font-size: .94rem; }
.sfc-help a { color: #fff; font-weight: 700; }
.sfc-help svg { width: 24px; height: 24px; color: var(--red-hi); flex: none; }
.product_meta { font-size: .84rem; color: var(--muted); margin-top: 20px; display: grid; gap: 5px; }
.product_meta a { color: var(--muted); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce-tabs { margin-top: 36px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after, .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li { margin: 0; padding: 0; background: none !important; border: 0 !important; border-radius: 0 !important; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 16px 20px; font: 700 1.1rem/1 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a, .woocommerce-tabs ul.tabs li a:hover { color: #fff; }
.woocommerce-tabs ul.tabs li.active a { border-bottom-color: var(--red); }
.woocommerce-tabs .panel { padding: clamp(28px, 4vw, 48px) 0 0; margin: 0 !important; color: #d4d4da; max-width: 860px; }
.woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce-tabs .panel h2 { font-size: 2.2rem; }
.woocommerce-tabs .panel h3 { font-size: 1.5rem; margin-top: 1.5em; }
.woocommerce-tabs .panel ul { padding-left: 1.2em; }
.woocommerce-tabs .panel li { margin-bottom: .4em; }
.woocommerce-tabs .panel iframe { width: 100%; max-width: 760px; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; display: block; margin: 0 0 18px; border: 1px solid var(--line); }
.woocommerce table.shop_attributes { border: 0; width: 100%; border-collapse: collapse; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-style: normal; background: none !important; color: #d4d4da; }
.woocommerce table.shop_attributes th { width: 30%; font-weight: 600; color: #fff; }
.woocommerce table.shop_attributes td p { margin: 0; padding: 0; }
.related > h2, .upsells > h2 { font-size: 2.4rem; margin: 70px 0 24px; }
.woocommerce #reviews #comments ol.commentlist { padding: 0; }
.woocommerce #reviews .comment-text { border-color: var(--line) !important; border-radius: 12px !important; }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--red-hi); }

/* Notices, cart, checkout, account */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { list-style: none; background: var(--surface); color: #e6e6ea; border: 1px solid var(--line); border-left: 4px solid var(--line-2); border-radius: 12px; padding: 16px 20px; margin: 0 0 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.woocommerce-message { border-left-color: #2fbf71; }
.woocommerce-error { border-left-color: var(--red); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); border-collapse: separate; border-spacing: 0; width: 100%; overflow: hidden; color: #e6e6ea; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 16px; border: 0; border-top: 1px solid var(--line); text-align: left; }
.woocommerce table.shop_table thead th { border-top: 0; background: var(--surface-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.woocommerce table.shop_table img { width: 72px; border-radius: 8px; background: var(--plate); }
.woocommerce a.remove { color: var(--red-hi) !important; }
.woocommerce a.remove:hover { background: var(--red) !important; color: #fff !important; }
.woocommerce form .form-row { margin: 0 0 16px; }
.woocommerce form .form-row label { font-weight: 600; font-size: .88rem; display: block; margin-bottom: 6px; color: #d4d4da; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { width: 100%; }
.woocommerce-checkout #payment { background: var(--surface) !important; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-checkout #payment div.payment_box { background: var(--surface-2) !important; color: #d4d4da; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--surface-2) !important; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--line) !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 8px; color: #d4d4da; text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--surface-2); color: #fff; }

/* WooCommerce block cart/checkout (dark) */
.wc-block-components-text-input input, .wc-block-components-select select, .wc-block-components-combobox .components-form-token-field__input, .wc-block-components-textarea { background: var(--bg) !important; color: #fff !important; border-color: var(--line-2) !important; }
.wc-block-components-text-input label, .wc-block-components-select label { color: var(--muted) !important; }
.wc-block-components-button:not(.is-link) { background: var(--red) !important; color: #fff !important; border-radius: 10px !important; }
.wc-block-components-sidebar-layout .wc-block-components-main, .wc-block-components-panel, .wc-block-components-totals-wrapper { color: #e6e6ea; }
.wc-block-cart-items, .wc-block-components-order-summary { border-color: var(--line) !important; }

/* Generic WP */
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
.wp-block-image img { border-radius: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
	.main-nav { position: fixed; inset: 76px 0 auto 0; background: #0b0b0d; border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none; max-height: calc(100vh - 76px); overflow: auto; }
	.nav-open .main-nav { display: block; }
	.main-nav ul { flex-direction: column; }
	.main-nav a { padding: 15px 12px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.main-nav .current a::after { display: none; }
	.main-nav .current a { color: var(--red-hi); }
	.nav-toggle { display: block; }
	.header-cta { display: none; }
	.hero .wrap, .split, .cta-band { grid-template-columns: 1fr; }
	.hero-visual { max-width: 580px; }
	.product-grid, ul.products, .steps { grid-template-columns: 1fr 1fr; }
	.specs .wrap { grid-template-columns: 1fr 1fr; }
	.spec:nth-child(3) { border-left: 0; padding-left: 0; }
	.spec:nth-child(n+3) { border-top: 1px solid var(--line); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.brand img { width: 160px; }
	.brand-tag { font-size: .5rem; letter-spacing: .26em; }
	.site-header .wrap { gap: 6px; min-height: 66px; }
	.main-nav { top: 66px; max-height: calc(100vh - 66px); }
	.product-grid, ul.products, .steps, .video-grid, .contact-grid, .photo-stack, .sfc-assure { grid-template-columns: 1fr; }
	.woocommerce div.product form.cart table.variations tbody { grid-template-columns: 1fr; }
	.photo-stack figure:nth-child(2) { transform: none; }
	.photo-stack figure { aspect-ratio: 4 / 3; }
	.photo-stack figure:nth-child(n+3) { display: none; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.hero-badge { right: 12px; bottom: -16px; }
	.hero-actions .btn { flex: 1; }
	.spec { padding: 22px 14px; }
	.spec b { font-size: 1.9rem; }
	.woocommerce-result-count, .woocommerce-ordering { float: none; }
	.section-head { margin-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
