/* ==========================================================================
   Bumu Art Gallery — shop

   Loaded on the shop, product, cart, checkout and account pages only.

   Products are objects, so each is shown whole on a tinted panel rather than
   cropped to a common rectangle. Product photographs are shot on white; the
   image is multiplied onto the panel so the white disappears into it instead
   of reading as a box within a box.

   Everything hangs off the tokens in base.css.
   ========================================================================== */

.shop {
	--panel: var(--paper-alt);
	--shop-gap: clamp(16px, 2.4vw, 34px);
	background: var(--paper);
}

.shop-link {
	display: inline-block;
	padding-bottom: 3px;
	border-bottom: 1px solid currentColor;
	font-family: var(--header-sans);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--ink);
	transition: color .2s;
}

.shop-link:hover { color: var(--accent); }

/* Breadcrumb ---------------------------------------------------------------- */

.shop-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 9px;
	margin: 0 0 clamp(26px, 3.5vw, 44px);
	font-family: var(--header-sans);
	font-size: .7rem;
	font-weight: 500;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--soft);
}

.shop-crumbs a { color: var(--soft); transition: color .2s; }
.shop-crumbs a:hover { color: var(--ink); }
.shop-crumbs__sep { opacity: .5; }

/* --------------------------------------------------------------------------
   Archive head and toolbar
   -------------------------------------------------------------------------- */

.shop-head {
	padding: calc(var(--header-h, 110px) + 38px) 0 clamp(34px, 4.5vw, 60px);
	border-bottom: 1px solid var(--ink);
}

.shop-head__grid { display: grid; gap: 22px; align-items: end; }

@media (min-width: 62em) {
	.shop-head__grid { grid-template-columns: 1fr minmax(300px, 34%); gap: 6vw; }
}

.shop-head__title {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(4.2rem, 9vw, 9rem);
	font-weight: 400;
	line-height: .8;
	letter-spacing: -.06em;
	color: var(--ink);
}

.shop-head__lede {
	max-width: 40ch;
	margin: 0;
	font-size: clamp(1rem, 1.3vw, 1.12rem);
	line-height: 1.6;
	color: var(--body);
}

.shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	max-width: calc(var(--wrap) + (var(--gutter) * 2));
	margin: 0 auto;
	padding: 22px var(--gutter);
}

.shop-cats {
	display: flex;
	gap: 6px;
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	scrollbar-width: none;
}

.shop-cats::-webkit-scrollbar { display: none; }

.shop-cats a {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: baseline;
	gap: 7px;
	padding: 9px 16px;
	border: 1px solid var(--rule);
	border-radius: 999px;
	font-family: var(--header-sans);
	font-size: .78rem;
	color: var(--ink);
	transition: background .18s, color .18s, border-color .18s;
}

.shop-cats a:hover { border-color: var(--ink); }
.shop-cats a.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.shop-cats a span { font-size: .66rem; opacity: .55; }

.shop-toolbar__end {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-left: auto;
}

.shop .woocommerce-result-count {
	float: none;
	margin: 0;
	font-family: var(--header-sans);
	font-size: .76rem;
	color: var(--soft);
}

.shop .woocommerce-ordering { float: none; margin: 0; }

.shop .woocommerce-ordering select {
	appearance: none;
	-webkit-appearance: none;
	padding: 9px 34px 9px 14px;
	border: 1px solid var(--rule);
	border-radius: 999px;
	background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3E%3Cpath fill='%231a1a1a' d='M.7 0L0 .7 7 7.7 14 .7 13.3 0 7 6.3z'/%3E%3C/svg%3E") no-repeat right 14px center / 9px;
	font-family: var(--header-sans);
	font-size: .78rem;
	color: var(--ink);
	cursor: pointer;
}

.shop .woocommerce-ordering select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 34.99em) {
	.shop .woocommerce-result-count { display: none; }
	.shop-toolbar__end { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   Product grid and cards
   -------------------------------------------------------------------------- */

/* WooCommerce puts a clearfix ::before/::after on the list. In a grid each
   pseudo-element takes a cell, pushing every product one place along. */
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; display: none !important; }

.woocommerce .shop ul.products,
.woocommerce .related ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 44px var(--shop-gap);
	max-width: calc(var(--wrap) + (var(--gutter) * 2));
	margin: 0 auto;
	padding: 10px var(--gutter) clamp(80px, 10vw, 130px);
	list-style: none;
}

@media (min-width: 62em) {
	.woocommerce .shop ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 64px; }
	.woocommerce .related ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.woocommerce ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto !important;
	margin: 0 !important;
	padding: 0;
	float: none !important;
	clear: none !important;
	text-align: left;
	container-type: inline-size;
}

.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after { content: none; }

.woocommerce ul.products li.product .woocommerce-LoopProduct-link { display: block; color: inherit; }

.shop-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	margin: 0 0 18px;
	overflow: hidden;
	background: var(--panel);
}

.woocommerce ul.products li.product .shop-card__media img,
.shop-card__media .shop-blank {
	display: flex;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 9%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.woocommerce ul.products li.product:hover .shop-card__media img { transform: scale(1.04); }

.shop-card__flag {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 9px;
	background: var(--paper);
	font-family: var(--header-sans);
	font-size: .62rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink);
}

/* Stand-in for a product still awaiting photography. */
.shop-blank {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	mix-blend-mode: normal !important;
}

.shop-blank__mark {
	font-family: var(--serif);
	font-size: clamp(3rem, 6vw, 5rem);
	line-height: 1;
	color: var(--rule);
}

.shop-blank__note {
	font-family: var(--header-sans);
	font-size: .62rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--soft);
}

.shop-card__cat {
	margin: 0 0 8px;
	font-family: var(--header-sans);
	font-size: .64rem;
	font-weight: 600;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--accent);
}

