/*
Theme Name: Excellent Tire v2
Description: Excellent Tire v2 block theme (new design language: Open Sans, brand #FF004B, 12px controls, soft shadows). Built from the Figma "Excellent Tire - Responsive Homepage + Search Widget" file and new.excellent-tire.com. Same infrastructure as Excellent Tire 0.12.0 (Customizer settings, WooCommerce, ATDCommerce). Fonts and images are bundled; no Site Editor setup is needed.
Author: Excellent Tire
Version: 1.0.26
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: excellent-tire-v2
*/

/* Design tokens live in theme.json. This file only composes them (no hard-coded colors; sizes come from tokens or the component dimensions below). */

/* Responsive tokens (Figma Layout modes: Mobile <=640, Tablet 641-1023, Laptop 1024-1439, Desktop >=1440). */
:root {
	--et-page-margin: var(--wp--custom--layout--page-margin--mobile);
	--et-section-gap: var(--wp--custom--layout--section-gap--mobile);
	--et-main-column-min-width: var(--wp--custom--layout--main-column-min-width--mobile);
	--et-card-min-width: var(--wp--custom--layout--card-min-width--default);

	/* Component dimensions taken from Figma frames (not Figma variables). */
	--et-header-promo-height: 36px;
	--et-header-main-height: 64px;
	--et-header-height: calc(var(--et-header-promo-height) + var(--et-header-main-height));
	--et-brand-tile-height: 88px;
	--et-icon-size: var(--wp--preset--spacing--24);
	--et-icon-box: var(--wp--preset--spacing--48);
	--et-field-height: calc(var(--wp--preset--spacing--48) + var(--wp--preset--spacing--4));
	--et-button-height: calc(var(--wp--preset--spacing--48) + var(--wp--preset--spacing--8));
}

@media (min-width: 641px) {
	:root {
		--et-page-margin: var(--wp--custom--layout--page-margin--tablet);
		--et-section-gap: var(--wp--custom--layout--section-gap--tablet);
		--et-main-column-min-width: var(--wp--custom--layout--main-column-min-width--default);
		--et-card-min-width: var(--wp--custom--layout--card-min-width--tablet);
	}
}

@media (min-width: 1024px) {
	:root {
		--et-page-margin: var(--wp--custom--layout--page-margin--laptop);
		--et-section-gap: var(--wp--custom--layout--section-gap--laptop);
		--et-card-min-width: var(--wp--custom--layout--card-min-width--default);
		--et-header-promo-height: 40px;
		--et-header-main-height: 80px;
	}
}

@media (min-width: 1440px) {
	:root {
		--et-page-margin: var(--wp--custom--layout--page-margin--desktop);
		--et-section-gap: var(--wp--custom--layout--section-gap--desktop);
	}
}

/* Anchors (#faq, #hero-search) must not hide under the sticky header. */
html {
	scroll-padding-top: var(--et-header-height);
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--border-strong);
	outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
   Layout helpers
   Sections own their spacing: the stack inside <main> has no gaps.
--------------------------------------------------------------------------- */
.wp-site-blocks > .wp-block-template-part,
.wp-site-blocks > .et-main {
	margin-block: 0;
}

.et-main.et-main > * {
	margin-block: 0;
}

.et-band {
	padding-left: var(--et-page-margin);
	padding-right: var(--et-page-margin);
}

.et-section {
	padding: var(--et-section-gap) var(--et-page-margin);
}

.et-container {
	width: 100%;
	max-width: var(--wp--custom--layout--container-max-width);
	margin-inline: auto;
}

.et-container.et-prose {
	max-width: min(var(--wp--custom--layout--prose-max-width), 100%);
}

.et-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Section header: one H2 (+ optional link), same height with or without the link. */
.et-section-header.et-section-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--16);
	min-height: var(--wp--preset--spacing--48);
}

.et-section-header.et-section-header > * {
	margin: 0;
}

.et-section-link a {
	color: var(--wp--preset--color--text-primary);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-decoration: none;
}

.et-section-link a:hover {
	text-decoration: underline;
}

/* Arrow-style link (chevron drawn with borders: no icon font, no image). */
.et-link-arrow a {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-decoration: none;
}

.et-link-arrow a::after {
	content: "";
	width: var(--wp--preset--spacing--8);
	height: var(--wp--preset--spacing--8);
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

.et-link-arrow a:hover {
	text-decoration: underline;
}

/* Equal-height grids: rows stretch, the last element of a card is pinned to the bottom. */
.et-grid.et-grid {
	display: grid;
	gap: var(--wp--preset--spacing--24);
	align-items: stretch;
}

.et-grid.et-grid > * {
	margin: 0;
}

.et-grid--cards.et-grid--cards {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--et-card-min-width)), 1fr));
}

.et-grid--info.et-grid--info {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--wp--custom--layout--info-card-min-width)), 1fr));
}

.et-card.et-card {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	padding: var(--wp--preset--spacing--24);
	border: 1px solid var(--wp--preset--color--border-subtle);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.et-card.et-card > * {
	margin: 0;
}

.et-card p:not(.et-tile__cta) {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	min-height: calc(2 * 1.43em);
}

.et-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: var(--et-icon-box);
	height: var(--et-icon-box);
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--action-primary-tint);
	color: var(--wp--preset--color--text-brand);
}

.et-icon--muted {
	background-color: var(--wp--preset--color--surface-muted);
	color: var(--wp--preset--color--text-secondary);
}

.et-icon .et-svg {
	width: var(--et-icon-size);
	height: var(--et-icon-size);
}

/* Category tiles: vertical card on tablet and up, compact row on mobile (Figma). */
.et-tile {
	position: relative;
}

.et-tile .et-tile__cta.et-tile__cta {
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--8);
}

.et-tile__cta a::before {
	content: "";
	position: absolute;
	inset: 0;
}

.et-tile__body.et-tile__body {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
}

.et-tile__body.et-tile__body > * {
	margin: 0;
}

.et-tile__body p {
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

@media (max-width: 640px) {
	.et-tile.et-tile {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		align-items: center;
		column-gap: var(--wp--preset--spacing--16);
		padding: var(--wp--preset--spacing--16);
	}

	.et-tile .et-tile__cta.et-tile__cta {
		margin: 0;
		padding: 0;
	}

	/* Label hidden visually; the chevron stays and the whole tile is the link. */
	.et-tile__cta a {
		font-size: 0;
	}
}

/* ---------------------------------------------------------------------------
   Header (sticky, as in Figma: promo bar + main row)
--------------------------------------------------------------------------- */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}

.admin-bar header.wp-block-template-part {
	top: var(--wp-admin--admin-bar--height, 0);
}

.et-header p {
	margin: 0;
}

.et-header a,
.et-footer a {
	text-decoration: none;
}

.et-header__promo-inner.et-header__promo-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--et-header-promo-height);
	text-align: center;
}

.et-header__phone {
	display: none;
}

.et-header__main {
	border-bottom: 1px solid var(--wp--preset--color--border-subtle);
	background-color: var(--wp--preset--color--surface-page);
}

/* Mobile menu overlay: keep the links off the screen edge. */
.et-header__nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--preset--spacing--24) var(--wp--preset--spacing--16);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
}

.et-header__nav .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: var(--wp--preset--spacing--48);
}

.et-trust-item.et-trust-item > *,
.et-faq.et-faq > *,
.et-header__main-inner.et-header__main-inner > *,
.et-header__promo-inner.et-header__promo-inner > *,
.et-header__brand.et-header__brand > * {
	margin-block: 0; /* cancel the block-gap margin that flow layouts add to children */
}

.et-header__main-inner.et-header__main-inner {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
	min-height: var(--et-header-main-height);
}

.et-header__brand.et-header__brand {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
	flex: 1 1 auto;
	min-width: 0;
}

.et-header__brand .wp-block-site-title {
	margin: 0;
	font-weight: var(--wp--custom--font-weight--bold);
}

.et-header__brand .wp-block-site-title a {
	color: var(--wp--preset--color--text-primary);
}

/* Mobile and tablet: hamburger first (visually). DOM order stays logo, menu. */
.et-header__nav {
	order: -1;
}

.et-header__vehicle,
.et-header__search {
	display: none;
}

.et-header .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: var(--wp--custom--font-weight--semibold);
	color: var(--wp--preset--color--text-primary);
}

/* The Account label is hidden visually below 1024px (icon only), still read by screen readers. */
@media (max-width: 1023px) {
	.et-header__account .label {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
}

/* Figma: Mobile layout (hamburger) up to 1023px. Core switches at 600px, so between 600 and 1023px we keep the hamburger. */
@media (min-width: 600px) and (max-width: 1023px) {
	.wp-block-navigation.et-header__nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	.wp-block-navigation.et-header__nav .wp-block-navigation__responsive-container-open {
		display: flex;
	}
}

@media (min-width: 1024px) {
	.et-header__promo-inner.et-header__promo-inner {
		justify-content: space-between;
		text-align: left;
	}

	.et-header__phone {
		display: block;
	}

	.et-header__brand.et-header__brand {
		flex: none;
	}

	.et-header__nav {
		order: 0;
		margin-inline-start: var(--wp--preset--spacing--32);
	}

	.et-header__main-inner.et-header__main-inner {
		gap: var(--wp--preset--spacing--16);
	}

	.et-header__main-inner .et-header__vehicle.et-header__vehicle {
		display: inline-flex;
		margin-inline-start: auto;
		padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
		border: 1px solid var(--wp--preset--color--border-default);
		border-radius: var(--wp--custom--radius--pill);
		font-weight: var(--wp--custom--font-weight--semibold);
	}

	.et-header__vehicle a {
		color: var(--wp--preset--color--text-primary);
	}

	.et-header__search {
		display: block;
	}
}

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */
.et-footer p {
	margin: 0;
}

.et-footer a {
	color: var(--wp--preset--color--text-inverse);
}

.et-footer__top {
	padding-top: var(--wp--preset--spacing--64);
	padding-bottom: var(--wp--preset--spacing--32);
}

.et-footer__grid.et-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--wp--custom--layout--compact-min-width)), 1fr));
	gap: var(--wp--preset--spacing--32);
}

.et-footer__grid.et-footer__grid > * {
	margin: 0;
}

.et-footer__title {
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 1.4;
}

.et-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.43;
}

.et-footer__links li + li {
	margin-top: var(--wp--preset--spacing--8);
}

.et-footer__bottom.et-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--8) var(--wp--preset--spacing--24);
	border-top: 1px solid var(--wp--preset--color--surface-inverse-alt);
	padding-top: var(--wp--preset--spacing--24);
	padding-bottom: var(--wp--preset--spacing--24);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-inverse-secondary);
}

/* ---------------------------------------------------------------------------
   Buttons
--------------------------------------------------------------------------- */
.et-btn-outline .wp-block-button__link,
.wp-element-button.et-btn-outline-link,
.wp-block-read-more.et-product__more {
	background-color: transparent;
	color: var(--wp--preset--color--text-primary);
	border: 2px solid var(--wp--preset--color--border-strong);
}

.et-btn-outline .wp-block-button__link:hover,
.wp-element-button.et-btn-outline-link:hover,
.wp-block-read-more.et-product__more:hover {
	background-color: var(--wp--preset--color--surface-muted);
	color: var(--wp--preset--color--text-primary);
}

/* ---------------------------------------------------------------------------
   Hero + search widget
--------------------------------------------------------------------------- */
.et-section--hero .et-container {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--24);
}

.et-section--hero .et-container > * {
	margin: 0;
}

.et-steps {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--8) var(--wp--preset--spacing--24);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--wp--preset--font-size--small);
}

.et-steps__item {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
}

.et-steps__item .et-svg {
	width: var(--wp--preset--spacing--20);
	height: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--text-brand);
}

.et-search {
	position: relative;
	padding: var(--wp--preset--spacing--16);
	border-radius: var(--wp--custom--radius--panel);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
}

.et-search__radio {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.et-search__cats {
	display: flex;
	gap: var(--wp--preset--spacing--4);
	min-width: 0;
	margin: 0 0 var(--wp--preset--spacing--16);
	padding: var(--wp--preset--spacing--4);
	border: 0;
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-muted);
}

.et-search__tab {
	flex: 1;
	padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--8);
	border: 1px solid transparent;
	border-radius: var(--wp--custom--radius--control);
	color: var(--wp--preset--color--text-secondary);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-align: center;
	cursor: pointer;
}

.et-search__cat:checked + .et-search__tab {
	border-color: var(--wp--preset--color--border-default);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
}

.et-search__methods {
	display: flex;
	gap: var(--wp--preset--spacing--24);
	margin-bottom: var(--wp--preset--spacing--16);
	border-bottom: 1px solid var(--wp--preset--color--border-subtle);
}

.et-search__method-tab {
	margin-bottom: -1px;
	padding: var(--wp--preset--spacing--12) 0;
	border-bottom: 2px solid transparent;
	color: var(--wp--preset--color--text-secondary);
	font-weight: var(--wp--custom--font-weight--semibold);
	cursor: pointer;
}

.et-search__method:checked + .et-search__method-tab {
	border-bottom-color: var(--wp--preset--color--action-primary);
	color: var(--wp--preset--color--text-primary);
}

.et-search__radio:focus-visible + label {
	outline: 2px solid var(--wp--preset--color--border-strong);
	outline-offset: 2px;
}

.et-search__fields {
	display: grid;
	grid-template-columns: repeat(var(--et-search-cols, 3), minmax(0, 1fr));
	gap: var(--wp--preset--spacing--12);
	align-items: end;
}

.et-search__field {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
	min-width: 0;
}

.et-search__label {
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--medium);
}

.et-search__select {
	width: 100%;
	min-height: var(--et-field-height);
	padding: var(--wp--preset--spacing--12);
	border: 1px solid var(--wp--preset--color--border-input);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
	font: inherit;
}

.et-search__submit {
	grid-column: 1 / -1;
	min-height: var(--et-button-height);
	cursor: pointer;
}

.et-search__fields--more {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--wp--custom--layout--compact-min-width)), 1fr));
	margin-top: var(--wp--preset--spacing--12);
}

.et-search__more {
	margin-top: var(--wp--preset--spacing--16);
	padding-top: var(--wp--preset--spacing--12);
	border-top: 1px solid var(--wp--preset--color--border-subtle);
}

.et-search__more summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
	font-weight: var(--wp--custom--font-weight--semibold);
	list-style: none;
	cursor: pointer;
}

.et-search__more summary::-webkit-details-marker {
	display: none;
}

.et-search__more summary::after {
	content: "";
	width: var(--wp--preset--spacing--8);
	height: var(--wp--preset--spacing--8);
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

.et-search__more[open] summary::after {
	transform: rotate(-135deg);
}

.et-search__hint {
	margin: var(--wp--preset--spacing--12) 0 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
}

.et-search__hint label {
	text-decoration: underline;
	cursor: pointer;
}

.et-search__note {
	margin: 0;
	color: var(--wp--preset--color--text-secondary);
}

.et-search__empty {
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-subtle);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-subtle);
}

.et-search__empty p {
	margin: 0;
}

.et-search__empty p + p {
	margin-top: var(--wp--preset--spacing--8);
}

.et-search__empty-title {
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: var(--wp--custom--font-weight--bold);
}

.et-search__empty-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--12);
	margin-top: var(--wp--preset--spacing--16);
}

/* Switches are CSS only (checked radio). Without :has() support every panel simply stays visible. */
@supports selector(:has(*)) {
	.et-search__panel,
	.et-search__pane {
		display: none;
	}

	.et-search:has(.et-search__cat--tires:checked) .et-search__panel--tires,
	.et-search:has(.et-search__cat--wheels:checked) .et-search__panel--wheels,
	.et-search:has(.et-search__cat--parts:checked) .et-search__panel--parts,
	.et-search__panel:has(.et-search__method--size:checked) .et-search__pane--size,
	.et-search__panel:has(.et-search__method--vehicle:checked) .et-search__pane--vehicle {
		display: block;
	}
}

@media (min-width: 641px) {
	.et-search {
		padding: var(--wp--preset--spacing--24);
	}
}

@media (min-width: 1024px) {
	.et-search__fields:not(.et-search__fields--more) {
		grid-template-columns: repeat(var(--et-search-cols, 3), minmax(0, 1fr)) auto;
	}

	.et-search__fields:not(.et-search__fields--more) .et-search__submit {
		grid-column: auto;
		padding-inline: var(--wp--preset--spacing--32);
	}
}

/* ---------------------------------------------------------------------------
   Featured products (WooCommerce Product Collection) - cards with equal heights
--------------------------------------------------------------------------- */
.et-products ul.wc-block-product-template {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--24);
	margin: 0;
	padding: 0;
	list-style: none;
}

.et-products ul.wc-block-product-template > li {
	position: relative; /* keeps screen-reader-only text inside the sideways scroll row */
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	width: auto !important; /* WooCommerce sets a calc() width for its flex layout. */
	margin: 0;
	padding: 0 0 var(--wp--preset--spacing--16);
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border-subtle);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.et-products ul.wc-block-product-template > li > * {
	margin: 0;
}

.et-products ul.wc-block-product-template > li > :not(.wc-block-components-product-image):not(.et-product__more) {
	padding-inline: var(--wp--preset--spacing--16);
}

.et-products .wc-block-components-product-image {
	aspect-ratio: 4 / 3;
	background-color: var(--wp--preset--color--surface-muted);
}

.et-products .wc-block-components-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.et-product__title a {
	color: var(--wp--preset--color--text-primary);
}

.et-products ul.wc-block-product-template > li > .et-product__price {
	margin-top: auto;
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 1.23;
}

.et-products ul.wc-block-product-template > li > .wp-block-read-more.et-product__more {
	display: block;
	align-self: stretch;
	width: auto; /* core sets fit-content */
	margin-inline: var(--wp--preset--spacing--16);
	padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
	border-radius: var(--wp--custom--radius--control);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-align: center;
	text-decoration: none;
}

/* Below 1280px the row scrolls sideways (CSS scroll-snap, no JS), as in the Figma frames. */
@media (max-width: 1279px) {
	.et-products ul.wc-block-product-template {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: calc((100% - 3 * var(--wp--preset--spacing--24)) / 3.4);
		overflow-x: auto;
		padding-bottom: var(--wp--preset--spacing--8);
		scroll-snap-type: x proximity;
	}

	.et-products ul.wc-block-product-template > li {
		scroll-snap-align: start;
	}
}

@media (max-width: 640px) {
	.et-products ul.wc-block-product-template {
		grid-auto-columns: 65%;
	}
}

/* ---------------------------------------------------------------------------
   Brands
--------------------------------------------------------------------------- */
.et-brands.et-brands {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(var(--wp--custom--layout--compact-min-width), 1fr);
	gap: var(--wp--preset--spacing--16);
	overflow-x: auto;
	scroll-snap-type: x proximity;
}

.et-brands.et-brands > .et-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--et-brand-tile-height);
	margin: 0;
	padding: var(--wp--preset--spacing--12);
	border: 1px solid var(--wp--preset--color--border-subtle);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-align: center;
	scroll-snap-align: start;
}

.et-brand a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--et-brand-tile-height);
	margin: calc(-1 * var(--wp--preset--spacing--12));
	padding: var(--wp--preset--spacing--12);
	color: var(--wp--preset--color--text-primary);
}

.et-brand a:hover {
	text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   Trust strip
--------------------------------------------------------------------------- */
.et-section--trust {
	border-block: 1px solid var(--wp--preset--color--border-subtle);
}

.et-trust-item.et-trust-item {
	display: flex;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--12);
}

.et-trust-item__icon {
	flex: none;
	color: var(--wp--preset--color--text-brand);
}

.et-trust-item__icon .et-svg {
	width: var(--wp--preset--spacing--20);
	height: var(--wp--preset--spacing--20);
}

.et-trust-item__text.et-trust-item__text > * {
	margin: 0;
}

.et-trust-item__text p {
	min-height: calc(2 * 1.43em);
}

/* ---------------------------------------------------------------------------
   FAQ
--------------------------------------------------------------------------- */
.et-faq.et-faq {
	display: grid;
	gap: var(--wp--preset--spacing--32);
}

.et-faq__intro {
	max-width: var(--wp--custom--layout--side-column-max-width);
}

.et-faq__intro > * + * {
	margin-top: var(--wp--preset--spacing--16);
}

.et-faq__list.et-faq__list > * {
	margin: 0;
}

.et-faq__list .wp-block-details {
	padding-block: var(--wp--preset--spacing--16);
	border-bottom: 1px solid var(--wp--preset--color--border-subtle);
}

.et-faq__list summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--16);
	font-weight: var(--wp--custom--font-weight--semibold);
	list-style: none;
	cursor: pointer;
}

.et-faq__list summary::-webkit-details-marker {
	display: none;
}

.et-faq__list summary::after {
	content: "+";
	font-size: var(--wp--preset--font-size--h-3);
	line-height: 1;
}

.et-faq__list details[open] > summary::after {
	content: "\2212";
}

.et-faq__list .wp-block-details > :not(summary) {
	margin-top: var(--wp--preset--spacing--8);
	color: var(--wp--preset--color--text-secondary);
}

@media (min-width: 768px) {
	.et-faq.et-faq {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
		gap: var(--wp--preset--spacing--48);
	}
}

/* ---------------------------------------------------------------------------
   Step 3: product lists (shop, category, brand, tag, search) and product page
   Native WooCommerce blocks, styled with tokens only. No theme JavaScript.
--------------------------------------------------------------------------- */
:root {
	--et-sidebar-width: 280px; /* Figma: filter column of the desktop list. */
	--et-pdp-gap: var(--wp--preset--spacing--48);
	--et-card-image-ratio: 4 / 3;
}

.wp-block-woocommerce-breadcrumbs,
.wc-block-breadcrumbs {
	margin-block: 0 var(--wp--preset--spacing--16);
	font-size: var(--wp--preset--font-size--label);
	color: var(--wp--preset--color--text-secondary);
}

.wc-block-breadcrumbs a {
	color: var(--wp--preset--color--text-secondary);
	text-decoration: none;
}

.wc-block-breadcrumbs a:hover {
	text-decoration: underline;
}

.et-main .woocommerce-notices-wrapper:empty {
	display: none;
}

/* Title block: one H1, result count, optional "Size: ... Change" panel. */
.et-list-head.et-list-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--16);
	margin: 0 0 var(--wp--preset--spacing--24);
}

.et-list-head.et-list-head > *,
.et-list-head__title.et-list-head__title > * {
	margin: 0;
}

.et-list-head .wp-block-query-title {
	font-size: var(--wp--preset--font-size--h-2);
	font-weight: var(--wp--custom--font-weight--extrabold);
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.et-result-count {
	margin-top: var(--wp--preset--spacing--4);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
}

.et-size-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--16);
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--4) var(--wp--preset--spacing--4) var(--wp--preset--spacing--16);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-muted);
}

.et-size-panel__text {
	margin: 0;
}

.et-button.et-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--et-field-height);
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
	border-radius: var(--wp--custom--radius--control);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-decoration: none;
}

.et-button--ghost.et-button--ghost {
	background-color: transparent;
	color: var(--wp--preset--color--text-primary);
}

.et-button--ghost.et-button--ghost:hover {
	background-color: var(--wp--preset--color--surface-page);
}

/* List layout. Mobile: sticky bar (Filters + Sort), chips, grid. Desktop (>= 783px, the
   WooCommerce filter breakpoint): filter column on the left, grid on the right. */
.et-list.et-list {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
}

.et-list.et-list > *,
.et-list__bar.et-list__bar > *,
.et-list__main.et-list__main > * {
	margin: 0;
}

.et-list__bar.et-list__bar {
	position: sticky;
	top: var(--et-header-height); /* below the sticky header */
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--8);
	padding-block: var(--wp--preset--spacing--8);
	background-color: var(--wp--preset--color--surface-page);
}

.et-list__bar > * {
	flex: 1 1 0;
	min-width: 0;
}

.et-list__main.et-list__main {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--24);
	min-width: 0;
}

@media (min-width: 783px) {
	.et-list.et-list {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto; /* first column = filter panel; it collapses when the panel is hidden (empty list) */
		grid-template-rows: auto auto 1fr;
		column-gap: 0;
		row-gap: 0;
		align-items: start;
	}

	.et-list__bar.et-list__bar {
		display: contents;
	}

	.et-list__bar .et-filters.et-filters {
		grid-column: 1;
		grid-row: 1 / span 3;
		width: var(--et-sidebar-width);
		margin-right: var(--wp--preset--spacing--32);
	}

	/* Toolbar row 1: result count left, sort right (same width as the size bar). */
	.et-list > .et-list__count {
		grid-column: 2;
		grid-row: 1;
		align-self: center;
		padding-right: var(--wp--preset--spacing--16);
	}

	.et-list__bar .et-list__sort {
		grid-column: 3;
		grid-row: 1;
		width: calc(15 * var(--wp--preset--spacing--16));
	}

	/* Toolbar row 2: active chips (hidden when empty). */
	.et-list > .et-active-filters {
		grid-column: 2 / -1;
		grid-row: 2;
		margin-top: var(--wp--preset--spacing--12);
	}

	.et-list > .et-list__main {
		grid-column: 2 / -1;
		grid-row: 3;
		margin-top: var(--wp--preset--spacing--16);
	}
}

/* Sort. */
.et-list__sort .woocommerce-ordering {
	margin: 0;
}

