/* The catalogue: one product card everywhere, listings with filters, the product page, order flow and content pages. */

/* ---------- One product card ---------- */
.product-sheet {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--gap);
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.product-sheet > * {
	border: 0;
}

.card {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--bg);
	box-shadow: var(--shadow-card);
}

.card__badge {
	position: absolute;
	top: var(--s-2);
	left: var(--s-2);
}

.card__body {
	gap: 2px;
	padding: var(--s-2) 10px 10px;
}

.card__brand {
	min-height: 1.1rem;
	font-size: 0.75rem;
	line-height: 1.1rem;
}

.card__name {
	margin: 0;
	font-size: 0.8125rem;
}

.card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-1);
	min-height: 22px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	max-height: 22px;
	list-style: none;
}

.card__specs li {
	padding-inline: 6px;
	border-radius: 999px;
	background: var(--surface-2);
	color: var(--text);
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 22px;
	white-space: nowrap;
}

.card__sku {
	overflow: hidden;
	font-size: 0.6875rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.card__price {
	margin-top: var(--s-1);
	font-size: 0.9375rem;
}

.card__stock {
	display: inline-flex;
	align-items: center;
	gap: var(--s-1);
	margin: 0;
	font-size: 0.75rem;
}

.card__stock i,
.stock-line i {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: currentcolor;
}

.card__action {
	padding-top: var(--s-2);
}

.card__action .btn {
	min-height: var(--tap);
	padding-inline: var(--s-1);
	font-size: 0.8125rem;
	white-space: nowrap;
}

/* Rail cards match. */
.rcard__action .btn {
	padding-inline: var(--s-1);
	font-size: 0.8125rem;
	white-space: nowrap;
}

@media (min-width: 600px) {
	.product-sheet {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.product-sheet {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--s-4);
	}

	.card__name {
		font-size: 0.9375rem;
	}

	.card__price {
		font-size: var(--step-1);
	}

	/* List view on desktop. */
	.product-sheet--list {
		grid-template-columns: minmax(0, 1fr);
	}

	.product-sheet--list .card {
		flex-direction: row;
	}

	.product-sheet--list .card__media {
		flex: none;
		width: 180px;
	}

	.product-sheet--list .card__action {
		max-width: 200px;
	}
}

/* ---------- Category and search pages ---------- */
.archive-page .crumbs {
	display: block;
	margin-bottom: var(--s-2);
	overflow-x: auto;
	font-size: 0.8125rem;
	white-space: nowrap;
	scrollbar-width: none;
}

.cat-banner {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: var(--gap);
	min-height: 72px;
	max-height: 110px;
	padding: var(--s-2) var(--s-2) var(--s-2) var(--gutter);
}

.cat-banner::before {
	clip-path: polygon(78% 0, 100% 0, 100% 100%, 66% 100%);
}

.cat-banner--image::before {
	background: var(--brand-gradient);
	clip-path: polygon(78% 0, 100% 0, 100% 100%, 66% 100%);
}

.cat-banner__text {
	min-width: 0;
}

.cat-banner h1 {
	font-size: 1.125rem;
}

.cat-banner p {
	margin: 2px 0 0;
	font-size: 0.8125rem;
}

.cat-banner__img {
	position: static;
	flex: none;
	width: 72px;
	height: 72px;
	border-radius: var(--radius);
	object-fit: cover;
}

/* The banner's charcoal needs an edge on a dark page. */
:root[data-theme="dark"] .cat-banner {
	border: 1px solid var(--border);
}

.search-fixed {
	margin: 0 0 var(--gap);
	color: var(--muted);
	font-size: 0.875rem;
}

.shop-toolbar {
	gap: var(--s-2);
	margin-inline: 0;
	padding: var(--gap) 0;
	background: none;
}

.shop-toolbar__count {
	margin-right: auto;
}

.shop-toolbar__sort,
.view-toggle {
	display: none;
}

.applied-chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	margin: 0 0 var(--gap);
	padding: 0;
	list-style: none;
}

.chip--applied {
	display: inline-flex;
	align-items: center;
	gap: var(--s-1);
	background: var(--brand-soft);
	color: var(--text);
}

.chip--applied .icon {
	width: 14px;
	height: 14px;
}

.filter-check {
	display: flex;
	align-items: center;
	gap: var(--s-2);
}

.filter-check[hidden] {
	display: none;
}

.filter-check span {
	flex: 1;
}

