@import url('../fonts/fonts.css');

/* ==========================================================================
   Snowicool — "Whiteout". Full spec in DESIGN.md.
   Glacier-white pages, ice-blue panels, deep navy text and footer, one
   clear blue for everything you can click. Bold condensed uppercase
   headings (Oswald), calm sans text (Public Sans), soft rounded corners.
   ========================================================================== */
:root {
	--glacier: #f4f8fb;      /* page background */
	--white: #ffffff;
	--ice: #cfe8f7;          /* panels, hero, mark disc */
	--ice-soft: #e8f3fa;     /* quiet sections */
	--navy: #0b2545;         /* text, footer: 15.4:1 on glacier */
	--navy-2: #13315c;       /* power section */
	--navy-soft: #415a77;    /* muted text: 6.9:1 on glacier */
	--blue: #1f6fb2;         /* buttons, links: 5.1:1 on white */
	--blue-dark: #155a93;    /* hover: 7.0:1 on white */
	--frost: #9ccff0;        /* links / accents on navy: 8.9:1 */
	--line: #d3e1ec;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 1px 2px rgba(11, 37, 69, 0.06), 0 6px 18px rgba(11, 37, 69, 0.06);

	/* Older token names used by the kit's functional CSS, mapped to Whiteout. */
	--paper: var(--glacier);
	--paper-deep: var(--ice-soft);
	--ink: var(--navy);
	--ink-soft: var(--navy-soft);
	--rule: var(--line);
	--rule-strong: var(--navy);
	--grid: transparent;
	--signal: var(--blue);
	--signal-ink: var(--blue-dark);
	--focus: var(--blue);
	--color-background: var(--white);

	--font-heading: 'Oswald', 'Arial Narrow', Arial, sans-serif;
	--font-body: 'Public Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-mono: 'Public Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;

	--fs-xs: 0.75rem;
	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-lg: 1.125rem;
	--fs-h4: 1.25rem;
	--fs-h3: 1.5rem;
	--fs-h2: clamp(1.9rem, 1.45rem + 1.6vw, 2.75rem);
	--fs-h1: clamp(2.5rem, 1.7rem + 3.4vw, 4.5rem);

	--s1: 0.25rem;
	--s2: 0.5rem;
	--s3: 0.75rem;
	--s4: 1rem;
	--s6: 1.5rem;
	--s8: 2rem;
	--s12: 3rem;
	--s16: 4rem;
	--s24: 6rem;

	--container: 1240px;
	--gutter: 16px;
	--header-h: 72px;
}

@media (min-width: 768px) {
	:root {
		--gutter: 32px;
	}
}

/* ==========================================================================
   Reset + base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + var(--s4));
}

body {
	min-height: 100vh;
	background-color: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: 1.55;
	overflow-x: hidden;
}

img,
picture,
svg,
video {
	display: block;
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.005em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

a {
	color: var(--ink);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--signal-ink);
}

:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}

[hidden] {
	display: none !important;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link.screen-reader-text:focus {
	clip: auto;
	width: auto;
	height: auto;
	margin: 0;
	top: var(--s2);
	left: var(--s2);
	z-index: 1000;
	padding: var(--s3) var(--s4);
	background: var(--ink);
	color: var(--paper);
}

.mono,
.sheet-heading__ref,
.hero-sheet__ref {
	font-family: var(--font-mono);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.button,
.button-primary,
button.button,
a.button,
input[type="submit"].button,
.woocommerce button.button,
.woocommerce a.button,
.single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--s2);
	min-height: 48px;
	padding: var(--s3) var(--s6);
	border: 1.5px solid var(--ink);
	border-radius: 0;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font-heading);
	font-size: var(--fs-lg);
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button:hover,
.button-primary:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.single_add_to_cart_button:hover {
	background: var(--paper);
	color: var(--ink);
}

.button.button--signal {
	background: var(--signal);
	border-color: var(--signal);
	color: var(--ink); /* ink on signal: 5.2:1 */
}

.button.button--signal:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.button.button--outline {
	background: transparent;
	color: var(--ink);
}

.button.button--outline:hover {
	background: var(--ink);
	color: var(--paper);
}

.button--ink {
	background: var(--ink);
}

.button[disabled],
.button.disabled,
.single_add_to_cart_button.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.text-link {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: var(--fs-lg);
}

/* ==========================================================================
   Header: note strip + title bar
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--paper);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.promo-strip {
	background: var(--ink);
	color: var(--paper);
}

.promo-strip__text {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--s3);
	min-height: 34px;
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: 0.04em;
	text-align: center;
}

.promo-strip__ref {
	padding: 0 var(--s1);
	border: 1px solid var(--signal);
	color: var(--signal);
	font-weight: 500;
}

.main-bar {
	border-bottom: 1px solid var(--ink);
	box-shadow: 0 3px 0 -2px var(--ink); /* the double rule under a drawing's title */
	padding-bottom: 2px;
}

.main-bar__inner {
	display: flex;
	align-items: center;
	gap: var(--s4);
	min-height: var(--header-h);
}

.wordmark {
	display: inline-flex;
	align-items: center;
	gap: var(--s3);
	color: var(--ink);
	text-decoration: none;
}

.wordmark:hover {
	color: var(--ink);
}

.wordmark__mark {
	flex: 0 0 auto;
	color: var(--ink);
}

.wordmark__name {
	font-family: var(--font-heading);
	font-size: 1.625rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	line-height: 1;
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--s2);
	min-height: 44px;
	padding: 0 var(--s2) 0 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.menu-toggle__label {
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.primary-navigation {
	display: none;
	flex: 1 1 auto;
}

.header-actions {
	display: flex;
	align-items: center;
	margin-left: auto;
	border-left: 1px solid var(--rule);
}

.header-action {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	color: var(--ink);
	cursor: pointer;
}

.header-action:hover {
	color: var(--signal-ink);
}

.cart-count {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	background: var(--signal);
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	font-weight: 500;
	line-height: 18px;
	text-align: center;
}

.cart-count:empty,
.cart-count[data-count="0"] {
	display: none;
}

.header-search {
	position: static;
}

.header-search__panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	padding: var(--s4) var(--gutter);
	background: var(--paper);
	border-bottom: 1px solid var(--ink);
}

.header-search__panel form {
	display: flex;
	max-width: 640px;
	margin-inline: auto;
}

.header-search__panel input[type="search"] {
	flex: 1;
	min-height: 48px;
	padding: 0 var(--s4);
	border: 1.5px solid var(--ink);
	border-right: 0;
	border-radius: 0;
	background: var(--white);
}

.header-search__panel button {
	min-height: 48px;
	padding: 0 var(--s6);
	border: 1.5px solid var(--ink);
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font-heading);
	font-weight: 600;
	cursor: pointer;
}