.et-list__sort select,
.et-pdp__buy select {
	width: 100%;
	min-height: var(--et-field-height);
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-input);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small);
}

/* Filters (native WooCommerce Product Filters). WooCommerce 11.1 switches to the full-screen
   panel at 600px, 11.2+ at 782px. Between 601px and 782px the rules below give the 11.1 markup
   the same panel behaviour, so the page layout (sidebar from 783px) is the same on both. */
@media (min-width: 601px) and (max-width: 782px) {
	.et-filters .wc-block-product-filters__open-overlay,
	.et-filters .wc-block-product-filters__overlay-header,
	.et-filters .wc-block-product-filters__overlay-footer {
		display: flex;
	}

	.et-filters .wc-block-product-filters__overlay {
		position: fixed;
		inset: 0;
		flex-grow: 0;
		background-color: transparent;
		pointer-events: none;
		transition: background-color 0.3s;
	}

	.et-filters.is-overlay-opened .wc-block-product-filters__overlay {
		z-index: 9999;
		background-color: color-mix(in srgb, var(--wp--preset--color--text-primary) 35%, transparent);
		pointer-events: auto;
	}

	.et-filters .wc-block-product-filters__overlay-wrapper {
		position: relative;
		width: 100%;
		height: 100%;
	}

	.et-filters .wc-block-product-filters__overlay-dialog {
		position: absolute;
		inset: 0;
		display: flex;
		flex-direction: column;
		max-height: 100%;
		transform: translateY(100vh);
		transition: none;
	}

	.et-filters.is-overlay-opened .wc-block-product-filters__overlay-dialog {
		transform: translateY(0);
		transition: transform 0.3s;
	}

}

@media (max-width: 782px) {
	.et-filters .wc-block-product-filters__overlay-header {
		padding: var(--wp--preset--spacing--16) var(--wp--preset--spacing--16) 0;
	}

	.et-filters .wc-block-product-filters__overlay-content {
		overflow-y: auto;
		padding: 0 var(--wp--preset--spacing--16);
	}

	.et-filters .wc-block-product-filters__overlay-footer {
		padding: var(--wp--preset--spacing--16);
		border-top: 1px solid var(--wp--preset--color--border-subtle);
	}
}

.et-filters.et-filters {
	display: block;
	width: 100%;
	min-width: 0;
}

.et-filters fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.et-filters .wc-block-product-filters__open-overlay {
	justify-content: center;
	width: 100%;
	min-height: var(--et-field-height);
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
	border: 2px solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-filters .wc-block-product-filters__apply {
	min-height: var(--et-field-height);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--action-primary);
	color: var(--wp--preset--color--text-inverse);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-filters .wc-block-product-filters__overlay-dialog {
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
}

.et-filters .wc-block-product-filters__overlay-content {
	gap: 0;
}

.et-filters__title.et-filters__title {
	margin: 0 0 var(--wp--preset--spacing--8);
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: var(--wp--custom--font-weight--bold);
}

.et-filter.et-filter {
	padding-block: var(--wp--preset--spacing--16);
	border-top: 1px solid var(--wp--preset--color--border-subtle);
}

.et-filter__title.et-filter__title {
	margin: 0 0 var(--wp--preset--spacing--12);
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 1.4;
}

.et-filters .wc-block-product-filter-checkbox-list__items {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
}

.et-filters .wc-block-product-filter-checkbox-list__label {
	display: flex;
	width: 100%;
	font-size: var(--wp--preset--font-size--base);
	cursor: pointer;
}

.et-filters .wc-block-product-filter-checkbox-list__input-wrapper::before {
	display: none;
}

.et-filters input[type="checkbox"].wc-block-product-filter-checkbox-list__input {
	width: var(--et-icon-size);
	height: var(--et-icon-size);
	border: 1px solid var(--wp--preset--color--border-input);
	border-radius: var(--wp--preset--spacing--4);
	background-color: var(--wp--preset--color--surface-page);
}

.et-filters input[type="checkbox"].wc-block-product-filter-checkbox-list__input:checked {
	border-color: var(--wp--preset--color--action-primary);
	background-color: var(--wp--preset--color--action-primary);
}

.et-filters svg.wc-block-product-filter-checkbox-list__mark {
	width: var(--et-icon-size);
	height: var(--et-icon-size);
	color: var(--wp--preset--color--text-inverse);
}

.et-filters .wc-block-product-filter-checkbox-list__text-wrapper {
	flex: 1;
	justify-content: space-between;
	font-size: var(--wp--preset--font-size--base);
}

.et-filters .wc-block-product-filter-checkbox-list__count {
	font-size: var(--wp--preset--font-size--label);
	color: var(--wp--preset--color--text-secondary);
}

.et-filters .wc-block-product-filter-price-slider__content {
	grid-template-areas:
		"price-slider price-slider"
		"left-input right-input";
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--wp--preset--spacing--8) var(--wp--preset--spacing--12);
	min-width: 0;
	max-width: 100%;
}

.et-filters .wc-block-product-filter-price-slider__range {
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.et-filters .wc-block-product-filter-price-slider__left,
.et-filters .wc-block-product-filter-price-slider__right {
	min-width: 0;
}

.et-filters .wc-block-product-filter-price-slider__content input[type="text"] {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	min-height: var(--et-field-height);
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--12);
	border: 1px solid var(--wp--preset--color--border-input);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--base);
}

/* Active filter chips + Clear all. */
.et-active-filters {
	display: block;
}

.et-active-filters [hidden],
.et-active-filters .wc-block-product-filter--hidden {
	display: none !important;
}

.et-active-filters:has(> .wp-block-woocommerce-product-filter-active[hidden]) {
	display: none;
}

/* No filter group has options (empty list): hide the whole panel and its button. */
.et-filters:not(:has(.et-filter:not(.wc-block-product-filter--hidden))) {
	display: none;
}

/* The sticky bar is a stacking context: lift it while the filter panel is open so the panel covers the header. */
.et-list__bar:has(.is-overlay-opened) {
	z-index: 10000;
}

.et-active-filters .wp-block-woocommerce-product-filter-active {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
}

.et-active-filters .wp-block-woocommerce-product-filter-active > * {
	margin: 0;
}

.et-active-filters .wc-block-product-filter-removable-chips__items {
	gap: var(--wp--preset--spacing--8);
}

.et-active-filters .wc-block-product-filter-removable-chips__items .wc-block-product-filter-removable-chips__item {
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--action-dark);
	color: var(--wp--preset--color--text-inverse);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-active-filters .wc-block-product-filter-removable-chips__remove {
	color: var(--wp--preset--color--text-inverse);
}

.et-active-filters .wc-block-product-filter-clear-button button,
.et-active-filters .wc-block-product-filter-clear-button a {
	padding: var(--wp--preset--spacing--8);
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--text-primary);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-decoration: none;
}

/* Product grid: equal heights, price + button pinned to the bottom. The same cards
   are used by the list and the related products. */
.et-products.et-catalog ul.wc-block-product-template {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--wp--custom--layout--card-min-width--default)), 1fr));
	grid-auto-flow: row;
	grid-auto-columns: auto;
	align-items: stretch;
	gap: var(--wp--preset--spacing--24);
	overflow: visible;
	padding: 0;
	scroll-snap-type: none;
}

.et-catalog ul.wc-block-product-template > li {
	min-width: 0;
	scroll-snap-align: none;
}

.et-catalog ul.wc-block-product-template > li > .et-product__brand,
.et-catalog ul.wc-block-product-template > li > .et-field {
	margin: 0;
}

.et-catalog .wc-block-components-product-image {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: var(--et-card-image-ratio);
}

.et-catalog .wc-block-components-product-image a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.et-catalog .wc-block-components-product-image img {
	width: 100%;
	height: 100%;
	max-height: 100%;
	object-fit: contain;
}

.et-product__brand.et-product__brand,
.et-product__brand a {
	font-size: var(--wp--preset--font-size--label);
	color: var(--wp--preset--color--text-secondary);
	text-decoration: none;
}

.et-catalog .et-product__title {
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 1.3;
	overflow-wrap: anywhere;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.et-field--spec {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
}

.et-stock {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
	font-size: var(--wp--preset--font-size--label);
	line-height: 1.4;
}

.et-stock::before {
	content: "";
	flex: none;
	width: var(--wp--preset--spacing--8);
	height: var(--wp--preset--spacing--8);
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--status-success);
}

.et-stock--low::before {
	background-color: var(--wp--preset--color--status-warning);
}

.et-stock--out::before {
	background-color: var(--wp--preset--color--text-placeholder);
}

.et-catalog ul.wc-block-product-template > li > .et-product__pricing {
	margin-top: auto;
	align-items: baseline;
	gap: var(--wp--preset--spacing--8);
}

.et-product__pricing .wc-block-components-product-price,
.et-pdp__pricing .wc-block-components-product-price {
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 1.23;
}

.et-product__pricing .wc-block-components-product-price del,
.et-pdp__pricing .wc-block-components-product-price del {
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--regular);
	color: var(--wp--preset--color--text-secondary);
}

.et-product__pricing .wc-block-components-product-price ins,
.et-pdp__pricing .wc-block-components-product-price ins {
	text-decoration: none;
}

.et-product__pricing > .wp-block-woocommerce-product-price,
.et-pdp__pricing > .wp-block-woocommerce-product-price {
	margin: 0;
}

.et-field--unit,
.et-field--set-price {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
}

.et-catalog ul.wc-block-product-template > li > .et-product__pricing + .et-field--set-price {
	margin-top: calc(-1 * var(--wp--preset--spacing--4));
}

.et-catalog ul.wc-block-product-template > li.outofstock .et-product__pricing {
	color: var(--wp--preset--color--text-secondary);
}

/* Out of stock label sits on the image tile and does not change the card height. */
.et-catalog ul.wc-block-product-template > li > .et-field--badge {
	position: absolute;
	top: var(--wp--preset--spacing--12);
	left: var(--wp--preset--spacing--12);
	z-index: 1;
	padding: 0;
}

.et-badge {
	display: inline-block;
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--8);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--status-error-tint);
	color: var(--wp--preset--color--status-error);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 1.3;
}

/* Mobile: compact row card (Figma "Row" variant: image left, text right). */
@media (max-width: 640px) {
	.et-products.et-catalog ul.wc-block-product-template {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--12);
	}

	.et-catalog:not(.et-related) ul.wc-block-product-template > li {
		display: grid;
		grid-template-columns: calc(7 * var(--wp--preset--spacing--16)) minmax(0, 1fr);
		column-gap: var(--wp--preset--spacing--12);
		row-gap: var(--wp--preset--spacing--4);
		align-content: start;
		padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--12) var(--wp--preset--spacing--12) 0;
	}

	.et-catalog:not(.et-related) ul.wc-block-product-template > li > * {
		grid-column: 2;
		padding-inline: 0;
	}

	.et-catalog:not(.et-related) ul.wc-block-product-template > li > .wc-block-components-product-image {
		grid-column: 1;
		grid-row: 1 / span 9;
		align-self: stretch;
		aspect-ratio: auto;
		margin: calc(-1 * var(--wp--preset--spacing--12)) 0;
	}

	.et-catalog:not(.et-related) ul.wc-block-product-template > li > .et-field--badge {
		top: var(--wp--preset--spacing--8);
		left: var(--wp--preset--spacing--8);
		grid-column: 1;
		grid-row: 1;
	}

	.et-catalog:not(.et-related) ul.wc-block-product-template > li > .wp-block-read-more.et-product__more {
		margin-inline: 0;
		margin-top: var(--wp--preset--spacing--8);
	}

	.et-catalog:not(.et-related) .et-field--set-price {
		display: none;
	}
}

/* View details: full-width outline button at the bottom of every card. */
.et-catalog ul.wc-block-product-template > li > .wp-block-read-more.et-product__more {
	margin-top: var(--wp--preset--spacing--8);
}

/* Pagination. */
.et-pagination.et-pagination {
	justify-content: center;
	gap: var(--wp--preset--spacing--8);
	margin-top: var(--wp--preset--spacing--32);
}

.et-pagination .wp-block-query-pagination-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--wp--preset--spacing--8);
}

.et-pagination .page-numbers,
.et-pagination .wp-block-query-pagination-previous,
.et-pagination .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--wp--preset--spacing--40);
	min-height: var(--wp--preset--spacing--40);
	padding-inline: var(--wp--preset--spacing--8);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-decoration: none;
}

.et-pagination .wp-block-query-pagination-previous,
.et-pagination .wp-block-query-pagination-next {
	font-size: 0; /* the link text stays for screen readers, only the arrow is drawn (design: round arrow buttons) */
}

.et-pagination .wp-block-query-pagination-previous-arrow,
.et-pagination .wp-block-query-pagination-next-arrow {
	margin: 0;
	font-size: var(--wp--preset--font-size--base);
}

.et-pagination a.page-numbers:hover,
.et-pagination .wp-block-query-pagination-previous:hover,
.et-pagination .wp-block-query-pagination-next:hover {
	background-color: var(--wp--preset--color--surface-muted);
}

.et-pagination .page-numbers.current {
	border-color: var(--wp--preset--color--action-dark);
	background-color: var(--wp--preset--color--action-dark);
	color: var(--wp--preset--color--text-inverse);
}

/* Empty state card. */
.et-empty.et-empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--12);
	max-width: var(--wp--custom--layout--side-column-max-width);
	padding: var(--wp--preset--spacing--24);
	border: 1px solid var(--wp--preset--color--border-subtle);
	border-radius: var(--wp--custom--radius--panel);
	background-color: var(--wp--preset--color--surface-subtle);
}

.et-empty.et-empty > * {
	margin: 0;
}

.et-empty__title.et-empty__title {
	font-size: var(--wp--preset--font-size--h-3);
}

.et-empty__actions.et-empty__actions {
	width: 100%;
	flex-direction: column;
	align-items: stretch;
}

.et-empty__actions .wp-block-button {
	width: 100%;
}

.et-empty__actions .wp-block-button__link {
	display: block;
	text-align: center;
}

.et-list-about {
	margin-top: var(--wp--preset--spacing--48);
	max-width: var(--wp--custom--layout--prose-max-width);
	color: var(--wp--preset--color--text-secondary);
}

.et-list-about:empty {
	display: none;
}

/* Slots for plugin output (ZIP block, fitment): spacing only, the plugin owns its own styling. */
.et-slot {
	margin: 0;
}

/* --- Product page ------------------------------------------------------- */
.et-pdp.et-pdp {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--24);
	align-items: start;
}

.et-pdp.et-pdp > * {
	margin: 0;
}

@media (min-width: 783px) {
	.et-pdp.et-pdp {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--et-pdp-gap);
	}
}

.et-pdp__gallery .woocommerce-product-gallery {
	opacity: 1 !important; /* WooCommerce sets opacity 0 until its slider script runs; the theme does not need it. */
	margin: 0;
}

.et-pdp__gallery .woocommerce-product-gallery__wrapper {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--8);
	margin: 0;
}

.et-pdp__gallery .woocommerce-product-gallery__image,
.et-pdp__gallery .woocommerce-product-gallery__image--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-muted);
}

.et-pdp__gallery .woocommerce-product-gallery__wrapper > :first-child {
	grid-column: 1 / -1;
	aspect-ratio: 6 / 5;
}

/* WooCommerce sets width: 25% and inline-block on the 2nd+ images; the grid decides here. */
.et-pdp__gallery .woocommerce-product-gallery.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(n+2) {
	display: flex;
	width: auto;
}

.et-pdp__gallery .woocommerce-product-gallery.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image a {
	display: flex;
}

@media (min-width: 783px) {
	.et-pdp__gallery .woocommerce-product-gallery__wrapper > :first-child {
		aspect-ratio: 1;
	}
}

.et-pdp__gallery .woocommerce-product-gallery__image a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.et-pdp__gallery .woocommerce-product-gallery__image img,
.et-pdp__gallery .woocommerce-product-gallery__image--placeholder img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.et-pdp__gallery .woocommerce-product-gallery__wrapper > :first-child img {
	margin: auto;
}

.et-pdp__gallery .woocommerce-product-gallery__image--placeholder img {
	width: 100%;
	height: 100%;
}

.et-pdp__gallery .flex-control-thumbs,
.et-pdp__gallery .woocommerce-product-gallery__trigger {
	display: none;
}

.et-pdp__summary.et-pdp__summary {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
	min-width: 0;
}

.et-pdp__summary.et-pdp__summary > * {
	margin: 0;
}

.et-pdp__title.et-pdp__title {
	font-size: var(--wp--preset--font-size--h-2);
	font-weight: var(--wp--custom--font-weight--extrabold);
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.et-pdp__pricing.et-pdp__pricing {
	align-items: baseline;
	gap: var(--wp--preset--spacing--8);
	margin-top: var(--wp--preset--spacing--4);
}

.et-pdp__excerpt {
	color: var(--wp--preset--color--text-secondary);
}

.et-pdp__buy .quantity {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	margin-bottom: var(--wp--preset--spacing--12);
}

.et-pdp__buy .quantity label.screen-reader-text {
	position: static !important; /* WooCommerce hides this label with !important; the design shows "Quantity" above the field. */
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	clip: auto !important;
	clip-path: none !important;
	overflow: visible !important;
	white-space: normal !important;
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-pdp__buy .quantity input.qty {
	width: calc(5 * var(--wp--preset--spacing--32));
	max-width: 100%;
	min-height: var(--et-field-height);
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--12);
	border: 1px solid var(--wp--preset--color--border-input);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--base);
	text-align: center;
}

.et-pdp__buy .single_add_to_cart_button {
	width: 100%;
	min-height: var(--et-button-height);
	border: 0;
	border-radius: var(--wp--custom--radius--control);
	font-family: inherit;
	cursor: pointer;
}

.et-pdp__buy .single_add_to_cart_button.disabled,
.et-pdp__buy .single_add_to_cart_button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.et-pdp__buy form.cart,
.et-pdp__buy .woocommerce-variation-add-to-cart {
	display: block;
	margin: 0;
}

.et-pdp__buy table.variations {
	width: 100%;
	margin-bottom: var(--wp--preset--spacing--12);
	border: 0;
}

.et-pdp__buy table.variations th,
.et-pdp__buy table.variations td {
	display: block;
	padding: 0 0 var(--wp--preset--spacing--8);
	border: 0;
	text-align: left;
}

.et-pdp__buy p.stock {
	display: none; /* The stock line above the price already says it. */
}

.et-pdp__notice {
	margin: 0;
}

/* Specifications + description. */
.et-pdp__details {
	margin-top: var(--wp--preset--spacing--48);
}

.et-specs__title,
.et-description__title,
.et-related__title.et-related__title {
	margin: 0 0 var(--wp--preset--spacing--16);
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: var(--wp--custom--font-weight--bold);
}

.et-specs__list {
	margin: 0;
}

.et-specs__row {
	display: flex;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--16);
	padding-block: var(--wp--preset--spacing--12);
	border-bottom: 1px solid var(--wp--preset--color--border-subtle);
}

.et-specs__row dt {
	color: var(--wp--preset--color--text-secondary);
}

.et-specs__row dd {
	margin: 0;
	font-weight: var(--wp--custom--font-weight--semibold);
	text-align: right;
	overflow-wrap: anywhere;
}

/* 1.0.12: plugin spec rows (woocommerce_display_product_attributes) may wrap values in <p>. */
.et-specs__row dd > p {
	margin: 0;
}

.et-description {
	margin-top: var(--wp--preset--spacing--32);
	max-width: var(--wp--custom--layout--prose-max-width);
}

/* Related products. */
.et-related.et-related {
	margin-top: var(--wp--preset--spacing--64);
}

.et-related:not(:has(li)) {
	display: none;
}

/* ---------------------------------------------------------------------------
   0.3.2 list polish: native selects, filters, toolbar, cards and the plugin
   fitment form ("Shop by Vehicle"). Tokens only. The fitment form is plugin
   markup: only CSS scoped to its own data-atd-* / atdcommerce-* hooks is used.
--------------------------------------------------------------------------- */

/* Native selects, project wide: custom arrow (drawn with token colors, no image file) and
   enough right padding so the text never runs under the arrow. */
.et-search__select,
.et-list__sort select,
.et-pdp__buy select,
.woocommerce-ordering select,
.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__field select {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	max-width: 100%;
	min-height: var(--et-field-height);
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--40) var(--wp--preset--spacing--8) var(--wp--preset--spacing--12);
	border: 1px solid var(--wp--preset--color--border-input);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	background-image:
		linear-gradient(45deg, transparent 50%, currentcolor 50%),
		linear-gradient(135deg, currentcolor 50%, transparent 50%);
	background-position:
		calc(100% - var(--wp--preset--spacing--20)) 50%,
		calc(100% - var(--wp--preset--spacing--16)) 50%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	color: var(--wp--preset--color--text-primary);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.4;
	text-overflow: ellipsis;
	cursor: pointer;
}

.et-search__select:disabled,
.et-list__sort select:disabled,
.et-pdp__buy select:disabled,
.woocommerce-ordering select:disabled,
.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__field select:disabled {
	border-color: var(--wp--preset--color--border-default);
	background-color: var(--wp--preset--color--surface-muted);
	color: var(--wp--preset--color--text-placeholder);
	cursor: not-allowed;
}

/* Title block: smaller gap, count right under the title (shown once). */
.et-list-head.et-list-head {
	margin-bottom: var(--wp--preset--spacing--16);
}

.et-result-count {
	margin-top: var(--wp--preset--spacing--4);
}

/* Toolbar: one row, sort aligned like the other controls. */
.et-list__sort .woocommerce-ordering,
.et-list__sort form {
	margin: 0;
}

.et-list__bar.et-list__bar {
	padding-block: var(--wp--preset--spacing--8);
	border-bottom: 1px solid var(--wp--preset--color--border-subtle);
}

@media (min-width: 783px) {
	.et-list__bar.et-list__bar {
		padding-block: 0;
		border-bottom: 0;
	}
}

/* Filter column: lighter and tighter. */
.et-filters__title.et-filters__title {
	margin: 0 0 var(--wp--preset--spacing--4);
	font-size: var(--wp--preset--font-size--body-l);
}

.et-filter.et-filter {
	padding-block: var(--wp--preset--spacing--12);
	border-top: 1px solid var(--wp--preset--color--border-subtle);
}

.et-filter__title.et-filter__title {
	margin: 0 0 var(--wp--preset--spacing--8);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--bold);
	letter-spacing: 0.02em;
}

.et-filters .wc-block-product-filter-checkbox-list__items {
	gap: var(--wp--preset--spacing--4);
}

.et-filters .wc-block-product-filter-checkbox-list__label {
	align-items: center;
	gap: var(--wp--preset--spacing--8);
	min-height: var(--wp--preset--spacing--32);
}

.et-filters .wc-block-product-filter-checkbox-list__text-wrapper,
.et-filters .wc-block-product-filter-checkbox-list__text {
	align-items: center;
	font-size: var(--wp--preset--font-size--small);
}

.et-filters input[type="checkbox"].wc-block-product-filter-checkbox-list__input,
.et-filters svg.wc-block-product-filter-checkbox-list__mark {
	width: var(--wp--preset--spacing--20);
	height: var(--wp--preset--spacing--20);
}

.et-filters .wc-block-product-filter-checkbox-list__count {
	min-width: var(--wp--preset--spacing--32);
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* Long value lists scroll inside the column (about 7 rows) instead of making the page very long. */
@media (min-width: 783px) {
	.et-filters .wc-block-product-filter-checkbox-list__items {
		max-height: calc(7 * var(--wp--preset--spacing--32));
		overflow-y: auto;
		padding-right: var(--wp--preset--spacing--4);
		scrollbar-width: thin;
		scrollbar-color: var(--wp--preset--color--border-default) transparent;
	}
}

/* Cards: quiet border, soft hover, one hierarchy: brand, name, spec, stock, price, button. */
.et-catalog ul.wc-block-product-template > li {
	border-color: var(--wp--preset--color--border-subtle);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.et-catalog ul.wc-block-product-template > li:hover,
.et-catalog ul.wc-block-product-template > li:focus-within {
	border-color: var(--wp--preset--color--border-default);
	box-shadow: 0 var(--wp--preset--spacing--4) var(--wp--preset--spacing--16) color-mix(in srgb, var(--wp--preset--color--text-primary) 8%, transparent);
}

.et-catalog ul.wc-block-product-template > li > .et-product__brand {
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-catalog .et-product__title {
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.3;
}

.et-catalog .wp-block-woocommerce-product-price,
.et-catalog .et-product__pricing .wc-block-components-product-price {
	font-size: var(--wp--preset--font-size--h-3);
}

.et-catalog ul.wc-block-product-template > li > .wp-block-read-more.et-product__more {
	border-width: 1px;
}

@media (prefers-reduced-motion: reduce) {
	.et-catalog ul.wc-block-product-template > li {
		transition: none;
	}
}

/* Plugin fitment form ("Shop by Vehicle"), styled like the search widget: light panel, small
   labels, outlined selects, red primary button. Plugin markup, JS and behavior are untouched. */
.atdcommerce-fitment[data-atd-fitment] {
	--atd-fitment-border-radius: var(--wp--custom--radius--card);
	--atd-fitment-gap: var(--wp--preset--spacing--12);
	--atd-fitment-field-gap: var(--wp--preset--spacing--4);
	margin: 0 0 var(--wp--preset--spacing--24);
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-subtle);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-subtle);
	color: var(--wp--preset--color--text-primary);
}

.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 1.3;
}

