/* Iran Solar — main stylesheet. Hand-written, no build step. */

/* ---------- 1. Font + tokens ---------- */
@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/Vazirmatn-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--ground: #F4F5F1;
	--ink: #0F1B17;
	--accent: #FFC531;
	--sage: #DCE5DB;
	--surface: #FFFFFF;
	--border: #DDE2DB;
	--border-strong: #C9D0CA;
	--hairline: #ECEFEA;
	--tint: #ECEFEA;
	--muted: #55625C;
	--body-2: #33423B;
	--success: #1F7A3F;
	--danger: #A3261A;
	--dark-1: #1A2A24;
	--dark-2: #22332C;
	--dark-border: #2E3F38;
	--dark-line: #3A4A43;
	--on-dark: #FFFFFF;
	--on-dark-muted: #B9C4BE;
	--on-accent: #0F1B17;
	--r-hero: 36px;
	--r-card: 28px;
	--r-product: 26px;
	--r-stage: 18px;
	--r-pill: 99px;
	--container: 1280px;
	--gutter: 24px;
	--section: 72px;
	--font: "Vazirmatn", Tahoma, sans-serif;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.75;
	color: var(--ink);
	background: var(--ground);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--ink); }
a:hover { color: #000; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.site-footer :focus-visible, .hero :focus-visible, .uses :focus-visible, .compat :focus-visible, .help-banner :focus-visible, .topbar :focus-visible { outline-color: var(--accent); }

.screen-reader-text, .hp-field {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link {
	position: absolute; inset-block-start: -100px; inset-inline-start: 16px; z-index: 200;
	background: var(--accent); color: var(--on-accent); font-weight: 800;
	padding: 10px 20px; border-radius: var(--r-pill); text-decoration: none;
}
.skip-link:focus { inset-block-start: 12px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block-start: var(--section); }
.section--tight { padding-block-start: 16px; }
.section--pdp { padding-block-start: 64px; }
.accent-text { color: var(--accent); }
.muted { color: var(--muted); }
.icon { flex: none; }

/* Buttons */
.btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-page .button, .woocommerce-message .button, .woocommerce-info .button, .woocommerce #respond input#submit, .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px;
	border: 1px solid transparent; border-radius: var(--r-pill);
	background: var(--ink); color: #fff;
	font-weight: 800; font-size: 15px; line-height: 1.3; text-decoration: none; text-align: center;
	transition: transform .15s ease, background-color .15s ease;
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .wc-page .button:hover { color: #fff; background: #000; }
.btn:active { transform: scale(.98); }
.btn-primary, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #place_order, .woocommerce a.checkout-button, .single_add_to_cart_button.button, .woocommerce #respond input#submit, .comment-form .submit {
	background: var(--accent); color: var(--on-accent);
}
.btn-primary:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #place_order:hover, .woocommerce a.checkout-button:hover, .single_add_to_cart_button.button:hover, .comment-form .submit:hover {
	background: var(--accent); color: var(--on-accent); filter: brightness(.95);
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); font-weight: 700; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-dark { background: transparent; color: #fff; border-color: var(--muted); font-weight: 700; }
.btn-outline-dark:hover { background: #fff; color: var(--ink); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font-weight: 700; text-decoration: underline; min-height: 44px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-pill); background: var(--tint); color: var(--ink); }

/* Cards, inputs */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px 32px; }
.card-title { display: block; margin: 0 0 12px; font-size: 20px; font-weight: 900; line-height: 1.5; }
.input, .woocommerce input.input-text, .woocommerce textarea, .woocommerce select, .wc-page input[type="text"], .wc-page input[type="email"], .wc-page input[type="tel"], .wc-page input[type="password"], .wc-page input[type="number"], .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; min-height: 52px; padding: 0 20px;
	background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-pill);
	outline-offset: 2px;
}
.input--area, .woocommerce textarea, .comment-form textarea { min-height: 130px; padding: 14px 20px; border-radius: 22px; resize: vertical; }
.input--sm { min-height: 44px; padding: 0 14px; }
.input:focus, .woocommerce input.input-text:focus, .woocommerce textarea:focus, .woocommerce select:focus { border-color: var(--ink); }
.field { margin: 0 0 14px; }
.field label, .woocommerce form .form-row label, .comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.woocommerce form .form-row .required { color: var(--danger); text-decoration: none; }