.shop-card__cat a { color: inherit; }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	margin: 0 0 10px;
	font-family: var(--serif);
	font-size: clamp(1.2rem, 1.9vw, 1.6rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -.01em;
	color: var(--ink);
	transition: color .2s;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title { color: var(--accent); }

.shop-title__variant {
	display: block;
	margin-top: 5px;
	font-family: var(--header-sans);
	font-size: .78rem;
	letter-spacing: .01em;
	line-height: 1.3;
	color: var(--soft);
}

.woocommerce ul.products li.product .price {
	display: block;
	margin: 0 0 14px;
	font-family: var(--header-sans);
	font-size: .84rem;
	font-weight: 600;
	color: var(--ink);
}

.woocommerce ul.products li.product .price del { opacity: .45; margin-right: 6px; font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--accent); }

/* "Add to bag": a text link under the card on touch screens; on devices that
   hover, a full-width bar that rises over the bottom of the image panel. */
.woocommerce ul.products li.product .button {
	align-self: flex-start;
	margin: auto 0 0;
	padding: 0 0 3px;
	border: 0;
	border-bottom: 1px solid var(--ink);
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	font-family: var(--header-sans);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .11em;
	text-transform: uppercase;
	transition: color .2s, border-color .2s, opacity .25s, transform .25s;
}

.woocommerce ul.products li.product .button:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.woocommerce ul.products li.product .button.loading { opacity: .5; }
.woocommerce ul.products li.product .button.loading::after { display: none; }
.woocommerce ul.products li.product .button.added::after { content: " ✓"; margin: 0; position: static; font-family: inherit; }
.woocommerce ul.products li.product .added_to_cart { display: none; }

@media (hover: hover) and (min-width: 62em) {
	.woocommerce ul.products li.product .button {
		position: absolute;
		top: calc(100cqw - 56px);
		left: 12px;
		right: 12px;
		z-index: 2;
		align-self: auto;
		height: 44px;
		padding: 0;
		border: 0;
		background: var(--ink);
		color: var(--paper);
		line-height: 44px;
		text-align: center;
		opacity: 0;
		transform: translateY(8px);
	}

	.woocommerce ul.products li.product:hover .button,
	.woocommerce ul.products li.product .button:focus-visible,
	.woocommerce ul.products li.product .button.loading,
	.woocommerce ul.products li.product .button.added { opacity: 1; transform: none; }

	.woocommerce ul.products li.product .button:hover { background: var(--accent); color: #fff; }
}

/* Swatches ------------------------------------------------------------------ */

.shop-swatches__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shop-swatch {
	--swatch: var(--paper-alt);
	display: block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--swatch);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
	transition: box-shadow .2s, transform .2s;
}

.shop-swatch:hover { transform: scale(1.15); }
.shop-swatch.is-current { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }

.shop-swatches--card { margin: -4px 0 16px; }

.shop-swatches--single { margin: 0 0 28px; }

.shop-swatches__label {
	margin: 0 0 12px;
	font-family: var(--header-sans);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--soft);
}

.shop-swatches__label span { margin-left: 6px; letter-spacing: .02em; text-transform: none; font-weight: 500; font-size: .86rem; color: var(--ink); }

.shop-swatches--single .shop-swatches__list { gap: 10px; }
.shop-swatches--single .shop-swatch { width: 30px; height: 30px; }
.shop-swatches--single .shop-swatch.is-current { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--paper), 0 0 0 4px var(--ink); }

/* Pagination ---------------------------------------------------------------- */

.woocommerce .shop nav.woocommerce-pagination {
	max-width: calc(var(--wrap) + (var(--gutter) * 2));
	margin: calc(clamp(80px, 10vw, 130px) * -.5) auto clamp(80px, 10vw, 130px);
	padding: 0 var(--gutter);
	text-align: left;
}

.woocommerce .shop nav.woocommerce-pagination ul { display: flex; gap: 6px; border: 0; }
.woocommerce .shop nav.woocommerce-pagination ul li { border: 0; }

.woocommerce .shop nav.woocommerce-pagination ul li a,
.woocommerce .shop nav.woocommerce-pagination ul li span {
	min-width: 40px;
	padding: 10px 12px;
	border: 1px solid var(--rule);
	font-family: var(--header-sans);
	font-size: .82rem;
	color: var(--ink);
}

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

.shop-empty {
	max-width: calc(var(--wrap) + (var(--gutter) * 2));
	margin: 0 auto;
	padding: 40px var(--gutter) clamp(80px, 10vw, 130px);
}

.shop-empty p { max-width: 40ch; margin: 0 0 22px; font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; color: var(--ink); }

/* --------------------------------------------------------------------------
   Single product
   -------------------------------------------------------------------------- */

.shop-single-crumbs { padding-top: calc(var(--header-h, 110px) + 30px); }
.shop-single-crumbs .shop-crumbs { margin-bottom: 22px; }

.woocommerce .shop div.product {
	display: grid;
	gap: clamp(30px, 5vw, 80px);
	max-width: calc(var(--wrap) + (var(--gutter) * 2));
	margin: 0 auto;
	padding: 0 var(--gutter);
}

@media (min-width: 62em) {
	.woocommerce .shop div.product { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
}

/* Gallery */

.woocommerce .shop div.product div.images {
	float: none;
	width: auto;
	margin: 0;
}

.woocommerce .shop div.product div.images .woocommerce-product-gallery__wrapper { margin: 0; }

.woocommerce .shop div.product div.images .woocommerce-product-gallery__image {
	background: var(--panel);
}

.woocommerce .shop div.product div.images .woocommerce-product-gallery__image > a { display: block; }

.woocommerce .shop div.product div.images img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	padding: clamp(28px, 7%, 80px);
	object-fit: contain;
	mix-blend-mode: multiply;
}

.woocommerce .shop div.product div.images img.zoomImg { padding: 0; aspect-ratio: auto; background: var(--panel); }

.woocommerce .shop div.product div.images .woocommerce-product-gallery__trigger {
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--paper);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.woocommerce .shop div.product div.images .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin: 10px 0 0;
}

.woocommerce .shop div.product div.images .flex-control-thumbs li { width: auto; float: none; background: var(--panel); }