.filter-check small {
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

.filter-slider {
	width: 100%;
	min-height: var(--tap) !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	accent-color: var(--brand);
}

.filter-brand-search {
	margin-bottom: var(--s-2);
}

.filter-sheet__foot {
	position: sticky;
	bottom: 0;
}

@media (min-width: 1024px) {
	.archive-layout {
		display: grid;
		grid-template-columns: 260px minmax(0, 1fr);
		gap: var(--s-5);
		align-items: start;
	}

	/* The sheet becomes a plain sidebar. */
	dialog.filter-sheet {
		position: sticky;
		top: 132px;
		inset: auto;
		display: block;
		width: auto;
		max-width: none;
		height: auto;
		max-height: calc(100dvh - 148px);
		margin: 0;
		padding: 0;
		overflow-y: auto;
		border: 1px solid var(--border);
		border-radius: var(--radius);
		background: var(--bg);
		color: var(--text);
		box-shadow: none;
	}

	.filter-sheet__head .icon-btn,
	.filter-group:has(#filter-sort),
	.shop-toolbar__filter,
	.filter-sheet__body .filter-group__title[for="filter-sort"] {
		display: none;
	}

	.shop-toolbar__sort {
		display: flex;
		align-items: center;
		gap: var(--s-2);
	}

	.shop-toolbar__sort label {
		font-size: 0.875rem;
		white-space: nowrap;
	}

	.shop-toolbar__sort select {
		min-height: var(--tap);
		width: 13rem;
	}

	.view-toggle {
		display: flex;
	}

	.view-toggle [aria-pressed="true"] {
		background: var(--surface-2);
	}

	.cat-banner {
		min-height: 110px;
		max-height: 160px;
		padding-left: var(--s-6);
	}

	.cat-banner h1 {
		font-size: var(--step-3);
	}

	.cat-banner__img {
		width: 120px;
		height: 120px;
	}
}

/* ---------- Product page ---------- */
.product-back {
	display: inline-flex;
	align-items: center;
	gap: var(--s-1);
	min-height: var(--tap);
	color: var(--text);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.product-back .icon {
	width: 18px;
	height: 18px;
}

.product-layout {
	display: grid;
	gap: var(--s-3);
}

.product-layout__gallery {
	min-width: 0;
}

.product-video {
	margin-top: var(--s-2);
}

.product_title {
	margin: 0 0 var(--s-1);
	font-size: clamp(1.1875rem, 1rem + 1vw, 1.75rem);
	line-height: 1.2;
}

.product-brand {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
	font-size: 0.875rem;
	font-weight: 600;
}

.product-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-2);
}

.product-sku,
.product-share {
	display: inline-flex;
	align-items: center;
	gap: var(--s-1);
	min-height: var(--tap);
	min-width: var(--tap);
	padding: 0;
	border: 0;
	background: none;
	color: var(--muted);
	font-size: 0.8125rem;
	cursor: pointer;
}

.product-sku .icon,
.product-share .icon {
	width: 16px;
	height: 16px;
}

.product-share {
	justify-content: center;
	color: var(--text);
}

.product-share .icon {
	width: 20px;
	height: 20px;
}

.product-price {
	font-size: 1.5rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}

.product-price del {
	color: var(--muted);
	font-size: 0.9375rem;
	font-weight: 500;
}

.product-price .wholesale_price_container {
	margin-top: var(--s-1);
	padding: var(--s-2);
	border-radius: var(--radius);
	background: var(--brand-soft);
}

.product-price .wholesale_price_title {
	display: block;
	color: var(--text);
	font-size: 0.8125rem;
	font-weight: 600;
}

.product-gst {
	margin: var(--s-1) 0 0;
	color: var(--muted);
	font-size: 0.8125rem;
}

.summary .wholesale-hint {
	margin: var(--s-1) 0 0;
	font-size: 0.875rem;
}

.summary .wholesale-hint a {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
	font-weight: 600;
}

.stock-line {
	display: inline-flex;
	align-items: center;
	gap: var(--s-1);
	margin: var(--s-1) 0;
	font-size: 0.875rem;
	font-weight: 600;
}

.product-highlights,
.product-fulfil,
.product-trust {
	margin: var(--s-3) 0;
	padding: 0;
	list-style: none;
}

.product-highlights li {
	display: flex;
	gap: var(--s-2);
	padding-block: 2px;
	font-size: 0.875rem;
}

.product-highlights .icon {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	color: var(--success);
}

.product-fulfil {
	display: grid;
	gap: var(--s-2);
	padding: var(--s-3);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.product-fulfil li {
	display: flex;
	gap: var(--s-2);
	font-size: 0.875rem;
}

.product-fulfil .icon {
	flex: none;
	width: 20px;
	height: 20px;
}

.product-bulk {
	margin: var(--s-2) 0;
	font-size: 0.875rem;
}

.product-bulk a {
	font-weight: 600;
}

.product-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--s-2);
}

.product-trust li {
	display: grid;
	justify-items: center;
	gap: var(--s-1);
	padding: var(--s-2);
	border-radius: var(--radius);
	background: var(--surface);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
}

.product-trust .icon {
	width: 22px;
	height: 22px;
	color: var(--brand-text);
}

/* WhatsApp is the second choice: outlined, not a second solid button. */
.buy-bar .btn--whatsapp,
.summary .btn--whatsapp {
	border: 2px solid var(--whatsapp);
	background: var(--bg);
	color: var(--text);
	white-space: nowrap;
}

.buy-bar .btn--whatsapp .icon {
	color: var(--whatsapp-icon);
}

.buy-bar .btn {
	gap: var(--s-1);
	min-height: var(--field);
	padding-inline: var(--s-2);
	font-size: 0.875rem;
	white-space: nowrap;
}

.product-fold {
	border-top: 1px solid var(--border);
}

.product-fold summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--field);
	cursor: pointer;
	list-style: none;
}

.product-fold summary::-webkit-details-marker {
	display: none;
}

.product-fold summary h2 {
	margin: 0;
	font-size: 1.0625rem;
}

.product-fold[open] summary .icon {
	transform: rotate(180deg);
}

.product-fold > :last-child {
	margin-bottom: var(--s-4);
}

.product-section {
	padding-block: var(--s-5) 0;
}

.product-section h2 {
	font-size: 1.0625rem;
}

@media (min-width: 769px) {
	.product-back {
		display: none;
	}

	.product-layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
		grid-template-areas: "gallery buy" "details buy";
		align-items: start;
		gap: var(--s-5);
	}

	.product-layout__gallery {
		grid-area: gallery;
	}

	.product-layout__details {
		grid-area: details;
		min-width: 0;
	}

	.product-layout__buy {
		grid-area: buy;
		position: sticky;
		top: 132px;
	}

	.product-fold summary {
		pointer-events: none;
	}

	.product-fold summary .icon {
		display: none;
	}

	.product-fold .shop_attributes th {
		width: 40%;
	}
}

/* ---------- Home additions ---------- */
.hero-cats,
.hero-cards {
	display: none;
}

.trust li {
	padding-block: var(--s-1);
}

.trust li span {
	display: grid;
	line-height: 1.2;
}

.trust strong {
	font-size: 0.75rem;
}

.trust small {
	display: none;
	color: var(--muted);
	font-size: 0.6875rem;
	font-weight: 400;
}

.trust .icon {
	width: 18px;
	height: 18px;
	color: var(--brand-text);
}

.promo-pair {
	display: grid;
	gap: var(--gap);
}

.pair-card {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 2.25;
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--on-ink);
	text-decoration: none;
}

.pair-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pair-card__text {
	position: absolute;
	inset: 0 auto 0 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: var(--s-1);
	width: 58%;
	padding-left: var(--gutter);
	font-size: 0.8125rem;
}

.pair-card strong {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
}

.pair-card em {
	font-style: normal;
}

.pair-card--light {
	color: var(--on-ink-chip);
}

.pair-card--light .slide__chip {
	background: var(--on-ink-chip);
	color: var(--on-ink);
}