/* Chips */
.chip { position: absolute; inset-block-start: 12px; z-index: 2; border-radius: var(--r-pill); padding: 3px 12px; font-size: 11px; font-weight: 700; line-height: 1.75; }
.chip--brand { right: 12px; background: #fff; color: var(--ink); letter-spacing: 1px; }
.chip--type { left: 12px; background: var(--ink); color: #fff; }
.chip--lg { inset-block-start: 20px; padding: 5px 16px; font-size: 12px; }
.chip--lg.chip--brand { right: 20px; font-weight: 800; letter-spacing: 1.5px; }
.chip--lg.chip--type { left: 20px; }
.chip-btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
	border: 0; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 13px; text-decoration: none;
}
.chip-btn:hover { color: #fff; background: #000; }

/* ---------- 3. Top bar, header, nav ---------- */
.topbar { background: var(--ink); color: #E8ECE7; font-size: 12.5px; }
.topbar a { color: #E8ECE7; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 9px; }
.topbar__links { display: flex; gap: 22px; }

.site-header { background: var(--ground); }
.header-main { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-block: 20px 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-size: 20px; font-weight: 900; }
.brand__latin { font-size: 11px; letter-spacing: 1.5px; color: var(--muted); }
.brand--custom img { display: block; max-height: 46px; width: auto; }

.search-pill {
	flex: 1 1 340px; display: flex; align-items: center; gap: 10px;
	background: #fff; border: 1px solid var(--border); border-radius: var(--r-pill);
	padding: 5px; padding-inline-start: 18px; color: var(--muted);
}
.search-pill:focus-within { border-color: var(--ink); }
.search-pill input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; padding: 10px 0; background: transparent; color: var(--ink); }
.search-pill input::placeholder { color: var(--muted); opacity: 1; }
.search-pill button { border: 0; background: var(--ink); color: #fff; border-radius: var(--r-pill); padding: 0 22px; min-height: 44px; font-weight: 700; }

.header-actions { display: flex; gap: 10px; align-items: center; }
.header-account { min-height: 48px; padding: 0 18px; gap: 8px; border-color: var(--border-strong); font-weight: 500; display: inline-flex; align-items: center; border-width: 1px; border-style: solid; border-radius: var(--r-pill); text-decoration: none; }
.header-account:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.header-cart {
	display: flex; gap: 10px; align-items: center; min-height: 48px;
	padding-inline: 8px 18px; border-radius: var(--r-pill);
	background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700;
}
.header-cart .icon { display: none; }
.cart-count { background: var(--ink); color: #fff; min-width: 32px; height: 32px; padding: 0 6px; border-radius: var(--r-pill); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: var(--r-pill); background: var(--ink); color: #fff; align-items: center; justify-content: center; }

.primary-nav__in { padding-block: 0 14px; }
.primary-nav__head, .primary-nav__extra { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-weight: 500; }
.nav-pill { display: flex; gap: 8px; align-items: center; padding: 9px 16px; border-radius: var(--r-pill); text-decoration: none; }
.nav-pill:hover { background: var(--hairline); }
.nav-pill.is-current { background: var(--sage); font-weight: 700; }
.nav-pill--all { padding-inline: 18px; background: var(--ink); color: #fff; }
.nav-pill--all:hover { background: #000; color: #fff; }
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(15, 27, 23, .5); }

.bottom-nav { display: none; }

/* ---------- 4. Home ---------- */
.hero-wrap { padding-block-start: 6px; }
.hero {
	background-color: var(--ink);
	background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 56px 56px;
	border-radius: var(--r-hero);
	padding: 56px clamp(24px, 5vw, 72px);
	display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px;
	min-height: 500px; overflow: hidden;
}
.hero__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #E8ECE7; font-size: 13px; border: 1px solid var(--dark-line); border-radius: var(--r-pill); padding: 6px 16px; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.hero__title { color: #fff; font-size: clamp(40px, 6vw, 76px); line-height: 1.22; font-weight: 900; letter-spacing: -1px; }
.hero__text { margin: 0; color: var(--on-dark-muted); font-size: 18px; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__art { flex: 1 1 380px; min-width: 0; position: relative; display: flex; justify-content: center; }
.hero__art svg { width: 100%; max-width: 480px; height: auto; }
.hero__chip { position: absolute; font-size: 13px; font-weight: 700; border-radius: var(--r-pill); padding: 7px 16px; }
.hero__chip--a { inset-block-start: 8%; inset-inline-start: 0; background: #fff; color: var(--ink); }
.hero__chip--b { inset-block-end: 14%; inset-inline-end: 0; background: var(--dark-2); color: #fff; border: 1px solid var(--dark-line); }

.need-wrap { padding-block-start: 16px; }
.need-bar { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 20px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.need-bar__text { display: flex; flex-direction: column; line-height: 1.5; }
.need-bar__text strong { font-size: 18px; font-weight: 800; }
.need-bar__text span { font-size: 13px; color: var(--muted); }
.need-bar__chips { flex: 1 1 420px; display: flex; flex-wrap: wrap; gap: 8px; }
.need-bar__admin { font-size: 13px; color: var(--body-2); }
.chip-check { position: relative; display: inline-flex; }
.chip-check input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip-check span { display: flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); background: #fff; font-weight: 500; }
.chip-check input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-check input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; line-height: 1.3; }
.section-title--sm { font-size: clamp(24px, 3vw, 34px); }
.section-title--mb { margin-bottom: 24px; }
.section-link { font-weight: 700; }
.section-head--dark { margin-bottom: 0; }
.section-head--dark .section-title { color: #fff; }
.section-head--dark > span { color: var(--on-dark-muted); }

.cat-tiles { display: flex; flex-wrap: wrap; gap: 16px; }
.cat-tile { flex: 1 1 260px; min-width: 0; min-height: 320px; border-radius: 32px; padding: 32px; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; overflow: hidden; }
.cat-tile__text { display: flex; flex-direction: column; gap: 6px; }
.cat-tile__text strong { font-size: 28px; font-weight: 900; line-height: 1.3; }
.cat-tile .illus { align-self: flex-end; width: auto; }
.cat-tile--inverter { flex: 2 1 480px; flex-direction: row; flex-wrap: wrap; gap: 20px; align-items: flex-end; background: var(--sage); }
.cat-tile--inverter .cat-tile__copy { display: flex; flex-direction: column; gap: 8px; align-self: stretch; justify-content: space-between; }
.cat-tile--inverter .cat-tile__text strong { font-size: 34px; }
.cat-tile--inverter .cat-tile__text span { color: var(--body-2); max-width: 18em; }
.cat-tile--inverter .illus { height: 250px; }
.cat-tile__more { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.cat-tile__arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.cat-tile--battery { background: var(--accent); color: var(--on-accent); }
.cat-tile--battery .cat-tile__text span { color: #33331A; }
.cat-tile--battery .illus { height: 170px; }
.cat-tile--station { background: var(--ink); }
.cat-tile--station .cat-tile__text strong { color: #fff; }
.cat-tile--station .cat-tile__text span { color: var(--on-dark-muted); }
.cat-tile--station .illus { height: 160px; }

.brand-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 16px; }
.brand-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px 32px; text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-card:hover { border-color: var(--ink); }
.brand-card__name { display: flex; flex-direction: column; }
.brand-card__name span { font-size: 13px; color: var(--muted); }
.brand-card__name strong { font-size: 30px; font-weight: 900; letter-spacing: 3px; }
.brand-card__text { font-size: 14px; color: var(--body-2); text-align: end; }

/* Product grid + card */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.product-grid--home { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-product); padding: 12px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.product-card__stage { position: relative; height: 210px; background: var(--tint); border-radius: var(--r-stage); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card__stage .illus { height: 164px; width: auto; }
.product-card__stage .illus-station { height: 150px; }
.stage-photo { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.product-card__body { padding: 0 8px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card__title { font-size: 16px; font-weight: 800; line-height: 1.6; min-height: 52px; }
.product-card__title a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spec-pair { display: flex; gap: 14px; font-size: 13px; color: var(--body-2); }
.spec-pair > span:not(.spec-pair__rule) { display: flex; flex-direction: column; line-height: 1.5; min-width: 0; }
.spec-pair__label { font-size: 11px; color: var(--muted); }
.spec-pair__rule { width: 1px; background: var(--border); }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 8px 6px; }

.price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; font-size: 19px; font-weight: 900; line-height: 1.4; }
.price .woocommerce-Price-currencySymbol { font-size: 12px; font-weight: 400; color: var(--muted); }
.price del { font-size: 13px; font-weight: 400; color: var(--muted); flex-basis: 100%; }
.price del .woocommerce-Price-currencySymbol { font-size: inherit; }
.price ins { text-decoration: none; }
/* <bdi> ignores the dir=auto currency span when resolving direction, so pin it. */
[dir="rtl"] .woocommerce-Price-amount bdi { direction: rtl; unicode-bidi: isolate; }
.price-inquiry { font-size: 15px; font-weight: 800; }
.price--lg { font-size: 34px; }
.price--lg .woocommerce-Price-currencySymbol { font-size: 15px; }
.price--lg .price-inquiry { font-size: 26px; font-weight: 900; }

.add-round { flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; transition: transform .15s ease; }
.add-round:hover { color: var(--on-accent); transform: scale(1.06); }
.add-round.is-loading { opacity: .6; pointer-events: none; }
.add-round.is-added { background: var(--ink); color: #fff; }

/* Use cases */
.uses { background: var(--ink); border-radius: var(--r-hero); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 28px; }
.uses__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.use-card { background: var(--dark-1); border: 1px solid var(--dark-border); border-radius: 24px; padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 28px; min-height: 190px; justify-content: space-between; }
.use-card:hover { border-color: var(--muted); }
.use-card__num { font-size: 44px; font-weight: 900; line-height: 1; color: var(--accent); }
.use-card__text { display: flex; flex-direction: column; gap: 4px; }
.use-card__text strong { color: #fff; font-size: 19px; font-weight: 800; }
.use-card__text span { color: var(--on-dark-muted); font-size: 13.5px; }

/* Trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
.trust-item { background: #fff; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.trust-item strong { font-size: 17px; font-weight: 800; }
.trust-item span { font-size: 13px; color: var(--muted); }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.guide-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 240px; }
.guide-card:hover { border-color: var(--ink); }
.guide-card--sage { background: var(--sage); border-color: var(--sage); }
.guide-card__cat { font-size: 13px; font-weight: 700; }
.guide-card__title { font-size: 24px; font-weight: 900; line-height: 1.5; }

/* ---------- 5. Footer ---------- */
.site-footer { background: var(--ink); color: #fff; margin-top: 88px; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; padding-block: 56px 40px; border-bottom: 1px solid var(--dark-border); }
.footer-cta__title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; line-height: 1.4; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; padding-block: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--on-dark-muted); }
.footer-col > strong { color: #fff; margin-bottom: 4px; }
.footer-col .footer-brand { font-size: 20px; font-weight: 900; }
.footer-col a { color: var(--on-dark-muted); text-decoration: none; align-self: flex-start; padding-block: 2px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-badge { width: 84px; min-height: 84px; border-radius: 16px; background: var(--dark-1); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.trust-badge img { display: block; max-width: 100%; height: auto; }
.trust-badge--empty { border: 1px dashed var(--muted); font-size: 12px; color: var(--on-dark-muted); text-align: center; padding: 4px; }
.footer-bottom { border-top: 1px solid var(--dark-border); padding: 16px 24px; text-align: center; font-size: 12.5px; color: var(--on-dark-muted); }

.toast { position: fixed; inset-block-end: 24px; inset-inline-start: 50%; transform: translateX(50%); z-index: 150; background: var(--ink); color: #fff; padding: 12px 22px; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; max-width: calc(100vw - 32px); box-shadow: 0 6px 24px rgba(15,27,23,.25); }
[dir="ltr"] .toast { transform: translateX(-50%); }

/* ---------- 6. Archive ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); padding-block: 6px 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.cat-header { background: var(--sage); border-radius: var(--r-hero); padding: 36px clamp(24px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; overflow: hidden; margin-top: 6px; }
.cat-header--plain { background: #fff; border: 1px solid var(--border); }
.cat-header__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cat-header .breadcrumb { padding: 0; color: var(--body-2); }
.cat-header .breadcrumb a { color: var(--body-2); }
.cat-header__title { font-size: clamp(40px, 5vw, 64px); font-weight: 900; line-height: 1.25; }
.cat-header__desc { color: var(--body-2); max-width: 34em; margin: 0; }
.cat-header__desc p:last-child { margin: 0; }
.cat-header__art { height: 220px; width: auto; margin-bottom: -60px; }
.type-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.type-pill { background: #fff; border-radius: var(--r-pill); padding: 0 20px; min-height: 44px; display: flex; align-items: center; text-decoration: none; font-weight: 500; }
.type-pill.is-active { background: var(--ink); color: #fff; font-weight: 700; }

.shop-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-block-start: 24px; }
.filters { flex: 1 1 270px; max-width: 320px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px; }
.filters__form { display: flex; flex-direction: column; gap: 20px; }
.filters__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.filters__head strong { font-size: 20px; font-weight: 900; }
.filters__head a { font-size: 13px; }
.filters__close { display: none; }
.filter-group { border: 0; border-top: 1px solid var(--hairline); margin: 0; padding: 18px 0 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.filter-group legend { font-weight: 800; padding: 0; float: inline-start; width: 100%; margin-bottom: 8px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; flex: none; }
.check__count { margin-inline-start: auto; font-size: 12px; color: var(--muted); }
.check--switch { flex-direction: row; justify-content: space-between; font-weight: 700; }
.filters__apply { min-height: 48px; }

.range { position: relative; height: 24px; margin-block: 6px; }
.range__track { position: absolute; inset-block-start: 10px; inset-inline: 0; height: 4px; border-radius: 2px; background: linear-gradient(to left, var(--border) var(--lo), var(--ink) var(--lo), var(--ink) var(--hi), var(--border) var(--hi)); }
[dir="ltr"] .range__track { background: linear-gradient(to right, var(--border) var(--lo), var(--ink) var(--lo), var(--ink) var(--hi), var(--border) var(--hi)); }
.range input[type="range"] { position: absolute; inset: 0; width: 100%; height: 24px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input[type="range"]::-webkit-slider-runnable-track { background: none; height: 24px; }
.range input[type="range"]::-moz-range-track { background: none; height: 24px; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--accent); border: 3px solid var(--ink); cursor: grab; }
.range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--ink); cursor: grab; }
.price-inputs { display: flex; align-items: flex-end; gap: 8px; font-size: 13px; color: var(--muted); }
.price-inputs label { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.price-inputs .input { color: var(--ink); text-align: center; direction: ltr; padding: 0 6px; }
.price-inputs__unit { padding-bottom: 10px; }

.shop-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; }
.shop-toolbar__info { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.shop-toolbar__info strong { font-weight: 800; }
.filters-open { display: none; }
.segmented { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 4px; font-size: 14px; }
.segmented a { padding: 6px 16px; min-height: 36px; display: flex; align-items: center; border-radius: var(--r-pill); text-decoration: none; }
.segmented a.is-active { background: var(--accent); color: var(--on-accent); font-weight: 700; }

.notice-card { background: var(--sage); border-radius: 22px; padding: 18px 24px; display: flex; flex-direction: column; gap: 2px; }
.notice-card strong { font-size: 17px; font-weight: 900; }
.notice-card span { font-size: 13.5px; color: var(--body-2); }
.empty-state { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.empty-state strong { font-size: 20px; font-weight: 900; }
.empty-state span { color: var(--muted); }

.help-banner { background: var(--ink); border-radius: var(--r-card); padding: 26px 32px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.help-banner > div { display: flex; flex-direction: column; line-height: 1.6; }
.help-banner strong { color: #fff; font-size: 20px; font-weight: 900; }
.help-banner span { color: var(--on-dark-muted); font-size: 14px; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 8px 0; }
.page-pill { background: #fff; border: 1px solid var(--border); min-width: 48px; min-height: 48px; padding: 0 12px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-pill); text-decoration: none; }
.page-pill.current { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.page-pill.next, .page-pill.prev { padding: 0 20px; font-weight: 500; }
.page-pill.dots { border: 0; background: none; min-width: 24px; padding: 0; }

.seo-card .card-title { font-size: 22px; margin-bottom: 8px; }
.seo-card__body { color: var(--muted); }
.seo-card.is-clamped .seo-card__body { max-height: 7em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }

/* ---------- 7. Product page ---------- */
.pdp-top { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-block-start: 16px; }
.pdp-gallery { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pdp-stage { position: relative; }
.pdp-stage:not(.pdp-stage--photo), .pdp-stage--photo .flex-viewport, .pdp-stage--photo .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
	background-color: var(--sage);
	background-image: linear-gradient(rgba(15,27,23,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(15,27,23,.06) 1px, transparent 1px);
	background-size: 48px 48px;
	border-radius: var(--r-hero);
	overflow: hidden;
}
.pdp-stage:not(.pdp-stage--photo) { min-height: 520px; display: flex; align-items: center; justify-content: center; }
.pdp-stage__art { height: 430px; width: auto; max-width: 80%; }
.woocommerce-product-gallery { position: relative; margin: 0; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image a { display: flex; align-items: center; justify-content: center; height: 520px; padding: 32px; }
.woocommerce-product-gallery__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.woocommerce-product-gallery__image:nth-child(n+2) { display: none; }
.flex-viewport .woocommerce-product-gallery__image:nth-child(n+2) { display: block; }
.woocommerce-product-gallery img.zoomImg { background: var(--sage); }
.woocommerce-product-gallery__trigger { position: absolute; inset-block-end: 20px; inset-inline-end: 20px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1B17' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 20px no-repeat; font-size: 0; overflow: hidden; }
.woocommerce-product-gallery__trigger img { display: none !important; }
.pdp-stage--photo .flex-viewport ~ .woocommerce-product-gallery__trigger, .pdp-stage--photo .woocommerce-product-gallery__trigger { inset-block-end: auto; inset-block-start: 464px; }
.flex-control-thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.flex-control-thumbs li { margin: 0; }
.flex-control-thumbs img { display: block; width: 100%; height: 84px; object-fit: contain; padding: 6px; border-radius: var(--r-stage); border: 1px solid var(--border); background: #fff; cursor: pointer; }
.flex-control-thumbs img.flex-active { border: 2px solid var(--ink); background: var(--sage); }
.video-thumb { display: flex; align-items: center; justify-content: center; height: 84px; width: calc(20% - 8px); min-width: 84px; border-radius: var(--r-stage); background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.video-thumb:hover { color: #fff; background: #000; }

.pdp-summary { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pdp-head { display: flex; flex-direction: column; gap: 8px; }
.pdp-sku { font-size: 13px; color: var(--muted); }
.pdp-title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 900; line-height: 1.4; }
.pdp-pitch { margin: 0; color: var(--body-2); }
.key-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.key-tile { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 14px 18px; display: flex; flex-direction: column; line-height: 1.5; min-width: 0; }
.key-tile dt { font-size: 12px; color: var(--muted); }
.key-tile dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.key-tile dd strong { font-size: 28px; font-weight: 900; }
.key-tile dd span { font-size: 13px; color: var(--body-2); }

.buy-box { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.buy-box__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; }
.stock { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.stock__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.stock--out .stock__dot { background: var(--muted); }
.stock--back .stock__dot { background: var(--ink); }
.buy-box__form form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.buy-box__form .single_add_to_cart_button { flex: 1 1 200px; min-height: 56px; font-size: 17px; font-weight: 900; border: 0; }
.buy-box__form table.variations { margin-bottom: 8px; }
.buy-box__form table.variations th, .buy-box__form table.variations td { display: block; text-align: start; padding: 4px 0; }
.buy-box__form .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
.buy-box__form form.variations_form { display: block; }
.qty-stepper { display: inline-flex; width: fit-content; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 4px; background: #fff; }
.qty-stepper--hidden { display: none; }
.qty-btn { border: 0; background: var(--tint); width: 48px; height: 48px; border-radius: 50%; font-size: 20px; line-height: 1; flex: none; }
.qty-btn:hover { background: var(--sage); }
.woocommerce .qty-stepper input.qty, .qty-stepper input.qty { width: 48px; min-height: 0; height: 48px; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: center; font-weight: 800; font-size: 17px; -moz-appearance: textfield; appearance: textfield; }
.qty-stepper input.qty::-webkit-outer-spin-button, .qty-stepper input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-box__trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid var(--hairline); padding-top: 16px; font-size: 13px; text-align: center; }
.buy-box__trio > span { display: flex; flex-direction: column; line-height: 1.5; }
.buy-box__trio > span:nth-child(2) { border-inline: 1px solid var(--hairline); }
.buy-box__trio span span { color: var(--muted); }
.pdp-wholesale { font-size: 14px; font-weight: 700; align-self: flex-start; }

.compat { background: var(--ink); border-radius: var(--r-hero); padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 24px; }
.compat .section-head--dark > span { font-size: 14px; }
.compat__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.compat-item { background: var(--dark-1); border: 1px solid var(--dark-border); border-radius: 22px; padding: 14px; display: flex; gap: 14px; align-items: center; }
.compat-item__thumb { width: 76px; height: 76px; flex: none; background: var(--dark-2); border-radius: 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.compat-item__thumb .illus { height: 56px; width: auto; }
.compat-item__thumb .stage-photo { padding: 6px; }
.compat-item__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.6; }
.compat-item__text a { color: #fff; font-weight: 700; text-decoration: none; }
.compat-item__text a:hover { text-decoration: underline; }
.compat-item__text .price, .compat-item__text .price-inquiry { color: var(--on-dark-muted); font-size: 13px; font-weight: 400; }
.compat-item__text .price .woocommerce-Price-currencySymbol { color: inherit; font-size: inherit; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: 30px; padding: 5px; width: fit-content; max-width: 100%; }
.tabs [role="tab"] { border: 0; background: transparent; color: var(--ink); padding: 0 22px; min-height: 44px; border-radius: var(--r-pill); }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; font-weight: 700; }
.pdp-info { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 20px; align-items: flex-start; }
.pdp-info__main { flex: 999 1 560px; min-width: 0; }
.pdp-info__side { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.tab-panel--specs { padding: 10px 28px; }
.table-scroll { overflow-x: auto; }
.woocommerce-product-attributes tr { border-bottom: 1px solid var(--hairline); }
.woocommerce-product-attributes tr:last-child { border-bottom: 0; }
.woocommerce-product-attributes th { text-align: start; padding: 15px 0; width: 40%; font-weight: 500; color: var(--muted); vertical-align: top; }
.woocommerce-product-attributes td { padding: 15px 0; font-weight: 700; }
.woocommerce-product-attributes td p { margin: 0; }
.woocommerce-product-attributes td a { text-decoration: none; }
.downloads { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.downloads .card-title { margin: 0; font-size: 18px; }
.download { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--tint); border-radius: 16px; padding: 0 16px; min-height: 52px; text-decoration: none; font-weight: 700; }
.download:hover { background: var(--sage); }
.download span { font-size: 12px; font-weight: 400; color: var(--muted); }
.enough-card { background: var(--accent); color: var(--on-accent); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.enough-card strong { font-size: 18px; font-weight: 900; line-height: 1.5; }
.enough-card .btn { min-height: 48px; font-weight: 700; }

/* Reviews / comments */
.star-rating { position: relative; display: inline-block; width: 5em; height: 1.2em; line-height: 1.2; font-size: 16px; overflow: hidden; letter-spacing: 0; direction: ltr; }
.star-rating::before { content: "★★★★★"; color: var(--border-strong); position: absolute; inset: 0; }
.star-rating span { position: absolute; inset-block: 0; left: 0; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: var(--ink); }
.commentlist, .comment-list { list-style: none; margin: 0 0 20px; padding: 0; }
.commentlist li, .comment-list li { border-bottom: 1px solid var(--hairline); padding: 16px 0; }
.commentlist .children, .comment-list .children { list-style: none; padding-inline-start: 24px; }
.commentlist img.avatar { display: none; }
.woocommerce-review__author, .comment-author .fn { font-weight: 800; font-style: normal; }
.woocommerce-review__published-date, .comment-metadata { font-size: 12.5px; color: var(--muted); }
.comment-metadata a { color: inherit; text-decoration: none; }
.woocommerce-Reviews-title, .comment-reply-title { display: block; font-size: 20px; font-weight: 900; margin-bottom: 12px; }
.comment-form p { margin: 0 0 14px; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { margin: 0; font-weight: 400; }
p.stars { margin: 0 0 14px; }
p.stars span { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 6px; }
p.stars a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: 50%; text-decoration: none; font-weight: 700; font-size: 0; }
p.stars a::before { content: "★"; font-size: 18px; color: var(--border-strong); }
p.stars a.active, p.stars a.active ~ a, p.stars:not(.selected) a:hover, p.stars:not(.selected) a:hover ~ a { border-color: var(--ink); }
p.stars a.active::before, p.stars a.active ~ a::before, p.stars a:hover::before, p.stars a:hover ~ a::before { color: var(--ink); }
.comments { margin-top: 24px; }

/* ---------- 8. WooCommerce pages ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, .cart-empty {
	list-style: none; margin: 0 0 16px; padding: 16px 22px;
	background: var(--sage); border-radius: 22px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; font-weight: 500;
}
.woocommerce-error { background: #F6E3E0; color: #5E150E; display: block; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 44px; padding: 0 20px; order: 2; }
.woocommerce-message:focus, .woocommerce-info:focus, .woocommerce-error:focus { outline: none; }
.pdp + .woocommerce-notices-wrapper, .container > .woocommerce-notices-wrapper { margin-top: 12px; }
body.single-product .woocommerce-notices-wrapper { max-width: var(--container); margin: 12px auto 0; padding-inline: var(--gutter); }

.article { padding-block-start: 6px; max-width: 920px; }
.article--wide { max-width: var(--container); }
.page-title { font-size: clamp(30px, 4vw, 48px); font-weight: 900; line-height: 1.35; margin: 14px 0 20px; }
.article__meta { color: var(--muted); font-size: 13px; margin: -12px 0 20px; }
.article__thumb img { display: block; width: 100%; border-radius: var(--r-card); margin-bottom: 16px; }
.article .help-banner { margin-top: 16px; }
.prose { font-size: 16px; line-height: 2; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 24px; font-weight: 900; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 19px; font-weight: 800; margin: 1.4em 0 .4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 1.4em; margin: 0 0 1em; }
.prose img { border-radius: var(--r-stage); }
.prose table { margin-bottom: 1em; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 14px; text-align: start; }
.prose blockquote { margin: 0 0 1em; padding: 12px 20px; border-inline-start: 4px solid var(--ink); background: var(--tint); border-radius: 12px; }

.wc-page .woocommerce { display: block; }
.woocommerce table.shop_table { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); border-collapse: separate; border-spacing: 0; overflow: hidden; margin-bottom: 20px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 16px 18px; text-align: start; border-bottom: 1px solid var(--hairline); vertical-align: middle; }
.woocommerce table.shop_table thead th { font-size: 13px; color: var(--muted); font-weight: 700; }
.woocommerce table.shop_table tr:last-child > td, .woocommerce table.shop_table tr:last-child > th { border-bottom: 0; }
.cart_totals table.shop_table th { white-space: nowrap; width: 1%; }
.woocommerce table.shop_table tfoot th, .woocommerce table.shop_table tfoot td { font-weight: 800; }
.woocommerce table.shop_table .product-thumbnail img { width: 72px; height: 72px; object-fit: contain; background: var(--tint); border-radius: 14px; display: block; }
.woocommerce table.shop_table .product-name a { font-weight: 800; text-decoration: none; }
.woocommerce table.shop_table a.remove { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--ink) !important; font-size: 22px; line-height: 1; text-decoration: none; }
.woocommerce table.shop_table a.remove:hover { background: var(--ink); color: #fff !important; }
.woocommerce table.cart td.actions { background: var(--ground); }
.woocommerce table.cart td.actions .coupon { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-inline-end: 12px; }
.woocommerce table.cart td.actions .coupon .input-text { width: 200px; }
.woocommerce table.cart td.actions > .button { float: inline-end; }
.cart-collaterals { display: flex; justify-content: flex-end; }
.cart_totals { flex: 0 1 460px; }
.cart_totals h2, .woocommerce-billing-fields h3, .woocommerce-additional-fields h3, #order_review_heading, .woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3, .woocommerce form.login h2, .u-column1 h2, .u-column2 h2 { font-size: 22px; font-weight: 900; margin: 0 0 14px; }
.wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; min-height: 56px; font-size: 17px; }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.return-to-shop { margin-top: 16px; }

.woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 0 24px; align-items: start; }
.woocommerce form.checkout > .woocommerce-NoticeGroup, .woocommerce form.checkout > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
#customer_details { grid-column: 1; grid-row: 1 / span 3; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px; }
#customer_details .col-1, #customer_details .col-2 { width: auto; float: none; }
#order_review_heading { grid-column: 2; }
#order_review { grid-column: 2; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; grid-column: 1 / -1; }
.woocommerce form .form-row-first { grid-column: 1; }
.woocommerce form .form-row-last { grid-column: 2; }
.woocommerce form .form-row .woocommerce-input-wrapper { display: block; }
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid .select2-selection { border-color: var(--danger); }
.woocommerce form .form-row .checkout-inline-error-message { color: var(--danger); font-size: 13px; margin: 4px 0 0; }
#billing_country_field, #shipping_country_field { display: none !important; }
.woocommerce-additional-fields { margin-top: 10px; }
.woocommerce-checkout-payment { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 22px; }
.wc_payment_methods { list-style: none; margin: 0 0 16px; padding: 0; }
.wc_payment_method { padding: 6px 0; }
.wc_payment_method label { font-weight: 700; display: inline; }
.wc_payment_method img { max-height: 28px; width: auto; vertical-align: middle; margin-inline-start: 8px; }
.payment_box { background: var(--tint); border-radius: 16px; padding: 12px 16px; margin-top: 8px; font-size: 13.5px; }
.payment_box p:last-child { margin: 0; }
.place-order .button { display: flex; width: 100%; min-height: 56px; font-size: 17px; border: 0; }
.woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle { margin-bottom: 0; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password, .woocommerce form.track_order, .woocommerce-ResetPassword {
	background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px; margin: 0 0 20px; max-width: 560px;
}
.woocommerce form.checkout_coupon { max-width: none; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.woocommerce form.checkout_coupon .form-row { flex: 1 1 200px; margin: 0; }
.woocommerce form.checkout_coupon p:not(.form-row) { flex-basis: 100%; margin: 0; }
.woocommerce-form__label-for-checkbox { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.woocommerce-form__input-checkbox, .woocommerce form input[type="checkbox"], .woocommerce form input[type="radio"] { width: 18px; height: 18px; accent-color: var(--ink); margin: 0 0 0 6px; vertical-align: middle; }
.woocommerce-LostPassword { margin: 12px 0 0; font-size: 14px; }
.u-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.u-columns .u-column1, .u-columns .u-column2 { width: auto; float: none; }
.woocommerce-password-strength, .woocommerce-password-hint { display: block; font-size: 13px; margin-top: 6px; color: var(--muted); }
.show-password-input { display: none; }
.password-input { display: block; position: relative; }

.select2-container .select2-selection--single { height: 52px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); outline-offset: 2px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 50px; padding-inline: 20px 36px; color: var(--ink); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 50px; inset-inline-end: 12px; left: auto; right: auto; }
[dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__arrow { left: 12px; }
.select2-dropdown { border-color: var(--border-strong); border-radius: 18px; overflow: hidden; font-family: var(--font); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--ink); color: #fff; }
.select2-search--dropdown .select2-search__field { border-radius: 12px; border: 1px solid var(--border-strong); min-height: 40px; padding: 0 12px; }

.woocommerce-account .wc-page .woocommerce { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.woocommerce-account .wc-page .woocommerce > .woocommerce-notices-wrapper { flex-basis: 100%; }
.woocommerce-MyAccount-navigation { flex: 1 1 240px; max-width: 300px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 14px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: var(--r-pill); text-decoration: none; font-weight: 500; }
.woocommerce-MyAccount-navigation a:hover { background: var(--hairline); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; font-weight: 700; }
.woocommerce-MyAccount-content { flex: 999 1 480px; min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px; }
.woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }
.woocommerce-MyAccount-content fieldset { border: 1px solid var(--border); border-radius: 22px; padding: 18px; margin: 0 0 16px; }
.woocommerce-MyAccount-content legend { font-weight: 800; padding: 0 8px; }
.woocommerce-Addresses, .woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.woocommerce-Addresses .col-1, .woocommerce-Addresses .col-2, .woocommerce-columns--addresses .col-1, .woocommerce-columns--addresses .col-2 { width: auto; float: none; }
address { font-style: normal; }
.woocommerce-order, .woocommerce-order-details, .woocommerce-customer-details { margin-bottom: 20px; }
.woocommerce-thankyou-order-received { background: var(--sage); border-radius: 22px; padding: 18px 24px; font-size: 18px; font-weight: 900; }
ul.order_details { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
ul.order_details li { background: #fff; padding: 18px 22px; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; }
ul.order_details li strong { font-size: 16px; color: var(--ink); }
.woocommerce-customer-details address { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 22px; }
mark { background: var(--sage); padding: 0 4px; border-radius: 4px; }

.contact-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 24px; align-items: start; }
.contact-layout__info { display: flex; flex-direction: column; gap: 16px; }
.contact-list { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list dt { font-size: 13px; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 18px; font-weight: 800; }
.contact-list a { text-decoration: none; }
.form-card { padding: 28px; }
.form-msg { border-radius: 16px; padding: 12px 16px; font-weight: 700; }
.form-msg--ok { background: var(--sage); }
.form-msg--err { background: #F6E3E0; color: #5E150E; }
.not-found { text-align: start; }
.not-found__code { font-size: 80px; font-weight: 900; line-height: 1; color: var(--border-strong); }

/* ---------- 9. Responsive ---------- */
@media (max-width: 1023px) {
	.woocommerce form.checkout { grid-template-columns: minmax(0, 1fr); }
	#customer_details, #order_review_heading, #order_review { grid-column: 1; grid-row: auto; }
	#order_review_heading { margin-top: 24px; }
}

@media (max-width: 767px) {
	:root { --gutter: 12px; --section: 44px; --r-hero: 30px; --r-card: 26px; }
	body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
	.topbar { display: none; }

	.header-main { padding: 14px 4px 12px; gap: 12px; justify-content: space-between; }
	.brand { gap: 10px; }
	.brand .logo-mark { width: 40px; height: 40px; }
	.brand__text strong { font-size: 18px; }
	.brand__latin { display: none; }
	.search-pill { order: 3; flex: 1 1 100%; min-height: 50px; padding: 0 18px; }
	.search-pill button { display: none; }
	.header-actions { gap: 8px; }
	.header-account { display: none; }
	.header-cart { width: 46px; height: 46px; min-height: 0; padding: 0; justify-content: center; position: relative; }
	.header-cart__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.header-cart .icon { display: block; }
	.header-cart .cart-count { position: absolute; inset-block-start: -4px; inset-inline-start: -4px; min-width: 20px; height: 20px; font-size: 11px; padding: 0 4px; }
	.menu-toggle { display: flex; }

	.primary-nav { position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 100; width: min(320px, 86vw); background: var(--ground); transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; visibility: hidden; }
	[dir="ltr"] .primary-nav { transform: translateX(-100%); }
	.primary-nav.is-open { transform: none; visibility: visible; }
	.primary-nav__in { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
	.primary-nav__head { display: flex; justify-content: space-between; align-items: center; }
	.primary-nav__head strong { font-size: 20px; font-weight: 900; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
	.nav-pill { min-height: 48px; padding-inline: 18px; }
	.primary-nav__extra { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--border); padding-top: 12px; }
	.primary-nav__extra a { min-height: 44px; display: flex; align-items: center; padding-inline: 18px; text-decoration: none; color: var(--body-2); }

	.bottom-nav { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 80; background: #fff; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 8px 10px calc(12px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 12.5px; }
	.bottom-nav a { min-height: 48px; border-radius: var(--r-pill); text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 6px; }
	.bottom-nav a[aria-current="page"] { background: var(--ink); color: #fff; font-weight: 700; }
	.bottom-nav__count { background: var(--accent); color: var(--on-accent); min-width: 20px; height: 20px; border-radius: 10px; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
	.toast { inset-block-end: calc(84px + env(safe-area-inset-bottom, 0px)); }

	.hero-wrap { padding-block-start: 0; }
	.hero { background-size: 44px 44px; padding: 28px 22px 0; flex-direction: column; align-items: stretch; gap: 16px; min-height: 0; }
	.hero__copy { flex: none; gap: 16px; align-items: stretch; }
	.eyebrow { align-self: flex-start; font-size: 12px; padding: 5px 14px; gap: 8px; }
	.eyebrow__dot { width: 7px; height: 7px; }
	.hero__title { font-size: clamp(38px, 11.8vw, 46px); letter-spacing: 0; }
	.hero__text { font-size: 15px; }
	.hero__actions { flex-direction: column; gap: 16px; margin: 0; }
	.hero__actions .btn { min-height: 54px; width: 100%; }
	.hero__actions .btn .icon { display: none; }
	.hero__art { flex: none; margin-top: 4px; margin-bottom: -18%; }
	.hero__chip { display: none; }

	.need-wrap { padding-block-start: 12px; }
	.need-bar { flex-direction: column; align-items: stretch; padding: 20px; gap: 14px; }
	.need-bar__text strong { font-weight: 900; }
	.need-bar__text span { display: none; }
	.need-bar__chips { flex: none; }
	.chip-check span { padding: 0 16px; }

	.section-head { margin-bottom: 14px; padding-inline: 8px; }
	.section-title, .section-title--sm { font-size: 26px; line-height: 1.35; }
	.section-link { font-size: 14px; }

	.cat-tiles { flex-direction: column; gap: 12px; }
	.cat-tile, .cat-tile--inverter { flex: none; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; min-height: 150px; padding: 22px; border-radius: 26px; gap: 12px; }
	.cat-tile__text { gap: 2px; }
	.cat-tile__text strong, .cat-tile--inverter .cat-tile__text strong { font-size: 26px; }
	.cat-tile__text span { font-size: 14px; }
	.cat-tile__more { display: none; }
	.cat-tile .illus { align-self: center; flex: none; }
	.cat-tile--inverter .illus { height: 120px; }
	.cat-tile--battery .illus { height: 116px; }
	.cat-tile--station .illus { height: 104px; }
	.section--tight { padding-block-start: 12px; }
	.brand-cards { gap: 12px; }
	.brand-card { padding: 20px 22px; flex-wrap: wrap; }
	.brand-card__name strong { font-size: 24px; }

	.product-grid--home { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 4px; scrollbar-width: none; }
	.product-grid--home::-webkit-scrollbar { display: none; }
	.product-grid--home .product-card { flex: none; width: 236px; scroll-snap-align: start; border-radius: 24px; padding: 10px; gap: 10px; }
	.product-grid--home .product-card__stage { height: 170px; border-radius: 16px; }
	.product-grid--home .product-card__stage .illus { height: 130px; }
	.product-grid--home .product-card__title { font-size: 15px; min-height: 48px; }
	.product-grid--home .add-round { width: 46px; height: 46px; }

	.uses { padding: 26px 20px; gap: 16px; }
	.uses .section-head { padding: 0; }
	.uses .section-head > span { display: none; }
	.uses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.use-card { border-radius: 20px; padding: 16px; min-height: 124px; gap: 12px; }
	.use-card__num { font-size: 30px; }
	.use-card__text strong { font-size: 16px; line-height: 1.5; }
	.use-card__text span { display: none; }

	.trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust-item { padding: 18px; gap: 0; line-height: 1.6; }
	.trust-item .icon { display: none; }
	.trust-item strong { font-size: 15px; }
	.trust-item span { font-size: 12.5px; }

	.guide-card { min-height: 180px; gap: 28px; padding: 22px; }
	.guide-card__title { font-size: 20px; }

	.site-footer { margin-top: 44px; }
	.footer-cta { padding-block: 36px 28px; flex-direction: column; align-items: stretch; }
	.footer-cta__title { font-size: 28px; }
	.footer-cta .btn { min-height: 54px; }
	.footer-cols { padding-inline: 20px; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-cols > :first-child, .footer-cols > :last-child { grid-column: 1 / -1; }

	.cat-header { padding: 26px 22px; }
	.cat-header__title { font-size: 38px; }
	.cat-header__art { display: none; }
	.shop-layout { padding-block-start: 16px; }
	.filters-open { display: inline-flex; min-height: 44px; padding: 0 18px; font-size: 14px; font-weight: 700; }
	.filters { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 100; max-width: none; max-height: 86vh; overflow-y: auto; border-radius: 28px 28px 0 0; border-bottom: 0; padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateY(105%); transition: transform .25s ease; visibility: hidden; }
	.filters.is-open { transform: none; visibility: visible; }
	.filters__close { display: inline-flex; }
	.filters__head { align-items: center; }
	.filters__head a { margin-inline-start: auto; }
	.filters__apply { position: sticky; inset-block-end: 0; min-height: 52px; }
	.check { min-height: 44px; }
	.segmented { width: 100%; justify-content: space-between; }
	.segmented a { padding: 6px 12px; flex: 1; justify-content: center; }
	.help-banner { padding: 22px; }
	.help-banner .btn { width: 100%; }
	.card { padding: 22px; }

	.pdp-top { gap: 20px; }
	.pdp-stage:not(.pdp-stage--photo) { min-height: 340px; }
	.pdp-stage__art { height: 280px; }
	.woocommerce-product-gallery__image a { height: 340px; padding: 20px; }
	.pdp-stage--photo .woocommerce-product-gallery__trigger { inset-block-start: 284px; }
	.flex-control-thumbs img { height: 64px; }
	.key-tile dd strong { font-size: 24px; }
	.buy-box { padding: 20px; }
	.section--pdp { padding-block-start: 44px; }
	.tabs { width: 100%; border-radius: 26px; }
	.tabs [role="tab"] { flex: 1 1 auto; padding: 0 14px; }
	.tab-panel--specs { padding: 6px 20px; }
	.woocommerce-product-attributes th { width: 44%; padding-inline-end: 10px; }

	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce table.shop_table_responsive tbody tr { display: block; border-bottom: 1px solid var(--hairline); padding: 8px 0; }
	.woocommerce table.shop_table_responsive tbody td { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0; padding: 8px 18px; text-align: end; }
	.woocommerce table.shop_table_responsive tbody td::before { content: attr(data-title); font-size: 13px; color: var(--muted); font-weight: 700; }
	.woocommerce table.shop_table_responsive td.product-remove::before, .woocommerce table.shop_table_responsive td.actions::before, .woocommerce table.shop_table_responsive td.product-thumbnail::before { display: none; }
	.woocommerce table.cart td.actions { flex-direction: column; align-items: stretch !important; }
	.woocommerce table.cart td.actions .coupon { margin: 0; }
	.woocommerce table.cart td.actions .coupon .input-text { flex: 1; width: auto; }
	.woocommerce table.cart td.actions .button { width: 100%; }
	.cart_totals { flex: 1 1 100%; }
	.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 14px; }
	#customer_details, .woocommerce-MyAccount-content, .woocommerce form.login, .woocommerce form.register { padding: 20px; }
	.woocommerce-MyAccount-navigation { max-width: none; flex-basis: 100%; }
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { grid-column: 1; }
	.page-title { font-size: 30px; padding-inline: 8px; }
	.article > .breadcrumb, .container > .breadcrumb { padding-inline: 8px; }
}

@media (max-width: 380px) {
	.buy-box__trio { grid-template-columns: minmax(0, 1fr); text-align: start; }
	.buy-box__trio > span:nth-child(2) { border-inline: 0; border-block: 1px solid var(--hairline); padding-block: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
	.topbar, .site-header, .site-footer, .bottom-nav, .filters, .help-banner, .toast { display: none !important; }
	body { background: #fff; padding: 0; }
}