.woocommerce .shop div.product div.images .flex-control-thumbs li img {
	padding: 12%;
	opacity: .55;
	transition: opacity .2s;
}

.woocommerce .shop div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce .shop div.product div.images .flex-control-thumbs li img:hover { opacity: 1; }

/* Summary */

.woocommerce .shop div.product div.summary {
	float: none;
	width: auto;
	margin: 0;
}

@media (min-width: 62em) {
	.woocommerce .shop div.product div.summary {
		position: sticky;
		top: calc(var(--header-h, 80px) + 24px);
		padding-top: 8px;
	}
}

.woocommerce .shop div.product .product_title {
	margin: 0 0 22px;
	font-family: var(--serif);
	font-size: clamp(2.4rem, 4.2vw, 3.9rem);
	font-weight: 400;
	line-height: .98;
	letter-spacing: -.035em;
	color: var(--ink);
}

.woocommerce .shop div.product .product_title .shop-title__variant {
	margin-top: 14px;
	font-size: .95rem;
	letter-spacing: 0;
	line-height: 1.3;
}

.woocommerce .shop div.product .summary p.price,
.woocommerce .shop div.product .summary span.price {
	margin: 0 0 24px;
	font-family: var(--header-sans);
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--ink);
}

.woocommerce .shop div.product .summary p.price del { opacity: .45; font-weight: 400; margin-right: 6px; }
.woocommerce .shop div.product .summary p.price ins { text-decoration: none; color: var(--accent); }

.woocommerce .shop div.product .woocommerce-product-details__short-description {
	max-width: 46ch;
	margin: 0 0 28px;
	padding-top: 24px;
	border-top: 1px solid var(--rule);
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--body);
}

.woocommerce .shop div.product .woocommerce-product-details__short-description > * + * { margin-top: .8em; }

.woocommerce .shop div.product .stock {
	margin: 0 0 14px;
	font-family: var(--header-sans);
	font-size: .8rem;
	color: var(--soft);
}

.woocommerce .shop div.product .stock.out-of-stock { color: #a83232; }

/* Buy row: stepper beside a full-width button */

.woocommerce .shop div.product form.cart {
	display: flex;
	gap: 10px;
	margin: 0 0 26px;
}

.woocommerce .shop div.product form.cart::before,
.woocommerce .shop div.product form.cart::after { content: none; }

.woocommerce .shop div.product form.cart div.quantity {
	display: flex;
	flex: 0 0 auto;
	float: none;
	margin: 0;
	border: 1px solid var(--rule);
}

.woocommerce .shop div.product form.cart .qty {
	width: 44px;
	height: 54px;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: var(--header-sans);
	font-size: .95rem;
	text-align: center;
	color: var(--ink);
	-moz-appearance: textfield;
}

.woocommerce .shop div.product form.cart .qty::-webkit-outer-spin-button,
.woocommerce .shop div.product form.cart .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.shop-qty__btn {
	width: 40px;
	font-family: var(--header-sans);
	font-size: 1.05rem;
	color: var(--ink);
	transition: color .2s, background .2s;
}

.shop-qty__btn:hover { background: var(--paper-alt); }

.woocommerce .shop div.product form.cart .button {
	flex: 1 1 auto;
	float: none;
	height: 56px;
	padding: 0 26px;
	border: 1px solid var(--ink);
	border-radius: 0;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--header-sans);
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	transition: background .2s, border-color .2s;
}

.woocommerce .shop div.product form.cart .button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.woocommerce .shop div.product form.cart .button.disabled,
.woocommerce .shop div.product form.cart .button:disabled { opacity: .4; }

/* Variable products keep WooCommerce's table, tidied. */
.woocommerce .shop div.product form.cart.variations_form { display: block; }
.woocommerce .shop div.product form.cart .variations { margin: 0 0 20px; }
.woocommerce .shop div.product form.cart .variations th { padding: 0 0 8px; font-family: var(--header-sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); text-align: left; }
.woocommerce .shop div.product form.cart .variations select { width: 100%; padding: 13px 14px; border: 1px solid var(--rule); background: var(--paper); font-family: var(--header-sans); }
.woocommerce .shop div.product form.cart .woocommerce-variation-add-to-cart { display: flex; gap: 10px; }

/* Assurance */

.shop-assurance {
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
	font-family: var(--header-sans);
	font-size: .82rem;
	line-height: 1.55;
	color: var(--body);
}

.shop-assurance li { position: relative; padding-left: 20px; }
.shop-assurance li + li { margin-top: 8px; }

.shop-assurance li::before {
	content: "";
	position: absolute;
	top: .55em;
	left: 2px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
}

.shop-assurance a { color: var(--ink); border-bottom: 1px solid var(--rule); transition: border-color .2s; }
.shop-assurance a:hover { border-color: var(--ink); }

/* Details (the old tabs) */

.shop-details { border-top: 1px solid var(--ink); }

.shop-details__item { border-bottom: 1px solid var(--rule); }

.shop-details__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	font-family: var(--header-sans);
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink);
	list-style: none;
	cursor: pointer;
}

.shop-details__item summary::-webkit-details-marker { display: none; }
.shop-details__item summary:hover { color: var(--accent); }

.shop-details__chev { width: 11px; height: 11px; fill: currentColor; transition: transform .25s; }
.shop-details__item[open] .shop-details__chev { transform: rotate(180deg); }

.shop-details__body {
	padding: 0 0 26px;
	font-size: .98rem;
	line-height: 1.7;
	color: var(--body);
}

.shop-details__body > * + * { margin-top: 1em; }
.shop-details__body ul { margin: 0; padding-left: 1.2em; list-style: disc; }
.shop-details__body ul ul { margin-top: .4em; list-style: circle; }
.shop-details__body li + li { margin-top: .3em; }
.shop-details__body b,
.shop-details__body strong { color: var(--ink); font-weight: 600; }