.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__hint {
	margin: var(--wp--preset--spacing--4) 0 var(--wp--preset--spacing--12);
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--label);
	line-height: 1.4;
}

.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__form {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: end;
}

.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__field label {
	margin-bottom: var(--wp--preset--spacing--4);
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--medium);
}

.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--et-field-height);
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--24);
	border: 0;
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--action-primary);
	color: var(--wp--preset--color--text-inverse);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
}

.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__button:hover:not(:disabled) {
	background-color: var(--wp--preset--color--action-primary-hover);
}

.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__button:disabled {
	background-color: var(--wp--preset--color--surface-muted);
	color: var(--wp--preset--color--text-placeholder);
	cursor: not-allowed;
}

/* Empty status / results boxes take no space. */
.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__status {
	min-height: 0;
	margin-top: var(--wp--preset--spacing--12);
	font-size: var(--wp--preset--font-size--small);
}

.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__status:empty,
.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__results:empty {
	display: none;
}

@media (min-width: 1280px) {
	.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__form {
		grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
	}

	.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__button {
		width: auto;
	}
}

/* Phone: compact. Only the fields that are usable are shown (the plugin enables
   Make, Model, Trim and Trim option one after the other), so the panel starts as one row
   (Year + button) and the first product is visible sooner. The short hint is kept for
   screen readers only. */
@media (max-width: 640px) {
	.atdcommerce-fitment[data-atd-fitment] {
		margin-bottom: var(--wp--preset--spacing--16);
		padding: var(--wp--preset--spacing--12);
	}

	.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__hint {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__title {
		margin-bottom: var(--wp--preset--spacing--8);
	}

	.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__field:has(select:disabled) {
		display: none;
	}

	.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__actions {
		grid-column: 1 / -1;
	}

	.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__form:has(.atdcommerce-fitment__field:nth-child(2) select:disabled) .atdcommerce-fitment__actions {
		grid-column: 2;
	}
}

/* ---------------------------------------------------------------------------
   0.3.3 density: shorter chips, numeric filter grid, tighter list rhythm,
   compact size bar. Tokens only. No extra JavaScript.
--------------------------------------------------------------------------- */

/* List pages only: less empty space above the title. */
.et-main--list.et-section {
	padding-top: var(--wp--preset--spacing--16);
	padding-bottom: var(--wp--preset--spacing--24);
}

@media (min-width: 783px) {
	.et-main--list.et-section {
		padding-top: var(--wp--preset--spacing--24);
	}
}

.et-main--list .wp-block-woocommerce-breadcrumbs,
.et-main--list .wc-block-breadcrumbs {
	margin-block: 0 var(--wp--preset--spacing--8);
}

.et-main--list .et-list-head.et-list-head {
	margin-bottom: var(--wp--preset--spacing--12);
	align-items: center;
}

/* Sort select fills its 240 px column (same width as the size bar). */
.et-list__sort .woocommerce-ordering {
	float: none;
	width: 100%;
}

/* Size bar: compact (about 44-48 px), same 240 px width as the sort select on desktop. */
.et-size-panel {
	box-sizing: border-box;
	min-height: calc(3 * var(--wp--preset--spacing--16));
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--4) var(--wp--preset--spacing--4) var(--wp--preset--spacing--12);
	border-radius: var(--wp--custom--radius--control);
	gap: var(--wp--preset--spacing--8);
}

.et-size-panel__text {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.3;
}

.et-size-panel .et-button.et-button {
	box-sizing: border-box;
	min-height: calc(5 * var(--wp--preset--spacing--8));
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--12);
	font-size: var(--wp--preset--font-size--small);
}

@media (min-width: 783px) {
	.et-list-head .et-size-panel {
		width: calc(15 * var(--wp--preset--spacing--16));
		flex: 0 0 auto;
	}
}

/* Mobile / tablet: size bar is a full-width row under the title (Figma). */
@media (max-width: 782px) {
	.et-main--list .et-list-head.et-list-head,
	.et-list-head.et-list-head {
		flex-direction: column;
		align-items: stretch;
		gap: var(--wp--preset--spacing--8);
	}

	.et-list-head .et-size-panel {
		width: 100%;
	}
}

/* Toolbar count (desktop only). Mobile keeps the count under the H1. */
.et-list__count {
	display: none;
}

@media (min-width: 783px) {
	.et-list__count {
		display: block;
	}

	.et-list__count .et-result-count {
		margin: 0;
		font-size: var(--wp--preset--font-size--small);
		color: var(--wp--preset--color--text-secondary);
	}

	/* Avoid a double count under the title on desktop. */
	.et-list-head .et-result-count {
		display: none;
	}
}

/* Active chips: shorter, Clear all on the same row. */
.et-active-filters .wp-block-woocommerce-product-filter-active {
	gap: var(--wp--preset--spacing--8);
	row-gap: var(--wp--preset--spacing--4);
}

.et-active-filters .wc-block-product-filter-removable-chips__items {
	gap: var(--wp--preset--spacing--4);
}

.et-active-filters .wc-block-product-filter-removable-chips__items .wc-block-product-filter-removable-chips__item {
	box-sizing: border-box;
	min-height: var(--wp--preset--spacing--32);
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--12);
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--medium);
	line-height: 1.2;
}

.et-active-filters .wc-block-product-filter-clear-button {
	display: inline-flex;
	align-items: center;
}

.et-active-filters .wc-block-product-filter-clear-button button,
.et-active-filters .wc-block-product-filter-clear-button a {
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--8);
	box-sizing: border-box;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.2;
	min-height: var(--wp--preset--spacing--32);
}

/* Mobile chips: one horizontal scroll row so the first product is higher. */
@media (max-width: 782px) {
	.et-active-filters .wp-block-woocommerce-product-filter-active {
		flex-wrap: nowrap;
		align-items: center;
	}

	.et-active-filters .wc-block-product-filter-removable-chips {
		min-width: 0;
		flex: 0 1 auto;
	}

	.et-active-filters .wc-block-product-filter-removable-chips__items {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: thin;
		padding-bottom: var(--wp--preset--spacing--4);
		-webkit-overflow-scrolling: touch;
	}

	.et-active-filters .wc-block-product-filter-removable-chips__items .wc-block-product-filter-removable-chips__item {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.et-active-filters .wc-block-product-filter-clear-button {
		flex: 0 0 auto;
	}
}

/* Numeric filter groups: three compact columns of short values (Width, Aspect, Rim, ...). */
.et-filters .et-filter--numeric .wc-block-product-filter-checkbox-list__items {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--4) var(--wp--preset--spacing--12);
}

.et-filters .et-filter--numeric .wc-block-product-filter-checkbox-list__item {
	min-width: 0;
}

.et-filters .et-filter--numeric .wc-block-product-filter-checkbox-list__label {
	gap: var(--wp--preset--spacing--4);
	min-height: var(--wp--preset--spacing--32);
}

.et-filters .et-filter--numeric .wc-block-product-filter-checkbox-list__text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.et-filters .et-filter--numeric .wc-block-product-filter-checkbox-list__count {
	min-width: 0;
	font-size: var(--wp--preset--font-size--caption);
}

@media (min-width: 783px) {
	.et-filters .et-filter--numeric .wc-block-product-filter-checkbox-list__items {
		max-height: calc(5 * var(--wp--preset--spacing--32));
	}
}

/* Mobile Filters / Sort: Figma height 44. */
@media (max-width: 782px) {
	.et-filters .wc-block-product-filters__open-overlay,
	.et-list__sort select {
		min-height: calc(11 * var(--wp--preset--spacing--4));
	}
}

/* Fitment: less empty space under the form. */
.atdcommerce-fitment[data-atd-fitment] {
	margin-bottom: var(--wp--preset--spacing--16);
}

.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__form {
	gap: var(--wp--preset--spacing--12);
}

.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__field,
.atdcommerce-fitment[data-atd-fitment] .atdcommerce-fitment__actions {
	margin: 0;
}

.et-active-filters .wc-block-product-filter-removable-chips__remove-icon {
	width: var(--wp--preset--spacing--16);
	height: var(--wp--preset--spacing--16);
}

.et-active-filters .wp-block-woocommerce-product-filter-clear-button,
.et-active-filters .wp-block-woocommerce-product-filter-clear-button .wp-block-buttons,
.et-active-filters .wp-block-woocommerce-product-filter-clear-button .wp-block-button {
	margin: 0;
}


/* ---------------------------------------------------------------------------
   0.6.2 Cart matched to Figma 69:749 / 69:2 (native Cart block).
   0.6.1 Checkout matched to Figma 70:840 / 70:2 (native Checkout block).
   0.6.0 Brands and categories.
 * 0.5.3 My Account denser vertical rhythm (tighter title/content padding, nav, order rows, Quick links).
 * 0.5.2 My Account Figma layout (grey band, grid, order rows, Info Cards, nav tint).
 * 0.5.1 Fix My Account shortcode (do_shortcode in pattern).
 * 0.5.0 My Account pages (native WooCommerce endpoints, details/summary mobile nav).
 * 0.4.0 cart, checkout and order confirmation. Native WooCommerce blocks,
   theme tokens only. Plugin ZIP / availability notices are styled, not rewritten.
--------------------------------------------------------------------------- */

.et-main--order.et-section {
	padding-top: var(--wp--preset--spacing--24);
	padding-bottom: var(--wp--preset--spacing--40);
}

.et-account-head__title,
.et-order .wc-block-order-confirmation-status {
	margin: 0;
	font-size: var(--wp--preset--font-size--h-2);
	font-weight: var(--wp--custom--font-weight--extrabold);
	line-height: 1.15;
}

/* Cart: see the 0.6.2 section at the end of this file. */

/* Checkout: see the 0.6.1 section at the end of this file. */

.et-checkout .wc-block-components-notice-banner,
.et-cart .wc-block-components-notice-banner,
.wc-block-store-notices .wc-block-components-notice-banner {
	border-radius: var(--wp--custom--radius--control);
}

/* Order confirmation. */
.et-order.et-order {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--24);
}

.et-order__next.et-order__next {
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-subtle);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-subtle);
}

.et-order__next-title {
	margin: 0 0 var(--wp--preset--spacing--8);
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--bold);
}

.et-order__addresses {
	gap: var(--wp--preset--spacing--16);
}

.et-order .wc-block-order-confirmation-totals,
.et-order .wc-block-order-confirmation-summary {
	border-color: var(--wp--preset--color--border-subtle);
}
/* ==========================================================================
   My Account (0.5.3) — denser Figma rhythm
   ========================================================================== */

.et-main--account.et-main--account {
	padding-block: 0;
}

/* Title band: compact (Figma 72 felt sparse on live; use 32/40) */
.et-account-title-section.et-account-title-section {
	background-color: var(--wp--preset--color--surface-page);
	padding-block: var(--wp--preset--spacing--24) var(--wp--preset--spacing--24);
}

@media (min-width: 783px) {
	.et-account-title-section.et-account-title-section {
		padding-block: var(--wp--preset--spacing--32) var(--wp--preset--spacing--32);
	}
}

.et-account-head.et-account-head {
	margin: 0;
}

.et-account-head__sub.et-account-head__sub {
	margin: var(--wp--preset--spacing--8) 0 0;
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--body-l);
}

/* Grey content band: same compact padding */
.et-account-content-section.et-account-content-section {
	background-color: var(--wp--preset--color--surface-subtle);
	padding-block: var(--wp--preset--spacing--24);
}

@media (min-width: 783px) {
	.et-account-content-section.et-account-content-section {
		padding-block: var(--wp--preset--spacing--32);
	}
}

.et-account-body.et-account-body {
	min-width: 0;
}

/* Kill Woo floats; harden sidebar | content */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.et-is-account--logged-in .woocommerce-MyAccount-navigation,
.et-is-account--logged-in .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.woocommerce-account .woocommerce::after,
.woocommerce-account .woocommerce::before {
	content: none !important;
	display: none !important;
}

.et-is-account--logged-in .woocommerce {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
	align-items: stretch;
}

@media (min-width: 783px) {
	.et-is-account--logged-in .woocommerce {
		display: grid;
		grid-template-columns: var(--wp--custom--layout--account-nav-width) minmax(0, 1fr);
		gap: var(--wp--preset--spacing--24);
		align-items: start;
	}

	.et-is-account--logged-in .woocommerce-MyAccount-navigation {
		grid-column: 1;
		grid-row: 1;
		max-width: var(--wp--custom--layout--account-nav-width);
	}

	.et-is-account--logged-in .woocommerce-MyAccount-content {
		grid-column: 2;
		grid-row: 1;
		min-width: 0;
	}
}

/* Account nav — Figma: card pad 12, item gap 4, min-h 48 */
.et-account-nav.et-account-nav {
	margin: 0;
}

.et-account-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
}

.et-account-nav__list--desktop {
	display: none;
}

.et-account-nav__list li {
	margin: 0;
}

.et-account-nav__list a {
	display: flex;
	align-items: center;
	min-height: calc(12 * var(--wp--preset--spacing--4));
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
	border-radius: var(--wp--custom--radius--control);
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--regular);
	box-sizing: border-box;
}

.et-account-nav__list a:hover {
	background-color: var(--wp--preset--color--surface-subtle);
}

.et-account-nav__list .is-active > a,
.et-account-nav__list a[aria-current="page"] {
	background-color: var(--wp--preset--color--action-primary-tint);
	color: var(--wp--preset--color--text-brand);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-account-nav__list .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: var(--wp--preset--spacing--4);
	padding-top: var(--wp--preset--spacing--4);
	border-top: 1px solid var(--wp--preset--color--border-subtle);
}

.et-account-nav__list .woocommerce-MyAccount-navigation-link--customer-logout a {
	margin-top: 0;
}

.et-account-nav__mobile {
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
	overflow: hidden;
}

.et-account-nav__summary {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
	padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
	cursor: pointer;
	list-style: none;
	position: relative;
	min-height: calc(18 * var(--wp--preset--spacing--4));
	box-sizing: border-box;
}

.et-account-nav__summary::-webkit-details-marker {
	display: none;
}

.et-account-nav__summary::after {
	content: "";
	position: absolute;
	right: var(--wp--preset--spacing--16);
	top: 50%;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--wp--preset--color--text-secondary);
	border-bottom: 2px solid var(--wp--preset--color--text-secondary);
	transform: translateY(-70%) rotate(45deg);
}

.et-account-nav__mobile[open] .et-account-nav__summary::after {
	transform: translateY(-20%) rotate(225deg);
}

.et-account-nav__summary-label {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
}

.et-account-nav__summary-current {
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--bold);
	color: var(--wp--preset--color--text-primary);
	padding-right: var(--wp--preset--spacing--24);
}

.et-account-nav__list--mobile {
	border-top: 1px solid var(--wp--preset--color--border-subtle);
	padding: var(--wp--preset--spacing--8);
}

@media (min-width: 783px) {
	.et-account-nav__mobile {
		display: none;
	}

	.et-account-nav__list--desktop {
		display: flex;
		flex-direction: column;
		gap: var(--wp--preset--spacing--4);
		border: 1px solid var(--wp--preset--color--border-default);
		border-radius: var(--wp--custom--radius--card);
		background-color: var(--wp--preset--color--surface-page);
		padding: var(--wp--preset--spacing--12);
	}
}

/* Secondary outline — closer to Figma 44–48 */
.et-btn.et-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: calc(10 * var(--wp--preset--spacing--4));
	padding: 0 var(--wp--preset--spacing--16);
	border-radius: var(--wp--custom--radius--control);
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-decoration: none;
	box-sizing: border-box;
	cursor: pointer;
	line-height: 1.2;
}

.et-btn--secondary.et-btn--secondary {
	background-color: var(--wp--preset--color--surface-page);
	border: 2px solid var(--wp--preset--color--border-strong);
	color: var(--wp--preset--color--text-primary);
}

.et-btn--secondary.et-btn--secondary:hover {
	background-color: var(--wp--preset--color--surface-subtle);
}

@media (min-width: 783px) {
	.et-btn.et-btn {
		min-height: calc(11 * var(--wp--preset--spacing--4));
	}
}

/* Guest cards */
.et-is-account--guest .woocommerce > h2,
.et-is-account--guest .woocommerce .u-column1 > h2,
.et-is-account--guest .woocommerce .u-column2 > h2,
.et-is-account--guest #customer_login > .u-column1 > h2,
.et-is-account--guest #customer_login > .u-column2 > h2 {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.et-is-account--guest .u-columns,
.et-is-account--guest .woocommerce .col2-set,
.woocommerce-account.et-is-account--guest #customer_login {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--16);
	align-items: stretch;
}

.et-is-account--guest .woocommerce > .woocommerce-form-login,
.et-is-account--guest .woocommerce > form.login,
.et-is-account--guest .woocommerce > form.register {
	max-width: var(--wp--custom--layout--side-column-max-width);
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
	box-sizing: border-box;
}

@media (min-width: 783px) {
	.et-is-account--guest .woocommerce > .woocommerce-form-login,
	.et-is-account--guest .woocommerce > form.login,
	.et-is-account--guest .woocommerce > form.register {
		padding: var(--wp--preset--spacing--24);
	}
}

.et-is-account--guest .u-column1,
.et-is-account--guest .u-column2,
.et-is-account--guest .col-1,
.et-is-account--guest .col-2,
.woocommerce-account.et-is-account--guest #customer_login > .u-column1,
.woocommerce-account.et-is-account--guest #customer_login > .u-column2 {
	flex: 1 1 var(--wp--custom--layout--summary-min-width);
	max-width: 100%;
	margin: 0;
	float: none;
	width: auto;
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
}

@media (min-width: 783px) {
	.et-is-account--guest .u-column1,
	.et-is-account--guest .u-column2,
	.et-is-account--guest .col-1,
	.et-is-account--guest .col-2,
	.woocommerce-account.et-is-account--guest #customer_login > .u-column1,
	.woocommerce-account.et-is-account--guest #customer_login > .u-column2 {
		padding: var(--wp--preset--spacing--24);
	}
}

.woocommerce-LostPassword,
.et-is-account--guest .lost_reset_password,
.woocommerce-ResetPassword.lost_reset_password {
	max-width: var(--wp--custom--layout--side-column-max-width);
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
	box-sizing: border-box;
}

@media (min-width: 783px) {
	.woocommerce-LostPassword,
	.et-is-account--guest .lost_reset_password,
	.woocommerce-ResetPassword.lost_reset_password {
		padding: var(--wp--preset--spacing--24);
	}
}

/* Forms (unchanged structure, slightly tighter rows) */
.woocommerce-account .woocommerce form .form-row,
.woocommerce-account form .form-row {
	margin: 0 0 var(--wp--preset--spacing--12);
	padding: 0;
}

.woocommerce-account .woocommerce form .form-row-first,
.woocommerce-account .woocommerce form .form-row-last {
	width: 100%;
	float: none;
}

@media (min-width: 641px) {
	.woocommerce-account .woocommerce form .form-row-first,
	.woocommerce-account .woocommerce form .form-row-last {
		width: calc(50% - var(--wp--preset--spacing--8));
		float: left;
	}

	.woocommerce-account .woocommerce form .form-row-first {
		margin-right: var(--wp--preset--spacing--16);
	}

	.woocommerce-account .woocommerce form .form-row-last {
		float: right;
		margin-right: 0;
	}

	.woocommerce-account .woocommerce form .form-row-wide {
		clear: both;
	}
}

.woocommerce-account .woocommerce form label,
.woocommerce-account form .form-row label {
	display: block;
	margin-bottom: var(--wp--preset--spacing--4);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--medium);
	color: var(--wp--preset--color--text-primary);
}

.woocommerce-account .woocommerce form .input-text,
.woocommerce-account .woocommerce form input[type="text"],
.woocommerce-account .woocommerce form input[type="email"],
.woocommerce-account .woocommerce form input[type="tel"],
.woocommerce-account .woocommerce form input[type="password"],
.woocommerce-account .woocommerce form select,
.woocommerce-account form .input-text {
	width: 100%;
	min-height: calc(11 * var(--wp--preset--spacing--4));
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--12);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
	font-size: var(--wp--preset--font-size--base);
	box-sizing: border-box;
}

.woocommerce-account .woocommerce form .input-text:focus,
.woocommerce-account form .input-text:focus {
	outline: 2px solid var(--wp--preset--color--action-primary);
	outline-offset: 1px;
	border-color: var(--wp--preset--color--action-primary);
}

.woocommerce-account .woocommerce-invalid .input-text {
	border-color: var(--wp--preset--color--status-error);
}

.woocommerce-account .woocommerce form .button,
.woocommerce-account .woocommerce-Button,
.woocommerce-account button.button,
.woocommerce-account a.button:not(.et-btn) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: calc(11 * var(--wp--preset--spacing--4));
	padding: 0 var(--wp--preset--spacing--20);
	border: 1px solid transparent;
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--action-primary);
	color: var(--wp--preset--color--text-inverse);
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--bold);
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
}

.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info {
	list-style: none;
	margin: 0 0 var(--wp--preset--spacing--12);
	padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
}

.woocommerce-account .woocommerce-error {
	border-color: var(--wp--preset--color--status-error);
	background-color: var(--wp--preset--color--status-error-tint);
}

.woocommerce-account .woocommerce-message {
	border-color: var(--wp--preset--color--status-success);
	background-color: var(--wp--preset--color--status-success-tint);
}

/* Addresses */
.woocommerce-MyAccount-content .woocommerce-Address {
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
	min-height: 100%;
	box-sizing: border-box;
}

@media (min-width: 783px) {
	.woocommerce-MyAccount-content .u-columns,
	.woocommerce-account .woocommerce-Addresses.col2-set {
		display: flex;
		flex-wrap: wrap;
		gap: var(--wp--preset--spacing--16);
		align-items: stretch;
	}

	.woocommerce-MyAccount-content .u-columns .u-column1,
	.woocommerce-MyAccount-content .u-columns .u-column2,
	.woocommerce-account .woocommerce-Addresses .u-column1,
	.woocommerce-account .woocommerce-Addresses .u-column2,
	.woocommerce-account .woocommerce-Addresses .col-1,
	.woocommerce-account .woocommerce-Addresses .col-2 {
		flex: 1 1 var(--wp--custom--layout--info-card-min-width);
		float: none;
		width: auto;
		margin: 0;
		max-width: 100%;
	}
}

.woocommerce-MyAccount-content .woocommerce-Address-title h3,
.woocommerce-MyAccount-content .woocommerce-Address header h3 {
	margin: 0 0 var(--wp--preset--spacing--8);
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: var(--wp--custom--font-weight--bold);
}

.woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset,
.woocommerce-MyAccount-content form .woocommerce-address-fields__field-wrapper {
	margin: 0 0 var(--wp--preset--spacing--12);
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset legend {
	padding: 0 var(--wp--preset--spacing--8);
	font-weight: var(--wp--custom--font-weight--bold);
}

/* Orders table */
.woocommerce-account .woocommerce-orders-table {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce-account .woocommerce-orders-table thead {
	display: none;
}

.woocommerce-account .woocommerce-orders-table tbody tr {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--8) var(--wp--preset--spacing--12);
	margin: 0 0 var(--wp--preset--spacing--12);
	padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
	box-sizing: border-box;
}

.woocommerce-account .woocommerce-orders-table tbody td {
	display: block;
	border: 0;
	padding: 0;
	background: transparent;
}

.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-number {
	font-weight: var(--wp--custom--font-weight--semibold);
	width: 100%;
}

.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
	margin-left: auto;
}

.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button,
.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a.button {
	background-color: var(--wp--preset--color--surface-page);
	border: 2px solid var(--wp--preset--color--border-strong);
	color: var(--wp--preset--color--text-primary);
	font-weight: var(--wp--custom--font-weight--semibold);
	min-height: calc(10 * var(--wp--preset--spacing--4));
	padding: 0 var(--wp--preset--spacing--16);
}

@media (min-width: 783px) {
	.woocommerce-account .woocommerce-orders-table thead {
		display: table-header-group;
	}

	.woocommerce-account .woocommerce-orders-table thead th {
		padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--12);
		border-bottom: 1px solid var(--wp--preset--color--border-subtle);
		text-align: left;
		font-size: var(--wp--preset--font-size--small);
		font-weight: var(--wp--custom--font-weight--medium);
		color: var(--wp--preset--color--text-secondary);
		background: transparent;
	}

	.woocommerce-account .woocommerce-orders-table tbody tr {
		display: table-row;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		border-bottom: 1px solid var(--wp--preset--color--border-subtle);
		background: transparent;
	}

	.woocommerce-account .woocommerce-orders-table tbody td {
		display: table-cell;
		padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--12);
		vertical-align: middle;
	}

	.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-number {
		width: auto;
	}

	.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
		margin-left: 0;
		text-align: right;
	}
}

/* Pill badges */
.et-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: calc(6 * var(--wp--preset--spacing--4));
	padding: 0 var(--wp--preset--spacing--8);
	border-radius: var(--wp--custom--radius--pill);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: var(--wp--custom--font-weight--medium);
	background-color: var(--wp--preset--color--surface-subtle);
	color: var(--wp--preset--color--text-primary);
	line-height: 1;
}

.et-badge--success {
	background-color: var(--wp--preset--color--status-success-tint);
	color: var(--wp--preset--color--status-success);
}