.slide--light {
	color: var(--on-ink-chip);
}

.slide--light .slide__chip {
	background: var(--on-ink-chip);
	color: var(--on-ink);
}

.slide__sub {
	display: none;
}

.social-cards {
	display: grid;
	gap: var(--gap);
}

.social-cards .icon {
	flex: none;
	width: 28px;
	height: 28px;
}

.map-facade {
	display: grid;
	place-items: center;
	align-content: center;
	gap: var(--s-2);
	min-height: 180px;
	padding: var(--s-3);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--tile);
	color: var(--muted);
	text-align: center;
}

.map-facade p {
	margin: 0;
	font-size: 0.8125rem;
}

.map-facade .icon {
	width: 32px;
	height: 32px;
}

.map-facade iframe {
	width: 100%;
	height: 100%;
	min-height: 260px;
	border: 0;
	border-radius: var(--radius);
}

.rail-wrap {
	position: relative;
}

.rail__arrow {
	display: none;
}

/* Tablet: not a stretched phone. */
@media (min-width: 601px) and (max-width: 1023px) {
	.rail {
		grid-auto-columns: 30vw;
	}

	.slide {
		aspect-ratio: 16 / 7;
	}

	.slide__head {
		font-size: clamp(1.25rem, 3vw, 1.75rem);
	}

	.slide__chip {
		min-height: 40px;
		padding-inline: var(--s-4);
		font-size: 0.9375rem;
	}

	.carousel__track {
		grid-auto-columns: 100%;
		gap: 0;
	}

	.tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 769px) {
	.promo-pair,
	.social-cards {
		grid-template-columns: 1fr 1fr;
		gap: var(--s-4);
	}

	.trust small {
		display: block;
	}

	.visit-cards {
		grid-template-columns: 1fr 1fr;
	}

	.tile__media {
		aspect-ratio: 1.3;
	}
}

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

	.hsec--banners {
		padding-top: var(--s-3);
	}

	.hero-zone {
		display: grid;
		grid-template-columns: 240px minmax(0, 1fr) 280px;
		gap: var(--s-3);
		align-items: stretch;
	}

	.hero-cats {
		display: block;
		position: relative;
		z-index: 6;
		border: 1px solid var(--border);
		border-radius: var(--radius);
		background: var(--bg);
	}

	.hero-cats > ul {
		display: flex;
		flex-direction: column;
		height: 100%;
		margin: 0;
		padding: var(--s-1) 0;
		list-style: none;
	}

	.hero-cats a {
		display: flex;
		align-items: center;
		gap: var(--s-2);
		padding-inline: var(--s-3);
		color: var(--text);
		text-decoration: none;
	}

	.hero-cats__item > a {
		min-height: 36px;
		font-size: 0.875rem;
		font-weight: 700;
	}

	.hero-cats__item > a span {
		flex: 1;
	}

	.hero-cats__item > a .icon {
		width: 18px;
		height: 18px;
	}

	.hero-cats__caret {
		color: var(--muted);
	}

	.hero-cats__sub a {
		min-height: 26px;
		padding-left: calc(var(--s-3) + 26px);
		color: var(--muted);
		font-size: 0.8125rem;
	}

	.hero-cats a:hover {
		background: var(--surface);
		color: var(--brand-text);
	}

	.hero-cats__all {
		margin-top: auto;
		border-top: 1px solid var(--border);
	}

	.hero-cats__all a {
		min-height: var(--tap);
		font-size: 0.875rem;
		font-weight: 700;
	}

	.hero-cats__fly {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 100%;
		display: none;
		width: 300px;
		padding: var(--s-2) 0;
		overflow-y: auto;
		border: 1px solid var(--border);
		border-radius: var(--radius);
		background: var(--bg);
		box-shadow: var(--shadow-float);
	}

	.hero-cats__fly ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.hero-cats__fly a {
		min-height: 36px;
		font-size: 0.875rem;
	}

	.hero-cats__item:hover .hero-cats__fly,
	.hero-cats__item:focus-within .hero-cats__fly {
		display: block;
	}

	/* The carousel fills the height of the columns beside it, with its dots on the banner. */
	.hsec--banners .carousel {
		position: relative;
		min-width: 0;
		max-height: 440px;
	}

	.hsec--banners .carousel__track,
	.hsec--banners .carousel__item,
	.hsec--banners .slide {
		height: 100%;
	}

	.hsec--banners .slide {
		aspect-ratio: auto;
	}

	.hsec--banners .slide__img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.hsec--banners .carousel__dots {
		position: absolute;
		right: 0;
		bottom: var(--s-2);
		left: 0;
		padding: 0;
	}

	.hsec--banners .carousel__dots i {
		background: var(--on-ink);
		opacity: 0.6;
	}

	.hsec--banners .carousel__dots i.is-on {
		background: var(--on-ink);
		opacity: 1;
	}

	.trust {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: var(--s-3);
		overflow: visible;
		white-space: normal;
	}

	.trust li {
		border-radius: var(--radius);
		padding: var(--s-2) var(--s-3);
	}

	.trust strong {
		font-size: 0.875rem;
	}

	.trust small {
		font-size: 0.75rem;
	}

	.hsec--banners .slide__text {
		width: 54%;
		padding-left: 4.25rem;
		gap: var(--s-2);
	}

	.hsec--banners .slide__head {
		font-size: clamp(1.25rem, 1.8vw, 1.875rem);
		line-height: 1.15;
	}

	.hsec--banners .slide__sub {
		display: block;
		font-size: 0.9375rem;
	}

	.hsec--banners .slide__chip {
		min-height: 40px;
		font-size: 0.9375rem;
	}

	.hero-cards {
		display: grid;
		grid-template-rows: auto auto minmax(0, 1fr);
		gap: var(--s-3);
	}

	.hero-card {
		display: grid;
		gap: var(--s-1);
		padding: var(--s-3);
		border: 1px solid var(--border);
		border-radius: var(--radius);
		background: var(--surface);
		color: var(--text);
		font-size: 0.8125rem;
		text-decoration: none;
	}

	.hero-card strong {
		font-size: 0.9375rem;
		line-height: 1.2;
	}

	.hero-card ol {
		margin: 0;
		padding-left: var(--s-4);
	}

	.hero-card .btn {
		min-height: 40px;
		font-size: 0.8125rem;
	}

	.hero-card em {
		font-style: normal;
		font-weight: 700;
	}

	.hero-card--ink {
		border-color: var(--ink);
		background: var(--ink);
		color: var(--on-ink);
	}

	.hero-card--image {
		position: relative;
		overflow: hidden;
		align-content: end;
		min-height: 80px;
		border: 0;
		background: var(--ink);
		color: var(--on-ink);
	}

	.hero-card--image img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.hero-card--image strong {
		position: relative;
		max-width: 45%;
		font-family: var(--font-display);
		font-size: 1rem;
	}

	/* Rails show six cards, with arrows. */
	.rail {
		grid-auto-columns: calc((100% - 5 * var(--s-4)) / 6);
	}

	.rail__arrow {
		position: absolute;
		top: 35%;
		z-index: 2;
		display: grid;
		place-items: center;
		width: var(--tap);
		height: var(--tap);
		padding: 0;
		border: 1px solid var(--border);
		border-radius: 999px;
		background: var(--bg);
		color: var(--text);
		box-shadow: var(--shadow-float);
		cursor: pointer;
	}

	.rail__arrow--prev {
		left: -14px;
	}

	.rail__arrow--next {
		right: -14px;
	}

	.tiles {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

/* ---------- Order list and order sent ---------- */
.list-item__image {
	width: 72px;
	height: 72px;
	flex: none;
}

.list-item__image img {
	width: 100%;
	height: 100%;
	border-radius: var(--radius);
	object-fit: cover;
}

.list-item__unit {
	font-variant-numeric: tabular-nums;
}

.list-item__unit:has(.price-on-request) {
	display: none;
}

.list-item__name {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
}

@media (min-width: 1024px) {
	.woocommerce-cart-form {
		max-width: none;
	}

	.cart-columns {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 22rem;
		gap: var(--s-5);
		align-items: start;
	}

	.cart-columns__side {
		position: sticky;
		top: 132px;
	}

	.send-order__summary {
		position: sticky;
		top: 132px;
	}
}

.order-sent__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--s-2);
	margin-top: var(--s-3);
	font-size: 0.875rem;
}