@media (max-width: 599px) {
	.wordmark__name {
		font-size: 1.25rem;
		letter-spacing: 0.14em;
	}

	.wordmark__mark {
		width: 28px;
		height: 28px;
	}

	.menu-toggle__label {
		display: none;
	}

	.header-actions {
		border-left: 0;
	}

	.header-action {
		width: 40px;
	}
}

@media (min-width: 1024px) {
	.menu-toggle {
		display: none;
	}

	.primary-navigation {
		display: block;
		align-self: stretch;
	}

	.primary-menu {
		display: flex;
		height: 100%;
		padding: 0;
		margin: 0 0 0 var(--s6);
		list-style: none;
		counter-reset: nav;
	}

	.primary-menu > li {
		position: relative;
		display: flex;
		border-left: 1px solid var(--rule);
	}

	.primary-menu > li:last-child {
		border-right: 1px solid var(--rule);
	}

	.primary-menu > li > a {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 0 var(--s4);
		font-family: var(--font-heading);
		font-size: var(--fs-lg);
		font-weight: 500;
		text-decoration: none;
		white-space: nowrap;
	}

	.primary-menu > li > a::before {
		counter-increment: nav;
		content: counter(nav, decimal-leading-zero);
		font-family: var(--font-mono);
		font-size: 0.6875rem;
		color: var(--ink-soft);
		line-height: 1.4;
	}

	.primary-menu > li.current-menu-item > a,
	.primary-menu > li.current-menu-ancestor > a,
	.primary-menu > li > a:hover {
		color: var(--ink);
		box-shadow: inset 0 -3px 0 var(--signal);
	}

	.primary-menu .sub-menu {
		position: absolute;
		top: 100%;
		left: -1px;
		min-width: 240px;
		padding: var(--s2) 0;
		margin: 0;
		list-style: none;
		background: var(--paper);
		border: 1px solid var(--ink);
		visibility: hidden;
		opacity: 0;
		transform: translateY(4px);
		transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s;
	}

	.primary-menu > li:hover > .sub-menu,
	.primary-menu > li:focus-within > .sub-menu,
	.primary-menu > li.is-open > .sub-menu {
		visibility: visible;
		opacity: 1;
		transform: none;
	}

	.primary-menu .sub-menu a {
		display: block;
		padding: var(--s2) var(--s4);
		text-decoration: none;
	}

	.primary-menu .sub-menu a:hover {
		background: var(--paper-deep);
		color: var(--ink);
	}
}

/* Mobile menu: a full-height "index" sheet from the left */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 200;
}

.mobile-menu__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 35, 60, 0.55);
}

.mobile-menu__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: min(88vw, 380px);
	overflow-y: auto;
	background: var(--paper);
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 24px 24px;
	border-right: 1.5px solid var(--ink);
}

.mobile-menu__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--s3) var(--s4);
	border-bottom: 1px solid var(--ink);
}

.mobile-menu__title {
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.mobile-menu__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	cursor: pointer;
}

.mobile-menu-list,
.mobile-menu-list .sub-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mobile-menu-list {
	counter-reset: mnav;
}

.mobile-menu-list > li {
	position: relative;
	border-bottom: 1px solid var(--rule);
}

.mobile-menu-list > li > a {
	display: flex;
	align-items: baseline;
	gap: var(--s3);
	padding: var(--s4);
	padding-right: 56px;
	font-family: var(--font-heading);
	font-size: var(--fs-h4);
	font-weight: 500;
	text-decoration: none;
}

.mobile-menu-list > li > a::before {
	counter-increment: mnav;
	content: counter(mnav, decimal-leading-zero);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	color: var(--ink-soft);
}

.mobile-submenu-toggle {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	cursor: pointer;
}

.mobile-submenu-toggle svg {
	margin: auto;
	transition: transform 0.15s ease;
}

.is-submenu-open > .mobile-submenu-toggle svg {
	transform: rotate(180deg);
}

.mobile-menu-list .sub-menu a {
	display: block;
	padding: var(--s3) var(--s4) var(--s3) calc(var(--s4) + 2.2rem);
	text-decoration: none;
}

.has-mobile-menu-open,
.has-filter-panel-open {
	overflow: hidden;
}

/* ==========================================================================
   Spec tables (contact block, product specs, dimensions, policies)
   ========================================================================== */
.spec-table,
.policy-table,
.contact-table,
.entry-content table,
.woocommerce table.shop_table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--ink);
	background: var(--white);
	font-size: var(--fs-sm);
}

.spec-table th,
.spec-table td,
.policy-table th,
.policy-table td,
.contact-table th,
.contact-table td,
.entry-content table th,
.entry-content table td,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: var(--s3) var(--s4);
	border-bottom: 1px solid var(--rule);
	text-align: left;
	vertical-align: top;
}

.spec-table tbody th,
.policy-table tbody th,
.contact-table th,
.entry-content table tbody th {
	width: 38%;
	border-right: 1px solid var(--rule);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ink-soft);
}

.spec-table thead th,
.policy-table thead th,
.entry-content table thead th {
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.spec-table tr:last-child > *,
.policy-table tr:last-child > *,
.contact-table tr:last-child > * {
	border-bottom: 0;
}

.spec-table--block {
	font-size: var(--fs-base);
}

/* ==========================================================================
   Shop / category / footprint / brand archives
   ========================================================================== */
.woocommerce-breadcrumb {
	padding-top: var(--s6);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	color: var(--ink-soft);
}

.woocommerce-breadcrumb a {
	color: var(--ink-soft);
}

.shop-page {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	padding-top: var(--s8);
}

.shop-header {
	padding-bottom: var(--s4);
	margin-bottom: var(--s4);
	border-bottom: 1px solid var(--ink);
}

.shop-header__ref,
.doc-page__ref {
	margin-bottom: var(--s2);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-soft);
}

.shop-header__description {
	max-width: 46rem;
	margin-top: var(--s3);
	color: var(--ink-soft);
}

.shop-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var(--s3);
	margin-bottom: var(--s6);
}

.shop-header__count {
	font-family: var(--font-mono);
	font-size: var(--fs-sm);
	color: var(--ink-soft);
}

.shop-toolbar {
	display: flex;
	align-items: center;
	gap: var(--s3);
}

.shop-filter-toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--s2);
	min-height: 44px;
	padding: 0 var(--s4);
	border: 1.5px solid var(--ink);
	background: var(--paper);
	font-family: var(--font-heading);
	font-weight: 600;
	cursor: pointer;
}

.woocommerce-ordering select,
.shop-sort select {
	min-height: 44px;
	padding: 0 var(--s8) 0 var(--s3);
	border: 1.5px solid var(--ink);
	border-radius: 0;
	background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314233c' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 18px;
	appearance: none;
	font-family: var(--font-body);
	font-size: var(--fs-sm);
}