.shop-details__body table.shop_attributes { width: 100%; border: 0; border-collapse: collapse; }
.shop-details__body table.shop_attributes th,
.shop-details__body table.shop_attributes td { padding: 10px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; font-style: normal; text-align: left; }
.shop-details__body table.shop_attributes th { width: 40%; font-family: var(--header-sans); font-size: .78rem; font-weight: 600; color: var(--ink); }
.shop-details__body table.shop_attributes td p { margin: 0; }

/* Related */

.woocommerce .shop .related,
.woocommerce .shop .upsells {
	position: relative;
	max-width: calc(var(--wrap) + (var(--gutter) * 2));
	margin: clamp(50px, 7vw, 100px) auto 0;
	padding: 26px var(--gutter) 0;
}

/* The rule sits inside the gutters, matching the content edge. */
.woocommerce .shop .related::before,
.woocommerce .shop .upsells::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--gutter);
	right: var(--gutter);
	border-top: 1px solid var(--ink);
}

.woocommerce .shop .related > h2,
.woocommerce .shop .upsells > h2 {
	margin: 0 0 30px;
	font-family: var(--serif);
	font-size: clamp(2rem, 3.4vw, 3.2rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -.03em;
	color: var(--ink);
}

.woocommerce .shop .related ul.products,
.woocommerce .shop .upsells ul.products { padding-left: 0; padding-right: 0; }

.woocommerce .related ul.products li.product .woocommerce-loop-product__title { font-size: clamp(1.1rem, 1.5vw, 1.35rem); }

/* --------------------------------------------------------------------------
   Notices (classic pages)
   -------------------------------------------------------------------------- */

.woocommerce .shop .woocommerce-notices-wrapper:empty { display: none; }

.woocommerce .shop .woocommerce-message,
.woocommerce .shop .woocommerce-info,
.woocommerce .shop .woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	max-width: calc(var(--wrap) + (var(--gutter) * 2));
	margin: 0 auto 26px;
	padding: 16px 20px 16px 48px;
	border: 0;
	border-left: 3px solid var(--accent);
	background: var(--paper-alt);
	font-family: var(--header-sans);
	font-size: .88rem;
	color: var(--ink);
}

.woocommerce .shop .woocommerce-message::before,
.woocommerce .shop .woocommerce-info::before { top: 50%; left: 18px; transform: translateY(-50%); color: var(--accent); }

.woocommerce .shop .woocommerce-message::after,
.woocommerce .shop .woocommerce-info::after { content: none; }

.woocommerce .shop .woocommerce-message .button,
.woocommerce .shop .woocommerce-info .button {
	order: 2;
	float: none;
	padding: 0 0 2px;
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
	background: none;
	color: var(--accent);
	font-family: var(--header-sans);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.woocommerce .shop div.product + .woocommerce-notices-wrapper,
.single-product .shop > .woocommerce-notices-wrapper { padding: 0 var(--gutter); }

/* --------------------------------------------------------------------------
   Cart and checkout

   Both are WooCommerce blocks (React, `wc-block-*` markup); the classic
   `.woocommerce` selectors do not reach them.
   -------------------------------------------------------------------------- */

.commerce-head {
	padding: calc(var(--header-h, 110px) + 38px) 0 0;
}

.commerce-head .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 22px 40px;
	padding-bottom: clamp(26px, 3vw, 40px);
}

.commerce-head .wrap::after {
	content: "";
	flex: 0 0 100%;
	order: 3;
	height: 0;
}

.commerce-head__title {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(3.4rem, 7vw, 6.4rem);
	font-weight: 400;
	line-height: .82;
	letter-spacing: -.055em;
	color: var(--ink);
}

.shop-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--header-sans);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--soft);
}

.shop-steps li { display: flex; align-items: center; gap: 9px; }

.shop-steps li + li::before {
	content: "";
	width: 22px;
	height: 1px;
	margin-right: 13px;
	background: var(--rule);
}

.shop-steps__n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border: 1px solid var(--rule);
	border-radius: 50%;
	font-size: .66rem;
	letter-spacing: 0;
}