.order-sent__gst {
	margin: var(--s-2) 0 0;
	color: var(--muted);
	font-size: 0.875rem;
	text-align: center;
}

.order-summary-simple {
	margin: 0;
	padding: 0;
	list-style: none;
}

.order-summary-simple li {
	display: flex;
	justify-content: space-between;
	gap: var(--s-3);
	padding-block: var(--s-2);
	border-bottom: 1px solid var(--border);
}

.order-summary-simple .is-total {
	font-weight: 800;
	border-bottom: 0;
}

.steps--plain li::before {
	color: var(--brand-text);
	font-size: 1.125rem;
	font-weight: 800;
}

/* ---------- Content pages use the width they're given ---------- */
.contact-grid {
	display: grid;
	gap: var(--gap);
	margin-bottom: var(--s-4);
}

.contact-card {
	display: flex;
	align-items: center;
	gap: var(--s-3);
	min-height: 64px;
	padding: var(--s-3);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--text);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}

.contact-card small {
	display: block;
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 400;
}

.contact-card .icon {
	flex: none;
	width: 26px;
	height: 26px;
	color: var(--brand-text);
}

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

	.contact-layout {
		display: grid;
		grid-template-columns: 1fr 1.2fr;
		gap: var(--s-5);
	}
}

.prose {
	max-width: 44rem;
}

.notfound__search {
	max-width: 32rem;
	margin-bottom: var(--s-5);
}

.photo-credits {
	padding-left: var(--s-4);
	font-size: 0.875rem;
}

/* ---------- Notices ---------- */
.woocommerce-message {
	border-left-color: var(--success);
}

.woocommerce-info {
	border-left-color: var(--border-strong);
}

.woocommerce-error {
	border-left-color: var(--danger);
	background: var(--brand-soft);
}

/* Buttons inside notices stay button-sized. */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	display: inline-flex;
	width: auto;
}

.menu-drawer .btn {
	gap: var(--s-1);
	padding-inline: var(--s-2);
	font-size: 0.875rem;
	white-space: nowrap;
}

/* ---------- Soft offers prompt: a card, never a modal ---------- */
.offers-prompt {
	position: fixed;
	right: var(--gutter);
	bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + var(--s-2));
	left: var(--gutter);
	z-index: 40;
	max-width: 24rem;
	padding: var(--s-3);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg);
	box-shadow: var(--shadow-float);
}

.offers-prompt[hidden] {
	display: none;
}

.offers-prompt .af-field,
.offers-prompt form {
	gap: var(--s-1);
}

.offers-prompt h2 {
	margin: 0 var(--s-6) var(--s-2) 0;
	font-size: 1rem;
}

.offers-prompt__close {
	position: absolute;
	top: 0;
	right: 0;
}

.has-buy-bar .offers-prompt {
	bottom: calc(var(--buy-bar-height) + var(--safe-bottom) + var(--s-2));
}

@media (min-width: 769px) {
	.offers-prompt {
		right: auto;
		bottom: var(--s-4);
		left: var(--s-4);
	}
}

/* ---------- Categories page ---------- */
.pillar {
	margin-bottom: var(--s-5);
}

.map-facade--small {
	min-height: 96px;
	margin-top: var(--s-2);
}

.order-summary-simple small {
	display: block;
	color: var(--muted);
}

.order-sent__note {
	margin: var(--s-2) 0 0;
	color: var(--muted);
	font-size: 0.875rem;
}

.order-sent__social .social-links {
	margin: 0;
}

/* ---------- Print: the order summary ---------- */
@media print {
	.utility-strip,
	.site-header,
	.mobile-search,
	.bottom-nav,
	.wa-fab,
	.site-footer,
	.toast,
	.consent-banner,
	.btn,
	.order-sent__social,
	dialog {
		display: none !important;
	}

	body {
		padding: 0;
		background: #fff;
		color: #000;
	}
}