/* Legend (filters): a slide-in panel on mobile, a ruled sidebar on desktop */
.shop-filter-backdrop {
	position: fixed;
	inset: 0;
	z-index: 190;
	background: rgba(20, 35, 60, 0.55);
}

.shop-filter-panel {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 200;
	width: min(88vw, 360px);
	overflow-y: auto;
	padding: var(--s4);
	background: var(--paper);
	border-right: 1.5px solid var(--ink);
}

.shop-filter-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: var(--s3);
	margin-bottom: var(--s4);
	border-bottom: 1px solid var(--ink);
}

.shop-filter-panel__title {
	font-family: var(--font-heading);
	font-size: var(--fs-h4);
	font-weight: 600;
}

.shop-filter-panel__ref {
	margin-right: var(--s2);
	padding: 1px var(--s2);
	border: 1px solid var(--ink);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: 400;
	text-transform: uppercase;
	vertical-align: middle;
}

.shop-filter-panel__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	cursor: pointer;
}

.shop-filter-group + .shop-filter-group {
	margin-top: var(--s6);
}

.shop-filter-group__heading {
	margin-bottom: var(--s2);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ink-soft);
}

.shop-filter-chips {
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--rule);
}

.shop-filter-chip {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--s2);
	min-height: 44px;
	padding: var(--s2) var(--s2) var(--s2) var(--s4);
	border-bottom: 1px solid var(--rule);
	text-decoration: none;
	position: relative;
}

.shop-filter-chip::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border: 1px solid var(--ink);
}

.shop-filter-chip:hover {
	background: var(--white);
	color: var(--ink);
}

.shop-filter-chip.is-active {
	font-weight: 600;
}

.shop-filter-chip.is-active::before {
	background: var(--signal);
	border-color: var(--signal);
}

.shop-filter-chip__metres {
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	color: var(--ink-soft);
}

@media (min-width: 1024px) {
	.shop-page {
		grid-template-columns: 250px minmax(0, 1fr);
		column-gap: var(--s8);
	}

	.shop-page > * {
		grid-column: 2;
	}

	.shop-page > .shop-filter-panel,
	.shop-page > .shop-filter-panel[hidden] {
		display: block !important;
		position: sticky;
		top: calc(var(--header-h) + 50px);
		grid-column: 1;
		grid-row: 1 / span 20;
		align-self: start;
		width: auto;
		max-height: calc(100vh - var(--header-h) - 70px);
		z-index: 1;
		padding: 0;
		border: 0;
		background: transparent;
	}

	.shop-filter-panel__close,
	.shop-filter-toggle,
	.shop-filter-backdrop {
		display: none !important;
	}
}

/* --- product grid + cards --- */
ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	padding: 0;
	margin: 0;
	list-style: none;
	border-top: 1px solid var(--ink);
	border-left: 1px solid var(--ink);
}

@media (min-width: 768px) {
	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

ul.products::before,
ul.products::after {
	display: none;
}

ul.products li.product {
	position: relative;
	width: auto;
	margin: 0;
	padding: 0;
	float: none;
	border-right: 1px solid var(--ink);
	border-bottom: 1px solid var(--ink);
	background: var(--paper);
}

ul.products li.product > a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding-bottom: var(--s4);
	text-decoration: none;
}

ul.products li.product > a.woocommerce-LoopProduct-link:hover {
	background: var(--white);
	color: var(--ink);
}

.product-card__image {
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--white);
	border-bottom: 1px solid var(--rule);
}

.product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	padding: var(--s3);
}

.product-card__dims {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--s2);
	padding: var(--s2) var(--s3);
	border-bottom: 1px solid var(--rule);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
}

.product-card__feet {
	font-weight: 500;
}

.product-card__metres {
	color: var(--ink-soft);
}

.product-card__brand {
	display: block;
	padding: var(--s3) var(--s3) 0;
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-soft);
}

.product-card__title {
	padding: var(--s1) var(--s3) 0;
	font-family: var(--font-heading);
	font-size: var(--fs-lg);
	font-weight: 600;
	line-height: 1.25;
}

ul.products li.product .price {
	display: block;
	margin-top: auto;
	padding: var(--s3) var(--s3) 0;
	font-family: var(--font-mono);
	font-size: var(--fs-base);
	font-weight: 500;
}

.product-card__stock {
	display: block;
	padding: var(--s1) var(--s3) 0;
	font-size: var(--fs-sm);
	color: var(--signal-ink);
}

/* Never a crossed-out "was" price */
.price del,
.wc-block-components-product-price__regular {
	display: none !important;
}

.price ins {
	text-decoration: none;
}

.onsale {
	display: none !important;
}

.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin-top: var(--s8);
	padding: 0;
	list-style: none;
	border-left: 1px solid var(--ink);
}

.woocommerce-pagination li a,
.woocommerce-pagination li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	border: 1px solid var(--ink);
	border-left: 0;
	font-family: var(--font-mono);
	text-decoration: none;
}

.woocommerce-pagination li span.current {
	background: var(--ink);
	color: var(--paper);
}

.shop-empty {
	padding: var(--s12) var(--s6);
	border: 1px dashed var(--ink);
	text-align: center;
}

.shop-empty__message {
	margin-bottom: var(--s4);
	font-family: var(--font-heading);
	font-size: var(--fs-h4);
}

.shop-empty__link {
	font-weight: 600;
}

/* ==========================================================================
   Single product
   ========================================================================== */
.product-page {
	padding-top: var(--s4);
}

.product-top {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--s8);
	margin-top: var(--s4);
}

@media (min-width: 900px) {
	.product-top {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: var(--s12);
		align-items: start;
	}

	.summary.entry-summary {
		position: sticky;
		top: calc(var(--header-h) + 50px);
	}
}

.woocommerce-product-gallery {
	position: relative;
	width: 100% !important;
	float: none !important;
	border: 1px solid var(--ink);
	background: var(--white);
}

.woocommerce-product-gallery__wrapper {
	margin: 0;
}

.woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	object-position: center;
	background: var(--white);
}

.woocommerce-product-gallery__trigger {
	position: absolute;
	top: var(--s3);
	right: var(--s3);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--ink);
	background: var(--paper);
	cursor: pointer;
}

.woocommerce-product-gallery__trigger span {
	display: inline-block;
	width: 20px;
	height: 20px;
	font-size: 0;
	background-color: var(--ink);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.woocommerce-product-gallery__trigger[hidden],
.product-gallery-thumbs[hidden],
.woocommerce-product-gallery__image[hidden] {
	display: none;
}

.product-gallery-thumbs {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 0;
	border-top: 1px solid var(--ink);
}

.product-gallery-thumb {
	flex: 0 0 auto;
	padding: 0;
	border: 0;
	border-right: 1px solid var(--rule);
	background: var(--white);
	cursor: pointer;
	position: relative;
}

.product-gallery-thumb img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	padding: 4px;
}