.shop-steps li.is-current { color: var(--ink); }
.shop-steps li.is-current .shop-steps__n { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.shop-steps li.is-done .shop-steps__n { border-color: var(--accent); color: var(--accent); }
.shop-steps a { color: var(--body); }

/* On a phone only the current step keeps its name; the others are numbers. */
@media (max-width: 47.99em) {
	.shop-steps { gap: 8px 12px; }
	.shop-steps li + li::before { width: 14px; margin-right: 3px; }
	.shop-steps li:not(.is-current) > a,
	.shop-steps li:not(.is-current) > span:not(.shop-steps__n) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.shop-steps a:hover { color: var(--accent); }

.commerce {
	padding: clamp(28px, 3.5vw, 48px) 0 clamp(80px, 10vw, 130px);
	border-top: 1px solid var(--ink);
	font-family: var(--header-sans);
}

/* Blocks are authored alignwide/alignfull; keep them inside the container. */
.commerce .alignwide,
.commerce .alignfull { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }

.commerce .wc-block-cart,
.commerce .wc-block-checkout { margin: 0; padding: 0; }

/* Two columns: the form and the summary. */
@media (min-width: 62em) {
	.commerce .wc-block-components-sidebar-layout { flex-wrap: nowrap; gap: clamp(40px, 5vw, 90px); margin: 0; }
	.commerce .wc-block-components-sidebar-layout .wc-block-components-main { flex: 1 1 auto; width: auto; padding: 0; }
	.commerce .wc-block-components-sidebar-layout .wc-block-components-sidebar { flex: 0 0 min(420px, 36%); width: auto; }

	.commerce .wc-block-components-sidebar-layout .wc-block-components-sidebar > * {
		position: sticky;
		top: calc(var(--header-h, 80px) + 24px);
	}
}

.commerce .wc-block-components-sidebar-layout .wc-block-components-sidebar.wc-block-cart__sidebar,
.commerce .wc-block-components-sidebar-layout .wc-block-components-sidebar.wc-block-checkout__sidebar {
	padding: clamp(22px, 2.6vw, 32px);
	background: var(--paper-alt);
}

/* The summary panels inside carry their own side padding; the sidebar has it. */
.commerce .wc-block-components-sidebar .wc-block-components-totals-wrapper,
.commerce .wc-block-components-sidebar .wc-block-components-order-summary,
.commerce .wc-block-components-sidebar .wc-block-components-checkout-order-summary__title,
.commerce .wc-block-components-sidebar .wc-block-components-panel,
.commerce .wc-block-components-sidebar .wc-block-components-totals-coupon,
.commerce .wc-block-components-sidebar .wc-block-components-totals-item { padding-left: 0 !important; padding-right: 0 !important; }

/* The order summary block draws its own box inside the sidebar; one is enough. */
.commerce .wp-block-woocommerce-checkout-order-summary-block,
.commerce .wc-block-components-order-summary { border: 0 !important; border-radius: 0; background: transparent; }

.commerce .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title { padding: 0 0 16px; border-bottom: 1px solid var(--ink); }
.commerce .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper,
.commerce .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary { padding-left: 0; padding-right: 0; }

/* Headings */

.commerce .wc-block-components-title,
.commerce .wc-block-components-title.wc-block-components-title,
.commerce .wc-block-components-checkout-order-summary__title-text,
.commerce .wc-block-cart__totals-title {
	font-family: var(--serif) !important;
	font-size: clamp(1.5rem, 2vw, 1.85rem) !important;
	font-weight: 400 !important;
	line-height: 1.1;
	letter-spacing: -.015em;
	text-transform: none !important;
	color: var(--ink);
}

.commerce .wc-block-cart__totals-title { display: block; margin: 0 0 6px !important; padding: 0 0 16px !important; border-bottom: 1px solid var(--ink); }

/* Checkout steps become numbered sections. */
.commerce .wc-block-checkout__form { counter-reset: bumu-step; }

.commerce .wc-block-components-checkout-step {
	margin: 0 0 clamp(30px, 3.5vw, 44px);
	padding: 0;
	border: 0;
	counter-increment: bumu-step;
}

.commerce .wc-block-components-checkout-step::after { display: none; }

.commerce .wc-block-components-checkout-step__heading { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }

.commerce .wc-block-components-checkout-step__heading .wc-block-components-title::before {
	content: counter(bumu-step, decimal-leading-zero);
	margin-right: 14px;
	font-family: var(--header-sans);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .1em;
	vertical-align: .45em;
	color: var(--accent);
}

.commerce .wc-block-components-checkout-step__container,
.commerce .wc-block-components-checkout-step__content { padding: 0; }
.commerce .wc-block-components-checkout-step__description { margin-bottom: 14px; color: var(--soft); font-size: .86rem; }

/* Fields */

.commerce .wc-block-components-text-input input[type="text"],
.commerce .wc-block-components-text-input input[type="email"],
.commerce .wc-block-components-text-input input[type="tel"],
.commerce .wc-block-components-text-input input[type="number"],
.commerce .wc-block-components-text-input input[type="password"],
.commerce .wc-block-components-combobox .wc-block-components-combobox-control input,
.commerce .wc-blocks-components-select .wc-blocks-components-select__select,
.commerce .wc-block-components-textarea {
	min-height: 54px;
	border: 1px solid var(--rule);
	border-radius: 0;
	background: var(--paper);
	font-family: var(--header-sans);
	font-size: .95rem;
	color: var(--ink);
	box-shadow: none;
	transition: border-color .2s;
}

.commerce .wc-block-components-text-input input:hover,
.commerce .wc-blocks-components-select .wc-blocks-components-select__select:hover { border-color: #c4c4c4; }

.commerce .wc-block-components-text-input input:focus,
.commerce .wc-block-components-text-input.is-active input:focus,
.commerce .wc-blocks-components-select .wc-blocks-components-select__select:focus,
.commerce .wc-block-components-textarea:focus {
	border-color: var(--ink);
	box-shadow: 0 0 0 1px var(--ink);
	outline: none;
}

.commerce .wc-blocks-components-select .wc-blocks-components-select__container { border-radius: 0; background: var(--paper); }

.commerce .wc-block-components-text-input label,
.commerce .wc-blocks-components-select .wc-blocks-components-select__label { font-family: var(--header-sans); color: var(--soft); }

.commerce .wc-block-components-validation-error { font-family: var(--header-sans); font-size: .78rem; }

.commerce .wc-block-components-address-form__address_2-toggle,
.commerce .wc-block-components-checkout-step__description a { color: var(--accent); font-size: .82rem; }

.commerce .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	border-color: #bdbdbd;
	border-radius: 0;
}

.commerce .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--ink); border-color: var(--ink); }
.commerce .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
.commerce .wc-block-components-checkbox label { font-size: .88rem; color: var(--body); }

/* Radio options (shipping, payment) */

.commerce .wc-block-components-radio-control--highlight-checked,
.commerce .wc-block-components-radio-control-accordion-option,
.commerce .wc-block-components-radio-control__option { border-radius: 0; font-family: var(--header-sans); }

.commerce .wc-block-components-radio-control--highlight-checked::after { border-radius: 0; border-color: var(--rule); }
.commerce .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.commerce .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { border-radius: 0; box-shadow: inset 0 0 0 1px var(--ink); }

.commerce .wc-block-components-radio-control__input { border-color: #bdbdbd; }
.commerce .wc-block-components-radio-control__input:checked { border-color: var(--ink); }
.commerce .wc-block-components-radio-control__input:checked::before { background: var(--ink); }

/* Line items */

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

.commerce .wc-block-cart-items__header {
	font-family: var(--header-sans);
	font-size: .66rem;
	font-weight: 600;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--soft);
}

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

.commerce table.wc-block-cart-items { border-collapse: collapse; }

/* One rule per row: per-cell borders broke into segments wherever cells
   differ in height or the mobile grid leaves a gap. */
.commerce .wc-block-cart-items .wc-block-cart-items__row { border-bottom: 1px solid var(--rule); }
.commerce .wc-block-cart-items .wc-block-cart-items__row td { padding-top: 22px; padding-bottom: 22px; border-top: 0 !important; border-bottom: 0 !important; }