.et-badge--warning {
	background-color: var(--wp--preset--color--status-warning-tint);
	color: var(--wp--preset--color--status-warning);
}

.et-badge--error {
	background-color: var(--wp--preset--color--status-error-tint);
	color: var(--wp--preset--color--status-error);
}

.et-badge--neutral {
	background-color: var(--wp--preset--color--surface-subtle);
	color: var(--wp--preset--color--text-secondary);
}

.woocommerce-account .woocommerce-orders-table mark {
	background: transparent;
	border-radius: var(--wp--custom--radius--pill);
	padding: 2px 8px;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: var(--wp--custom--font-weight--medium);
}

/* Dashboard rhythm — Figma content column gap ~24, denser on live */
.et-account-dashboard__copy {
	margin: 0 0 var(--wp--preset--spacing--16);
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.5;
}

.et-account-dashboard__heading {
	margin: 0 0 var(--wp--preset--spacing--8);
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: var(--wp--custom--font-weight--bold);
	color: var(--wp--preset--color--text-primary);
	line-height: 1.3;
}

.et-account-orders {
	list-style: none;
	margin: 0 0 var(--wp--preset--spacing--12);
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
}

/* Order row denser: pad 12–16, desktop ~72–78 */
.et-account-order-row {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"number status"
		"date date"
		"total action";
	gap: var(--wp--preset--spacing--8) var(--wp--preset--spacing--12);
	align-items: center;
	padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
	box-sizing: border-box;
	min-height: 0;
}

.et-account-order-row__number { grid-area: number; font-weight: var(--wp--custom--font-weight--semibold); }
.et-account-order-row__date { grid-area: date; color: var(--wp--preset--color--text-secondary); font-size: var(--wp--preset--font-size--small); }
.et-account-order-row__status { grid-area: status; justify-self: end; }
.et-account-order-row__total { grid-area: total; font-weight: var(--wp--custom--font-weight--semibold); }
.et-account-order-row__action { grid-area: action; justify-self: end; }

@media (min-width: 783px) {
	.et-account-order-row {
		grid-template-columns: minmax(96px, 1.2fr) minmax(96px, 1fr) minmax(96px, 1fr) minmax(96px, 1fr) 96px;
		grid-template-areas: "number date status total action";
		min-height: 72px;
		gap: var(--wp--preset--spacing--16);
		padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
	}

	.et-account-order-row__status {
		justify-self: start;
	}

	.et-account-order-row__action {
		justify-self: stretch;
	}

	.et-account-order-row__action .et-btn {
		width: 100%;
		min-height: calc(10 * var(--wp--preset--spacing--4));
		padding: 0 var(--wp--preset--spacing--12);
	}
}

.et-account-dashboard__actions {
	margin: 0 0 var(--wp--preset--spacing--20);
}

/* Quick links — Figma Info Card: pad 16, gap 8, height ~168, equal */
.et-account-quicklinks {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--16);
	align-items: stretch;
}

@media (min-width: 641px) {
	.et-account-quicklinks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.et-account-quicklinks {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.et-account-quicklink {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
	text-decoration: none;
	color: inherit;
	min-height: 152px;
	height: 100%;
	box-sizing: border-box;
}

.et-account-quicklink:hover {
	border-color: var(--wp--preset--color--action-primary);
}

.et-account-quicklink__label {
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--semibold);
	color: var(--wp--preset--color--text-secondary);
	line-height: 1.35;
}

.et-account-quicklink__title {
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--semibold);
	color: var(--wp--preset--color--text-primary);
	line-height: 1.4;
}

.et-account-quicklink__line {
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--regular);
	color: var(--wp--preset--color--text-primary);
	line-height: 1.4;
}

.et-account-quicklink__line--muted,
.et-account-quicklink__meta {
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--regular);
	color: var(--wp--preset--color--text-secondary);
	line-height: 1.35;
	margin-top: auto;
}

.et-account-quicklink__line + .et-account-quicklink__meta {
	margin-top: 0;
}

/* View order panels */
.woocommerce-account .woocommerce-order-details,
.woocommerce-account .woocommerce-customer-details {
	margin: 0 0 var(--wp--preset--spacing--16);
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
	box-sizing: border-box;
}

.woocommerce-account .woocommerce-order-details__title,
.woocommerce-account .woocommerce-column__title {
	margin: 0 0 var(--wp--preset--spacing--8);
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: var(--wp--custom--font-weight--bold);
}

.woocommerce-account .woocommerce-Message--info,
.woocommerce-account .woocommerce-info.woocommerce-Message {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--8);
	background-color: var(--wp--preset--color--surface-page);
}

.et-main--account .entry-title,
.et-main--account .wp-block-post-title {
	display: none;
}
/* ==========================================================================
   Brands & Categories (0.6.0)
   ========================================================================== */

.et-main--bc.et-main--bc { padding-block: 0; }

.et-bc-title-section.et-bc-title-section {
	background-color: var(--wp--preset--color--surface-page);
	padding-block: var(--wp--preset--spacing--32);
}
@media (min-width: 783px) {
	.et-bc-title-section.et-bc-title-section { padding-block: var(--wp--preset--spacing--40); }
}
.et-bc-title.et-bc-title {
	margin: 0;
	font-size: var(--wp--preset--font-size--h-2);
	font-weight: var(--wp--custom--font-weight--extrabold);
	line-height: 1.15;
}
.et-bc-subtitle.et-bc-subtitle {
	margin: var(--wp--preset--spacing--8) 0 0;
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--body-l);
	max-width: var(--wp--custom--layout--prose-max-width);
}
.et-bc-content-section {
	background-color: var(--wp--preset--color--surface-subtle);
	padding-block: var(--wp--preset--spacing--32) var(--wp--preset--spacing--48);
}
.et-bc-section { padding-block: var(--wp--preset--spacing--24); }
.et-bc-section__head {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
	gap: var(--wp--preset--spacing--8); margin-bottom: var(--wp--preset--spacing--16);
}
.et-bc-section__title {
	margin: 0; font-size: var(--wp--preset--font-size--h-3); font-weight: var(--wp--custom--font-weight--bold);
}
.et-bc-section__link { margin: 0; font-size: var(--wp--preset--font-size--small); }
.et-bc-muted { color: var(--wp--preset--color--text-secondary); }

.et-bc-search { margin-bottom: var(--wp--preset--spacing--24); }
.et-bc-search__form { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--8); align-items: center; }
.et-bc-search__input {
	flex: 1 1 220px; min-height: calc(11 * var(--wp--preset--spacing--4));
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--12);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--surface-page); box-sizing: border-box;
}

.et-bc-brand-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	gap: var(--wp--preset--spacing--16); align-items: stretch;
}
.et-bc-brand-card {
	display: flex; flex-direction: column; gap: var(--wp--preset--spacing--12);
	min-height: 160px; padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--surface-page);
	text-decoration: none; color: inherit; box-sizing: border-box;
}
.et-bc-brand-card:hover { border-color: var(--wp--preset--color--action-primary); }
.et-bc-brand-card__mark {
	display: flex; align-items: center; justify-content: center; flex: 1 1 auto;
	min-height: 72px; padding: var(--wp--preset--spacing--12);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--surface-muted);
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: var(--wp--custom--font-weight--extrabold);
	text-align: center; line-height: 1.2;
}
.et-bc-brand-card__meta { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text-secondary); }
.et-bc-brand-card--placeholder { opacity: 0.85; pointer-events: none; }

.et-bc-az-bar { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--4); margin-bottom: var(--wp--preset--spacing--24); }
.et-bc-az-bar__link {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 36px; min-height: 36px; padding: 0 var(--wp--preset--spacing--8);
	border-radius: var(--wp--custom--radius--control);
	border: 1px solid var(--wp--preset--color--border-subtle);
	background: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary); text-decoration: none;
	font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold);
	box-sizing: border-box;
}
.et-bc-az-bar__link:hover { border-color: var(--wp--preset--color--action-primary); }
.et-bc-az-bar__link--disabled { opacity: 0.35; pointer-events: none; }
.et-bc-az-group { margin-bottom: var(--wp--preset--spacing--20); padding-bottom: var(--wp--preset--spacing--16); border-bottom: 1px solid var(--wp--preset--color--border-subtle); }
.et-bc-az-group__letter { margin: 0 0 var(--wp--preset--spacing--8); font-size: var(--wp--preset--font-size--h-3); font-weight: var(--wp--custom--font-weight--bold); }
.et-bc-az-group__list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
}
.et-bc-az-group__list a { color: var(--wp--preset--color--text-primary); text-decoration: none; }
.et-bc-az-group__list a:hover { color: var(--wp--preset--color--text-brand); }

.et-bc-hero.et-bc-hero {
	background-color: var(--wp--preset--color--surface-inverse);
	color: var(--wp--preset--color--text-inverse);
	padding-block: var(--wp--preset--spacing--32);
}
@media (min-width: 783px) {
	.et-bc-hero.et-bc-hero { padding-block: var(--wp--preset--spacing--40); }
}
.et-bc-hero__eyebrow {
	margin: 0 0 var(--wp--preset--spacing--8);
	font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold);
	color: var(--wp--preset--color--text-inverse-secondary); text-transform: uppercase; letter-spacing: 0.04em;
}
.et-bc-hero__title {
	margin: 0; font-size: var(--wp--preset--font-size--h-2);
	font-weight: var(--wp--custom--font-weight--extrabold); line-height: 1.15;
	color: var(--wp--preset--color--text-inverse);
}
.et-bc-hero__intro {
	margin: var(--wp--preset--spacing--12) 0 0; max-width: var(--wp--custom--layout--prose-max-width);
	font-size: var(--wp--preset--font-size--body-l); color: var(--wp--preset--color--text-inverse-secondary);
}
.et-bc-hero__actions { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--8); margin-top: var(--wp--preset--spacing--20); }
.et-bc-hero__actions .wp-element-button { background-color: var(--wp--preset--color--action-primary); color: var(--wp--preset--color--text-inverse); }
.et-bc-hero__actions .et-btn--secondary {
	background: transparent; border-color: var(--wp--preset--color--text-inverse); color: var(--wp--preset--color--text-inverse);
}

.et-bc-facts { background: var(--wp--preset--color--surface-subtle); padding-block: var(--wp--preset--spacing--16); border-bottom: 1px solid var(--wp--preset--color--border-subtle); }
.et-bc-facts__list {
	list-style: none; margin: 0; padding: 0; display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wp--preset--spacing--12);
}
@media (min-width: 783px) { .et-bc-facts__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.et-bc-facts__item {
	padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default); border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--surface-page); display: flex; flex-direction: column;
	gap: var(--wp--preset--spacing--4); min-height: 72px; box-sizing: border-box;
}
.et-bc-facts__label { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text-secondary); }
.et-bc-facts__value { font-size: var(--wp--preset--font-size--h-3); font-weight: var(--wp--custom--font-weight--bold); }

.et-bc-entry__grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
	gap: var(--wp--preset--spacing--12); align-items: stretch;
}
.et-bc-shop-card {
	display: flex; flex-direction: column; gap: var(--wp--preset--spacing--4);
	min-height: 88px; padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default); border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--surface-page); text-decoration: none; color: inherit; box-sizing: border-box;
}
.et-bc-shop-card:hover { border-color: var(--wp--preset--color--action-primary); }
.et-bc-shop-card__title { font-weight: var(--wp--custom--font-weight--semibold); font-size: var(--wp--preset--font-size--base); }
.et-bc-shop-card__hint { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text-secondary); margin-top: auto; }

.et-bc-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--wp--preset--spacing--12); }
.et-bc-brand-tile {
	display: flex; align-items: center; justify-content: center; min-height: 56px;
	padding: var(--wp--preset--spacing--12); border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card); background: var(--wp--preset--color--surface-page);
	text-decoration: none; color: var(--wp--preset--color--text-primary);
	font-weight: var(--wp--custom--font-weight--semibold); text-align: center; box-sizing: border-box;
}
.et-bc-brand-tile:hover { border-color: var(--wp--preset--color--action-primary); }

.et-bc-help { padding-block: var(--wp--preset--spacing--24); }
.et-bc-help__inner {
	padding: var(--wp--preset--spacing--20); border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card); background: var(--wp--preset--color--surface-page);
}
.et-bc-help__title { margin: 0 0 var(--wp--preset--spacing--8); font-size: var(--wp--preset--font-size--h-3); font-weight: var(--wp--custom--font-weight--bold); }
.et-bc-help__text { margin: 0 0 var(--wp--preset--spacing--16); color: var(--wp--preset--color--text-secondary); }
.et-bc-help__actions { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--8); }

.et-bc-meanwhile { margin-top: var(--wp--preset--spacing--24); }
.et-empty--bc {
	background: var(--wp--preset--color--surface-page); border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card); padding: var(--wp--preset--spacing--24);
}
.et-main--brand .et-bc-section,
.et-main--category .et-bc-section,
.et-main--brand .et-bc-help,
.et-main--category .et-bc-help { background-color: var(--wp--preset--color--surface-subtle); }

/* ===========================================================================
   Checkout 0.6.1 - Figma "Checkout / Desktop" (70:840) and "Checkout / Mobile" (70:2).
   Styles the real WooCommerce Checkout block (no mock markup):
   white title band + grey content band; steps as Form Section cards with
   step circles (green check when complete, CSS :has); Radio Option cards;
   labels above 52px inputs; Order Summary card; 56px primary action.
   Columns: forms 1fr | summary 320-384 at container >= 824px (480 + 24 + 320).
   =========================================================================== */

.et-main--checkout.et-main--checkout,
.et-main--cart.et-main--cart {
	padding: 0;
}

/* Bands (checkout and cart): Section / Page Title (white) + Section / Content (grey). */
.et-checkout-title.et-checkout-title,
.et-cart-title.et-cart-title {
	background-color: var(--wp--preset--color--surface-page);
	padding: var(--et-section-gap) var(--et-page-margin);
}

.et-checkout-content.et-checkout-content,
.et-cart-content.et-cart-content {
	background-color: var(--wp--preset--color--surface-subtle);
	padding: var(--et-section-gap) var(--et-page-margin);
}

.et-checkout-content > .et-container > *,
.et-cart-content > .et-container > * {
	margin-block: 0;
}

.et-checkout-content .wc-block-store-notices:not(:empty),
.et-cart-content .wc-block-store-notices:not(:empty) {
	margin-bottom: var(--wp--preset--spacing--24);
}

.et-checkout-head.et-checkout-head,
.et-cart-head.et-cart-head {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	margin: 0;
}

.et-checkout-head .et-checkout-head__title,
.et-cart-head .et-cart-head__title {
	margin: 0;
	font-size: 2.125rem; /* Heading/H1 Mobile 34/40 */
	font-weight: var(--wp--custom--font-weight--extrabold);
	line-height: 40px;
}

.et-checkout-head__sub.et-checkout-head__sub,
.et-cart-head__count.et-cart-head__count {
	margin: 0;
	font-size: 1rem;
	line-height: 24px;
	color: var(--wp--preset--color--text-secondary);
}

@media (min-width: 1024px) {
	.et-checkout-head .et-checkout-head__title,
.et-cart-head .et-cart-head__title {
		font-size: var(--wp--preset--font-size--h-1); /* 56/62 */
		line-height: 62px;
	}

	.et-checkout-head__sub.et-checkout-head__sub,
.et-cart-head__count.et-cart-head__count {
		font-size: var(--wp--preset--font-size--body-l); /* 18/28 */
		line-height: 28px;
	}
}

/* Columns. Woo default is a 65% | 35% flex row with % paddings. */
.et-checkout.et-checkout.wp-block-woocommerce-checkout {
	container-type: inline-size;
	container-name: et-checkout;
	margin: 0;
	padding: 0;
}

.et-checkout.et-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap; /* Woo wraps; a wrapping column line sizes to min-content and overflows on phones */
	align-items: stretch;
	gap: var(--wp--preset--spacing--16);
	margin: 0;
}

.et-checkout.et-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__main,
.et-checkout.et-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__sidebar {
	align-self: stretch;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

/* Large container but too narrow for two columns: summary first, then forms. */
.et-checkout.et-checkout .wc-block-components-sidebar-layout.is-large > .wc-block-checkout__sidebar {
	order: -1;
	position: static;
}

/* Not large: WooCommerce prints the full summary right above Place order
   (Figma mobile position), so the collapsed copy on top is hidden. */
.et-checkout.et-checkout .wc-block-components-sidebar-layout:not(.is-large) > .wc-block-checkout__sidebar {
	display: none;
}

@container et-checkout (min-width: 824px) {
	.et-checkout.et-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(var(--wp--custom--layout--summary-min-width), var(--wp--custom--layout--side-column-max-width));
		gap: var(--wp--preset--spacing--24);
		align-items: start;
	}

	.et-checkout.et-checkout .wc-block-components-sidebar-layout.is-large > .wc-block-checkout__sidebar {
		align-self: start;
		order: 0;
		position: sticky;
		top: calc(var(--et-header-height) + var(--wp--preset--spacing--24));
	}
}

/* Form Section cards (fieldset steps). */
.et-checkout.et-checkout .wc-block-checkout__form {
	counter-reset: et-checkout-step;
	margin: 0;
}

.et-checkout.et-checkout .wc-block-checkout__form > * {
	margin: 0 0 var(--wp--preset--spacing--16);
}

.et-checkout.et-checkout .wc-block-checkout__form > :empty {
	display: none;
}

.et-checkout.et-checkout .wc-block-components-checkout-step {
	box-sizing: border-box;
	margin: 0 0 var(--wp--preset--spacing--16);
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
	box-shadow: none;
}

@media (min-width: 641px) {
	.et-checkout.et-checkout .wc-block-checkout__form > *,
	.et-checkout.et-checkout .wc-block-components-checkout-step {
		margin-bottom: var(--wp--preset--spacing--24);
	}

	.et-checkout.et-checkout .wc-block-components-checkout-step {
		padding: var(--wp--preset--spacing--24);
	}
}

/* Woo's own step decorations (left rail / counters) are not in the design. */
.et-checkout.et-checkout .wc-block-components-checkout-step::before,
.et-checkout.et-checkout .wc-block-components-checkout-step::after,
.et-checkout.et-checkout .wc-block-components-checkout-step__container::after,
.et-checkout.et-checkout .wc-block-components-checkout-step__title::before {
	display: none;
	content: none;
}

/* Order notes is a plain checkbox row on the grey band, not a card. */
.et-checkout.et-checkout .wc-block-checkout__order-notes.wc-block-components-checkout-step {
	padding: 0;
	border: 0;
	background: none;
}

/* Form Section Header: 32px step circle | title 22/28 bold + hint 14/20. */
.et-checkout.et-checkout .wc-block-components-checkout-step__heading-container {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--wp--preset--spacing--4);
	box-sizing: border-box;
	min-height: 56px;
	margin: 0 0 var(--wp--preset--spacing--16);
	padding: 0 0 0 calc(var(--wp--preset--spacing--32) + var(--wp--preset--spacing--12));
}

.et-checkout.et-checkout .wc-block-components-checkout-step__heading-container::before {
	counter-increment: et-checkout-step;
	content: counter(et-checkout-step);
	position: absolute;
	top: 50%;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--wp--preset--spacing--32);
	height: var(--wp--preset--spacing--32);
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--action-dark);
	color: var(--wp--preset--color--text-inverse);
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 18px;
	transform: translateY(-50%);
}

/* Complete state (Figma "Form Section Header / Complete"): green circle + check.
   Contact / address: all required fields valid. Delivery: a method is selected. */
.et-checkout.et-checkout .wc-block-components-checkout-step:has(input:required):not(:has(input:invalid, select:invalid)) .wc-block-components-checkout-step__heading-container::before,
.et-checkout.et-checkout .wc-block-checkout__shipping-option:has(.wc-block-components-radio-control__input:checked) .wc-block-components-checkout-step__heading-container::before {
	content: "";
	background-color: var(--wp--preset--color--status-success);
}

.et-checkout.et-checkout .wc-block-components-checkout-step:has(input:required):not(:has(input:invalid, select:invalid)) .wc-block-components-checkout-step__heading-container::after,
.et-checkout.et-checkout .wc-block-checkout__shipping-option:has(.wc-block-components-radio-control__input:checked) .wc-block-components-checkout-step__heading-container::after {
	content: "";
	position: absolute;
	top: 50%;
	left: var(--wp--preset--spacing--4);
	width: var(--et-icon-size);
	height: var(--et-icon-size);
	background-color: var(--wp--preset--color--text-inverse);
	transform: translateY(-50%);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%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='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.et-checkout.et-checkout .wc-block-components-checkout-step__heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--12);
	margin: 0;
}

.et-checkout.et-checkout .wc-block-components-checkout-step__title.wc-block-components-checkout-step__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--h-3); /* 22/28 */
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 28px;
	color: var(--wp--preset--color--text-primary);
}

.et-checkout.et-checkout .wc-block-components-checkout-step__heading-content {
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
}

.et-checkout.et-checkout .wc-block-components-checkout-step__heading-content a {
	color: var(--wp--preset--color--text-brand);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-checkout.et-checkout .wc-block-components-checkout-step__description {
	overflow: hidden;
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.et-checkout.et-checkout .wc-block-components-checkout-step__container,
.et-checkout.et-checkout .wc-block-components-checkout-step__content {
	margin: 0;
	padding: 0;
}

.et-checkout.et-checkout .wc-block-components-checkout-step__content {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
}

.et-checkout.et-checkout .wc-block-components-checkout-step__content > *,
.et-checkout.et-checkout .wc-block-components-checkout-step__content > div > * {
	margin-top: 0;
	margin-bottom: 0;
}

.et-checkout.et-checkout .wc-block-components-notices:empty {
	display: none;
}

/* Field grid. Desktop: name 2-up, city | state | ZIP 3-up; mobile stacks (Figma 70:2). */
.et-checkout.et-checkout .wc-block-components-address-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--16);
	margin: 0;
}

.et-checkout.et-checkout .wc-block-components-address-form > * {
	grid-column: 1 / -1;
	width: auto;
	min-width: 0;
	margin: 0;
	flex: none;
}

@media (min-width: 641px) {
	.et-checkout.et-checkout .wc-block-components-address-form {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.et-checkout.et-checkout .wc-block-components-address-form > .wc-block-components-address-form__first_name,
	.et-checkout.et-checkout .wc-block-components-address-form > .wc-block-components-address-form__last_name {
		grid-column: span 3;
	}

	.et-checkout.et-checkout .wc-block-components-address-form > .wc-block-components-address-form__city,
	.et-checkout.et-checkout .wc-block-components-address-form > .wc-block-components-address-form__state,
	.et-checkout.et-checkout .wc-block-components-address-form > .wc-block-components-address-form__postcode {
		grid-column: span 2;
	}
}

.et-checkout.et-checkout .wc-block-components-address-form > .wc-block-checkout__guest-checkout-notice {
	margin: calc(-1 * var(--wp--preset--spacing--12)) 0 0;
	font-size: var(--wp--preset--font-size--label);
	line-height: 18px;
	color: var(--wp--preset--color--text-secondary);
}

.et-checkout.et-checkout .wc-block-components-address-form__address_2-toggle {
	justify-self: start;
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 20px;
	color: var(--wp--preset--color--text-brand);
	text-decoration: underline;
	cursor: pointer;
}

/* Input: label above (13/18 medium), field 52px, 1px border-input, radius 8. */
.et-checkout.et-checkout .wc-block-components-text-input,
.et-checkout.et-checkout .wc-block-components-text-input.is-active {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
	margin: 0;
}

.et-checkout.et-checkout .wc-block-components-text-input label,
.et-checkout.et-checkout .wc-block-components-text-input.is-active label,
.et-checkout.et-checkout .wc-blocks-components-select .wc-blocks-components-select__label {
	position: static;
	order: -1;
	max-width: none;
	margin: 0;
	overflow: visible;
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--medium);
	line-height: 18px;
	color: var(--wp--preset--color--text-primary);
	white-space: normal;
	transform: none;
	pointer-events: auto;
}

.et-checkout.et-checkout .wc-block-components-text-input input[type],
.et-checkout.et-checkout .wc-block-components-text-input.is-active input[type],
.et-checkout.et-checkout .wc-block-components-textarea,
.et-checkout.et-checkout .wc-blocks-components-select .wc-blocks-components-select__select {
	box-sizing: border-box;
	width: 100%;
	height: var(--et-field-height);
	min-height: var(--et-field-height);
	margin: 0;
	padding: 0 var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-input);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	box-shadow: none;
	font-size: 1rem;
	line-height: 24px;
	color: var(--wp--preset--color--text-primary);
}

.et-checkout.et-checkout .wc-block-components-textarea {
	height: auto;
	min-height: calc(2 * var(--et-field-height));
	padding-block: var(--wp--preset--spacing--12);
}

.et-checkout.et-checkout .wc-block-components-text-input input[type]:focus,
.et-checkout.et-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus,
.et-checkout.et-checkout .wc-block-components-textarea:focus {
	border-color: var(--wp--preset--color--border-strong);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--border-strong);
	outline: none;
}

.et-checkout.et-checkout .wc-block-components-text-input.has-error input[type],
.et-checkout.et-checkout .wc-blocks-components-select.has-error .wc-blocks-components-select__select {
	border-color: var(--wp--preset--color--text-error);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--text-error);
}