.product-gallery-thumb.is-active::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--signal);
}

@media (max-width: 599px) {
	.product-gallery-thumbs {
		justify-content: center;
		border-top: 1px solid var(--rule);
	}

	.product-gallery-thumb {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		border: 0;
	}

	.product-gallery-thumb img {
		display: none;
	}

	.product-gallery-thumb::before {
		content: '';
		width: 8px;
		height: 8px;
		border: 1.5px solid var(--ink);
	}

	.product-gallery-thumb.is-active::before {
		background: var(--signal);
		border-color: var(--signal);
	}

	.product-gallery-thumb.is-active::after {
		display: none;
	}
}

.product-heading {
	margin-bottom: var(--s3);
}

.product-brand {
	display: inline-block;
	margin-bottom: var(--s2);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ink-soft);
	text-decoration: none;
}

.product_title {
	font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
	font-weight: 700;
}

.product-footprint {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--s2) var(--s3);
	margin-bottom: var(--s4);
	padding: var(--s2) var(--s3);
	border: 1px solid var(--ink);
	font-family: var(--font-mono);
	font-size: var(--fs-sm);
}

.product-footprint a {
	display: inline-flex;
	gap: var(--s3);
	text-decoration: none;
}

.product-footprint__label {
	font-size: var(--fs-xs);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-soft);
}

.product-footprint__feet {
	font-weight: 500;
}

.product-footprint__metres {
	color: var(--ink-soft);
}

.summary .price {
	display: block;
	margin-bottom: var(--s4);
	font-family: var(--font-mono);
	font-size: 1.75rem;
	font-weight: 500;
}

.product-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s1) var(--s4);
	margin-bottom: var(--s6);
	padding: 0;
	list-style: none;
	font-size: var(--fs-sm);
	color: var(--ink-soft);
}

.product-stock.is-in-stock::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: var(--s2);
	background: var(--ink);
}

.product-stock.is-out-of-stock {
	color: var(--signal-ink);
}

.summary form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3);
	margin-bottom: var(--s6);
}

.quantity .qty {
	width: 5rem;
	min-height: 48px;
	padding: 0 var(--s2);
	border: 1.5px solid var(--ink);
	border-radius: 0;
	background: var(--white);
	font-family: var(--font-mono);
	text-align: center;
}

.single_add_to_cart_button {
	flex: 1 1 220px;
	background: var(--signal);
	border-color: var(--signal);
	color: var(--ink);
}

.single_add_to_cart_button:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.product-trust-list {
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--rule);
	font-size: var(--fs-sm);
}

.product-trust-list li {
	padding: var(--s3) 0 var(--s3) var(--s6);
	border-bottom: 1px solid var(--rule);
	position: relative;
}

.product-trust-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: calc(var(--s3) + 0.45em);
	width: 10px;
	height: 1.5px;
	background: var(--signal);
}

.product-trust-links {
	display: flex;
	gap: var(--s4);
	margin-top: var(--s3);
	font-size: var(--fs-sm);
}

.product-details {
	margin-top: var(--s12);
}

/* --- description accordion --- */
.product-accordion {
	max-width: 52rem;
	border-top: 1px solid var(--ink);
}

.product-accordion__intro {
	padding: var(--s6) 0;
	font-size: var(--fs-lg);
}

.product-accordion__intro > * + * {
	margin-top: var(--s4);
}

.accordion-item {
	border-bottom: 1px solid var(--ink);
}

.accordion-item__heading {
	font-size: var(--fs-h4);
}

.accordion-item__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 60px;
	padding: var(--s3) 0;
	border: 0;
	background: none;
	font-family: var(--font-heading);
	font-size: var(--fs-h4);
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.accordion-item__trigger::after {
	content: '+';
	font-family: var(--font-mono);
	font-size: 1.5rem;
	font-weight: 400;
}

.accordion-item__trigger[aria-expanded="true"]::after {
	content: '−';
}

.accordion-item__panel {
	padding-bottom: var(--s6);
}

.accordion-item__panel > * + * {
	margin-top: var(--s4);
}

.accordion-item__panel ul {
	padding-left: var(--s6);
}

.product-qa {
	max-width: 52rem;
	margin-top: var(--s8);
	padding: var(--s6);
	border: 1px solid var(--ink);
	background: var(--paper-deep);
}

.product-qa h2 {
	margin-bottom: var(--s3);
	font-size: var(--fs-h4);
}

.related.products {
	margin-top: var(--s16);
}

.related.products > h2 {
	margin-bottom: var(--s6);
	padding-bottom: var(--s3);
	border-bottom: 1px solid var(--ink);
	font-size: var(--fs-h3);
}

/* --- mobile sticky add-to-basket bar --- */
.sticky-add-to-cart {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	padding: var(--s2) 0;
	border-top: 1.5px solid var(--ink);
	background: var(--paper);
	transform: translateY(110%);
	transition: transform 0.2s ease;
}

.sticky-add-to-cart.is-visible {
	transform: none;
}

.sticky-add-to-cart__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s4);
}

.sticky-add-to-cart__price {
	font-family: var(--font-mono);
	font-weight: 500;
}

.sticky-add-to-cart__button {
	background: var(--signal);
	border-color: var(--signal);
	color: var(--ink);
}

@media (min-width: 900px) {
	.sticky-add-to-cart {
		display: none;
	}
}

/* ==========================================================================
   Document pages (policies, FAQ, about, contact)
   ========================================================================== */
.doc-page {
	padding-top: var(--s12);
}

.doc-page__header {
	padding-bottom: var(--s4);
	margin-bottom: var(--s8);
	border-bottom: 1px solid var(--ink);
	box-shadow: 0 3px 0 -2px var(--ink);
}

.doc-page__title {
	max-width: 22ch;
}

.doc-page__body,
.entry-content {
	max-width: 46rem;
}

.entry-content > * + * {
	margin-top: var(--s4);
}

.entry-content h2 {
	margin-top: var(--s12);
	padding-top: var(--s3);
	border-top: 1px solid var(--rule);
	font-size: var(--fs-h3);
}

.entry-content h3 {
	margin-top: var(--s8);
	font-size: var(--fs-h4);
}

.entry-content ul,
.entry-content ol {
	padding-left: var(--s6);
}

.entry-content li + li {
	margin-top: var(--s2);
}

.doc-page--with-toc .doc-page__body {
	counter-reset: docsec;
}

.doc-page--with-toc .doc-page__body h2 {
	counter-increment: docsec;
	display: flex;
	gap: var(--s3);
	align-items: baseline;
}

.doc-page--with-toc .doc-page__body h2::before {
	content: counter(docsec, decimal-leading-zero);
	font-family: var(--font-mono);
	font-size: var(--fs-sm);
	font-weight: 400;
	color: var(--signal-ink);
}