.commerce .wc-block-cart.is-mobile .wc-block-cart-items__row,
.commerce .wc-block-cart.is-small .wc-block-cart-items__row { column-gap: 16px; padding: 18px 0; }
.commerce .wc-block-cart.is-mobile .wc-block-cart-items__row td,
.commerce .wc-block-cart.is-small .wc-block-cart-items__row td { padding-top: 0; padding-bottom: 0; }

.commerce .wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image { width: 110px; padding-right: 22px; }

@media (max-width: 47.99em) {
	.commerce .wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image { width: auto; padding-right: 14px; }
}

.commerce .wc-block-cart-item__image img,
.commerce .wc-block-components-order-summary-item__image img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	padding: 10%;
	background: var(--paper-alt);
	object-fit: contain;
	mix-blend-mode: multiply;
}

.commerce .wc-block-cart-item__image a,
.commerce .wc-block-components-order-summary-item__image { display: block; background: var(--paper-alt); }

.commerce .wc-block-components-order-summary .wc-block-components-order-summary-item__image { width: 64px; flex: 0 0 64px; }
.commerce .wc-block-components-order-summary .wc-block-components-order-summary-item__image > img { width: 64px; max-width: 64px; }
.commerce .wc-block-components-order-summary-item { padding: 14px 0; }
.commerce .wc-block-components-order-summary-item__description { padding-left: 16px; }
.commerce .wc-block-components-order-summary-item__image img { background: transparent; }

.commerce .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
	min-width: 20px;
	height: 20px;
	border: 0;
	background: var(--ink) !important;
	color: var(--paper) !important;
	box-shadow: 0 0 0 2px var(--paper-alt);
	font-family: var(--header-sans);
	font-size: .66rem;
	font-weight: 700;
	line-height: 20px;
}

.commerce .wc-block-cart-items .wc-block-components-product-name,
.commerce .wc-block-components-product-name {
	display: inline-block;
	margin-bottom: 4px;
	font-family: var(--serif);
	font-size: clamp(1.2rem, 1.6vw, 1.45rem) !important;
	font-weight: 400;
	line-height: 1.12;
	color: var(--ink);
	text-decoration: none;
}

.commerce .wc-block-components-product-name:hover { color: var(--accent); }

.commerce .wc-block-components-order-summary-item__description .wc-block-components-product-name { font-size: 1.1rem !important; }

/* The excerpt WooCommerce prints under each line repeats the product page. */
.commerce .wc-block-components-product-metadata__description { display: none; }
.commerce .wc-block-components-product-metadata { color: var(--soft); font-size: .82rem; }

.commerce .wc-block-components-formatted-money-amount,
.commerce .wc-block-components-product-price { font-family: var(--header-sans); font-weight: 600; color: var(--ink); }

.commerce .wc-block-cart-item__prices { margin-bottom: 12px; font-size: .86rem; }

/* Quantity */

.commerce .wc-block-components-quantity-selector {
	width: 112px;
	border: 1px solid var(--rule);
	border-radius: 0;
	background: var(--paper);
}

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

.commerce .wc-block-components-quantity-selector__input,
.commerce .wc-block-components-quantity-selector__button {
	min-height: 38px;
	font-family: var(--header-sans);
	color: var(--ink);
	background: transparent;
}

.commerce .wc-block-components-quantity-selector__button:hover { background: var(--paper-alt); }

.commerce .wc-block-cart-item__remove-link {
	font-family: var(--header-sans);
	font-size: .7rem !important;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--soft) !important;
}

.commerce .wc-block-cart-item__remove-link:hover { color: #a83232 !important; }

/* Totals */

.commerce .wc-block-components-totals-wrapper { padding: 16px 0; border-top: 1px solid var(--rule); }
.commerce .wc-block-components-totals-wrapper:first-child,
.commerce .wc-block-components-totals-wrapper:empty { border-top: 0; }

.commerce .wc-block-components-totals-item { padding: 0; font-family: var(--header-sans); font-size: .9rem; color: var(--body); }
.commerce .wc-block-components-totals-item__label { color: var(--body); }

.commerce .wc-block-components-totals-footer-item {
	padding-top: 6px;
	font-size: 1.05rem;
	color: var(--ink);
}

.commerce .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.commerce .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-weight: 600; color: var(--ink); }

.commerce .wc-block-components-totals-footer-item .wc-block-components-totals-item__value .wc-block-components-formatted-money-amount { font-size: 1.35rem; }

.commerce .wc-block-components-totals-coupon .wc-block-components-panel__button,
.commerce .wc-block-components-panel__button { padding: 0; font-family: var(--header-sans); font-size: .86rem; color: var(--ink); }

/* Buttons */

.commerce .wc-block-components-button:not(.is-link) {
	min-height: 56px;
	border: 1px solid var(--ink);
	border-radius: 0;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--header-sans);
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	box-shadow: none;
	transition: background .2s, border-color .2s;
}

.commerce .wc-block-components-button:not(.is-link):hover,
.commerce .wc-block-components-button:not(.is-link):focus { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: none; }

.commerce .wc-block-components-button:not(.is-link):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.commerce .wc-block-components-button.is-link { color: var(--accent); font-family: var(--header-sans); font-size: .82rem; }

.commerce .wc-block-cart__submit-button,
.commerce .wc-block-components-checkout-place-order-button { width: 100%; }

.commerce .wc-block-checkout__actions_row { align-items: center; }

.commerce .wc-block-components-checkout-return-to-cart-button {
	padding-left: 18px;
	font-family: var(--header-sans);
	font-size: .78rem;
	color: var(--body);
}

.commerce .wc-block-components-checkout-return-to-cart-button svg { left: -2px; }

.commerce .wc-block-checkout__terms { margin: 22px 0; font-size: .82rem; color: var(--soft); }
.commerce .wc-block-checkout__terms a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* Notices */

.commerce .wc-block-components-notice-banner {
	border-radius: 0;
	border-width: 0 0 0 3px;
	font-family: var(--header-sans);
	font-size: .88rem;
}