.et-checkout.et-checkout .wc-block-components-validation-error {
	margin: 0;
	font-size: var(--wp--preset--font-size--label);
	line-height: 18px;
	color: var(--wp--preset--color--text-error);
}

.et-checkout.et-checkout .wc-blocks-components-select .wc-blocks-components-select__container {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
	height: auto;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.et-checkout.et-checkout .wc-blocks-components-select .wc-blocks-components-select__select {
	padding-right: calc(var(--wp--preset--spacing--16) + var(--et-icon-size) + var(--wp--preset--spacing--8));
	appearance: none;
	-webkit-appearance: none;
}

.et-checkout.et-checkout .wc-blocks-components-select .wc-blocks-components-select__expand {
	position: absolute;
	top: auto;
	right: var(--wp--preset--spacing--16);
	bottom: calc((var(--et-field-height) - var(--et-icon-size)) / 2);
	width: var(--et-icon-size);
	height: var(--et-icon-size);
	fill: var(--wp--preset--color--text-secondary);
	transform: none;
	pointer-events: none;
}

/* Checkbox row: 24px box, radius control, 44px row, 16/24 text. */
.et-checkout.et-checkout .wc-block-components-checkbox {
	margin: 0;
}

.et-checkout.et-checkout .wc-block-components-checkbox label {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--12);
	min-height: 44px;
	font-size: 1rem;
	line-height: 24px;
	color: var(--wp--preset--color--text-primary);
}

.et-checkout.et-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	flex: 0 0 var(--et-icon-size);
	width: var(--et-icon-size);
	height: var(--et-icon-size);
	min-width: var(--et-icon-size);
	margin: 0;
	border: 1px solid var(--wp--preset--color--border-input);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
}

.et-checkout.et-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
	border-color: var(--wp--preset--color--action-primary);
	background-color: var(--wp--preset--color--action-primary);
}

.et-checkout.et-checkout .wc-block-components-checkbox .wc-block-components-checkbox__mark {
	top: 50%;
	left: var(--wp--preset--spacing--4);
	width: var(--wp--preset--spacing--16);
	height: var(--wp--preset--spacing--16);
	margin: 0;
	fill: var(--wp--preset--color--text-inverse);
	transform: translateY(-50%);
}

.et-checkout.et-checkout .wc-block-components-checkbox__label {
	margin: 0;
}

/* Radio Option cards (delivery and payment): min 88, pad 16, gap 12, radius card.
   Selected: action-primary-tint + 2px action-primary. */
.et-checkout.et-checkout .wc-block-components-radio-control,
.et-checkout.et-checkout .wc-block-components-radio-control--highlight-checked {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
	border: 0;
	box-shadow: none;
}

.et-checkout.et-checkout .wc-block-components-radio-control::after,
.et-checkout.et-checkout .wc-block-components-radio-control--highlight-checked::after,
.et-checkout.et-checkout .wc-block-components-radio-control__option::after,
.et-checkout.et-checkout .wc-block-components-radio-control-accordion-option::after {
	display: none;
	content: none;
}

.et-checkout.et-checkout .wc-block-components-radio-control-accordion-option {
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	background: none;
}

.et-checkout.et-checkout .wc-block-components-radio-control .wc-block-components-radio-control__option {
	position: relative;
	box-sizing: border-box;
	display: block;
	min-height: 88px;
	margin: 0;
	padding: var(--wp--preset--spacing--16) var(--wp--preset--spacing--16) var(--wp--preset--spacing--16) calc(var(--wp--preset--spacing--16) + var(--et-icon-size) + var(--wp--preset--spacing--12));
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
	box-shadow: none;
	cursor: pointer;
}

.et-checkout.et-checkout .wc-block-components-radio-control .wc-block-components-radio-control__option-checked,
.et-checkout.et-checkout .wc-block-components-radio-control .wc-block-components-radio-control__option:has(.wc-block-components-radio-control__input:checked) {
	padding: calc(var(--wp--preset--spacing--16) - 1px) calc(var(--wp--preset--spacing--16) - 1px) calc(var(--wp--preset--spacing--16) - 1px) calc(var(--wp--preset--spacing--16) + var(--et-icon-size) + var(--wp--preset--spacing--12) - 1px);
	border: 2px solid var(--wp--preset--color--action-primary);
	background-color: var(--wp--preset--color--action-primary-tint);
}

.et-checkout.et-checkout .wc-block-components-radio-control .wc-block-components-radio-control__option:has(.wc-block-components-radio-control__input:disabled) {
	background-color: var(--wp--preset--color--surface-subtle);
	color: var(--wp--preset--color--text-placeholder);
	cursor: not-allowed;
}

.et-checkout.et-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input {
	position: absolute;
	top: var(--wp--preset--spacing--16);
	left: var(--wp--preset--spacing--16);
	box-sizing: border-box;
	width: var(--et-icon-size);
	height: var(--et-icon-size);
	min-width: var(--et-icon-size);
	margin: 0;
	border: 2px solid var(--wp--preset--color--border-input);
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--surface-page);
	box-shadow: none;
	transform: none;
	appearance: none;
	-webkit-appearance: none;
}

.et-checkout.et-checkout .wc-block-components-radio-control__option-checked .wc-block-components-radio-control__input,
.et-checkout.et-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
	top: calc(var(--wp--preset--spacing--16) - 1px);
	left: calc(var(--wp--preset--spacing--16) - 1px);
	border-color: var(--wp--preset--color--action-primary);
}

.et-checkout.et-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: var(--wp--preset--spacing--12);
	height: var(--wp--preset--spacing--12);
	margin: 0;
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--action-primary);
	transform: translate(-50%, -50%);
}

.et-checkout.et-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input:disabled {
	border-color: var(--wp--preset--color--border-subtle);
}

.et-checkout.et-checkout .wc-block-components-radio-control__option-layout {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
	padding: 0;
}

.et-checkout.et-checkout .wc-block-components-radio-control__label-group {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--12);
}

.et-checkout.et-checkout .wc-block-components-radio-control__label,
.et-checkout.et-checkout .wc-block-components-radio-control__secondary-label {
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
	color: inherit;
	text-transform: none;
}

.et-checkout.et-checkout .wc-block-components-radio-control__secondary-label {
	flex: none;
	text-align: right;
	white-space: nowrap;
}

.et-checkout.et-checkout .wc-block-components-radio-control__secondary-label * {
	text-transform: none;
	font-weight: inherit;
}

.et-checkout.et-checkout .wc-block-components-radio-control__description-group,
.et-checkout.et-checkout .wc-block-components-radio-control__description,
.et-checkout.et-checkout .wc-block-components-radio-control__secondary-description {
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
}

.et-checkout.et-checkout .wc-block-components-payment-method-label {
	font: inherit;
}

/* Payment slot: gateway content as a grey panel under the options. */
.et-checkout.et-checkout .wc-block-checkout__payment-method,
.et-checkout.et-checkout .wc-block-components-radio-control-accordion-content {
	min-height: 0;
}

.et-checkout.et-checkout .wc-block-components-radio-control-accordion-content {
	margin: var(--wp--preset--spacing--16) 0 0;
	padding: var(--wp--preset--spacing--16);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-subtle);
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
}

.et-checkout.et-checkout .wc-block-components-radio-control-accordion-content:empty {
	display: none;
}

.et-checkout.et-checkout .wc-block-components-radio-control-accordion-content p {
	margin: 0;
}

/* Saved address card (returning customers). */
.et-checkout.et-checkout .wc-block-components-address-card {
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
}

.et-checkout.et-checkout .wc-block-components-address-card__edit {
	color: var(--wp--preset--color--text-brand);
	font-weight: var(--wp--custom--font-weight--semibold);
}

/* Order Summary card: pad 20, gap 16, border default, radius card. */
.et-checkout.et-checkout .wp-block-woocommerce-checkout-order-summary-block {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
	box-sizing: border-box;
	margin: 0;
	padding: var(--wp--preset--spacing--20);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.et-checkout.et-checkout .wc-block-components-checkout-order-summary__title {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--12);
	margin: 0;
	padding: 0;
	border: 0;
}

.et-checkout.et-checkout .wc-block-components-checkout-order-summary__title-text {
	flex: 1 1 auto;
	margin: 0;
	font-size: 1.25rem; /* Order Summary title 20/28 */
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 28px;
	color: var(--wp--preset--color--text-primary);
}

.et-checkout.et-checkout .wc-block-components-checkout-order-summary__content {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
	margin: 0;
	padding: 0;
}

.et-checkout.et-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper {
	margin: 0;
	padding: 0;
	border: 0;
}

.et-checkout.et-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper:empty,
.et-checkout.et-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper.slot-wrapper:not(:has(.wc-block-components-order-meta > *)) {
	display: none;
}

/* Dividers: items | coupon | rows | total. */
.et-checkout.et-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block.wc-block-components-totals-wrapper,
.et-checkout.et-checkout .wp-block-woocommerce-checkout-order-summary-totals-block,
.et-checkout.et-checkout .wc-block-components-totals-wrapper:has(> .wc-block-components-totals-footer-item) {
	padding-top: var(--wp--preset--spacing--16);
	border-top: 1px solid var(--wp--preset--color--border-default);
}

.et-checkout.et-checkout .wp-block-woocommerce-checkout-order-summary-totals-block {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
	margin: 0;
}

/* Items: 48px thumb | name 14/20 + "Quantity: n" 13/18 | total 16 semibold. */
.et-checkout.et-checkout .wc-block-components-order-summary,
.et-checkout.et-checkout .wc-block-components-order-summary__content {
	margin: 0;
	padding: 0;
	border: 0;
}

.et-checkout.et-checkout .wc-block-components-order-summary__content {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
}

.et-checkout.et-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	grid-template-rows: 1fr auto auto auto 1fr;
	grid-template-areas:
		"thumb .     total"
		"thumb name  total"
		"thumb meta  total"
		"thumb qty   total"
		"thumb .     total";
	column-gap: var(--wp--preset--spacing--12);
	align-items: center;
	margin: 0;
	padding: 0;
	border: 0;
}

.et-checkout.et-checkout .wc-block-components-order-summary-item__image,
.et-checkout.et-checkout .wc-block-components-order-summary-item__description {
	display: contents;
}

.et-checkout.et-checkout .wc-block-components-order-summary-item__image > img {
	grid-area: thumb;
	box-sizing: border-box;
	width: 48px;
	max-width: none;
	height: 48px;
	margin: 0;
	padding: 0;
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-muted);
	object-fit: contain;
}

.et-checkout.et-checkout .wc-block-components-order-summary-item .wc-block-components-product-name {
	grid-area: name;
	overflow: hidden;
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--regular);
	line-height: 20px;
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
	text-overflow: ellipsis;
}

.et-checkout.et-checkout .wc-block-components-order-summary-item .wc-block-components-product-metadata {
	grid-area: meta;
	margin: var(--wp--preset--spacing--4) 0 0;
	font-size: var(--wp--preset--font-size--label);
	line-height: 18px;
	color: var(--wp--preset--color--text-secondary);
}

.et-checkout.et-checkout .wc-block-components-order-summary-item .wc-block-components-product-metadata__description,
.et-checkout.et-checkout .wc-block-components-order-summary-item .wc-block-cart-item__prices,
.et-checkout.et-checkout .wc-block-components-order-summary-item .wc-block-components-order-summary-item__individual-prices {
	display: none;
}

.et-checkout.et-checkout .wc-block-components-order-summary-item .wc-block-components-order-summary-item__quantity {
	grid-area: qty;
	position: static;
	display: block;
	justify-self: start;
	min-width: 0;
	height: auto;
	margin: var(--wp--preset--spacing--4) 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--medium);
	line-height: 18px;
	color: var(--wp--preset--color--text-secondary);
	transform: none;
}

.et-checkout.et-checkout .wc-block-components-order-summary-item .wc-block-components-order-summary-item__quantity::before {
	content: "Quantity: ";
	content: "Quantity: " / "";
}

.et-checkout.et-checkout .wc-block-components-order-summary-item .wc-block-components-order-summary-item__total-price {
	grid-area: total;
	margin: 0;
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
	color: var(--wp--preset--color--text-primary);
	text-align: right;
	white-space: nowrap;
}

.et-checkout.et-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-product-price {
	font: inherit;
}

/* Coupon field (collapsed): 16 semibold row, min 44, chevron right. */
.et-checkout.et-checkout .wc-block-components-totals-coupon.wc-block-components-panel {
	margin: 0;
	padding: 0;
}

.et-checkout.et-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button {
	position: relative;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0 calc(var(--et-icon-size) + var(--wp--preset--spacing--8)) 0 0;
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
	color: var(--wp--preset--color--text-primary);
}

.et-checkout.et-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button-icon {
	position: absolute;
	top: 50%;
	right: 0;
	left: auto;
	width: var(--et-icon-size);
	height: var(--et-icon-size);
	margin: 0;
	transform: translateY(-50%);
}

.et-checkout.et-checkout .wc-block-components-totals-coupon .wc-block-components-panel__content {
	padding: var(--wp--preset--spacing--8) 0 0;
}

.et-checkout.et-checkout .wc-block-components-totals-coupon__form {
	display: flex;
	gap: var(--wp--preset--spacing--8);
	align-items: flex-end;
}

.et-checkout.et-checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input {
	flex: 1 1 auto;
}

.et-checkout.et-checkout .wc-block-components-totals-coupon__button {
	height: var(--et-field-height);
	min-height: var(--et-field-height);
	padding: 0 var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
	font-weight: var(--wp--custom--font-weight--semibold);
}

/* Rows: 16/24, label secondary, value primary; Total 16 semibold | 26/32 bold. */
.et-checkout.et-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0 var(--wp--preset--spacing--12);
	margin: 0;
	padding: 0;
	font-size: 1rem;
	line-height: 24px;
}

.et-checkout.et-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__label {
	color: var(--wp--preset--color--text-secondary);
	font-weight: var(--wp--custom--font-weight--regular);
}

.et-checkout.et-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__value,
.et-checkout.et-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__value strong {
	margin-left: auto;
	color: var(--wp--preset--color--text-primary);
	font-weight: var(--wp--custom--font-weight--regular);
	text-align: right;
}

.et-checkout.et-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__description {
	flex-basis: 100%;
	font-size: var(--wp--preset--font-size--label);
	line-height: 18px;
	color: var(--wp--preset--color--text-secondary);
}

.et-checkout.et-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__description:empty {
	display: none;
}

.et-checkout.et-checkout .wc-block-components-totals-footer-item.wc-block-components-totals-item {
	align-items: center;
}

.et-checkout.et-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	color: var(--wp--preset--color--text-primary);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-checkout.et-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.et-checkout.et-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-footer-item-tax-value {
	font-size: var(--wp--preset--font-size--price); /* 26/32 */
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 32px;
}

/* Primary action: 56px, radius control, action-primary, Button 16/24 semibold. */
.et-checkout.et-checkout .wc-block-checkout__actions {
	margin: 0;
	padding: 0;
}

.et-checkout.et-checkout .wc-block-checkout__actions_row {
	display: flex;
	margin: 0;
}

.et-checkout.et-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button {
	box-sizing: border-box;
	width: 100%;
	height: var(--et-button-height);
	min-height: var(--et-button-height);
	margin: 0;
	padding: 0 var(--wp--preset--spacing--32);
	border: 0;
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--action-primary);
	color: var(--wp--preset--color--text-inverse);
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
	box-shadow: none;
}

.et-checkout.et-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button:hover,
.et-checkout.et-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button:focus-visible {
	background-color: var(--wp--preset--color--action-primary-hover);
}

/* Terms line (moved below the button): 14/20 secondary, no separator. */
.et-checkout.et-checkout .wc-block-checkout__terms,
.et-checkout.et-checkout .wc-block-checkout__terms.wc-block-checkout__terms--with-separator {
	margin: var(--wp--preset--spacing--12) 0 0;
	padding: 0;
	border: 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
}

.et-checkout.et-checkout .wc-block-checkout__terms a {
	color: inherit;
	text-decoration: underline;
}

/* Small containers (Figma mobile): summary + Place order + terms read as one Order Summary card. */
.et-checkout.et-checkout .wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__actions {
	margin: 0;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--20) 0;
	border: 1px solid var(--wp--preset--color--border-default);
	border-bottom: 0;
	border-radius: var(--wp--custom--radius--card) var(--wp--custom--radius--card) 0 0;
	background-color: var(--wp--preset--color--surface-page);
}

.et-checkout.et-checkout .wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-block {
	margin: 0 0 var(--wp--preset--spacing--16);
	padding: 0;
	border: 0;
	border-radius: 0;
}

.et-checkout.et-checkout .wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__terms {
	margin: 0;
	padding: var(--wp--preset--spacing--16) var(--wp--preset--spacing--20) var(--wp--preset--spacing--20);
	border: 1px solid var(--wp--preset--color--border-default);
	border-top: 0;
	border-radius: 0 0 var(--wp--custom--radius--card) var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

/* 0.6.1 fixes found in the live-DOM check. */
.et-checkout.et-checkout fieldset.wc-block-components-checkout-step {
	min-width: 0; /* fieldset default min-width: min-content let the nowrap hint widen the column */
}

.et-checkout.et-checkout .wc-blocks-components-select,
.et-checkout.et-checkout .wc-block-components-country-input,
.et-checkout.et-checkout .wc-block-components-state-input {
	margin: 0;
}

.et-checkout.et-checkout .wc-block-components-order-summary-item .wc-block-components-order-summary-item__quantity span:not(.screen-reader-text) {
	margin: 0;
	padding: 0;
	color: inherit;
	font: inherit;
}

.et-checkout.et-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title {
	padding: 0;
	margin: 0;
	cursor: default;
}

.et-checkout.et-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
	font-size: 1.25rem;
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 28px;
}

.et-checkout.et-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-price,
.et-checkout.et-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-icon {
	display: none;
}

.et-checkout.et-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content {
	display: flex;
}

.et-checkout.et-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__value strong,
.et-checkout.et-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__value * {
	text-transform: none;
}

/* Mobile fill (WooCommerce prints it above Place order on small containers). */
.et-checkout.et-checkout .checkout-order-summary-block-fill-wrapper > .wc-block-components-checkout-step__heading {
	margin: 0;
}

.et-checkout.et-checkout .checkout-order-summary-block-fill-wrapper .wc-block-components-checkout-step__title.wc-block-components-checkout-step__title {
	font-size: 1.25rem;
	line-height: 28px;
}

.et-checkout.et-checkout .checkout-order-summary-block-fill {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
}

/* ===========================================================================
   Cart 0.6.2 - Figma "Cart / Desktop" (69:749), "Cart / Mobile" (69:2),
   "Cart / Desktop / Empty" (69:1590) and "Cart / Mobile / Empty" (69:656).
   Styles the real WooCommerce Cart block (no mock markup). Title and content
   bands are shared with the checkout (see the 0.6.1 section).
   Columns: items 1fr | Order summary 320-384 at container >= 824px.
   Item card: one row at main column >= 744px, else image + info, then controls.
   =========================================================================== */

.et-cart.et-cart.wp-block-woocommerce-cart {
	container-type: inline-size;
	container-name: et-cart;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.et-cart.et-cart .wc-block-components-sidebar-layout.wc-block-cart {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: var(--wp--preset--spacing--24);
	margin: 0;
	padding: 0;
}

.et-cart.et-cart .wc-block-components-sidebar-layout > .wc-block-cart__main,
.et-cart.et-cart .wc-block-components-sidebar-layout > .wc-block-cart__sidebar {
	align-self: stretch;
	box-sizing: border-box;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

@container et-cart (min-width: 824px) {
	.et-cart.et-cart .wc-block-components-sidebar-layout.wc-block-cart {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(var(--wp--custom--layout--summary-min-width), var(--wp--custom--layout--side-column-max-width));
		align-items: start;
	}

	.et-cart.et-cart .wc-block-components-sidebar-layout > .wc-block-cart__sidebar {
		align-self: start;
		position: sticky;
		top: calc(var(--et-header-height) + var(--wp--preset--spacing--24));
	}
}

/* Items column: ZIP card, item cards (gap 16), Continue shopping. */
.et-cart.et-cart .wc-block-cart__main {
	container-type: inline-size;
	container-name: et-cart-main;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--24);
}

.et-cart.et-cart .wc-block-cart__main > * {
	margin: 0;
}

/* ZIP card (only printed when the plugin has a ZIP in the session). */
.et-cart.et-cart .et-cart-zip {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
	box-sizing: border-box;
	margin: 0;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--20) var(--wp--preset--spacing--20) calc(var(--wp--preset--spacing--20) + var(--et-icon-size) + var(--wp--preset--spacing--8));
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--status-success-tint);
}