.doc-toc {
	margin-bottom: var(--s8);
	padding: var(--s4);
	border: 1px solid var(--ink);
	background: var(--paper-deep);
}

.doc-toc__title {
	margin-bottom: var(--s2);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ink-soft);
}

.doc-toc__list {
	padding: 0;
	list-style: none;
	counter-reset: toc;
}

.doc-toc__list li {
	counter-increment: toc;
	border-top: 1px solid var(--rule);
}

.doc-toc__list a {
	display: flex;
	gap: var(--s3);
	padding: var(--s2) 0;
	text-decoration: none;
	font-size: var(--fs-sm);
}

.doc-toc__list a::before {
	content: counter(toc, decimal-leading-zero);
	font-family: var(--font-mono);
	color: var(--ink-soft);
}

@media (min-width: 1024px) {
	.doc-page--with-toc {
		display: grid;
		grid-template-columns: 240px minmax(0, 1fr);
		column-gap: var(--s12);
	}

	.doc-page--with-toc .doc-page__header {
		grid-column: 1 / -1;
	}

	.doc-toc {
		position: sticky;
		top: calc(var(--header-h) + 60px);
		align-self: start;
		margin-bottom: 0;
	}

	.doc-page--with-toc .doc-page__body > h2:first-child {
		margin-top: 0;
	}
}

/* --- contact page + form --- */
.contact-page {
	display: grid;
	gap: var(--s8);
}

@media (min-width: 900px) {
	.contact-page {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: var(--s12);
	}
}

.contact-form-wrap {
	padding: var(--s6);
	border: 1.5px solid var(--ink);
	background: var(--white);
}

.contact-form__field {
	margin-bottom: var(--s4);
}

.contact-form label,
.woocommerce form .form-row label {
	display: block;
	margin-bottom: var(--s1);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.contact-form input,
.contact-form textarea,
.woocommerce form .input-text,
.woocommerce form select {
	width: 100%;
	min-height: 48px;
	padding: var(--s3);
	border: 1.5px solid var(--ink);
	border-radius: 0;
	background: var(--white);
}

.contact-form textarea {
	min-height: 140px;
}

.contact-form__field--invalid input,
.contact-form__field--invalid textarea {
	border-color: var(--signal-ink);
}

.contact-form__error {
	margin-top: var(--s1);
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--signal-ink);
}

.contact-form__honeypot {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.contact-form__reply-note {
	margin-top: var(--s3);
	font-size: var(--fs-sm);
	color: var(--ink-soft);
}

/* --- notices --- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	margin: var(--s4) 0;
	padding: var(--s4);
	border: 1px solid var(--ink);
	border-left: 6px solid var(--ink);
	background: var(--white);
	list-style: none;
}

.woocommerce-error {
	border-left-color: var(--signal-ink);
}

/* Mobile first: the notice's button sits under the text, inside the box. */
.woocommerce-message,
.woocommerce-info {
	display: flow-root;
}

.woocommerce-message .button,
.woocommerce-info .button {
	display: inline-flex;
	min-height: 40px;
	margin-top: var(--s3);
	font-size: var(--fs-base);
}

@media (min-width: 48em) {
	.woocommerce-message .button,
	.woocommerce-info .button {
		float: right;
		margin-top: 0;
		margin-left: var(--s4);
	}
}

/* ==========================================================================
   Cart & Checkout (WooCommerce Cart/Checkout blocks)
   ========================================================================== */
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content,
.woocommerce-cart .doc-page__body,
.woocommerce-checkout .doc-page__body,
.woocommerce-account .doc-page__body {
	max-width: none;
}

.woocommerce-cart .doc-page--with-toc,
.woocommerce-checkout .doc-page--with-toc {
	display: block;
}

.wc-block-cart,
.wc-block-checkout {
	font-family: var(--font-body);
}

.wc-block-components-totals-item,
.wc-block-components-order-summary-item,
.wc-block-components-order-summary-item__description,
.wc-block-components-notice-banner__content,
.wc-block-checkout__terms,
.wc-block-components-product-metadata__description,
.wc-block-components-product-name {
	min-width: 0;
	overflow-wrap: break-word;
}

.wc-block-components-sidebar-layout {
	gap: var(--s12);
}

@media (min-width: 900px) {
	.wc-block-components-sidebar.is-sticky {
		top: calc(var(--header-h) + 60px);
	}
}

.wp-block-woocommerce-cart-order-summary-block,
.wp-block-woocommerce-checkout-order-summary-block {
	border: 1.5px solid var(--ink);
	background: var(--white);
}

/* Keep the summary rows (coupons, shipping, total) off the box's border. */
.wp-block-woocommerce-cart-order-summary-block > div,
.wp-block-woocommerce-checkout-order-summary-block > div {
	padding-right: var(--s4);
	padding-left: var(--s4);
}

.wc-block-cart__totals-title,
.wc-block-components-checkout-order-summary__title {
	padding: var(--s4) var(--s6) !important;
	margin: 0 !important;
	border-bottom: 1px solid var(--ink);
	background: var(--ink);
	color: var(--paper) !important;
	font-family: var(--font-mono) !important;
	font-size: var(--fs-xs) !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em;
}

.wc-block-components-checkout-order-summary__title-text {
	color: var(--paper);
}

.wc-block-components-totals-wrapper {
	padding: var(--s4) var(--s6);
	border-top: 1px solid var(--rule);
}

.wc-block-components-totals-wrapper:empty {
	display: none;
}

.wp-block-woocommerce-cart-order-summary-cart-items-block,
.wp-block-woocommerce-checkout-order-summary-cart-items-block {
	padding: 0;
	border-top: 0;
}

.wc-block-components-order-summary-item {
	padding: var(--s4) var(--s6);
	border-top: 1px solid var(--rule);
}

.wc-block-components-totals-item {
	padding: 0;
	font-size: var(--fs-sm);
}

.wc-block-components-totals-item__value,
.wc-block-formatted-money-amount {
	font-family: var(--font-mono);
}

.wc-block-components-totals-footer-item {
	font-size: var(--fs-lg);
	font-weight: 600;
}

/* Not VAT-registered: never show a tax line or "including VAT" note */
.wc-block-components-totals-footer-item-tax,
.wc-block-components-totals-taxes,
.woocommerce-Price-taxLabel,
.tax_label,
.includes_tax {
	display: none !important;
}

.wc-block-components-button,
.wc-block-components-checkout-place-order-button {
	border-radius: 0 !important;
	font-family: var(--font-heading);
	font-weight: 600;
}

.wc-block-components-button:not(.is-link).contained,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	min-height: 52px;
	background: var(--signal) !important;
	border: 1.5px solid var(--signal) !important;
	color: var(--ink) !important;
	font-size: var(--fs-lg) !important;
}