/* ---------- Corrections after review ---------- */
@media (min-width: 1024px) {
	/* The banner's photo sits on the right, so that is the side that must not crop. */
	.hsec--banners .slide__img {
		object-position: right center;
	}

	.filter-sheet__head h2 {
		font-size: 1rem;
	}
}

@media (max-width: 768px) {
	/* Phones get the short back link instead of the full trail. */
	.single-product .crumbs {
		display: none;
	}
}


.order-summary-simple strong {
	flex: none;
	white-space: nowrap;
}

.order-sent__gst {
	text-align: left;
}

.header-cart .icon-wrap {
	margin-right: var(--s-1);
}

.notfound__search .search-form {
	margin-bottom: 0;
}

.empty-state__actions {
	margin-top: var(--s-3);
}

@media (min-width: 1024px) {
	.cart-columns__side .list-cta {
		position: static;
		display: block;
		padding: 0;
		border: 0;
		background: none;
		box-shadow: none;
	}

	.cart-columns__side .list-cta .btn {
		width: 100%;
		margin-top: var(--s-3);
		padding-inline: var(--s-3);
	}
}

/* The narrowest phones: both buy buttons stay on one line. */
@media (max-width: 360px) {
	.buy-bar .btn {
		padding-inline: var(--s-1);
		font-size: 0.8125rem;
	}

	.buy-bar .btn--whatsapp .icon {
		display: none;
	}
}

.toast a {
	color: inherit;
	font-weight: 700;
	white-space: nowrap;
}

/* Headlines break evenly, with no single word left on the last line. */
.slide__head,
.pair-card strong,
.wholesale-band h2,
.page-title {
	text-wrap: balance;
}

/* Breadcrumb links are real tap targets. */
.crumbs a {
	display: inline-flex;
	align-items: center;
	min-width: var(--tap);
	min-height: var(--tap);
}

/* Category photo tiles: Categories page, 404 and empty states. */
.cat-tiles .tile__media {
	aspect-ratio: 4 / 3;
	background: var(--photo-bg);
}

.cat-tiles .tile__label {
	padding: var(--s-2) 10px 10px;
	font-size: 0.875rem;
}

.cat-tile {
	transition: box-shadow var(--speed) var(--ease);
}

.cat-tile img {
	transition: transform var(--speed) var(--ease);
}

@media (hover: hover) {
	.cat-tile:hover {
		box-shadow: var(--shadow-float);
	}

	.cat-tile:hover img {
		transform: scale(1.04);
	}
}

@media (min-width: 600px) {
	.cat-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.cat-tiles {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: var(--s-4);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cat-tile,
	.cat-tile img {
		transition: none;
	}
}

/* ---------- About ---------- */
.about-page .crumbs {
	display: block;
	margin-bottom: var(--s-2);
	font-size: 0.8125rem;
}

.about-hero {
	position: relative;
	overflow: hidden;
	margin-bottom: var(--s-5);
	padding: var(--s-5) var(--gutter);
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--on-ink);
}

/* The logo's two strokes, large, in the corner. */
.about-hero::before {
	content: "";
	position: absolute;
	inset: 0 -12% 0 72%;
	background: var(--brand-gradient);
	transform: skewX(var(--slant));
}

.about-hero > * {
	position: relative;
	max-width: 72%;
}

.about-hero h1 {
	margin: 0 0 var(--s-2);
	color: inherit;
	font-size: clamp(1.625rem, 1.2rem + 2vw, 2.75rem);
	line-height: 1.1;
	text-wrap: balance;
}

.about-hero p {
	margin: 0;
}

.about-hero .about-hero__tag {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-1) var(--s-3);
	margin-bottom: var(--s-2);
	font-size: 0.875rem;
	font-weight: 700;
}

.about-layout {
	display: grid;
	gap: var(--s-5);
	align-items: start;
}

.about-card h2 {
	margin: 0 0 var(--s-2);
	font-size: 1.125rem;
}

.about-card .btn {
	margin-top: var(--s-2);
}

.about-section {
	margin-top: var(--s-6);
}

.about-ranges,
.about-points {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-range {
	display: grid;
	gap: var(--s-1);
	height: 100%;
	overflow: hidden;
	padding-bottom: var(--s-3);
	border-radius: var(--radius);
	background: var(--bg);
	box-shadow: var(--shadow-card);
	color: var(--text);
	text-decoration: none;
	align-content: start;
}

.about-range__img {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--surface-2);
}

.about-range__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-range strong {
	padding-inline: var(--s-3);
	font-family: var(--font-display);
	line-height: 1.2;
}

.about-range:hover strong {
	color: var(--brand-text);
}

.about-range__list {
	padding-inline: var(--s-3);
	color: var(--muted);
	font-size: 0.8125rem;
	line-height: 1.35;
}

.about-points li {
	display: grid;
	align-content: start;
	gap: var(--s-1);
	padding: var(--s-3);
	border-radius: var(--radius);
	background: var(--surface);
}

.about-points .icon {
	width: 24px;
	height: 24px;
	color: var(--brand-text);
}

.about-points strong {
	line-height: 1.25;
}

.about-points span {
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.35;
}

.about-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 var(--s-4);
	margin: var(--s-5) 0 0;
	font-weight: 600;
}

.about-links a {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
}

.about-credit {
	margin-left: auto;
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 400;
}

@media (min-width: 769px) {
	.about-layout {
		grid-template-columns: minmax(0, 1fr) 22rem;
	}

	.about-card {
		position: sticky;
		top: 132px;
	}

	.about-ranges,
	.about-points {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--s-4);
	}

	.about-hero {
		padding: var(--s-6);
	}
}

/* ---------- Desktop filter panel: the action bar is solid, and on one line ---------- */
.filter-sheet__foot {
	z-index: 2;
	gap: var(--s-2);
	background: var(--bg);
}

.filter-sheet__foot > * {
	white-space: nowrap;
}

@media (min-width: 1024px) {
	.filter-sheet__foot {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		margin: 0;
		padding: var(--s-2) var(--s-3);
		border-top: 1px solid var(--border);
	}

	.filter-sheet__foot .btn {
		min-height: var(--tap);
		padding-inline: var(--s-3);
		font-size: 0.875rem;
	}
}

/* Registered business: legal name, GSTIN and Udyam number, on About and Contact. */
.reg-card {
	padding: var(--s-4);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
}