.et-cart.et-cart .et-cart-zip::before {
	content: "";
	position: absolute;
	top: var(--wp--preset--spacing--20);
	left: var(--wp--preset--spacing--20);
	width: var(--et-icon-size);
	height: var(--et-icon-size);
	background-color: var(--wp--preset--color--text-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%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='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.et-cart.et-cart .et-cart-zip__title {
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
	color: var(--wp--preset--color--text-primary);
}

.et-cart.et-cart .et-cart-zip__text {
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
}

/* Line items: cards instead of a table. */
.et-cart.et-cart table.wc-block-cart-items {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
}

.et-cart.et-cart table.wc-block-cart-items thead {
	display: none;
}

.et-cart.et-cart table.wc-block-cart-items tbody {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
}

/* Compact card (Figma mobile 69:2): image 80 + info; stepper | Remove | amount. */
.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row {
	display: grid;
	grid-template-columns: 80px 30px auto minmax(0, 1fr);
	grid-template-rows: auto auto auto 1fr auto; /* 1fr: spare image height goes under the price, never into an empty row */
	column-gap: var(--wp--preset--spacing--12);
	row-gap: 0;
	align-items: start;
	box-sizing: border-box;
	margin: 0;
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

@container et-cart-main (min-width: 560px) {
	.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row {
		padding: var(--wp--preset--spacing--20);
	}
}

.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row > td {
	box-sizing: border-box;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: top;
}

.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row > td.wc-block-cart-item__product,
.et-cart.et-cart .wc-block-cart-items__row .wc-block-cart-item__wrap,
.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-metadata,
.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-details,
.et-cart.et-cart .wc-block-cart-items__row .wc-block-cart-item__quantity {
	display: contents;
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-cart-item__wrap > *,
.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-details > * {
	grid-column: 2 / -1;
	margin: var(--wp--preset--spacing--4) 0 0;
}

.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row > td.wc-block-cart-item__image {
	grid-column: 1;
	grid-row: 1 / 5;
	width: 80px;
}

.et-cart.et-cart .wc-block-cart-item__image a {
	display: block;
}

.et-cart.et-cart .wc-block-cart-item__image img {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	height: auto;
	aspect-ratio: 1;
	margin: 0;
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-muted);
	object-fit: contain;
}

/* Info: brand 13/18 | model 16/24 | size 14/20 | price per unit 14/20. */
.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-details__brand {
	grid-row: 1;
	margin-top: 0;
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 18px;
	color: var(--wp--preset--color--text-secondary);
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-name {
	grid-row: 2;
	display: -webkit-box;
	overflow: hidden;
	max-width: none;
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-cart-item__wrap > .wc-block-components-product-name {
	margin-top: 0;
}

.et-cart.et-cart .wc-block-cart-items__row:has(.wc-block-components-product-details__brand) .wc-block-cart-item__wrap > .wc-block-components-product-name {
	margin-top: var(--wp--preset--spacing--4);
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-name:hover,
.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-name:focus-visible {
	text-decoration: underline;
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-details__size {
	grid-row: 3;
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-details__price,
.et-cart.et-cart .wc-block-cart-items__row .wc-block-cart-item__prices {
	grid-row: 4;
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-primary);
}

.et-cart.et-cart .wc-block-cart-items__row:has(.wc-block-components-product-details__price) .wc-block-cart-item__prices,
.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-metadata__description {
	display: none;
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-details > * {
	display: block;
}

/* Detail labels ("Brand:") stay for screen readers only; the " / " separators go. */
.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-details__name {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-details [aria-hidden="true"] {
	display: none;
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-badge {
	grid-row: 5;
	justify-self: start;
}

/* Controls row (compact): stepper | Remove | amount right. */
.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector {
	grid-column: 1 / 3;
	grid-row: 6;
	align-self: center;
	margin: var(--wp--preset--spacing--12) 0 0;
}

.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__remove-link {
	grid-column: 3;
	grid-row: 6;
	align-self: center;
	margin: var(--wp--preset--spacing--12) 0 0;
}

.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row > td.wc-block-cart-item__total {
	grid-column: 4;
	grid-row: 6;
	align-self: center;
	margin: var(--wp--preset--spacing--12) 0 0;
	text-align: right;
}

/* One-row card (Figma desktop 69:749): image 96 | info | stepper | amount | Remove. */
@container et-cart-main (min-width: 744px) {
	.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row {
		grid-template-columns: 96px minmax(0, 1fr) auto minmax(var(--wp--custom--layout--amount-col-min-width), auto) auto;
		grid-template-rows: 1fr auto auto auto auto 1fr;
		column-gap: var(--wp--preset--spacing--24);
		align-items: center;
	}

	.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row > td.wc-block-cart-item__image {
		grid-row: 1 / -1;
		width: 96px;
	}

	.et-cart.et-cart .wc-block-cart-items__row .wc-block-cart-item__wrap > *,
	.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-details > * {
		grid-column: 2;
	}

	.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-details__brand {
		grid-row: 2;
	}

	.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-name {
		grid-row: 3;
	}

	.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-details__size {
		grid-row: 4;
	}

	.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-details__price,
	.et-cart.et-cart .wc-block-cart-items__row .wc-block-cart-item__prices {
		grid-row: 5;
	}

	.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-product-badge {
		grid-row: 6;
		align-self: start;
	}

	.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector,
	.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__remove-link,
	.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row > td.wc-block-cart-item__total {
		grid-row: 1 / -1;
		margin: 0;
	}

	.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector {
		grid-column: 3;
	}

	.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row > td.wc-block-cart-item__total {
		grid-column: 4;
	}

	.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__remove-link {
		grid-column: 5;
	}
}

/* Quantity stepper: 40px, 1px border-input, radius 8, 24px minus / plus icons. */
.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector {
	display: flex;
	box-sizing: border-box;
	width: auto;
	min-width: 0;
	height: 40px;
	border: 1px solid var(--wp--preset--color--border-input);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	box-shadow: none;
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector::after {
	display: none;
	content: none;
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	order: 2;
	box-sizing: border-box;
	width: 40px;
	min-width: 40px;
	height: 38px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
	color: var(--wp--preset--color--text-primary);
	text-align: center;
	appearance: textfield;
	-moz-appearance: textfield;
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
	position: relative;
	display: flex;
	flex: 0 0 40px;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 40px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font-size: 0;
	color: var(--wp--preset--color--text-primary);
	opacity: 1;
	cursor: pointer;
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--minus {
	order: 1;
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--plus {
	order: 3;
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button::before {
	content: "";
	width: var(--et-icon-size);
	height: var(--et-icon-size);
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%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='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--plus::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E");
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:disabled {
	color: var(--wp--preset--color--text-placeholder);
	cursor: not-allowed;
}

.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus-visible,
.et-cart.et-cart .wc-block-cart-items__row .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input:focus-visible {
	outline: 2px solid var(--wp--preset--color--border-strong);
	outline-offset: -2px;
}

/* Remove: ghost button 44px, 16/24 semibold (accessible name stays the Woo aria-label). */
.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__remove-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: start;
	box-sizing: border-box;
	width: auto;
	height: 44px;
	padding: 0 var(--wp--preset--spacing--16);
	border: 0;
	border-radius: var(--wp--custom--radius--control);
	background: none;
	box-shadow: none;
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
	opacity: 1;
	cursor: pointer;
}

.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__remove-link > svg {
	display: none;
}

.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__remove-link::before {
	content: "Remove";
	content: "Remove" / "";
}

.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__remove-link:hover {
	background-color: var(--wp--preset--color--surface-muted);
}

.et-cart.et-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__remove-link:disabled {
	color: var(--wp--preset--color--text-placeholder);
	cursor: not-allowed;
}

/* Amount: line total 16/24 semibold, right, min 96. */
.et-cart.et-cart .wc-block-cart-item__total .wc-block-cart-item__total-price-and-sale-badge-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: var(--wp--preset--spacing--4);
}

.et-cart.et-cart .wc-block-cart-item__total .wc-block-components-product-price,
.et-cart.et-cart .wc-block-cart-item__total .wc-block-components-product-price__value {
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
	color: var(--wp--preset--color--text-primary);
	white-space: nowrap;
}

.et-cart.et-cart .wc-block-cart-item__total .wc-block-components-sale-badge {
	margin: 0;
	font-size: var(--wp--preset--font-size--caption);
	line-height: 16px;
}

/* Continue shopping: ghost button 48px. */
.et-cart.et-cart .et-cart-continue {
	margin: 0;
}

.et-cart.et-cart .et-cart-continue a {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	height: var(--wp--preset--spacing--48);
	padding: 0 var(--wp--preset--spacing--24);
	border-radius: var(--wp--custom--radius--control);
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
}

.et-cart.et-cart .et-cart-continue a:hover {
	background-color: var(--wp--preset--color--surface-muted);
}

/* Order Summary card: the whole sidebar (summary + button + note) is one card. */
.et-cart.et-cart .wc-block-components-sidebar-layout > .wc-block-cart__sidebar {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
	padding: var(--wp--preset--spacing--20);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.et-cart.et-cart .wc-block-cart__sidebar > * {
	margin: 0;
}

.et-cart.et-cart .wc-block-cart__sidebar > :not(:has(*)):not(p) {
	display: none;
}

.et-cart.et-cart .wp-block-woocommerce-cart-order-summary-block {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

.et-cart.et-cart .wc-block-cart__totals-title.wc-block-cart__totals-title {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1.25rem;
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 28px;
	color: var(--wp--preset--color--text-primary);
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
}

.et-cart.et-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-wrapper {
	margin: 0;
	padding: 0;
	border: 0;
}

.et-cart.et-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-wrapper:not(:has(*)),
.et-cart.et-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-wrapper.slot-wrapper:not(:has(.wc-block-components-order-meta > *)),
.et-cart.et-cart .wp-block-woocommerce-cart-order-summary-totals-block:not(:has(*)) {
	display: none;
}

/* Dividers: coupon | rows | total. */
.et-cart.et-cart .wp-block-woocommerce-cart-order-summary-totals-block,
.et-cart.et-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-wrapper:has(> .wc-block-components-totals-footer-item) {
	padding-top: var(--wp--preset--spacing--16);
	border-top: 1px solid var(--wp--preset--color--border-default);
}

.et-cart.et-cart .wp-block-woocommerce-cart-order-summary-totals-block {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
	margin: 0;
}

/* Coupon row: "Have a discount code?" 16 semibold, min 44, chevron right. */
.et-cart.et-cart .wc-block-components-totals-coupon.wc-block-components-panel {
	margin: 0;
	padding: 0;
}

.et-cart.et-cart .wc-block-components-totals-coupon .wc-block-components-panel__button {
	position: relative;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0 calc(var(--et-icon-size) + var(--wp--preset--spacing--8)) 0 0;
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
	color: var(--wp--preset--color--text-primary);
}

.et-cart.et-cart .wc-block-components-totals-coupon .wc-block-components-panel__button-icon {
	position: absolute;
	top: 50%;
	right: 0;
	left: auto;
	width: var(--et-icon-size);
	height: var(--et-icon-size);
	margin: 0;
	transform: translateY(-50%);
}

.et-cart.et-cart .wc-block-components-totals-coupon .wc-block-components-panel__content {
	padding: var(--wp--preset--spacing--8) 0 0;
}

.et-cart.et-cart .wc-block-components-totals-coupon__form {
	display: flex;
	align-items: flex-end;
	gap: var(--wp--preset--spacing--8);
}

.et-cart.et-cart .wc-block-components-totals-coupon__form .wc-block-components-text-input {
	flex: 1 1 auto;
	margin: 0;
}

.et-cart.et-cart .wc-block-components-totals-coupon__form .wc-block-components-text-input input[type] {
	box-sizing: border-box;
	height: var(--et-field-height);
	min-height: var(--et-field-height);
	border: 1px solid var(--wp--preset--color--border-input);
	border-radius: var(--wp--custom--radius--control);
	font-size: 1rem;
}

.et-cart.et-cart .wc-block-components-totals-coupon__button {
	height: var(--et-field-height);
	min-height: var(--et-field-height);
	padding: 0 var(--wp--preset--spacing--16);
	border: 2px solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
	font-weight: var(--wp--custom--font-weight--semibold);
}

/* Rows: 16/24, label secondary, value primary right; Total 16 semibold | 26/32 bold. */
.et-cart.et-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0 var(--wp--preset--spacing--12);
	margin: 0;
	padding: 0;
	font-size: 1rem;
	line-height: 24px;
}

.et-cart.et-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item__label {
	color: var(--wp--preset--color--text-secondary);
	font-weight: var(--wp--custom--font-weight--regular);
}

.et-cart.et-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item__value,
.et-cart.et-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item__value * {
	margin-left: auto;
	color: var(--wp--preset--color--text-primary);
	font-weight: var(--wp--custom--font-weight--regular);
	text-align: right;
	text-transform: none;
}

.et-cart.et-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item__description {
	flex-basis: 100%;
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
}

.et-cart.et-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item__description:not(:has(*)):empty {
	display: none;
}

.et-cart.et-cart .wc-block-components-totals-shipping__change-address,
.et-cart.et-cart .wc-block-components-totals-shipping__via,
.et-cart.et-cart .wc-block-components-shipping-address {
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
}

.et-cart.et-cart .wc-block-components-totals-footer-item.wc-block-components-totals-item {
	align-items: center;
}

.et-cart.et-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
	color: var(--wp--preset--color--text-primary);
}

.et-cart.et-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.et-cart.et-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value .wc-block-components-totals-footer-item-tax-value {
	font-size: 1.625rem; /* Price/Price 26/32 */
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 32px;
}

.et-cart.et-cart .wc-block-components-totals-footer-item .wc-block-components-totals-footer-item-shipping,
.et-cart.et-cart .wc-block-components-totals-footer-item .wc-block-components-totals-footer-item-tax {
	flex-basis: 100%;
	margin: var(--wp--preset--spacing--4) 0 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
}

/* Primary action: 56px, radius 8, action-primary, Button 16/24 semibold. */
.et-cart.et-cart .wc-block-cart__submit {
	margin: 0;
	padding: 0;
}

.et-cart.et-cart .wc-block-cart__submit-container {
	padding: 0;
}

.et-cart.et-cart .wc-block-cart__submit-container .wc-block-cart__submit-button {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: var(--et-button-height);
	min-height: var(--et-button-height);
	margin: 0;
	padding: 0 var(--wp--preset--spacing--32);
	border: 0;
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--action-primary);
	box-shadow: none;
	color: var(--wp--preset--color--text-inverse);
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
	text-decoration: none;
}

.et-cart.et-cart .wc-block-cart__submit-container .wc-block-cart__submit-button:hover,
.et-cart.et-cart .wc-block-cart__submit-container .wc-block-cart__submit-button:focus-visible {
	background-color: var(--wp--preset--color--action-primary-hover);
}

/* Figma has no pinned bar: the button stays in the card on small screens too (WooCommerce adds --sticky). */
.et-cart.et-cart .wc-block-cart__submit-container--sticky {
	position: static;
	width: auto;
	padding: 0;
	background: none;
	box-shadow: none;
}

.et-cart.et-cart .wc-block-cart__submit-container--sticky::before {
	display: none;
}

/* Note under the button (Figma: 14/20 secondary). */
.et-cart.et-cart .et-cart-note {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
}

/* Empty cart: Empty State Card (full container width). */
.et-cart.et-cart .wp-block-woocommerce-empty-cart-block {
	margin: 0;
	padding: 0;
}

.et-empty--cart.et-empty--cart {
	align-items: flex-start;
	gap: var(--wp--preset--spacing--16);
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: var(--wp--preset--spacing--24);
	border: 1px solid var(--wp--preset--color--border-subtle);
	border-radius: var(--wp--custom--radius--panel);
	background-color: var(--wp--preset--color--surface-subtle);
	text-align: left;
}

.et-empty--cart .et-empty__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--wp--preset--spacing--56, 56px);
	height: var(--wp--preset--spacing--56, 56px);
	margin: 0;
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--surface-muted);
	color: var(--wp--preset--color--text-secondary);
}

.et-empty--cart .et-empty__icon .et-svg {
	width: var(--et-icon-size);
	height: var(--et-icon-size);
}

.et-empty--cart .et-empty__text {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	margin: 0;
}

.et-empty--cart .et-empty__title.et-empty__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 28px;
	color: var(--wp--preset--color--text-primary);
}

.et-empty--cart .et-empty__lead {
	margin: 0;
	font-size: 1rem;
	line-height: 24px;
	color: var(--wp--preset--color--text-secondary);
}

.et-empty--cart .et-empty__actions.et-empty__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--wp--preset--spacing--12);
	width: 100%;
	margin: 0;
}

.et-empty--cart .et-empty__actions .wp-block-button {
	width: 100%;
	margin: 0;
}

.et-empty--cart .et-empty__actions .wp-block-button__link {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: var(--wp--preset--spacing--48);
	padding: 0 var(--wp--preset--spacing--24);
	border: 2px solid var(--wp--preset--color--action-primary);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--action-primary);
	color: var(--wp--preset--color--text-inverse);
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
	text-decoration: none;
}

.et-empty--cart .et-empty__actions .is-style-outline .wp-block-button__link {
	border-color: var(--wp--preset--color--border-strong);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
}

.et-empty--cart .et-empty__actions .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--action-primary-hover);
	background-color: var(--wp--preset--color--action-primary-hover);
}

.et-empty--cart .et-empty__actions .is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--border-strong);
	background-color: var(--wp--preset--color--surface-muted);
}

@media (min-width: 641px) {
	.et-empty--cart.et-empty--cart {
		padding: var(--wp--preset--spacing--32);
	}

	.et-empty--cart .et-empty__actions.et-empty__actions {
		flex-direction: row;
		width: auto;
	}

	.et-empty--cart .et-empty__actions .wp-block-button {
		width: auto;
	}
}

/* Checkout summary: the cart line details (brand, size, unit price) are not in Figma 70:840. */
.et-checkout.et-checkout .wc-block-components-order-summary-item .wc-block-components-product-details__brand,
.et-checkout.et-checkout .wc-block-components-order-summary-item .wc-block-components-product-details__size,
.et-checkout.et-checkout .wc-block-components-order-summary-item .wc-block-components-product-details__price {
	display: none;
}

/* =============================================================================
   Stage 7 (0.7.0) - Contact, 404, content page (TOC), tire line (pa_style).
   Cart 0.6.2 and Checkout 0.6.1 rules above are unchanged.
   ============================================================================= */
/* ===========================================================================
   Content pages 0.7.0 - Contact (148:7955/148:7863), 404 (154:7967/154:7875),
   Content page (173:2260/174:383), Tire line (160:8046/162:8799).
   =========================================================================== */

.et-section--subtle {
	background-color: var(--wp--preset--color--surface-subtle);
}

.et-section-header__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--h-2);
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 1.2;
	color: var(--wp--preset--color--text-primary);
}

.et-section-header__link {
	margin: 0;
	font-size: 1rem;
}

.et-section-header__link a {
	color: var(--wp--preset--color--text-brand);
	text-decoration: underline;
}

/* Shared help block (Figma Help Block). */
.et-help.et-help {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--16);
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--24);
	border: 1px solid var(--wp--preset--color--border-subtle);
	border-radius: var(--wp--custom--radius--panel);
	background-color: var(--wp--preset--color--surface-subtle);
}

.et-help__title.et-help__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 28px;
}

.et-help__lead {
	margin: var(--wp--preset--spacing--8) 0 0;
	font-size: 1rem;
	line-height: 24px;
	color: var(--wp--preset--color--text-secondary);
}

.et-help__actions.et-help__actions {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
	width: 100%;
	margin: 0;
}

.et-help__actions .wp-block-button {
	width: 100%;
	margin: 0;
}

.et-help__actions .wp-block-button__link {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: var(--wp--preset--spacing--48);
	padding: 0 var(--wp--preset--spacing--24);
	border: 2px solid var(--wp--preset--color--action-primary);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--action-primary);
	color: var(--wp--preset--color--text-inverse);
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	text-decoration: none;
}

.et-help__actions .is-style-outline .wp-block-button__link {
	border-color: var(--wp--preset--color--border-strong);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
}

@media (min-width: 641px) {
	.et-help.et-help {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: var(--wp--preset--spacing--32);
	}

	.et-help__actions.et-help__actions {
		flex-direction: row;
		width: auto;
	}

	.et-help__actions .wp-block-button {
		width: auto;
	}
}

/* ---------- Content page (TOC + prose) ---------- */
.et-content-title__h1 {
	margin: var(--wp--preset--spacing--16) 0 0;
	font-size: var(--wp--preset--font-size--h-1);
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 1.1;
}

.et-content-title__updated {
	display: block;
	margin: var(--wp--preset--spacing--8) 0 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
}

.et-content-title__updated::before {
	content: "Last updated: ";
}

.et-content-layout {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--24);
}

.et-toc {
	width: 100%;
}

.et-toc__desktop {
	display: none;
}

.et-toc__mobile {
	margin: 0;
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.et-toc__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
	padding: 0 var(--wp--preset--spacing--16);
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	cursor: pointer;
	list-style: none;
}

.et-toc__summary::-webkit-details-marker {
	display: none;
}

.et-toc__list {
	margin: 0;
	padding: 0 var(--wp--preset--spacing--16) var(--wp--preset--spacing--12);
	list-style: none;
}

.et-toc__list a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
	font-size: 1rem;
	line-height: 24px;
}

.et-toc__list .is-current a,
.et-toc__list a:hover {
	color: var(--wp--preset--color--text-brand);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-article.et-prose,
.et-article.et-prose.et-prose {
	max-width: min(var(--wp--custom--layout--prose-max-width), 100%);
	width: 100%;
}

.et-article.et-prose > * + * {
	margin-block-start: var(--wp--preset--spacing--16);
}

.et-article.et-prose h2 {
	margin-block-start: var(--wp--preset--spacing--32);
	font-size: var(--wp--preset--font-size--h-2);
	font-weight: var(--wp--custom--font-weight--bold);
}

.et-article.et-prose h3 {
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-article.et-prose a {
	color: var(--wp--preset--color--text-brand);
	text-decoration: underline;
}

.et-article.et-prose table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	overflow: hidden;
	font-size: var(--wp--preset--font-size--small);
}

.et-article.et-prose th {
	background-color: var(--wp--preset--color--surface-subtle);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-align: left;
}

.et-article.et-prose th,
.et-article.et-prose td {
	padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
	border-bottom: 1px solid var(--wp--preset--color--border-default);
	vertical-align: top;
}

.et-notice {
	display: flex;
	gap: var(--wp--preset--spacing--12);
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-muted);
}

.et-notice--error {
	border-color: var(--wp--preset--color--status-danger, #b42318);
	background-color: var(--wp--preset--color--status-danger-tint, #fef3f2);
}

.et-notice__text {
	margin: 0;
	font-size: 1rem;
	line-height: 24px;
}

@media (min-width: 768px) {
	.et-content-layout:has(.et-toc) {
		display: grid;
		grid-template-columns: var(--wp--custom--layout--account-nav-width, 264px) minmax(0, 1fr);
		column-gap: var(--wp--preset--spacing--32);
		align-items: start;
	}

	.et-toc__mobile {
		display: none;
	}

	.et-toc__desktop {
		display: block;
		position: sticky;
		top: calc(var(--et-header-height) + var(--wp--preset--spacing--16));
		box-sizing: border-box;
		padding: var(--wp--preset--spacing--16);
		border-radius: var(--wp--custom--radius--card);
		background-color: var(--wp--preset--color--surface-subtle);
	}

	.et-toc__title {
		margin: 0 0 var(--wp--preset--spacing--8);
		font-size: 1rem;
		font-weight: var(--wp--custom--font-weight--semibold);
	}

	.et-toc__list a {
		min-height: 36px;
	}

	.et-article.et-prose h2 {
		margin-block-start: var(--wp--preset--spacing--40);
	}
}

/* ---------- 404 ---------- */
.et-404-hero__eyebrow,
.et-contact-hero__eyebrow,
.et-tl-hero__eyebrow {
	margin: 0;
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 18px;
	color: var(--wp--preset--color--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.et-404-hero__title,
.et-contact-hero__title,
.et-tl-hero__title {
	margin: var(--wp--preset--spacing--8) 0 0;
	font-size: var(--wp--preset--font-size--h-1);
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 1.1;
}

.et-404-hero__lead,
.et-contact-hero__lead,
.et-tl-hero__intro {
	margin: var(--wp--preset--spacing--12) 0 0;
	max-width: 40rem;
	font-size: 1.125rem;
	line-height: 28px;
	color: var(--wp--preset--color--text-secondary);
}

.et-404-hero__actions,
.et-contact-hero__actions {
	margin: var(--wp--preset--spacing--24) 0 0;
}

.et-404-shortcuts__grid,
.et-404-cats__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--16);
	margin: var(--wp--preset--spacing--24) 0 0;
	padding: 0;
	list-style: none;
}

.et-404-card {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	box-sizing: border-box;
	height: 100%;
	padding: var(--wp--preset--spacing--20);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
}

.et-404-card:hover {
	border-color: var(--wp--preset--color--action-primary);
}

.et-404-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--et-icon-box);
	height: var(--et-icon-box);
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--action-primary-tint, var(--wp--preset--color--surface-muted));
	color: var(--wp--preset--color--action-primary);
}

.et-404-card__label {
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
}

.et-404-card__meta {
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
}

.et-404-call {
	margin: var(--wp--preset--spacing--16) 0 0;
	font-size: 1rem;
	color: var(--wp--preset--color--text-secondary);
}

.et-404-call a {
	color: var(--wp--preset--color--text-brand);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-decoration: underline;
}

@media (min-width: 641px) {
	.et-404-shortcuts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.et-404-cats__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.et-404-shortcuts__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ---------- Contact ---------- */
.et-contact-options,
.et-help-topics {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--16);
	margin: var(--wp--preset--spacing--24) 0 0;
	padding: 0;
	list-style: none;
}

.et-contact-option {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--4);
	box-sizing: border-box;
	height: 100%;
	padding: var(--wp--preset--spacing--20);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.et-contact-option__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--et-icon-box);
	height: var(--et-icon-box);
	margin-bottom: var(--wp--preset--spacing--8);
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--action-primary-tint, var(--wp--preset--color--surface-muted));
	color: var(--wp--preset--color--action-primary);
}

.et-contact-option__title {
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
}

.et-contact-option__value {
	font-size: 1rem;
	line-height: 24px;
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
	word-break: break-word;
}

a.et-contact-option__value {
	color: var(--wp--preset--color--text-brand);
	text-decoration: underline;
}

.et-contact-option__hint {
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
}

.et-contact-form-layout {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--24);
}

.et-contact-form__hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.et-contact-form__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--16);
}

.et-field {
	margin: 0;
}

.et-field__label {
	display: block;
	margin-bottom: var(--wp--preset--spacing--4);
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--medium, 500);
	line-height: 18px;
	color: var(--wp--preset--color--text-primary);
}

.et-field__input {
	box-sizing: border-box;
	width: 100%;
	height: var(--et-field-height);
	padding: 0 var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-input);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	font-size: 1rem;
	line-height: 24px;
	color: var(--wp--preset--color--text-primary);
}

.et-field__input--textarea {
	height: auto;
	min-height: 96px;
	padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
	resize: vertical;
}

.et-field--error .et-field__input {
	border-color: var(--wp--preset--color--status-danger, #b42318);
}

.et-field__error {
	display: block;
	margin-top: var(--wp--preset--spacing--4);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--status-danger, #b42318);
}

.et-contact-form__privacy {
	margin: var(--wp--preset--spacing--16) 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
}

.et-contact-form__submit .wp-element-button {
	height: var(--et-button-height);
	padding: 0 var(--wp--preset--spacing--32);
	border: 0;
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--action-primary);
	color: var(--wp--preset--color--text-inverse);
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	cursor: pointer;
}

.et-contact-side {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
}

.et-info-card {
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--20);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.et-info-card__title {
	margin: 0 0 var(--wp--preset--spacing--8);
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 24px;
}

.et-info-card__text {
	margin: 0;
	font-size: 1rem;
	line-height: 24px;
	color: var(--wp--preset--color--text-primary);
}

.et-info-card__text--muted,
.et-info-card__text + .et-info-card__text {
	margin-top: var(--wp--preset--spacing--8);
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
}

.et-contact-success {
	padding: var(--wp--preset--spacing--24);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.et-contact-success__badge {
	display: inline-flex;
	margin: 0 0 var(--wp--preset--spacing--12);
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--12);
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--status-success-tint, #ecfdf3);
	color: var(--wp--preset--color--status-success, #027a48);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-contact-success__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: var(--wp--custom--font-weight--bold);
}

.et-contact-success__text {
	margin: var(--wp--preset--spacing--8) 0 var(--wp--preset--spacing--16);
	color: var(--wp--preset--color--text-secondary);
}

.et-help-topic {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	box-sizing: border-box;
	height: 100%;
	padding: var(--wp--preset--spacing--20);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
	color: inherit;
	text-decoration: none;
}

.et-help-topic:hover {
	border-color: var(--wp--preset--color--action-primary);
}

.et-help-topic__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--et-icon-box);
	height: var(--et-icon-box);
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--surface-muted);
	color: var(--wp--preset--color--text-primary);
}

.et-help-topic__title {
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-help-topic__text {
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
}

.et-contact-faq {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--24);
}

.et-faq-item {
	margin: 0;
	padding: var(--wp--preset--spacing--16) 0;
	border-bottom: 1px solid var(--wp--preset--color--border-default);
}

.et-faq-item summary {
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	cursor: pointer;
}

.et-faq-item p {
	margin: var(--wp--preset--spacing--12) 0 0;
	color: var(--wp--preset--color--text-secondary);
	line-height: 24px;
}

.et-location-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--16);
	margin-top: var(--wp--preset--spacing--24);
}

.et-map-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--12);
	box-sizing: border-box;
	min-height: 240px;
	padding: var(--wp--preset--spacing--24);
	border: 1px dashed var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-muted);
	text-align: center;
}

.et-map-placeholder__caption,
.et-map-placeholder__hint {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
}