.wc-block-components-button:not(.is-link).contained:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	background: var(--ink) !important;
	border-color: var(--ink) !important;
	color: var(--paper) !important;
}

.wc-block-cart-items {
	border: 0;
}

.wc-block-cart-items__header {
	border-bottom: 1px solid var(--ink);
}

.wc-block-cart-items__header span {
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-soft);
}

.wc-block-cart-items__row {
	border-bottom: 1px solid var(--rule);
	padding-block: var(--s6);
}

.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	object-position: center;
	background: var(--white);
	border: 1px solid var(--rule);
}

.wc-block-components-product-name {
	color: var(--ink) !important;
	font-family: var(--font-heading);
	font-size: var(--fs-lg);
	font-weight: 600;
	text-decoration: none !important;
}

.wc-block-components-product-name:hover {
	text-decoration: underline !important;
}

.wc-block-components-product-metadata,
.wc-block-components-product-metadata__description {
	color: var(--ink-soft);
	font-size: var(--fs-sm);
}

.wc-block-components-quantity-selector {
	border: 1.5px solid var(--ink) !important;
	border-radius: 0 !important;
}

.wc-block-components-quantity-selector::after {
	display: none;
}

.wc-block-components-quantity-selector__input {
	font-family: var(--font-mono);
}

.wc-block-cart-item__remove-link {
	color: var(--ink-soft) !important;
	font-size: var(--fs-sm) !important;
	text-decoration: underline !important;
}

.snowicool-cart-policy-links,
.snowicool-checkout-policy-links {
	margin-top: var(--s4) !important;
	font-size: var(--fs-sm);
	color: var(--ink-soft);
}

.snowicool-checkout-shipping-note {
	margin: 0 !important;
	padding: var(--s4) var(--s6);
	border-top: 1px solid var(--rule);
	font-size: var(--fs-sm);
	color: var(--ink-soft);
}

.wc-block-components-checkout-step {
	padding-block: var(--s8);
	border-top: 1px solid var(--ink);
}

.wc-block-checkout__main > .wc-block-components-checkout-step:first-child {
	border-top: 0;
	padding-top: 0;
}

.wc-block-components-checkout-step__title {
	font-family: var(--font-heading);
	font-size: var(--fs-h4);
	font-weight: 600;
}

.wc-block-components-checkout-step__container::after {
	display: none !important;
}

.wc-block-components-checkout-step__heading::before {
	border-radius: 0 !important;
}

.wc-block-components-text-input input,
.wc-block-components-text-input.is-active input,
.wc-blocks-components-select__select,
.wc-block-components-country-input .components-combobox-control__input,
.wc-block-components-textarea {
	border: 1.5px solid var(--ink) !important;
	border-radius: 0 !important;
	background: var(--white) !important;
	font-family: var(--font-body);
}

.wc-block-components-text-input label,
.wc-blocks-components-select__label {
	color: var(--ink-soft) !important;
}

.wc-block-components-checkbox__input {
	border-radius: 0 !important;
	border-color: var(--ink) !important;
}

.wc-block-components-radio-control__input {
	border-color: var(--ink) !important;
}

.wc-block-components-radio-control__input:checked::before {
	background: var(--signal) !important;
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
	box-shadow: inset 0 0 0 1.5px var(--ink) !important;
	border-radius: 0 !important;
}

.wc-block-checkout__terms {
	font-size: var(--fs-sm);
	color: var(--ink-soft);
}

/* ==========================================================================
   Order received + account
   ========================================================================== */
.woocommerce-order {
	max-width: 52rem;
}

.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: var(--s6) 0 var(--s12);
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ink);
	border-left: 1px solid var(--ink);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	text-transform: uppercase;
	color: var(--ink-soft);
}

.woocommerce-order-overview li {
	padding: var(--s3) var(--s4);
	border-right: 1px solid var(--ink);
	border-bottom: 1px solid var(--ink);
}

.woocommerce-order-overview strong {
	display: block;
	margin-top: var(--s1);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	text-transform: none;
	color: var(--ink);
}

.woocommerce-customer-details address {
	font-style: normal;
	padding: var(--s4);
	border: 1px solid var(--ink);
}

@media (min-width: 700px) {
	.woocommerce-columns--addresses {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--s8);
	}
}

.woocommerce-MyAccount-navigation ul {
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ink);
}

.woocommerce-MyAccount-navigation a {
	display: block;
	padding: var(--s3) 0;
	border-bottom: 1px solid var(--rule);
	text-decoration: none;
}

.woocommerce-MyAccount-navigation .is-active a {
	font-weight: 600;
	box-shadow: inset 3px 0 0 var(--signal);
	padding-left: var(--s3);
}

@media (min-width: 900px) {
	.woocommerce-account .woocommerce {
		display: grid;
		grid-template-columns: 220px minmax(0, 1fr);
		gap: var(--s12);
	}
}

/* 404 */
.error-404__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s4);
	margin-top: var(--s6);
}


/* ==========================================================================
   Whiteout layer — shapes, type and colour on top of the shared rules
   ========================================================================== */
body {
	background-color: var(--glacier);
	color: var(--navy);
	font-variant-numeric: tabular-nums;
}