.commerce .wc-block-components-notice-banner.is-info { border-color: var(--accent); background: var(--accent-tint); }

/* Empty cart */

.commerce .wp-block-woocommerce-empty-cart-block { text-align: left; }
.commerce .wc-block-cart__empty-cart__title { margin: 10px 0 18px; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3rem) !important; font-weight: 400; text-align: left; }
.commerce .wc-block-cart__empty-cart__title::before,
.commerce .wc-block-cart__empty-cart__title.with-empty-cart-icon::before { display: none !important; }
.commerce .wp-block-woocommerce-empty-cart-block > .wp-block-separator { width: 100%; max-width: none; height: 0; margin: 50px 0 40px; border: 0; border-top: 1px solid var(--rule); background: none; }
.commerce .wp-block-woocommerce-empty-cart-block > .wp-block-separator::before { display: none; }
.commerce .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title) { text-align: left !important; font-family: var(--serif); font-weight: 400; font-size: 1.8rem; }

.commerce .wc-block-grid__products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px var(--shop-gap); margin: 0; }
@media (min-width: 62em) { .commerce .wc-block-grid__products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.commerce .wc-block-grid__product { width: auto !important; max-width: none !important; flex: none !important; margin: 0; padding: 0; border: 0; text-align: left; }
.commerce .wc-block-grid__product-link { display: block; }
.commerce .wc-block-grid__product-image { display: block; width: 100%; margin: 0 0 14px; background: var(--paper-alt); }
.commerce .wc-block-grid__product-image img { display: block; width: 100% !important; height: auto; aspect-ratio: 1; padding: 9%; object-fit: contain; mix-blend-mode: multiply; }
.commerce .wc-block-grid__product-title { margin: 0 0 8px; line-height: 1.15; }
.commerce .wc-block-grid__product-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; color: var(--ink); }
.commerce .wc-block-grid__product-price { font-family: var(--header-sans); font-size: .84rem; font-weight: 600; color: var(--ink); }
.commerce .wc-block-grid__product-add-to-cart .wp-block-button__link { padding: 0 0 3px; border-bottom: 1px solid var(--ink); border-radius: 0; background: none; color: var(--ink); font-family: var(--header-sans); font-size: .7rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }

/* Order received (classic thank-you template) */

.commerce .woocommerce-order { max-width: 860px; }

.commerce .woocommerce-notice--success.woocommerce-thankyou-order-received {
	margin: 0 0 28px;
	font-family: var(--serif);
	font-size: clamp(1.6rem, 2.6vw, 2.3rem);
	line-height: 1.2;
	color: var(--ink);
}

.commerce ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 0;
	margin: 0 0 40px;
	padding: 0;
	border-top: 1px solid var(--ink);
	list-style: none;
}

.commerce ul.woocommerce-order-overview li {
	margin: 0;
	padding: 16px 16px 16px 0;
	border: 0;
	border-bottom: 1px solid var(--rule);
	font-size: .66rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--soft);
}

.commerce ul.woocommerce-order-overview li strong { display: block; margin-top: 6px; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--ink); }

.commerce .woocommerce-order-details__title,
.commerce .woocommerce-column__title,
.commerce .wc-block-order-confirmation-totals__title,
.commerce .wc-block-order-confirmation-downloads__title,
.commerce .wc-block-order-confirmation-additional-information h3 { margin: 30px 0 14px; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; color: var(--ink); }

.commerce table.shop_table,
.commerce .wc-block-order-confirmation-totals table { width: 100%; border: 0; border-collapse: collapse; border-radius: 0; }
.commerce table.shop_table th,
.commerce table.shop_table td,
.commerce .wc-block-order-confirmation-totals table th,
.commerce .wc-block-order-confirmation-totals table td { padding: 12px 0; border: 0; border-bottom: 1px solid var(--rule); text-align: left; font-size: .9rem; }
.commerce table.shop_table tfoot tr:last-child th,
.commerce table.shop_table tfoot tr:last-child td { color: var(--ink); font-weight: 600; }

.commerce .wc-block-order-confirmation-status { margin-bottom: 30px; }
.commerce .wc-block-order-confirmation-status h1 { font-family: var(--serif); font-weight: 400; }
.commerce .wc-block-order-confirmation-summary-list { border-top: 1px solid var(--ink); }

/* --------------------------------------------------------------------------
   Account (classic shortcode)
   -------------------------------------------------------------------------- */

/* Sign in, lost password ------------------------------------------------------ */

/* The page heading already says "Sign in"; WooCommerce's own <h2> repeats it. */
.commerce .woocommerce > h2,
.commerce .u-column1 > h2:first-child { display: none; }

.commerce .woocommerce .col2-set#customer_login {
	display: grid;
	gap: clamp(40px, 6vw, 90px);
	width: auto;
}

@media (min-width: 62em) {
	.commerce .woocommerce .col2-set#customer_login { grid-template-columns: repeat(2, minmax(0, 440px)); }
}

.commerce .woocommerce .col2-set#customer_login > .col-1,
.commerce .woocommerce .col2-set#customer_login > .col-2 { float: none; width: auto; }

.commerce .col2-set#customer_login .u-column2 > h2 {
	margin: 0 0 22px;
	font-family: var(--serif);
	font-size: clamp(1.8rem, 2.6vw, 2.4rem);
	font-weight: 400;
	color: var(--ink);
}

.shop-account-lede {
	max-width: 44ch;
	margin: 0 0 30px;
	font-size: 1.02rem;
	line-height: 1.6;
	color: var(--body);
}

.commerce .woocommerce form.login,
.commerce .woocommerce form.register,
.commerce .woocommerce form.lost_reset_password {
	max-width: 440px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
}

.commerce .woocommerce form .form-row {
	display: block;
	margin: 0 0 18px;
	padding: 0;
}

/* WooCommerce halves these for side-by-side pairs; in a single-column form
   (the lost-password field) that left the input half width. */
.commerce .woocommerce form.lost_reset_password .form-row-first,
.commerce .woocommerce form.lost_reset_password .form-row-last { float: none; width: 100%; }