.et-btn-outline-link {
	display: inline-flex !important;
	align-items: center;
	height: var(--wp--preset--spacing--48);
	padding: 0 var(--wp--preset--spacing--24) !important;
	border: 2px solid var(--wp--preset--color--border-strong) !important;
	background: var(--wp--preset--color--surface-page) !important;
	color: var(--wp--preset--color--text-primary) !important;
}

@media (min-width: 641px) {
	.et-contact-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.et-help-topics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.et-contact-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.et-field--full {
		grid-column: 1 / -1;
	}

	.et-location-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.et-contact-options {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.et-help-topics {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.et-contact-form-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
		column-gap: var(--wp--preset--spacing--24);
		align-items: start;
	}

	.et-contact-faq {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
		column-gap: var(--wp--preset--spacing--32);
	}

	.et-location-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- Tire line ---------- */
.et-tl-hero__inner {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--24);
}

.et-tl-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--12);
	margin-top: var(--wp--preset--spacing--24);
}

.et-btn--secondary,
a.et-btn--secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: var(--wp--preset--spacing--48);
	padding: 0 var(--wp--preset--spacing--24);
	border: 2px solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
	text-decoration: none;
}

.et-tl-hero__media {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	aspect-ratio: 1;
	max-width: 240px;
	padding: var(--wp--preset--spacing--24);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-muted);
}

.et-tl-hero__img {
	display: block;
	width: 100%;
	height: auto;
}

.et-tl-facts__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--16);
	margin: 0;
	padding: 0;
	list-style: none;
}

.et-tl-facts__item {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.et-tl-facts__label {
	font-size: var(--wp--preset--font-size--label);
	line-height: 18px;
	color: var(--wp--preset--color--text-secondary);
}

.et-tl-facts__value {
	font-size: 1.25rem;
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 28px;
}

.et-tl-table-wrap {
	margin-top: var(--wp--preset--spacing--24);
	overflow-x: auto;
}

.et-tl-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.et-tl-table th,
.et-tl-table td {
	padding: var(--wp--preset--spacing--16);
	border-bottom: 1px solid var(--wp--preset--color--border-default);
	text-align: left;
	vertical-align: middle;
	font-size: 1rem;
	line-height: 24px;
}

.et-tl-table th {
	background-color: var(--wp--preset--color--surface-subtle);
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-tl-table__price {
	font-weight: var(--wp--custom--font-weight--semibold);
	text-align: right;
	white-space: nowrap;
}

.et-tl-table__link {
	color: var(--wp--preset--color--text-brand);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-decoration: underline;
	white-space: nowrap;
}

.et-tl-stock.is-in {
	color: var(--wp--preset--color--status-success, #027a48);
}

.et-tl-stock.is-out {
	color: var(--wp--preset--color--text-secondary);
}

.et-tl-more {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--12);
	align-items: center;
	margin: var(--wp--preset--spacing--16) 0 0;
	font-size: 1rem;
	color: var(--wp--preset--color--text-secondary);
}

.et-tl-more a {
	color: var(--wp--preset--color--text-brand);
	font-weight: var(--wp--custom--font-weight--semibold);
}

@media (max-width: 767px) {
	.et-tl-table thead {
		display: none;
	}

	.et-tl-table,
	.et-tl-table tbody,
	.et-tl-table tr,
	.et-tl-table td {
		display: block;
		width: 100%;
	}

	.et-tl-table tr {
		padding: var(--wp--preset--spacing--16);
	}

	.et-tl-table td {
		display: flex;
		justify-content: space-between;
		gap: var(--wp--preset--spacing--12);
		padding: var(--wp--preset--spacing--8) 0;
		border-bottom: 0;
		text-align: right;
	}

	.et-tl-table td::before {
		content: attr(data-label);
		font-weight: var(--wp--custom--font-weight--semibold);
		color: var(--wp--preset--color--text-secondary);
		text-align: left;
	}

	.et-tl-table__size {
		font-weight: var(--wp--custom--font-weight--semibold);
		font-size: 1.125rem;
	}

	.et-tl-table__action {
		justify-content: flex-end;
		padding-top: var(--wp--preset--spacing--12);
	}

	.et-tl-table__action::before {
		display: none;
	}
}

@media (min-width: 768px) {
	.et-tl-hero__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.et-tl-hero__text {
		flex: 1 1 auto;
		min-width: 0;
	}

	.et-tl-facts__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* =============================================================================
   0.7.1 / 0.7.2 Testing banner (inc/testing-banner.php). Toggle in Customizer.
   Sticky at the top; the sticky header sits below it via --et-banner-h.
   Dismissed (html.et-banner-off) = hidden and offset 0.
   ============================================================================= */
.et-has-testing-banner {
	--et-banner-h: 64px;
}

html.et-banner-off .et-has-testing-banner {
	--et-banner-h: 0px;
}

html.et-banner-off .et-testing-banner {
	display: none;
}

.et-testing-banner {
	position: sticky;
	top: 0;
	z-index: 101;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--12);
	height: var(--et-banner-h);
	padding: var(--wp--preset--spacing--8) calc(var(--wp--preset--spacing--48) + var(--wp--preset--spacing--8));
	background-color: var(--wp--preset--color--action-primary);
	color: var(--wp--preset--color--text-inverse);
	text-align: center;
}

.admin-bar .et-testing-banner {
	top: var(--wp-admin--admin-bar--height, 0);
}

.et-testing-banner__text {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: inherit;
}

.et-testing-banner__close {
	position: absolute;
	top: 50%;
	right: var(--wp--preset--spacing--8);
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.et-testing-banner__close[hidden] {
	display: none;
}

.et-testing-banner__close:hover {
	background-color: var(--wp--preset--color--action-primary-hover);
}

.et-testing-banner__close:focus-visible {
	outline: 2px solid var(--wp--preset--color--text-inverse);
	outline-offset: -4px;
}

/* Stack: admin bar, banner, sticky header. */
.et-has-testing-banner header.wp-block-template-part {
	top: var(--et-banner-h);
}

.admin-bar.et-has-testing-banner header.wp-block-template-part {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--et-banner-h));
}

@media (min-width: 641px) {
	.et-has-testing-banner {
		--et-banner-h: 56px;
	}

	.et-testing-banner__text {
		font-size: 17px;
	}
}

/* 0.7.3: other sticky elements sit below banner + header (--et-banner-h is 0 when closed). */
.et-has-testing-banner .et-list__bar.et-list__bar {
	top: calc(var(--et-header-height) + var(--et-banner-h));
}

.et-has-testing-banner .et-toc__desktop {
	top: calc(var(--et-header-height) + var(--et-banner-h) + var(--wp--preset--spacing--16));
}

@media (min-width: 641px) {
	.et-has-testing-banner .et-checkout.et-checkout .wc-block-components-sidebar-layout.is-large > .wc-block-checkout__sidebar,
	.et-has-testing-banner .et-cart.et-cart .wc-block-components-sidebar-layout > .wc-block-cart__sidebar {
		top: calc(var(--et-header-height) + var(--et-banner-h) + var(--wp--preset--spacing--24));
	}
}

/* =============================================================================
   Stage 8 (0.8.0) - real-data pass against Figma: product list, product page,
   brands hub, brand page, homepage products and brands.
   ============================================================================= */

/* List / home cards: brand line as in Figma Product Card (13/18 regular, not uppercase). */
.et-catalog ul.wc-block-product-template > li > .et-product__brand {
	text-transform: none;
	letter-spacing: normal;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 400;
}

/* Closed mobile filter drawer: WooCommerce only moves it off screen; hide it so it
   cannot be reached or painted (full-page captures, short viewports). */
@media (max-width: 782px) {
	.wc-block-product-filters:not(.is-overlay-opened) .wc-block-product-filters__overlay-dialog {
		visibility: hidden;
	}
}

/* Homepage brand tiles: plain names, no underline (Figma Brand tile). */
.et-brand a,
.et-brand a:hover {
	text-decoration: none;
}

.et-brand a:hover {
	color: var(--wp--preset--color--text-brand);
}

/* ---------------------------------------------------------------------------
   Product page
--------------------------------------------------------------------------- */
/* Gallery: main image in a grey frame, small square thumbnails in one row (Figma 30:726). */
.et-pdp__gallery .woocommerce-product-gallery__wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--8);
}

.et-pdp__gallery .woocommerce-product-gallery__wrapper > :first-child {
	flex: 1 0 100%;
	aspect-ratio: 6 / 5;
	padding: var(--wp--preset--spacing--24);
	box-sizing: border-box;
}

.et-pdp__gallery .woocommerce-product-gallery.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(n+2) {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	padding: var(--wp--preset--spacing--4);
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--border-subtle);
}

.et-pdp__gallery .woocommerce-product-gallery__image img {
	mix-blend-mode: multiply; /* white photo backgrounds blend into the grey frame */
}

@media (min-width: 783px) {
	.et-pdp__gallery .woocommerce-product-gallery__wrapper > :first-child {
		aspect-ratio: 6 / 5;
	}

	.et-pdp__gallery .woocommerce-product-gallery.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(n+2) {
		flex-basis: 80px;
		width: 80px;
		height: 80px;
	}
}

/* Duplicate stock line inside the add-to-cart form (the summary already shows it). */
.et-pdp__buy > .stock {
	display: none;
}

/* Quantity: short visible "Quantity" label; the long product-name label stays for screen readers. */
.et-pdp__buy .quantity label.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

.et-pdp__buy .quantity::before {
	content: "Quantity";
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--semibold);
}

/* ATDCommerce ZIP availability card (plugin markup untouched; CSS scoped to its classes). */
.atdcommerce-product-availability {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: var(--wp--preset--spacing--8) var(--wp--preset--spacing--12);
	padding: var(--wp--preset--spacing--20);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.atdcommerce-product-availability > * {
	margin: 0;
}

.atdcommerce-product-availability__title,
.atdcommerce-product-availability__hint,
.atdcommerce-product-availability__result {
	grid-column: 1 / -1;
}

.atdcommerce-product-availability__title {
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 1.4;
}

.atdcommerce-product-availability__hint {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
}

.atdcommerce-product-availability__field {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
}

.atdcommerce-product-availability__field label {
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.atdcommerce-product-availability__zip {
	box-sizing: border-box;
	width: 100%;
	min-height: var(--et-field-height);
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--12);
	border: 1px solid var(--wp--preset--color--border-input);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
	font: inherit;
}

.atdcommerce-product-availability .atdcommerce-product-availability__button {
	min-height: var(--et-field-height);
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--20);
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
	font: inherit;
	font-weight: var(--wp--custom--font-weight--semibold);
	cursor: pointer;
}

.atdcommerce-product-availability .atdcommerce-product-availability__button:hover {
	background-color: var(--wp--preset--color--surface-muted);
}

.atdcommerce-product-availability__result:empty {
	display: none;
}

/* ---------------------------------------------------------------------------
   Brands hub (Figma 115:2506)
--------------------------------------------------------------------------- */
.et-bc-brand-card {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
}

.et-bc-brand-card__cta {
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--12);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--semibold);
	color: var(--wp--preset--color--text-primary);
}

.et-bc-brand-card:hover .et-bc-brand-card__cta {
	color: var(--wp--preset--color--text-brand);
}

.et-bc-az-group__list.et-bc-az-group__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: var(--wp--preset--spacing--8);
	margin: 0;
	padding: 0;
	list-style: none;
}

.et-bc-az-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--8);
	min-height: 44px;
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--12);
	border: 1px solid var(--wp--preset--color--border-subtle);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	box-sizing: border-box;
	font-size: var(--wp--preset--font-size--small);
}

.et-bc-az-link:hover {
	border-color: var(--wp--preset--color--border-strong);
}

.et-bc-az-link__arrow {
	color: var(--wp--preset--color--text-secondary);
}

.et-bc-help__inner {
	background-color: var(--wp--preset--color--action-primary-tint);
	border-color: transparent;
}

/* ---------------------------------------------------------------------------
   Brand page: Popular lines (Figma 115:2572, Content Card Type Line)
--------------------------------------------------------------------------- */
.et-bc-lines__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(var(--et-card-min-width, 260px), 1fr));
	gap: var(--wp--preset--spacing--16);
	margin: 0;
	padding: 0;
	list-style: none;
}

.et-bc-line {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	padding: var(--wp--preset--spacing--20);
	border: 1px solid var(--wp--preset--color--border-subtle);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.et-bc-line > * {
	margin: 0;
}

.et-bc-line__title {
	font-size: var(--wp--preset--font-size--body-l);
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 1.3;
}

.et-bc-line__meta {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
}

.et-bc-line__from {
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-bc-line__link {
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--8);
	font-weight: var(--wp--custom--font-weight--semibold);
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
}

.et-bc-line__link:hover {
	color: var(--wp--preset--color--text-brand);
}

/* =============================================================================
   0.8.1 Product page fixes: gallery slider, buy box, ZIP availability result.
   ============================================================================= */

/* 0.9.3: the 0.8.1 FlexSlider gallery rules were removed (dead since 0.8.2, which uses Splide). */

/* ---------------------------------------------------------------------------
   Buy box: Quantity + Add to cart (Figma 30:726 / 29:375).
   Phones: stacked, 12 px gap. 641 px and up: side by side, same 52 px height.
--------------------------------------------------------------------------- */
.et-pdp__buy form.cart {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
	margin: 0;
}

.et-pdp__buy form.cart .quantity {
	margin: 0;
}

.et-pdp__buy form.cart .quantity input.qty,
.et-pdp__buy form.cart .single_add_to_cart_button {
	box-sizing: border-box;
	height: var(--et-button-height, 52px);
	min-height: var(--et-button-height, 52px);
	margin: 0;
}

@media (min-width: 641px) {
	.et-pdp__buy form.cart .quantity input.qty {
		width: 100%;
	}

	.et-pdp__buy form.cart {
		flex-direction: row;
		align-items: flex-end;
	}

	.et-pdp__buy form.cart .quantity {
		flex: 0 0 128px;
	}

	.et-pdp__buy form.cart .single_add_to_cart_button {
		flex: 1 1 auto;
		width: auto;
	}
}

/* ---------------------------------------------------------------------------
   ZIP availability result (ATDCommerce plugin output, classes only; plugin untouched).
   The plugin prints plain paragraphs without a stock level, so assets/js/availability-level.js
   (1.0.8) reads the quantity line and sets data-stock-level on the result:
   - high    ("10+ available")     green card, check icon;
   - limited ("Only N available")  orange card, "!" icon;
   - out     ("Currently unavailable") red card, "x" icon.
   Without the script a result with a status line stays a neutral card (never green);
   a message only (invalid ZIP / service error) is a grey notice with an info icon;
   while checking (button aria-busy=true) the card is muted.
--------------------------------------------------------------------------- */
.atdcommerce-product-availability__result:not(:empty) {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
	padding: var(--wp--preset--spacing--16) var(--wp--preset--spacing--16) var(--wp--preset--spacing--16) calc(var(--wp--preset--spacing--16) + 32px + var(--wp--preset--spacing--12));
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-subtle);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
	color: var(--wp--preset--color--text-secondary);
}

.atdcommerce-product-availability__result p {
	margin: 0;
}

/* Icon circle. */
.atdcommerce-product-availability__result:not(:empty)::before {
	content: "!";
	position: absolute;
	top: var(--wp--preset--spacing--16);
	left: var(--wp--preset--spacing--16);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: var(--wp--preset--color--text-secondary);
	color: var(--wp--preset--color--text-inverse);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--bold);
}

/* Message-only result (invalid ZIP, service error): one line, vertically centred on the icon. */
.atdcommerce-product-availability__result:not(:has(.atdcommerce-product-availability__status)):not(:empty) {
	justify-content: center;
	min-height: calc(32px + 2 * var(--wp--preset--spacing--16));
	box-sizing: border-box;
	color: var(--wp--preset--color--text-primary);
}

/* Result with availability, level "high" (10+): green card with a check icon. */
.atdcommerce-product-availability__result[data-stock-level="high"] {
	border-color: var(--wp--preset--color--status-success);
	background-color: var(--wp--preset--color--status-success-tint);
}

.atdcommerce-product-availability__result[data-stock-level="high"]::before {
	content: "";
	background-color: var(--wp--preset--color--status-success);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 16px;
}

.atdcommerce-product-availability__status {
	font-size: var(--wp--preset--font-size--base);
	color: var(--wp--preset--color--text-primary);
}

/* Last line = quantity ("10+ available"): shown as a stock pill, coloured by level below. */
.atdcommerce-product-availability__result:has(.atdcommerce-product-availability__status) > p:last-child:not(.atdcommerce-product-availability__status) {
	align-self: flex-start;
	margin-top: var(--wp--preset--spacing--4);
	padding: 2px var(--wp--preset--spacing--12);
	border: 1px solid currentColor;
	border-radius: 999px;
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-secondary);
	font-weight: var(--wp--custom--font-weight--semibold);
}

/* Loading: while the plugin request runs (button aria-busy). */
.atdcommerce-product-availability:has(.atdcommerce-product-availability__button[aria-busy="true"]) .atdcommerce-product-availability__result {
	opacity: 0.5;
}

.atdcommerce-product-availability__button[aria-busy="true"] {
	cursor: progress;
	opacity: 0.7;
}

/* Level "limited" (1-9): orange card with a "!" icon. */
.atdcommerce-product-availability__result[data-stock-level="limited"] {
	border-color: var(--wp--preset--color--status-warning);
	background-color: var(--wp--preset--color--status-warning-tint);
}

.atdcommerce-product-availability__result[data-stock-level="limited"]::before {
	content: "!";
	background-color: var(--wp--preset--color--status-warning);
}

/* Level "out" (unavailable): red card with an "x" icon. */
.atdcommerce-product-availability__result[data-stock-level="out"] {
	border-color: var(--wp--preset--color--status-error);
	background-color: var(--wp--preset--color--status-error-tint);
}

.atdcommerce-product-availability__result[data-stock-level="out"]::before {
	content: "\00d7";
	background-color: var(--wp--preset--color--status-error);
}

/* Quantity pill text colour per level. */
.atdcommerce-product-availability__result[data-stock-level="high"] > p:last-child:not(.atdcommerce-product-availability__status) {
	color: var(--wp--preset--color--status-success);
}

.atdcommerce-product-availability__result[data-stock-level="limited"] > p:last-child:not(.atdcommerce-product-availability__status) {
	color: var(--wp--preset--color--status-warning);
}

.atdcommerce-product-availability__result[data-stock-level="out"] > p:last-child:not(.atdcommerce-product-availability__status) {
	color: var(--wp--preset--color--status-error);
}

.atdcommerce-product-availability__shipping {
	display: flex;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--8);
	margin-top: var(--wp--preset--spacing--8);
	padding-top: var(--wp--preset--spacing--8);
	border-top: 1px solid var(--wp--preset--color--border-default);
	color: var(--wp--preset--color--text-secondary);
}

.atdcommerce-product-availability__shipping-cost {
	font-weight: var(--wp--custom--font-weight--semibold);
	color: var(--wp--preset--color--text-primary);
}

/* ---------------------------------------------------------------------------
   Availability 1.0.9 (assets/js/availability-level.js, inc/availability.php).
   - Own-stock ZIP card: same markup and classes as the plugin card, so the rules above apply.
   - "Search similar sizes": shown below the card on every red state (ATD out, own out, own ZIP
     not serviceable). Outside the result element, so the stock-pill rules never touch it.
--------------------------------------------------------------------------- */
.atdcommerce-product-availability .et-avail-similar {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
	padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-muted);
}

.atdcommerce-product-availability .et-avail-similar__text {
	flex: 1 1 200px;
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-primary);
}

.atdcommerce-product-availability .et-avail-similar__button.et-button {
	flex: 0 0 auto;
	border: 0;
	background-color: var(--wp--preset--color--action-primary);
	color: var(--wp--preset--color--text-inverse);
}

.atdcommerce-product-availability .et-avail-similar__button.et-button:hover {
	background-color: var(--wp--preset--color--action-primary-hover);
}

@media (max-width: 640px) {
	.atdcommerce-product-availability .et-avail-similar__button.et-button {
		width: 100%;
	}
}

/* Own-stock card: the ZIP box is the only form control; keep the button on one line. */
.et-own-availability .atdcommerce-product-availability__button {
	white-space: nowrap;
}

/* =============================================================================
   0.8.2 Product gallery slider (Splide, assets/js/gallery.js).
   Same Figma look: grey 6:5 frame, 72 / 80 px thumbnails, one scrolling row.
   ============================================================================= */
.et-pdp__gallery .et-gallery--slider .et-gallery__main {
	position: relative;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-muted);
}

.et-pdp__gallery .et-gallery--slider .et-gallery__main .woocommerce-product-gallery__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	aspect-ratio: 6 / 5;
	margin: 0;
	padding: var(--wp--preset--spacing--24);
	box-sizing: border-box;
	border: 0;
	border-radius: 0;
	background-color: var(--wp--preset--color--surface-muted);
}

.et-pdp__gallery .et-gallery--slider .et-gallery__main .woocommerce-product-gallery__image a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	cursor: default;
}

.et-pdp__gallery .et-gallery--slider .et-gallery__main .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.et-pdp__gallery .et-gallery--slider .splide__arrow {
	position: absolute;
	top: 50%;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: 50%;
	background-color: var(--wp--preset--color--surface-page);
	cursor: pointer;
	transform: translateY(-50%);
}

.et-pdp__gallery .et-gallery--slider .splide__arrow--prev {
	left: var(--wp--preset--spacing--12);
}

.et-pdp__gallery .et-gallery--slider .splide__arrow--next {
	right: var(--wp--preset--spacing--12);
}

.et-pdp__gallery .et-gallery--slider .splide__arrow svg {
	width: 16px;
	height: 16px;
	fill: var(--wp--preset--color--text-primary);
}

.et-pdp__gallery .et-gallery--slider .splide__arrow--prev svg {
	transform: scaleX(-1);
}

.et-pdp__gallery .et-gallery--slider .splide__arrow:hover {
	border-color: var(--wp--preset--color--border-strong);
}

.et-pdp__gallery .et-gallery--slider .splide__arrow:disabled {
	opacity: 0.4;
	cursor: default;
}

.et-pdp__gallery .et-gallery--slider .splide__arrow:focus-visible,
.et-pdp__gallery .et-gallery--slider .splide:focus-visible,
.et-pdp__gallery .et-gallery--slider .splide__slide:focus-visible {
	outline: 2px solid var(--wp--preset--color--text-primary);
	outline-offset: 2px;
}

.et-pdp__gallery .et-gallery--slider .et-gallery__thumbs {
	margin-top: var(--wp--preset--spacing--8);
}

.et-pdp__gallery .et-gallery--slider .et-gallery__thumbs .splide__slide {
	padding: var(--wp--preset--spacing--4);
	box-sizing: border-box;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border-subtle);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-muted);
	opacity: 0.75;
	cursor: pointer;
}

.et-pdp__gallery .et-gallery--slider .et-gallery__thumbs .splide__slide.is-active {
	border: 2px solid var(--wp--preset--color--text-primary);
	opacity: 1;
}

.et-pdp__gallery .et-gallery--slider .et-gallery__thumbs .splide__slide:hover {
	opacity: 1;
}

.et-pdp__gallery .et-gallery--slider .et-gallery__thumbs img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

/* =============================================================================
   0.8.3 Polish: search widget row, collapsible filters, product page top gap.
   ============================================================================= */

/* Search widget (Figma 36:1483): from 1024 px the Tires / Wheels / Parts switch and
   By size / By vehicle share one row. The visible panel uses display: contents so
   its method tabs join the widget grid; no markup change, same radios. */
@media (min-width: 1024px) {
	@supports selector(:has(*)) {
		.et-search {
			display: grid;
			grid-template-columns: minmax(256px, max-content) minmax(0, 1fr);
			align-items: end;
			column-gap: var(--wp--preset--spacing--16);
		}

		.et-search > * {
			grid-column: 1 / -1;
		}

		.et-search > .et-search__cats {
			grid-column: 1;
			grid-row: 1;
			margin: 0;
		}

		.et-search:has(.et-search__cat--tires:checked) .et-search__panel--tires,
		.et-search:has(.et-search__cat--wheels:checked) .et-search__panel--wheels,
		.et-search:has(.et-search__cat--parts:checked) .et-search__panel--parts {
			display: contents;
		}

		.et-search__panel > * {
			grid-column: 1 / -1;
		}

		.et-search__panel > .et-search__methods {
			grid-column: 2;
			grid-row: 1;
			margin: 0;
		}

		.et-search__panel > .et-search__pane,
		.et-search__panel > .et-search__form,
		.et-search__panel > .et-search__empty {
			margin-top: var(--wp--preset--spacing--16);
		}

		/* Parts has no method tabs: keep the row height with an empty underline cell. */
		.et-search:has(.et-search__cat--parts:checked)::after {
			content: "";
			grid-column: 2;
			grid-row: 1;
			align-self: stretch;
			border-bottom: 1px solid var(--wp--preset--color--border-subtle);
		}
	}
}

/* Product list filters (Figma 23:564 Filter Group): native <details>, chevron right. */
.et-filter__group > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--8);
	min-height: 24px;
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.et-filter__group > summary::-webkit-details-marker {
	display: none;
}