h1,
h2,
h3 {
	font-family: var(--font-heading);
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

h4 {
	font-weight: 600;
}

a {
	color: var(--blue);
}

a:hover {
	color: var(--blue-dark);
}

/* No blueprint numbering or drawing references anywhere. */
.primary-menu > li > a::before,
.mobile-menu-list > li > a::before,
.doc-page--with-toc .doc-page__body h2::before,
.doc-toc__list a::before,
ul.products::before {
	content: none !important;
	display: none !important;
}

.doc-page__ref,
.shop-header__ref {
	color: var(--blue);
	font-family: var(--font-heading);
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Buttons: rounded, blue fill. */
.button,
.button-primary,
button.button,
a.button,
input[type="submit"].button,
.woocommerce button.button,
.woocommerce a.button,
.single_add_to_cart_button {
	border: 2px solid var(--blue);
	border-radius: 999px;
	background: var(--blue);
	color: var(--white);
	font-size: var(--fs-base);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.button:hover,
.button-primary:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.single_add_to_cart_button:hover {
	border-color: var(--blue-dark);
	background: var(--blue-dark);
	color: var(--white);
}

.button.button--outline {
	border-color: var(--navy);
	background: transparent;
	color: var(--navy);
}

.button.button--outline:hover {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--white);
}

.text-link {
	font-family: var(--font-heading);
	font-size: var(--fs-base);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.text-link::after {
	content: " →";
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="password"],
textarea,
select {
	border-radius: var(--radius-sm);
}

/* --- header --- */
.site-header {
	background: var(--white);
	box-shadow: 0 1px 0 var(--line);
}

.site-header--scrolled {
	box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(11, 37, 69, 0.08);
}

.promo-strip {
	background: var(--ice);
	border: 0;
	color: var(--navy);
}

.promo-strip__text {
	align-items: center;
	justify-content: center;
	gap: var(--s2);
	padding-block: var(--s2);
	font-size: var(--fs-sm);
	font-weight: 600;
	text-align: center;
}

.main-bar {
	background: var(--white);
	border: 0;
	background-image: none;
}

.wordmark {
	align-items: center;
	gap: var(--s2);
	color: var(--navy);
	text-decoration: none;
}

.wordmark__name {
	font-family: var(--font-heading);
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--navy);
}

.primary-menu a,
.mobile-menu-list a {
	font-family: var(--font-heading);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--navy);
}

.primary-menu .sub-menu {
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.header-action {
	border-radius: 999px;
	color: var(--navy);
}

.header-action:hover {
	background: var(--ice-soft);
	color: var(--navy);
}

.cart-count {
	border-radius: 999px;
	background: var(--blue);
	color: var(--white);
}

.mobile-menu__panel {
	background: var(--white);
}

/* --- shared homepage section --- */
.home-section {
	padding-block: var(--s12);
}

@media (min-width: 768px) {
	.home-section {
		padding-block: var(--s16);
	}
}

.section-heading {
	max-width: 46rem;
	margin-bottom: var(--s8);
}

.section-heading__kicker {
	margin-bottom: var(--s2);
	color: var(--blue);
	font-family: var(--font-heading);
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.section-heading__title {
	font-size: var(--fs-h2);
	line-height: 1.05;
}

.section-heading__lead {
	margin-top: var(--s3);
	color: var(--navy-soft);
	font-size: var(--fs-lg);
}

.home-section__more {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s4) var(--s8);
	align-items: center;
	margin-top: var(--s8);
}

/* --- 1. hero --- */
.home-hero {
	background: linear-gradient(180deg, var(--white) 0%, var(--glacier) 100%);
	padding-block: var(--s8) var(--s12);
	overflow: hidden;
}

.home-hero__inner {
	display: grid;
	gap: var(--s8);
	align-items: center;
}

@media (min-width: 1024px) {
	.home-hero {
		padding-block: var(--s16);
	}

	.home-hero__inner {
		grid-template-columns: 1.05fr 1fr;
		gap: var(--s12);
	}
}

.home-hero__kicker {
	display: inline-block;
	margin-bottom: var(--s4);
	padding: var(--s1) var(--s3);
	border-radius: 999px;
	background: var(--ice);
	color: var(--navy);
	font-size: var(--fs-sm);
	font-weight: 700;
}

.home-hero__title {
	font-size: var(--fs-h1);
	line-height: 0.98;
	letter-spacing: 0;
}

.home-hero__lead {
	margin-top: var(--s4);
	color: var(--navy-soft);
	font-size: var(--fs-lg);
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3);
	margin-top: var(--s6);
}

.home-hero__figure {
	position: relative;
	margin: 0;
	padding: var(--s6);
	border-radius: 24px;
	background: var(--ice);
}

.home-hero__photo {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: var(--radius);
	background: var(--white);
}

.home-hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: var(--s4);
}

.home-hero__caption {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--s2);
	margin-top: var(--s4);
	font-weight: 600;
}

.home-hero__caption a {
	color: var(--navy);
	text-decoration: none;
}

.home-hero__price {
	font-family: var(--font-heading);
	font-size: var(--fs-lg);
}

/* --- 2 + 3. band pickers --- */
.band-picker__tabs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: var(--s2);
	margin-bottom: var(--s8);
}

.band-picker__tab {
	display: flex;
	flex-direction: column;
	gap: var(--s1);
	padding: var(--s4);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--navy);
	text-align: left;
	cursor: pointer;
}

.band-picker__tab:hover {
	border-color: var(--blue);
}

.band-picker__tab[aria-selected="true"] {
	border-color: var(--navy);
	background: var(--navy);
	color: var(--white);
}

.band-picker__guide {
	font-weight: 700;
	line-height: 1.25;
}

.band-picker__value {
	font-family: var(--font-heading);
	font-size: var(--fs-h4);
	font-weight: 700;
}

.band-picker__panel + .band-picker__panel {
	margin-top: var(--s12);
}

.band-picker.is-ready .band-picker__panel + .band-picker__panel {
	margin-top: 0;
}

.band-picker__panel-title {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s1) var(--s3);
	align-items: baseline;
	margin-bottom: var(--s6);
	font-size: var(--fs-h3);
}

.band-picker__panel-title span {
	color: var(--navy-soft);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	font-weight: 600;
	text-transform: none;
}

.band-picker__more {
	margin-top: var(--s6);
}

.home-power {
	background: var(--navy-2);
	color: var(--white);
}

.home-power .section-heading__kicker,
.home-power .text-link {
	color: var(--frost);
}

.home-power .section-heading__lead,
.home-power .band-picker__panel-title span {
	color: #c9d8e8; /* 9.0:1 on navy-2 */
}

.home-power .band-picker__tabs {
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
}

.home-power .band-picker__tab {
	position: relative;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--white);
	padding-bottom: calc(var(--s4) + 8px);
}

.home-power .band-picker__tab::after {
	content: "";
	position: absolute;
	left: var(--s4);
	right: var(--s4);
	bottom: var(--s3);
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.2);
}

.home-power .band-picker__tab:nth-child(1)::after { right: 70%; }
.home-power .band-picker__tab:nth-child(2)::after { right: 50%; }
.home-power .band-picker__tab:nth-child(3)::after { right: 25%; }

.home-power .band-picker__tab[aria-selected="true"] {
	background: var(--white);
	color: var(--navy);
}

.home-power .band-picker__tab[aria-selected="true"]::after {
	background: var(--blue);
}

.home-power .product-card,
.home-power ul.products li.product {
	color: var(--navy);
}

/* --- 5. category tiles --- */
.home-categories {
	background: var(--ice-soft);
}

.category-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s3);
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.category-tiles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--s4);
	}
}

.category-tile a {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: var(--s3);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--navy);
	text-decoration: none;
	box-shadow: var(--shadow);
}

.category-tile a:hover {
	outline: 2px solid var(--blue);
}

.category-tile__image {
	display: block;
	aspect-ratio: 1 / 1;
	margin-bottom: var(--s3);
}

.category-tile__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.category-tile__parent {
	color: var(--navy-soft);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.category-tile__name {
	font-family: var(--font-heading);
	font-size: var(--fs-h4);
	font-weight: 700;
	text-transform: uppercase;
}

/* --- 6. brands row --- */
.brands-row {
	padding-block: var(--s8);
	border-block: 1px solid var(--line);
	background: var(--white);
}

.brands-row__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--s3) var(--s8);
}

.brands-row__title {
	font-size: var(--fs-h4);
}