.contact-layout .reg-card {
	margin-top: var(--s-4);
}

.reg-card__title {
	display: flex;
	align-items: center;
	gap: var(--s-2);
	margin: 0 0 var(--s-3);
	font-size: var(--step-1);
}

.reg-card__title .icon {
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--brand-text);
}

.reg-list {
	display: grid;
	gap: var(--s-3);
	margin: 0;
}

.reg-list div {
	display: grid;
	gap: 2px;
}

.reg-list dt {
	color: var(--muted);
	font-size: 0.8125rem;
}

.reg-list dd {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s-1) var(--s-3);
	margin: 0;
	font-weight: 600;
}

.reg-number {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	overflow-wrap: anywhere;
}

/* "GST Registered" in the trust lists links to the GSTIN on About. The link is a full 44px tap target; negative
   margins keep the chip or tile its usual size. */
.reg-badge__link {
	display: inherit;
	flex: 1;
	align-items: inherit;
	justify-items: inherit;
	gap: inherit;
	min-height: var(--tap);
	color: inherit;
	text-decoration: none;
}

.trust .reg-badge__link {
	margin-block: -13px;
}

.product-trust .reg-badge__link {
	margin-block: calc(var(--s-2) * -1);
}

.reg-badge__link:hover strong,
.product-trust .reg-badge__link:hover {
	text-decoration: underline;
}

@media (min-width: 769px) {
	.reg-list div {
		grid-template-columns: 10rem minmax(0, 1fr);
		align-items: center;
	}
}

/* When the shop replies: on Send Order and Order Sent. Outside shop hours it leads with the confirmation day. */
.reply-note {
	display: flex;
	gap: var(--s-2);
	align-items: flex-start;
	margin-top: var(--s-3);
	padding: var(--s-3);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	font-size: 0.875rem;
	line-height: 1.45;
	text-align: left;
}

.reply-note .icon {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	color: var(--brand-text);
}

.reply-note p {
	display: grid;
	gap: 2px;
	margin: 0;
}

.reply-note span {
	color: var(--muted);
}

/* GSTIN and Udyam number on the legal pages: never split across lines. */
.business-details .nowrap {
	white-space: nowrap;
}

/* Four trust tiles on the product page: 2 × 2 on phones, one row where there is room. */
.product-trust:has(> li:nth-child(4)) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 600px) {
	.product-trust:has(> li:nth-child(4)) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Pickup · Delivery across India · Export: one row of three where there is room, then the note. */
.product-fulfil a {
	color: var(--text);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--border-strong);
	text-underline-offset: 3px;
}

.product-fulfil .product-fulfil__note {
	color: var(--muted);
	font-size: 0.8125rem;
}

.product-fulfil li:not(.product-fulfil__note) .icon {
	color: var(--brand-text);
}

.product-fulfil a {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
	margin-block: -12px;
}

.footer-reach {
	margin-top: calc(var(--s-2) * -1);
	color: var(--footer-text);
	font-weight: 600;
}

.export-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
	padding: 4px 12px 4px 8px;
	border-radius: 999px;
	background: var(--brand-soft);
	color: var(--text);
	font-weight: 700;
}

.export-badge .icon {
	width: 18px;
	height: 18px;
	color: var(--brand-text);
}

/* Contact: how to find the shop, and real shop photos when the shop adds them. */
.contact-directions {
	margin: 0 0 var(--s-2);
	color: var(--muted);
}

.shop-photos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--gap);
	margin: var(--s-5) 0 0;
	padding: 0;
	list-style: none;
}

.shop-photos img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
}

@media (min-width: 769px) {
	.shop-photos {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Order page, shop staff only. */
.staff-order-panel {
	margin-bottom: var(--s-4);
	padding: var(--s-3);
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius);
}

.staff-order-panel p {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	margin: 0 0 var(--s-2);
}

/* Dealer prices, only ever drawn for an approved dealer: the dealer price leads, retail is small. */
.price-dealer {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 var(--s-2);
	color: var(--text);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.price-dealer__label {
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--brand-soft);
	color: var(--brand-text);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.price-retail {
	display: block;
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.price-retail .amount {
	font-weight: 500;
}

.price-retail__label {
	margin-right: 2px;
}

.price-retail del {
	margin-left: var(--s-1);
	opacity: 0.8;
}

/* Product page: the retail/sale line a little larger, under the dealer price. */
.product-price .price-retail {
	margin-top: 2px;
	font-size: 0.9375rem;
}

.price-retail--sale .price-retail__label {
	color: var(--brand-text);
	font-weight: 700;
}

/* Wholesale page: one card for the customer's dealer status. */
.dealer-card {
	display: flex;
	gap: var(--s-3);
	align-items: flex-start;
	padding: var(--s-4);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
}

.dealer-card > .icon {
	flex: none;
	width: 28px;
	height: 28px;
	color: var(--brand-text);
}

.dealer-card--ok {
	border-color: var(--success);
}

.dealer-card--ok > .icon {
	color: var(--success);
}

.dealer-card h2 {
	margin: 0 0 var(--s-2);
	font-size: var(--step-1);
}

.dealer-card p {
	margin: 0 0 var(--s-2);
}

.dealer-edit {
	margin-top: var(--s-3);
}

.dealer-edit > summary {
	display: flex;
	align-items: center;
	min-height: var(--tap);
	font-weight: 700;
	cursor: pointer;
}

/* ---------- My Account: app-like on phones (list → section with a back link), left menu on desktop ---------- */
.woocommerce-account .site-main article > .woocommerce {
	display: block;
}

.account-shell .woocommerce-MyAccount-navigation {
	display: none;
}

.account-back {
	display: inline-flex;
	align-items: center;
	gap: var(--s-1);
	min-height: var(--tap);
	margin-bottom: var(--s-2);
	color: var(--text);
	font-weight: 700;
	text-decoration: none;
}

.account-back .icon {
	width: 18px;
	height: 18px;
}

.account-card {
	display: flex;
	gap: var(--s-3);
	align-items: center;
	margin-bottom: var(--s-4);
	padding: var(--s-4);
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--on-ink);
}

.account-card__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 999px;
	background: var(--brand);
	color: var(--on-brand);
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 800;
}

.account-card__name {
	margin: 0;
	color: inherit;
	font-size: var(--step-1);
}

.account-card__mobile {
	margin: 2px 0 var(--s-2);
	opacity: 0.85;
	font-variant-numeric: tabular-nums;
}

.account-badge {
	display: inline-flex;
	padding: 2px 10px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--on-ink) 14%, transparent);
	font-size: 0.8125rem;
	font-weight: 700;
}