.commerce .woocommerce form .form-row label,
.commerce .woocommerce form.lost_reset_password > p:first-child {
	display: block;
	margin-bottom: 7px;
	font-family: var(--header-sans);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .11em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--soft);
}

.commerce .woocommerce form.lost_reset_password > p:first-child {
	margin-bottom: 26px;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.6;
	text-transform: none;
	color: var(--body);
}

.commerce .woocommerce form .form-row .required { color: var(--accent); text-decoration: none; }

.commerce .woocommerce form .form-row .input-text,
.commerce .woocommerce form .form-row select,
.commerce .woocommerce-EditAccountForm .input-text {
	width: 100%;
	min-height: 52px;
	padding: 0 14px;
	border: 1px solid var(--rule);
	border-radius: 0;
	background: var(--paper);
	font-family: var(--header-sans);
	font-size: 1rem;
	color: var(--ink);
	transition: border-color .2s, box-shadow .2s;
}

.commerce .woocommerce form .form-row .input-text:hover { border-color: #c4c4c4; }

.commerce .woocommerce form .form-row .input-text:focus {
	border-color: var(--ink);
	box-shadow: 0 0 0 1px var(--ink);
	outline: none;
}

.commerce .woocommerce form .password-input { display: block; position: relative; }
.commerce .woocommerce form .show-password-input { top: 50%; right: 14px; transform: translateY(-50%); color: var(--soft); }

.commerce .woocommerce form.login .form-row:has(.woocommerce-form-login__rememberme) {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-top: 4px;
}

.commerce .woocommerce .woocommerce-form-login__rememberme {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	margin: 0 !important;
	font-size: .86rem !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--body) !important;
	cursor: pointer;
}

.commerce .woocommerce .woocommerce-form-login__rememberme input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--ink);
}

.commerce .woocommerce form.login .button,
.commerce .woocommerce form.register .button,
.commerce .woocommerce form.lost_reset_password .button,
.commerce .woocommerce-EditAccountForm .button,
.commerce .woocommerce-address-fields .button {
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 0 24px;
	border: 1px solid var(--ink);
	border-radius: 0;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--header-sans);
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	transition: background .2s, border-color .2s;
}

.commerce .woocommerce form.login .button:hover,
.commerce .woocommerce form.register .button:hover,
.commerce .woocommerce form.lost_reset_password .button:hover,
.commerce .woocommerce-EditAccountForm .button:hover,
.commerce .woocommerce-address-fields .button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.commerce .woocommerce-LostPassword {
	margin: 26px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--rule);
	font-size: .86rem;
}

.commerce .woocommerce-LostPassword a,
.commerce .woocommerce-privacy-policy-text a { color: var(--body); border-bottom: 1px solid var(--rule); transition: color .2s, border-color .2s; }
.commerce .woocommerce-LostPassword a:hover { color: var(--accent); border-color: var(--accent); }

.commerce .woocommerce-privacy-policy-text { margin: 0 0 18px; font-size: .82rem; color: var(--soft); }

/* Notices on account pages (classic) */

.commerce .woocommerce-error,
.commerce .woocommerce-message,
.commerce .woocommerce-info {
	max-width: 440px;
	margin: 0 0 26px;
	padding: 14px 16px 14px 46px;
	border: 0;
	border-left: 3px solid var(--accent);
	background: var(--paper-alt);
	font-family: var(--header-sans);
	font-size: .86rem;
	color: var(--ink);
	list-style: none;
}

.commerce .woocommerce-error { border-left-color: #a83232; }
.commerce .woocommerce-error::before { color: #a83232; }
.commerce .woocommerce-message::before,
.commerce .woocommerce-info::before { color: var(--accent); }

/* Signed in: navigation beside the content ----------------------------------- */

.commerce .woocommerce:has(.woocommerce-MyAccount-navigation) {
	display: grid;
	gap: 34px clamp(40px, 6vw, 90px);
}

@media (min-width: 62em) {
	.commerce .woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
}

.commerce .woocommerce-MyAccount-navigation,
.commerce .woocommerce-MyAccount-content { float: none !important; width: auto !important; }

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

.commerce .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 14px 0;
	font-family: var(--header-sans);
	font-size: .88rem;
	color: var(--body);
	transition: color .2s, padding .2s;
}

.commerce .woocommerce-MyAccount-navigation li.is-active a { color: var(--ink); font-weight: 600; }
.commerce .woocommerce-MyAccount-navigation li a:hover { color: var(--accent); padding-left: 4px; }

.commerce .woocommerce-MyAccount-content { font-size: 1rem; line-height: 1.65; color: var(--body); }
.commerce .woocommerce-MyAccount-content > p:first-of-type { margin-top: 0; }
.commerce .woocommerce-MyAccount-content a { color: var(--accent); }

.commerce .woocommerce-MyAccount-content h2,
.commerce .woocommerce-MyAccount-content h3,
.commerce .woocommerce-Address-title h2,
.commerce .woocommerce-Address-title h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; color: var(--ink); }

.commerce .woocommerce-Addresses { display: grid; gap: 34px; }
@media (min-width: 48em) { .commerce .woocommerce-Addresses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.commerce .woocommerce-Addresses .woocommerce-Address { float: none; width: auto; padding: 22px; background: var(--paper-alt); }
.commerce .woocommerce-Addresses address { font-style: normal; line-height: 1.6; }

.commerce .woocommerce-orders-table .button,
.commerce .woocommerce-MyAccount-content .woocommerce-Button {
	padding: 0 0 2px;
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
	background: none;
	color: var(--ink);
	font-family: var(--header-sans);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.commerce .woocommerce-orders-table .button + .button { margin-left: 14px; }
.commerce .woocommerce-orders-table th { font-family: var(--header-sans); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.commerce .woocommerce-orders-table thead th { border-bottom: 1px solid var(--ink) !important; }
.commerce .woocommerce-orders-table__cell-order-number a { font-weight: 600; color: var(--ink); }