.brands-row__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s2) var(--s6);
	padding: 0;
	list-style: none;
}

.brands-row__list a {
	color: var(--navy);
	font-family: var(--font-heading);
	font-size: var(--fs-lg);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

.brands-row__list a:hover {
	color: var(--blue);
}

/* --- 7. shipping steps + help --- */
.shipping-steps {
	display: grid;
	gap: var(--s4);
	padding: 0;
	list-style: none;
	counter-reset: step;
}

@media (min-width: 768px) {
	.shipping-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.shipping-steps__item {
	position: relative;
	padding: var(--s6);
	padding-top: calc(var(--s6) + 2.5rem);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
	counter-increment: step;
}

.shipping-steps__item::before {
	content: counter(step);
	position: absolute;
	top: var(--s6);
	left: var(--s6);
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: var(--ice);
	font-family: var(--font-heading);
	font-weight: 700;
}

.shipping-steps__title {
	margin-bottom: var(--s2);
	font-size: var(--fs-h4);
}

.home-help {
	padding-block: var(--s12);
	background: var(--ice);
}

.home-help__inner {
	display: grid;
	gap: var(--s6);
	align-items: center;
}

@media (min-width: 1024px) {
	.home-help__inner {
		grid-template-columns: 1.4fr 1fr auto;
	}
}

.home-help__title {
	font-size: var(--fs-h3);
}

.home-help__contact a {
	color: var(--navy);
	font-weight: 700;
}

.home-help__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s4);
	align-items: center;
}

/* --- product cards (shop, homepage, related) --- */
ul.products li.product {
	display: flex;
	flex-direction: column;
	padding: var(--s3);
	border: 0;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
}

.product-card__image {
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--white);
}

.product-card__image img {
	object-fit: contain !important;
}

.product-card__brand {
	color: var(--blue);
	font-family: var(--font-heading);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.product-card__title {
	font-family: var(--font-body);
	font-size: var(--fs-base);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
	color: var(--navy);
}

.product-card__band {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s2);
	margin-block: var(--s2);
	font-size: var(--fs-xs);
	font-weight: 700;
}

.product-card__band-value {
	padding: 2px var(--s2);
	border-radius: 999px;
	background: var(--ice);
	color: var(--navy);
}

.product-card__band-metric {
	padding: 2px 0;
	color: var(--navy-soft);
}

ul.products li.product .price {
	color: var(--navy);
	font-family: var(--font-heading);
	font-size: var(--fs-h4);
	font-weight: 700;
}

ul.products li.product .button {
	margin-top: auto;
	width: 100%;
	min-height: 44px;
	font-size: var(--fs-sm);
}

/* --- shop filters --- */
.shop-filter-chip {
	border-radius: 999px;
}

.shop-filter-chip::before,
.shop-filter-chip.is-active::before {
	content: none;
}

.shop-filter-chip.is-active {
	border-color: var(--navy);
	background: var(--navy);
	color: var(--white);
}

/* --- single product: band badge + weight/size panel --- */
.product-band {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--s2);
	margin-block: var(--s3);
}

.product-band__label {
	color: var(--navy-soft);
	font-size: var(--fs-sm);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.product-band a {
	display: inline-flex;
	gap: var(--s2);
	padding: var(--s1) var(--s3);
	border-radius: 999px;
	background: var(--ice);
	color: var(--navy);
	font-weight: 700;
	text-decoration: none;
}

.product-band__metric {
	color: var(--navy-soft);
	font-weight: 600;
}

.size-callout {
	margin-block: var(--s8);
	padding: var(--s6);
	border-radius: var(--radius);
	background: var(--ice-soft);
}

.size-callout__title {
	margin-bottom: var(--s4);
	font-size: var(--fs-h3);
}

.size-callout__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: var(--s3);
	margin: 0;
}

.size-callout__row {
	padding: var(--s4);
	border-radius: var(--radius-sm);
	background: var(--white);
}

.size-callout__row dt {
	color: var(--navy-soft);
	font-size: var(--fs-sm);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.size-callout__row dd {
	margin: 0;
	font-family: var(--font-heading);
	font-size: var(--fs-h4);
	font-weight: 700;
}

.size-callout__note {
	margin-top: var(--s3);
	color: var(--navy-soft);
	font-size: var(--fs-sm);
}

.woocommerce-product-gallery img,
.woocommerce-product-gallery__image img {
	object-fit: contain;
}

.woocommerce-product-gallery,
.product-gallery-thumb,
.product-qa,
.spec-table,
.doc-toc,
.sticky-add-to-cart__inner {
	border-radius: var(--radius);
}

/* --- footer --- */
.site-footer {
	margin-top: var(--s16);
	background: var(--navy);
	color: #dbe6f0; /* 12.6:1 on navy */
}

.home + .site-footer,
.site-main.home ~ .site-footer {
	margin-top: 0;
}

.site-footer a {
	color: var(--white);
}

.site-footer a:hover {
	color: var(--frost);
}

.site-footer__grid {
	display: grid;
	gap: var(--s8);
	padding-block: var(--s12);
}

@media (min-width: 768px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.site-footer__grid {
		grid-template-columns: 1.4fr 1.2fr 1fr 1fr;
	}
}

.wordmark--footer .wordmark__name {
	color: var(--white);
}

.site-footer__tagline,
.site-footer__promise {
	margin-top: var(--s3);
	max-width: 22rem;
}

.site-footer__promise {
	color: var(--frost);
	font-weight: 700;
}

.site-footer__label {
	margin-bottom: var(--s3);
	color: var(--frost);
	font-size: var(--fs-base);
	letter-spacing: 0.08em;
}

.site-footer__contact,
.site-footer__address {
	font-style: normal;
	line-height: 1.7;
}

.site-footer__address {
	margin-top: var(--s3);
}

.site-footer__menu {
	padding: 0;
	list-style: none;
}

.site-footer__menu li + li {
	margin-top: var(--s2);
}

.site-footer__menu a {
	text-decoration: none;
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: var(--fs-sm);
}

.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--s2) var(--s6);
	padding-block: var(--s4);
}

/* Card grid: spaced cards instead of the kit's ruled grid. */
ul.products {
	gap: var(--s3);
	border: 0;
}

@media (min-width: 768px) {
	ul.products {
		gap: var(--s4);
	}
}

ul.products li.product {
	border: 0 !important;
}

/* Image frames stay square whatever the photo's proportions (tall battery
   shovels, wide generators): the image is fitted inside, never cropped. */
.product-card__image,
.category-tile__image,
.home-hero__photo {
	position: relative;
	overflow: hidden;
	min-height: 0;
}

.product-card__image img,
.category-tile__image img,
.home-hero__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media (min-width: 1024px) {
	ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.brands-row__list span {
	color: var(--navy);
	font-family: var(--font-heading);
	font-size: var(--fs-lg);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