.account-badge--approved {
	background: color-mix(in srgb, var(--success) 45%, transparent);
	color: var(--on-ink);
}

.account-task {
	margin-bottom: var(--s-4);
	padding: var(--s-4);
	border: 1px solid var(--brand);
	border-radius: var(--radius);
	background: var(--brand-soft);
}

.account-task h2 {
	margin: 0 0 var(--s-2);
	font-size: var(--step-1);
}

.account-task__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	align-items: center;
}

.account-task__actions form {
	margin: 0;
}

.account-list ul,
.account-links {
	margin: 0;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	list-style: none;
	overflow: hidden;
}

.account-list li + li,
.account-links li + li {
	border-top: 1px solid var(--border);
}

.account-list a,
.account-links a {
	display: flex;
	gap: var(--s-3);
	align-items: center;
	min-height: 56px;
	padding: 0 var(--s-3);
	color: var(--text);
	font-weight: 600;
	text-decoration: none;
}

.account-list a:hover,
.account-links a:hover {
	background: var(--surface);
}

.account-list a > span,
.account-links a > span {
	flex: 1;
}

.account-list__icon {
	width: 22px;
	height: 22px;
	color: var(--brand-text);
}

.account-list__go,
.account-links .icon {
	width: 16px;
	height: 16px;
	color: var(--muted);
}

.account-list .account-list__logout {
	border-top: 6px solid var(--surface);
}

.account-list__logout a {
	justify-content: center;
	color: var(--muted);
}

.account-links {
	margin-top: var(--s-4);
}

.account-intro {
	color: var(--muted);
}

.account-empty {
	padding: var(--s-6) var(--s-4);
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius);
	text-align: center;
}

.account-empty > .icon {
	width: 40px;
	height: 40px;
	color: var(--brand-text);
}

.account-empty h2 {
	margin: var(--s-2) 0;
	font-size: var(--step-1);
}

.woocommerce-MyAccount-content .dealer-card + .dealer-card {
	margin-top: var(--s-3);
}

/* Orders as cards */
.order-cards {
	display: grid;
	gap: var(--gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.order-card {
	padding: var(--s-3) var(--s-4);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg);
	box-shadow: var(--shadow-card);
}

.order-card__top {
	display: flex;
	gap: var(--s-2);
	align-items: center;
	justify-content: space-between;
}

.order-card__number {
	color: var(--text);
	font-weight: 800;
	text-decoration: none;
}

.order-card__meta {
	margin: var(--s-1) 0;
	color: var(--muted);
	font-size: 0.875rem;
}

.order-card__total {
	display: flex;
	gap: var(--s-2);
	align-items: baseline;
	margin: 0 0 var(--s-3);
	font-variant-numeric: tabular-nums;
}

.order-card__total span {
	color: var(--muted);
	font-size: 0.8125rem;
}

.order-card__actions,
.order-pages {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
}

.order-card__actions .btn {
	min-height: var(--tap);
	padding-inline: var(--s-3);
	font-size: 0.875rem;
}

.order-pages {
	margin-top: var(--s-4);
}

.status-chip {
	display: inline-flex;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--surface-2);
	color: var(--text);
	font-size: 0.75rem;
	font-weight: 700;
	white-space: nowrap;
}

.status-chip--completed {
	background: color-mix(in srgb, var(--success) 18%, transparent);
	color: var(--text);
}

.status-chip--on-hold,
.status-chip--pending {
	background: var(--brand-soft);
	color: var(--brand-text);
}

/* One order */
.order-view-head {
	display: grid;
	gap: var(--s-2);
	justify-items: start;
	margin-bottom: var(--s-4);
}

.order-view-head p {
	margin: 0;
	color: var(--muted);
}

.order-view-note {
	margin-bottom: var(--s-4);
	padding: var(--s-3) var(--s-4);
	border-radius: var(--radius);
	background: var(--surface);
}

.order-view-note h2 {
	margin: 0 0 var(--s-1);
	font-size: 1rem;
}

.order-view-note p {
	margin: 0;
}

.order-updates {
	margin: 0;
	padding-left: 1.25rem;
}

.order-updates time {
	color: var(--muted);
	font-size: 0.8125rem;
}

.woocommerce-MyAccount-content mark,
.order-sent mark {
	background: none;
	color: inherit;
	font-weight: 700;
}

.order-item-thumb {
	float: left;
	width: 48px;
	height: 48px;
	margin-right: var(--s-2);
	border-radius: 8px;
	background: var(--photo-bg);
	object-fit: contain;
}

.order-item-name {
	display: inline;
}

/* Profile */
.profile-business {
	margin: var(--s-3) 0;
	padding: var(--s-3);
	border-radius: var(--radius);
	background: var(--surface);
}

.profile-business p {
	margin: 0 0 var(--s-1);
}

.profile-business__label {
	display: block;
	color: var(--muted);
	font-size: 0.8125rem;
}

/* Header account menu (desktop) and drawer logout (phones) */
.account-menu {
	position: relative;
}

.account-menu > summary {
	list-style: none;
	cursor: pointer;
}

.account-menu > summary::-webkit-details-marker {
	display: none;
}

.account-menu__list {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 60;
	min-width: 220px;
	margin: 0;
	padding: var(--s-1);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg);
	box-shadow: var(--shadow-float);
	list-style: none;
}

.account-menu__list a {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 0 var(--s-3);
	border-radius: 8px;
	color: var(--text);
	text-decoration: none;
}

.account-menu__list a:hover {
	background: var(--surface);
}

.account-menu__logout {
	margin-top: var(--s-1);
	padding-top: var(--s-1);
	border-top: 1px solid var(--border);
}

.account-menu__logout a {
	color: var(--muted);
}