.et-filter__group > summary::after {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	margin-right: 4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.et-filter__group[open] > summary::after {
	transform: translateY(2px) rotate(-135deg);
}

.et-filter__group > summary:focus-visible {
	outline: 2px solid var(--wp--preset--color--border-strong);
	outline-offset: 2px;
}

.et-filter__group[open] > summary {
	margin-bottom: var(--wp--preset--spacing--12);
}

.et-filter__group.wp-block-details > :not(summary) {
	margin-block-start: 0;
}

.et-filter.et-filter:has(.et-filter__group:not([open])) {
	padding-block: var(--wp--preset--spacing--12);
}

/* Product page: breadcrumb 16 px under the header (12 px on phones), Figma 30:726 / 29:375,
   same as the list pages. The main group's section padding and block gap are removed. */
body.single-product .wp-site-blocks > .woocommerce.product {
	margin-block-start: 0;
}

body.single-product .woocommerce.product > main.et-main.et-section {
	padding-top: var(--wp--preset--spacing--12);
}

@media (min-width: 783px) {
	body.single-product .woocommerce.product > main.et-main.et-section {
		padding-top: var(--wp--preset--spacing--16);
	}
}

/* =============================================================================
   0.9.0 Tire line page (Figma 160:8046 desktop / 162:8799 mobile).
   ============================================================================= */
.et-main--tl > .et-tl-hero.et-section {
	padding-top: var(--wp--preset--spacing--16);
	padding-bottom: 0;
}

.et-tl-hero__inner {
	display: grid;
	gap: var(--wp--preset--spacing--16);
}

.et-tl-hero__text {
	padding: var(--wp--preset--spacing--32) var(--wp--preset--spacing--24);
	border-radius: var(--wp--custom--radius--panel);
	background-color: var(--wp--preset--color--surface-inverse);
	color: var(--wp--preset--color--text-inverse);
}

.et-tl-hero__text .et-tl-hero__title {
	color: inherit;
}

.et-tl-hero__text .et-tl-hero__eyebrow {
	color: var(--wp--preset--color--text-inverse-secondary, rgba(255, 255, 255, 0.72));
	text-transform: none;
	letter-spacing: 0;
}

.et-tl-hero__text .et-tl-hero__intro {
	color: var(--wp--preset--color--text-inverse-secondary, rgba(255, 255, 255, 0.72));
}

.et-tl-hero__text .et-btn--secondary {
	border-color: var(--wp--preset--color--surface-page);
}

.et-tl-hero__media {
	max-width: none;
	aspect-ratio: auto;
	min-height: 200px;
	padding: var(--wp--preset--spacing--24);
	border: 1px solid var(--wp--preset--color--border-subtle);
	border-radius: var(--wp--custom--radius--panel);
	background-color: var(--wp--preset--color--surface-muted);
}

.et-tl-hero__img {
	width: auto;
	max-width: 100%;
	max-height: 220px;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.et-tl-hero__img--placeholder {
	width: 120px;
	height: 120px;
}

@media (min-width: 1024px) {
	.et-tl-hero__inner {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	}

	.et-tl-hero__text {
		padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--32);
	}
}

/* Key facts: one bordered card with four columns, chips below. */
.et-tl-facts {
	padding-block: var(--wp--preset--spacing--24) var(--wp--preset--spacing--48);
}

.et-tl-facts__list {
	gap: var(--wp--preset--spacing--16);
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.et-tl-facts__item {
	gap: var(--wp--preset--spacing--4);
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.et-tl-facts__label {
	margin: 0;
}

.et-tl-facts__value {
	margin: 0;
	font-size: 1rem;
	line-height: 24px;
}

@media (min-width: 783px) {
	.et-tl-facts__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--24);
	}
}

.et-tl-chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--8);
	margin: var(--wp--preset--spacing--16) 0 0;
	padding: 0;
	list-style: none;
}

.et-tl-chip {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--12);
	border-radius: 999px;
	background-color: var(--wp--preset--color--surface-muted);
	color: var(--wp--preset--color--text-primary);
	font-size: var(--wp--preset--font-size--label);
	line-height: 18px;
}

.et-tl-chip--accent {
	background-color: var(--wp--preset--color--action-primary-tint, var(--wp--preset--color--status-error-tint));
	color: var(--wp--preset--color--text-brand);
}

/* Size finder: dark band with the search-widget card. */
.et-tl-finder {
	padding-block: var(--wp--preset--spacing--48);
	background-color: var(--wp--preset--color--surface-inverse);
	color: var(--wp--preset--color--text-inverse);
}

.et-tl-finder__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--h-2);
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 1.2;
	color: inherit;
}

.et-tl-finder__lead {
	margin: var(--wp--preset--spacing--8) 0 var(--wp--preset--spacing--24);
	color: var(--wp--preset--color--text-inverse-secondary, rgba(255, 255, 255, 0.72));
}

.et-tl-finder__form.et-search {
	display: block;
	padding: var(--wp--preset--spacing--16);
}

.et-tl-finder__form .et-search__fields--more {
	margin-top: var(--wp--preset--spacing--12);
}

@media (min-width: 641px) {
	.et-tl-finder__form.et-search {
		padding: var(--wp--preset--spacing--24);
	}
}

@media (min-width: 1024px) {
	.et-tl-finder {
		padding-block: var(--wp--preset--spacing--64);
	}
}

/* Section titles. */
.et-tl-section-title {
	margin: 0;
	font-size: var(--wp--preset--font-size--h-2);
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 1.2;
}

/* Sizes: rim chips + sort, table. */
.et-tl-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--16);
	margin-top: var(--wp--preset--spacing--24);
}

.et-tl-rims {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--8);
	margin: 0;
	padding: 0;
	list-style: none;
}

.et-tl-rim {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 44px;
	min-height: 36px;
	padding: 0 var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: 999px;
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
	font-size: var(--wp--preset--font-size--small);
	text-decoration: none;
}

.et-tl-rim:hover {
	border-color: var(--wp--preset--color--border-strong);
}

.et-tl-rim.is-active {
	border-color: var(--wp--preset--color--surface-inverse);
	background-color: var(--wp--preset--color--surface-inverse);
	color: var(--wp--preset--color--text-inverse);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-tl-sort {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
	width: 100%;
	max-width: 280px;
	margin-left: auto;
}

.et-tl-sort__label {
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-tl-sort__select.et-search__select {
	width: 100%;
}

.et-tl-table-wrap {
	margin-top: var(--wp--preset--spacing--16);
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
}

.et-tl-table {
	border: 0;
	border-radius: 0;
}

.et-tl-table tbody tr:last-child > * {
	border-bottom: 0;
}

.et-tl-table th[scope="row"] {
	background: none;
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-tl-table__specs {
	color: var(--wp--preset--color--text-secondary);
}

.et-tl-table th.et-tl-table__price {
	text-align: right;
}

.et-tl-table__action {
	width: 1%;
	text-align: right;
}

.et-tl-table__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 40px;
	padding: 0 var(--wp--preset--spacing--16);
	border: 2px solid var(--wp--preset--color--action-primary);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--action-primary);
	color: var(--wp--preset--color--text-inverse);
	font-size: var(--wp--preset--font-size--small);
	text-decoration: none;
}

.et-tl-table__link:hover {
	border-color: var(--wp--preset--color--action-primary-hover);
	background-color: var(--wp--preset--color--action-primary-hover);
}

.et-tl-table__link.is-secondary {
	border-color: var(--wp--preset--color--border-strong);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
}

.et-tl-stock {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
	font-size: var(--wp--preset--font-size--label);
	color: var(--wp--preset--color--text-primary);
}

.et-tl-stock::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--wp--preset--color--status-success);
}

.et-tl-stock.is-low::before {
	background-color: var(--wp--preset--color--status-warning);
}

.et-tl-stock.is-out::before {
	background-color: var(--wp--preset--color--status-error);
}

.et-tl-more {
	justify-content: space-between;
}

.et-tl-more__count {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
}

.et-tl-nomatch {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--12);
	margin-top: var(--wp--preset--spacing--16);
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-subtle);
}

.et-tl-nomatch p {
	margin: 0;
}

@media (max-width: 767px) {
	.et-tl-sort {
		max-width: none;
	}

	.et-tl-table-wrap {
		overflow: visible;
		border: 0;
		border-radius: 0;
	}

	.et-tl-table,
	.et-tl-table tbody {
		display: block;
		width: 100%;
	}

	.et-tl-table tr {
		box-sizing: border-box;
		width: 100%;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: var(--wp--preset--spacing--4) var(--wp--preset--spacing--12);
		margin-bottom: var(--wp--preset--spacing--12);
		padding: var(--wp--preset--spacing--16);
		border: 1px solid var(--wp--preset--color--border-default);
		border-radius: var(--wp--custom--radius--card);
	}

	.et-tl-table tr > * {
		display: block;
		min-width: 0;
		padding: 0;
		border: 0;
		text-align: left;
	}

	.et-tl-table tbody tr:last-child > * {
		border: 0;
	}

	.et-tl-table td::before {
		content: none;
	}

	.et-tl-table__size {
		grid-column: 1;
	}

	.et-tl-table td.et-tl-table__price {
		grid-column: 2;
		grid-row: 1;
		text-align: right;
	}

	.et-tl-table__specs,
	.et-tl-table__stock {
		grid-column: 1 / -1;
	}

	.et-tl-table__action {
		grid-column: 1 / -1;
		width: auto;
		margin-top: var(--wp--preset--spacing--8);
	}

	.et-tl-table__link {
		width: 100%;
		min-height: 44px;
	}
}

/* Key specs cards. */
.et-tl-specs__grid {
	display: grid;
	gap: var(--wp--preset--spacing--16);
	margin-top: var(--wp--preset--spacing--24);
}

@media (min-width: 783px) {
	.et-tl-specs__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.et-tl-spec {
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.et-tl-spec__title {
	margin: 0 0 var(--wp--preset--spacing--8);
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: 18px;
	color: var(--wp--preset--color--text-secondary);
}

.et-tl-spec__rows {
	display: grid;
	gap: var(--wp--preset--spacing--8);
	margin: 0;
}

.et-tl-spec__row {
	font-size: var(--wp--preset--font-size--small);
	line-height: 20px;
}

.et-tl-spec__row dt,
.et-tl-spec__row dd {
	display: inline;
	margin: 0;
}

.et-tl-spec__row:first-child {
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-tl-spec__row:nth-child(n+3) {
	font-size: var(--wp--preset--font-size--label);
	color: var(--wp--preset--color--text-secondary);
}

/* About, pros and considerations. */
.et-tl-about__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--16);
}

.et-tl-about__text {
	max-width: var(--wp--custom--layout--prose-max-width, 720px);
	margin-top: var(--wp--preset--spacing--16);
}

.et-tl-pros__grid {
	display: grid;
	gap: var(--wp--preset--spacing--16);
	margin-top: var(--wp--preset--spacing--24);
}

@media (min-width: 783px) {
	.et-tl-pros__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.et-tl-pros__best {
	margin-top: var(--wp--preset--spacing--24);
}

.et-tl-pros__label {
	margin: 0;
	font-size: 1rem;
	font-weight: var(--wp--custom--font-weight--semibold);
}

.et-tl-pros__card {
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.et-tl-pros__list {
	display: grid;
	gap: var(--wp--preset--spacing--8);
	margin: var(--wp--preset--spacing--12) 0 0;
	padding-left: var(--wp--preset--spacing--20);
}

/* Related lines. */
.et-tl-related__grid {
	display: grid;
	gap: var(--wp--preset--spacing--16);
	margin: var(--wp--preset--spacing--24) 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 783px) {
	.et-tl-related__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.et-tl-line {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	padding: var(--wp--preset--spacing--12);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
}

.et-tl-line:hover {
	border-color: var(--wp--preset--color--border-strong);
}

.et-tl-line__media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 104px;
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-muted);
}

.et-tl-line__img {
	width: auto;
	height: 88px;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.et-tl-line__season {
	align-self: flex-start;
	margin-top: var(--wp--preset--spacing--4);
}

.et-tl-line__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 28px;
}

.et-tl-line__title a {
	color: inherit;
	text-decoration: none;
}

.et-tl-line__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.et-tl-line__title a:focus-visible::after {
	outline: 2px solid var(--wp--preset--color--border-strong);
	outline-offset: 2px;
}

.et-tl-line__meta,
.et-tl-line__from {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
}

.et-tl-line__from {
	font-weight: var(--wp--custom--font-weight--semibold);
	color: var(--wp--preset--color--text-primary);
}

.et-tl-line__cta {
	margin-top: auto;
	padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--8) var(--wp--preset--spacing--4);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--semibold);
}

/* FAQ (only rendered with store content). */
.et-tl-faq__inner {
	display: grid;
	gap: var(--wp--preset--spacing--24);
}

@media (min-width: 1024px) {
	.et-tl-faq__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	}
}

.et-tl-faq__lead {
	margin: var(--wp--preset--spacing--8) 0 var(--wp--preset--spacing--16);
	color: var(--wp--preset--color--text-secondary);
}

.et-tl-faq__list .et-faq {
	border-bottom: 1px solid var(--wp--preset--color--border-default);
}

.et-tl-faq__list .et-faq__q {
	padding: var(--wp--preset--spacing--16) 0;
	font-weight: var(--wp--custom--font-weight--semibold);
	cursor: pointer;
}

.et-tl-faq__list .et-faq__a {
	padding-bottom: var(--wp--preset--spacing--16);
	color: var(--wp--preset--color--text-secondary);
}

/* =============================================================================
   0.9.1 Wheels (Figma 26:747 list, 174:28576 mobile, search 35:1112 / 35:344).
   ============================================================================= */
/* Wheels search: "Not sure of your bolt pattern? Search by vehicle" under the fields. */
.et-search__hint {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--4) var(--wp--preset--spacing--8);
	font-size: var(--wp--preset--font-size--caption);
}
.et-search__hint .et-search__hint-link {
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--semibold);
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
}
.et-search__hint .et-search__hint-link:hover {
	text-decoration: underline;
}
@media (min-width: 1024px) {
	.et-search__panel--wheels .et-search__fields--more {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* =============================================================================
   0.9.2 My Account polish (Figma 98:3918 / 98:3244 dashboard, 98:3708 / 98:3070 login).
   Title band and content band 40 / 72 px, H1 34 / 56 px, login card like Figma.
   ============================================================================= */
.et-account-title-section.et-account-title-section,
.et-account-content-section.et-account-content-section {
	padding-block: var(--wp--preset--spacing--40);
}
.et-account-head__title.et-account-head__title {
	font-size: 2.125rem;
	line-height: 1.18;
}
.et-account-head__sub.et-account-head__sub {
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.5;
}
@media (min-width: 783px) {
	.et-account-title-section.et-account-title-section,
	.et-account-content-section.et-account-content-section {
		padding-block: var(--wp--preset--spacing--72, 72px);
	}
	.et-account-head__title.et-account-head__title {
		font-size: var(--wp--preset--font-size--h-1);
		line-height: 1.1;
	}
	.et-account-head__sub.et-account-head__sub {
		font-size: var(--wp--preset--font-size--body-l);
	}
}

/* Guest: the card holds the "Login" / "Register" title and the form (Figma). */
.et-is-account--guest .woocommerce > h2,
.et-is-account--guest .woocommerce .u-column1 > h2,
.et-is-account--guest .woocommerce .u-column2 > h2,
.et-is-account--guest #customer_login > .u-column1 > h2,
.et-is-account--guest #customer_login > .u-column2 > h2 {
	position: static;
	width: auto;
	height: auto;
	margin: 0 0 var(--wp--preset--spacing--16);
	overflow: visible;
	clip: auto;
	white-space: normal;
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 1.25;
}
.et-is-account--guest .u-columns,
.et-is-account--guest .woocommerce .col2-set,
.woocommerce-account.et-is-account--guest #customer_login {
	gap: var(--wp--preset--spacing--16);
}
.et-is-account--guest .et-account-body > .woocommerce:has(> form.login) {
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-page);
	box-sizing: border-box;
}
.et-is-account--guest .woocommerce > form.login {
	max-width: none;
	padding: 0;
	border: 0;
	background: none;
}
@media (min-width: 783px) {
	.et-is-account--guest .u-columns,
	.et-is-account--guest .woocommerce .col2-set,
	.woocommerce-account.et-is-account--guest #customer_login {
		gap: var(--wp--preset--spacing--24);
	}
	.et-is-account--guest .et-account-body > .woocommerce:has(> form.login) {
		max-width: calc((100% - var(--wp--preset--spacing--24)) / 2);
		padding: var(--wp--preset--spacing--24);
	}
}
/* Remember me above the Log in button, Lost password as a plain bold link. */
.woocommerce-account form.login .form-row:has(.woocommerce-form-login__rememberme) {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--16);
	margin-top: var(--wp--preset--spacing--16);
}
.woocommerce-account form.login label.woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--12);
	margin: 0;
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--regular, 400);
}
.woocommerce-account form.login .woocommerce-form-login__rememberme input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--wp--preset--color--action-primary);
}
.woocommerce-account form.login .woocommerce-LostPassword {
	max-width: none;
	margin: var(--wp--preset--spacing--16) 0 0;
	padding: 0;
	border: 0;
	background: none;
}
.woocommerce-account form.login .woocommerce-LostPassword a {
	font-weight: var(--wp--custom--font-weight--semibold);
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
}
.woocommerce-account form.login .woocommerce-LostPassword a:hover {
	text-decoration: underline;
}
/* Logged in: WooCommerce's block-theme CSS caps .woocommerce at 1000 px, pads nav items
   16 px and underlines the active item; Figma uses the full 1200 px container
   (264 px menu + 24 px gap + content), 4 px item gap and no underline. */
.woocommerce-account .et-account-body > .woocommerce {
	max-width: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation.et-account-nav ul li {
	margin: 0;
	padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation.et-account-nav ul li a {
	text-decoration: none;
}
/* Figma Account Nav card: 12 px inner padding around the items. */
.et-account-nav__list.et-account-nav__list--desktop {
	padding: var(--wp--preset--spacing--12);
}

/* =============================================================================
   0.10.0 Homepage (Figma 51:994 desktop / 50:993 mobile, search states 35:2 - 35:1521).
   ============================================================================= */

/* Search widget: one shared "By vehicle" box (ATDCommerce fitment output, restyled only).
   Shown for the Tires or Wheels "By vehicle" tab; Figma 35:954 has no title or hint,
   five selects and a red full-height button on one row. */
@supports selector(:has(*)) {
	.et-search__vehicle {
		display: none;
	}
	.et-search:has(.et-search__cat--tires:checked):has(.et-search__panel--tires .et-search__method--vehicle:checked) .et-search__vehicle,
	.et-search:has(.et-search__cat--wheels:checked):has(.et-search__panel--wheels .et-search__method--vehicle:checked) .et-search__vehicle {
		display: block;
	}
}
.et-search__vehicle {
	margin-top: var(--wp--preset--spacing--16);
}
.et-search__vehicle .atdcommerce-fitment {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}
.et-search__vehicle .atdcommerce-fitment__title,
.et-search__vehicle .atdcommerce-fitment__hint {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.et-search__vehicle .atdcommerce-fitment__form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--12);
	align-items: end;
}
.et-search__vehicle .atdcommerce-fitment__field {
	margin: 0;
}
.et-search__vehicle .atdcommerce-fitment__field label {
	display: block;
	margin: 0 0 var(--wp--preset--spacing--4);
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--medium);
	color: var(--wp--preset--color--text-primary);
}
.et-search__vehicle .atdcommerce-fitment__field select {
	width: 100%;
	min-height: var(--et-field-height, 44px);
	padding: 0 var(--wp--preset--spacing--12);
	border: 1px solid var(--wp--preset--color--border-input);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--surface-page);
	color: var(--wp--preset--color--text-primary);
	font: inherit;
	font-size: var(--wp--preset--font-size--base);
}
.et-search__vehicle .atdcommerce-fitment__field select:disabled {
	border-color: var(--wp--preset--color--border-default);
	background-color: var(--wp--preset--color--surface-muted);
	color: var(--wp--preset--color--text-secondary);
}
.et-search__vehicle .atdcommerce-fitment__actions {
	grid-column: 1 / -1;
	margin: 0;
}
.et-search .et-search__vehicle .atdcommerce-fitment__button,
.et-search .et-search__vehicle .atdcommerce-fitment__button:disabled {
	width: 100%;
	min-height: 44px;
	padding: 0 var(--wp--preset--spacing--24);
	border: 0;
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--action-primary);
	color: var(--wp--preset--color--text-inverse);
	font: inherit;
	font-weight: var(--wp--custom--font-weight--semibold);
	cursor: pointer;
}
.et-search .et-search__vehicle .atdcommerce-fitment__button:disabled {
	opacity: 1; /* Figma 35:954: the button stays red; the plugin enables it once a vehicle is chosen. */
	cursor: not-allowed;
}
.et-search .et-search__vehicle .atdcommerce-fitment__button:not(:disabled):hover {
	background-color: var(--wp--preset--color--action-primary-hover);
}
.et-search__vehicle .atdcommerce-fitment__status:empty {
	display: none;
}
@media (min-width: 1024px) {
	.et-search__vehicle .atdcommerce-fitment__form {
		grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
	}
	.et-search__vehicle .atdcommerce-fitment__actions {
		grid-column: auto;
	}
	.et-search__vehicle .atdcommerce-fitment__field select,
	.et-search__vehicle .atdcommerce-fitment__button {
		min-height: 48px;
	}
}

/* Empty category state (Figma 35:1521): card up to 480 px, icon, title, text, buttons, "Or call". */
.et-search__empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--8);
	max-width: 480px;
	padding: var(--wp--preset--spacing--24);
	box-sizing: border-box;
}
.et-search__empty p + p {
	margin-top: 0;
}
.et-search__empty-icon {
	margin-bottom: var(--wp--preset--spacing--8);
}
.et-search__empty-title.et-search__empty-title {
	font-size: 1.25rem;
	line-height: 1.4;
}
.et-search__empty-text {
	color: var(--wp--preset--color--text-secondary);
}
.et-search__empty-actions.et-search__empty-actions {
	margin-top: var(--wp--preset--spacing--8);
}
.et-search__empty-call {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
}
.et-search__empty-call a {
	color: var(--wp--preset--color--action-primary);
}
@media (min-width: 1024px) {
	/* No method tabs in the empty Parts state, so no underline cell either (Figma). */
	.et-search:has(.et-search__cat--parts:checked):has(.et-search__panel--parts .et-search__empty)::after {
		content: none;
	}
}

/* Popular tire lines (same card as the tire line page "More lines"). */
.et-home-lines__brand {
	margin: var(--wp--preset--spacing--4) 0 0;
	font-size: var(--wp--preset--font-size--caption);
	color: var(--wp--preset--color--text-secondary);
}
@media (min-width: 1024px) {
	.et-home-lines.et-home-lines {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
@media (max-width: 782px) {
	/* Figma mobile: rows scroll sideways with CSS scroll-snap, no carousel script. */
	.et-home-lines.et-home-lines {
		grid-auto-flow: column;
		grid-auto-columns: minmax(240px, 72%);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: var(--wp--preset--spacing--4);
	}
	.et-home-lines > li {
		scroll-snap-align: start;
	}
}

/* =============================================================================
   0.10.1 Vehicle search - no results (Figma 201:1549 desktop / 201:1580 mobile).
   Card built by assets/js/vehicle-empty.js; the plugin line is the no-JS fallback.
   ============================================================================= */
.atdcommerce-fitment__empty {
	margin: var(--wp--preset--spacing--16) 0 0;
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-subtle);
	color: var(--wp--preset--color--text-primary);
	font-weight: var(--wp--custom--font-weight--semibold);
}
.atdcommerce-fitment__empty[hidden] {
	display: none;
}
.et-vnr {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
	margin-top: var(--wp--preset--spacing--16);
	padding: var(--wp--preset--spacing--16);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--surface-subtle);
	color: var(--wp--preset--color--text-primary);
	text-align: left;
}
.et-vnr__icon.et-icon {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background-color: var(--wp--preset--color--action-primary-tint);
	color: var(--wp--preset--color--action-primary);
}
.et-vnr__body {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
	min-width: 0;
}
.et-vnr p {
	margin: 0;
}
.et-vnr__title {
	font-size: 1.25rem;
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 1.4;
}
.et-vnr__vehicle,
.et-vnr__text,
.et-vnr__call {
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--small);
}
.et-vnr__vehicle strong {
	color: var(--wp--preset--color--text-primary);
	font-weight: var(--wp--custom--font-weight--semibold);
}
.et-vnr__sizes.et-vnr__sizes {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--8);
	margin: 0;
	padding: 0;
	list-style: none;
}
.et-vnr__size {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: 999px;
	background-color: var(--wp--preset--color--surface-page);
}
.et-vnr__size-key {
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: var(--wp--custom--font-weight--medium);
}
.et-vnr__size-val {
	font-weight: var(--wp--custom--font-weight--semibold);
}
.et-vnr__actions {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
}
.et-vnr .et-vnr__btn {
	min-height: 44px;
	justify-content: center;
	cursor: pointer;
}
.et-vnr__call a {
	color: var(--wp--preset--color--action-primary);
	font-weight: var(--wp--custom--font-weight--semibold);
}
@media (min-width: 641px) {
	.et-vnr {
		padding: var(--wp--preset--spacing--24);
		flex-direction: row;
		align-items: flex-start;
	}
	.et-vnr__actions {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}
}