.menu-drawer__logout {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
	padding-inline: var(--s-2);
	color: var(--muted);
	font-size: 0.875rem;
	text-decoration: underline;
}

@media (min-width: 1024px) {
	.account-shell {
		display: grid;
		grid-template-columns: 15rem minmax(0, 1fr);
		gap: var(--s-6);
		align-items: start;
	}

	.account-shell .woocommerce-MyAccount-navigation {
		display: block;
		position: sticky;
		top: 8rem;
	}

	.account-back {
		display: none;
	}

	.woocommerce-MyAccount-navigation-link--customer-logout {
		margin-top: var(--s-2);
		padding-top: var(--s-2);
		border-top: 1px solid var(--border);
	}

	.woocommerce-MyAccount-navigation-link--customer-logout a {
		border-color: transparent;
		color: var(--muted);
	}

	.account-shell:not(.is-section) .account-list {
		display: none;
	}
}

/* Category intro (in the banner) and buying guide (below the products). */
.cat-banner__intro {
	max-width: 40rem;
	margin: var(--s-1) 0 0;
	font-size: 0.9375rem;
}

.cat-guide {
	margin-top: var(--s-6);
	padding-top: var(--s-4);
	border-top: 1px solid var(--border);
}

.cat-guide h2 {
	font-size: var(--step-2);
}

/* Guides */
.guides-head p,
.guide__summary {
	max-width: 40rem;
	color: var(--muted);
	font-size: var(--step-1);
}

.guide-cards {
	display: grid;
	gap: var(--gap);
	margin: var(--s-4) 0 0;
	padding: 0;
	list-style: none;
}

.guide-card a {
	display: flex;
	gap: var(--s-3);
	align-items: center;
	height: 100%;
	padding: var(--s-3);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg);
	box-shadow: var(--shadow-card);
	color: var(--text);
	text-decoration: none;
}

.guide-card img {
	flex: none;
	width: 96px;
	height: 72px;
	border-radius: 8px;
	object-fit: cover;
}

.guide-card__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 999px;
	background: var(--brand-soft);
	color: var(--brand-text);
}

.guide-card__icon .icon {
	width: 32px;
	height: 32px;
}

.guide-card__text {
	display: grid;
	gap: var(--s-1);
}

.guide-card__text span {
	color: var(--muted);
	font-size: 0.875rem;
}

.guide {
	max-width: 46rem;
}

.guide__kicker {
	margin: 0;
	font-weight: 700;
}

.guide__shop,
.guide__ask {
	margin-top: var(--s-5);
	padding: var(--s-4);
	border-radius: var(--radius);
	background: var(--surface);
}

.guide__shop h2 {
	margin-top: 0;
	font-size: var(--step-1);
}

.guide__shop .chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.guide__shop .chip {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
	padding: 0 var(--s-3);
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	color: var(--text);
	font-weight: 600;
	text-decoration: none;
}

.video-facade {
	display: grid;
	place-items: center;
	gap: var(--s-2);
	aspect-ratio: 16 / 9;
	margin: var(--s-4) 0;
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--on-ink);
	text-align: center;
}

.video-facade.is-playing {
	display: block;
}

.video-facade iframe {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: var(--radius);
}

.video-facade__play {
	display: inline-flex;
	gap: var(--s-2);
	align-items: center;
	min-height: var(--tap);
	padding: 0 var(--s-4);
	border: 0;
	border-radius: 999px;
	background: var(--brand);
	color: var(--on-brand);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.video-facade p {
	margin: 0;
	opacity: 0.8;
	font-size: 0.8125rem;
}

@media (min-width: 769px) {
	.guide-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Phones: less above the first product, nothing cut off (Phase 2 UX) ---------- */
@media (max-width: 767px) {
	/* The count already sits next to "Filter & Sort"; the banner keeps the title and two lines of intro. */
	.cat-banner__count {
		display: none;
	}

	.cat-banner {
		max-height: none;
	}

	.cat-banner__intro {
		display: -webkit-box;
		overflow: hidden;
		font-size: 0.8125rem;
		line-height: 1.4;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	/* Listing cards: brand, name, specs, price, stock and Add. The SKU stays on the product page. */
	.archive-page .card__sku,
	.rail .card__sku {
		display: none;
	}

}

/* ---------- Product page: the order-list control in the buy bar ---------- */
.buy-cart {
	display: flex;
	min-width: 0;
	padding: 0;
}

.buy-cart > .single_add_to_cart_button {
	flex: 1;
}

.buy-cart [hidden] {
	display: none;
}

.buy-stepper {
	display: flex;
	flex: 1;
	align-items: stretch;
	justify-content: space-between;
	min-height: var(--field);
	border-color: var(--brand);
	background: var(--bg);
}

.buy-stepper .stepper__btn {
	flex: none;
	width: 48px;
	color: var(--brand-text);
}

.buy-stepper__value {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	line-height: 1.1;
}

.buy-stepper .stepper__value {
	flex: none;
	align-self: auto;
	min-width: 0;
	font-size: 1.0625rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.buy-stepper__note {
	color: var(--muted);
	font-size: 0.6875rem;
	font-weight: 600;
	white-space: nowrap;
}

/* ---------- Quick filters: one-tap chips above the results ---------- */
.quick-filters {
	display: flex;
	gap: var(--s-2);
	margin: 0 calc(var(--gutter) * -1) var(--gap);
	padding: 2px var(--gutter);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.quick-filters::-webkit-scrollbar {
	display: none;
}

.quick-filters__chip {
	flex: none;
	gap: var(--s-1);
	padding-inline: var(--s-3);
	border-radius: 999px;
	background: var(--bg);
	font-size: 0.875rem;
}

.quick-filters__chip small {
	color: var(--muted);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.quick-filters__chip[aria-pressed="true"] {
	border-color: var(--brand-text);
	background: var(--brand-soft);
	color: var(--text);
}

.quick-filters__chip .icon {
	width: 1rem;
	height: 1rem;
	color: var(--brand-text);
}

@media (min-width: 1024px) {
	.quick-filters {
		flex-wrap: wrap;
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
	}
}

/* "Show N results" while the count is on its way, and when nothing matches. */
[data-show-results][aria-busy="true"] {
	opacity: 0.75;
}

[data-show-results]:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}
