/*
 * WooCommerce pages (product, basket, checkout, order received): WooCommerce's classic markup in the
 * WooCommerce design (design/2026-10-19-woocommerce). Loaded on WooCommerce pages only.
 */

/* ---------- Shared: fields, quantity pill ---------- */
.site-shop :where(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], textarea, select:not(.mm-sizes__select)) {
	background: var(--wp--custom--color--card);
	border: 1px solid var(--wp--custom--color--line-strong);
	border-radius: 2px;
	color: var(--wp--preset--color--espresso);
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
	padding: 13px 14px;
}
.site-shop :where(input, textarea, select):focus { border-color: var(--wp--preset--color--espresso); }
.site-shop ::placeholder { color: #9a8a80; }
.site-shop .quantity input.qty { border-radius: 999px; font-weight: 600; height: 52px; padding: 0 8px; text-align: center; width: 96px; }

/* ---------- Product ---------- */
.site-shop--product .product-top { font-size: 13px; padding-top: 20px; }
.site-shop--product .woocommerce-breadcrumb { color: var(--wp--preset--color--ink-soft); font-size: 13px; margin: 0; }
.site-shop--product .woocommerce-breadcrumb a { color: var(--wp--preset--color--ink-soft); }
.site-shop--product .woocommerce-breadcrumb a:hover { color: var(--wp--preset--color--urucum); }
.product-hero {
	align-items: start;
	display: grid;
	gap: var(--wp--preset--spacing--wide-gap);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	padding-block: clamp(24px, 3vw, 40px) var(--wp--preset--spacing--section-tight);
}
.product-hero > *, .product-hero__summary > * { margin-block: 0; }
.site-shop--product > .product-details-band { margin-top: 0; }

/* Gallery: square main photo, five square thumbnails, the active one ringed. */
.woocommerce .product-hero .wp-block-woocommerce-product-image-gallery { max-width: none; }
.product-hero .woocommerce-product-gallery { margin: 0; }
.product-hero .woocommerce-product-gallery__image img { aspect-ratio: 1; background: var(--wp--preset--color--sand); border-radius: 2px; object-fit: cover; width: 100%; }
.woocommerce div.product .product-hero div.images .flex-control-thumbs { display: grid; gap: 10px; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 14px 0 0; padding: 4px; }
.woocommerce div.product .product-hero div.images .flex-control-thumbs li { float: none; margin: 0; width: auto; }
.woocommerce div.product .product-hero div.images .flex-control-thumbs li img { aspect-ratio: 1; border-radius: 2px; object-fit: cover; opacity: 0.75; }
.woocommerce div.product .product-hero div.images .flex-control-thumbs li img:is(.flex-active, :hover) { opacity: 1; }
.woocommerce div.product .product-hero div.images .flex-control-thumbs li img.flex-active { outline: 1px solid var(--wp--preset--color--espresso); outline-offset: 3px; }
.product-hero .woocommerce-product-gallery__trigger { background: var(--wp--preset--color--paper); }

/* Summary column */
.product-hero__summary { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.product-hero__eyebrow { color: var(--wp--preset--color--urucum); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; line-height: 1.35; text-transform: uppercase; }
.product-hero__eyebrow a { color: inherit; }
.product-hero__title { font-size: clamp(40px, 4.6vw, 64px); line-height: 1; }
.product-hero__price, .product-hero__price .wc-block-components-product-price { font-family: var(--wp--preset--font-family--display); font-size: 40px; font-weight: 500; line-height: 1; }
.product-hero__price .mm-price-unit { color: var(--wp--preset--color--ink-soft); font-family: var(--wp--preset--font-family--body); font-size: 14px; margin-left: 6px; }
.product-hero__summary-text { color: var(--wp--preset--color--ink-soft); font-size: 15px; line-height: 1.6; margin-top: 14px !important; }
.product-hero__summary-text p { margin: 0 0 8px; }
.product-hero__summary .wp-block-add-to-cart-form { margin-top: 14px !important; }

/* Add-to-cart form */
.woocommerce .product-hero form.cart { margin: 0; }
.woocommerce .product-hero form.cart .variations { border: 0; margin: 0 0 28px; }
.product-hero form.cart :is(.variations, .variations tbody, .variations tr, .variations th, .variations td) { display: block; padding: 0; text-align: left; }
.product-hero form.cart .variations th.label { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; }
.woocommerce .product-hero form.cart .variations label { font-weight: 600; }
.product-hero .woocommerce-variation-description { color: var(--wp--preset--color--ink-soft); font-size: 15px; }
.product-hero .woocommerce-variation-description p { margin: 0 0 20px; }
.woocommerce .product-hero form.cart .woocommerce-variation-add-to-cart,
.woocommerce .product-hero form.cart:not(.variations_form) { align-items: stretch; display: flex; flex-wrap: wrap; gap: 12px; }
.woocommerce .product-hero form.cart .quantity { float: none; margin: 0; }
.woocommerce .product-hero form.cart .single_add_to_cart_button { flex: 1 1 200px; float: none; min-height: 52px; width: auto; }
.product-hero form.cart .mm-dish-picker { flex-basis: 100%; }
.product-hero .berocket_linked_products {
	border-top: 1px solid var(--wp--custom--color--line-strong);
	color: var(--wp--preset--color--ink-soft);
	font-size: 13px;
	line-height: 1.5;
	margin-top: 18px;
	padding-top: 14px;
}
.product-hero .berocket_linked_products p, .product-hero .berocket_linked_products ul { display: inline; margin: 0; padding: 0; }
.product-hero .berocket_linked_products p { margin-right: 4px; }
.product-hero .berocket_linked_products li { display: inline; list-style: none; }
.product-hero .berocket_linked_products a { color: var(--wp--preset--color--espresso); font-weight: 600; }

/* Description / Additional information, on a sand band */
.product-details-band { border-top: 1px solid var(--wp--custom--color--line); padding-block: clamp(48px, 6vw, 88px); }
.product-details-band .woocommerce-tabs { margin: 0; max-width: 720px; padding: 0; }
.woocommerce div.product .product-details-band .woocommerce-tabs ul.tabs { border-bottom: 1px solid var(--wp--custom--color--line-strong); display: flex; gap: 28px; margin: 0 0 24px; overflow: visible; padding: 0; }
.woocommerce div.product .product-details-band .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .product-details-band .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .product-details-band .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .product-details-band .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0 0 -1px; padding: 0; }
.woocommerce div.product .product-details-band .woocommerce-tabs ul.tabs li a { color: var(--wp--preset--color--ink-soft); font-size: 15px; font-weight: 600; padding: 0 0 14px; }
.woocommerce div.product .product-details-band .woocommerce-tabs ul.tabs li.active a { box-shadow: inset 0 -2px var(--wp--preset--color--urucum); color: var(--wp--preset--color--espresso); }
.product-details-band .woocommerce-Tabs-panel { color: var(--wp--preset--color--ink-soft); font-size: 16px; line-height: 1.65; margin: 0; }
.product-details-band .woocommerce-Tabs-panel > h2:first-child { display: none; } /* repeats the tab's name */
.product-details-band .woocommerce-Tabs-panel p { margin: 0 0 18px; }
.woocommerce div.product .product-details-band table.shop_attributes { border: 0; font-size: 15px; margin: 0; }
.woocommerce div.product .product-details-band table.shop_attributes :is(th, td) { background: none; border: 0; border-bottom: 1px solid var(--wp--custom--color--line-strong); padding: 14px 16px 14px 0; text-align: left; }
.woocommerce div.product .product-details-band table.shop_attributes th { color: var(--wp--preset--color--espresso); font-weight: 600; width: 160px; }
.woocommerce div.product .product-details-band table.shop_attributes td { font-style: normal; }
.product-details-band table.shop_attributes td p { margin: 0; padding: 0; }

/* ---------- Basket and checkout: page frame ---------- */
.site-shop--cart, .site-shop--checkout { padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 120px); }
.site-shop--cart h1, .site-shop--checkout h1 { line-height: 1; margin-bottom: clamp(32px, 4vw, 48px); }
.site-shop .wp-block-post-content > .woocommerce { margin: 0; max-width: none; } /* WooCommerce caps it at 1000px in block themes */
/* Two columns from 900px: the lines (or fields) and the summary card. */
@media (min-width: 900px) {
	.site-shop--cart .wp-block-post-content > .woocommerce:has(.cart-collaterals) {
		align-items: start;
		column-gap: clamp(32px, 5vw, 72px);
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
	}
	.site-shop--cart .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.site-shop--cart .woocommerce > .cart-collaterals { grid-column: 2; grid-row: 2; position: sticky; top: 96px; }
}

/* Summary card (basket totals; checkout order) */
.woocommerce .cart-collaterals { width: 100%; }
.woocommerce .cart-collaterals .cart_totals,
.site-shop--checkout #order_review {
	background: var(--wp--custom--color--card);
	border: 1px solid var(--wp--custom--color--line);
	border-radius: 2px;
	box-sizing: border-box;
	float: none;
	padding: 28px;
	width: 100%;
}
.cart_totals > h2, .site-shop--checkout #order_review_heading {
	color: var(--wp--preset--color--clay);
	font-family: var(--wp--preset--font-family--body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2em;
	line-height: 1.35;
	margin: 0 0 16px;
	text-transform: uppercase;
}
.site-shop .woocommerce :is(.cart_totals, #order_review) table.shop_table { border: 0; border-radius: 0; margin: 0; width: 100%; }
.site-shop .woocommerce :is(.cart_totals, #order_review) table.shop_table :is(th, td) {
	background: none;
	border: 0;
	color: var(--wp--preset--color--ink-soft);
	display: table-cell;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	padding: 7px 0;
	text-align: left;
	vertical-align: top;
}
.site-shop .woocommerce :is(.cart_totals, #order_review) table.shop_table tr { display: table-row; }
.site-shop .woocommerce :is(.cart_totals, #order_review) table.shop_table td { color: var(--wp--preset--color--espresso); text-align: right; }
.site-shop .woocommerce :is(.cart_totals, #order_review) table.shop_table td::before { display: none; } /* WooCommerce's small-screen labels; the th shows */
.site-shop .woocommerce :is(.cart_totals, #order_review) .order-total :is(th, td) { border-top: 1px solid var(--wp--preset--color--espresso); padding-top: 16px; vertical-align: baseline; }
.site-shop .woocommerce :is(.cart_totals, #order_review) .order-total th { color: var(--wp--preset--color--espresso); font-weight: 600; }
.site-shop .woocommerce :is(.cart_totals, #order_review) .order-total td strong { font-family: var(--wp--preset--font-family--display); font-size: 36px; font-weight: 500; line-height: 1; }
.site-shop .woocommerce .order-total .includes_tax { color: var(--wp--preset--color--ink-soft); display: block; font-size: 12px; margin-top: 6px; }
.site-shop .woocommerce ul#shipping_method { margin: 0; padding: 0; }
.site-shop .woocommerce ul#shipping_method li { margin: 0 0 4px; padding: 0; text-indent: 0; }
.site-shop .woocommerce ul#shipping_method li label { display: inline; font-weight: 400; }
.site-shop .woocommerce .woocommerce-shipping-destination,
.site-shop .woocommerce .shipping-calculator-button { color: var(--wp--preset--color--ink-soft); font-size: 13px; margin: 4px 0 0; }
.site-shop .woocommerce .shipping-calculator-button { color: var(--wp--preset--color--espresso); text-decoration: underline; }
.site-shop .woocommerce .shipping-calculator-form { text-align: left; }
.woocommerce .cart_totals .wc-proceed-to-checkout { padding: 20px 0 0; }
.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button { box-sizing: border-box; font-size: 13px; margin: 0; padding: 17px; width: 100%; }

/* ---------- Basket lines ---------- */
.site-shop .woocommerce table.cart { border: 0; border-radius: 0; border-top: 1px solid var(--wp--preset--color--espresso); margin: 0; }
.site-shop .woocommerce table.cart thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-shop .woocommerce table.cart :is(tbody, tr) { display: block; }
.site-shop .woocommerce table.cart tr.cart_item {
	align-items: center;
	border-bottom: 1px solid var(--wp--custom--color--line-strong);
	column-gap: 16px;
	display: grid;
	grid-template-columns: clamp(72px, 10vw, 120px) auto minmax(0, 1fr) auto 24px;
	padding: 24px 0;
	row-gap: 6px;
}
.site-shop .woocommerce table.cart tr.cart_item td { background: none; border: 0; display: block; padding: 0; text-align: left !important; } /* WooCommerce's small-screen right-align is !important */
.site-shop .woocommerce table.cart tr.cart_item td::before { display: none; } /* WooCommerce's small-screen labels */
.site-shop .woocommerce table.cart td.product-thumbnail { display: block; grid-column: 1; grid-row: 1 / span 2; min-width: 0; width: auto; } /* WooCommerce's block-theme sheet fixes it at 120px */
.site-shop .woocommerce table.cart td.product-thumbnail img { aspect-ratio: 1; border-radius: 2px; display: block; height: auto; object-fit: cover; width: 100%; }
.site-shop .woocommerce table.cart td.product-name { align-self: end; font-family: var(--wp--preset--font-family--display); font-size: clamp(22px, 2vw, 26px); font-weight: 500; grid-column: 2 / 4; grid-row: 1; line-height: 1.1; }
.site-shop .woocommerce table.cart td.product-name a { color: var(--wp--preset--color--espresso); }
.site-shop .woocommerce table.cart td.product-name a:hover { color: var(--wp--preset--color--urucum); }
.site-shop .woocommerce table.cart td.product-name dl.variation { color: var(--wp--preset--color--ink-soft); font-family: var(--wp--preset--font-family--body); font-size: 13px; line-height: 1.5; margin: 6px 0 0; }
.site-shop .woocommerce table.cart td.product-name dl.variation :is(dt, dd, p) { display: inline; margin: 0; padding: 0; }
.site-shop .woocommerce dl.variation dt { margin-right: 4px !important; }
.site-shop .woocommerce table.cart :is(td.product-price, td.product-quantity) { align-self: start; color: var(--wp--preset--color--ink-soft); font-size: 14px; grid-row: 2; }
.site-shop .woocommerce table.cart td.product-price { grid-column: 2; }
.site-shop .woocommerce table.cart td.product-quantity { grid-column: 3; }
.site-shop .woocommerce table.cart tr.cart_item td.product-quantity::before { content: "× "; display: inline; float: none; font-weight: 400; } /* "€ 15,00 × 2" */
.site-shop .woocommerce table.cart td.product-quantity .quantity { display: inline-block; vertical-align: middle; }
.site-shop .woocommerce table.cart td.product-quantity .quantity input.qty { height: 40px; width: 72px; }
.site-shop .woocommerce table.cart td.product-subtotal { font-family: var(--wp--preset--font-family--display); font-size: clamp(22px, 2vw, 26px); font-weight: 500; grid-column: 4; grid-row: 1 / span 2; text-align: right !important; white-space: nowrap; }
.site-shop .woocommerce table.cart td.product-remove { grid-column: 5; grid-row: 1 / span 2; text-align: right !important; }
.site-shop .woocommerce table.cart a.remove { color: var(--wp--preset--color--ink-soft) !important; font-size: 22px; font-weight: 400; height: 24px; line-height: 22px; width: 24px; }
.site-shop .woocommerce table.cart a.remove:hover { background: var(--wp--preset--color--sand); color: var(--wp--preset--color--urucum) !important; }
@media (max-width: 600px) {
	.site-shop .woocommerce table.cart tr.cart_item { grid-template-columns: 72px auto minmax(0, 1fr) auto 24px; }
	.site-shop .woocommerce table.cart td.product-name { grid-column: 2 / 5; }
	.site-shop .woocommerce table.cart td.product-subtotal { align-self: start; font-size: 20px; grid-row: 2; }
}
/* Coupon + update */
.site-shop .woocommerce table.cart tr:has(td.actions) { display: block; }
.site-shop .woocommerce table.cart td.actions { align-items: center; border: 0; display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; padding: 24px 0 0; }
.site-shop .woocommerce table.cart td.actions .coupon { display: flex; flex: 1 1 320px; float: none; gap: 10px; }
.site-shop .woocommerce table.cart td.actions .coupon .input-text { border-radius: 999px; flex: 1; float: none; margin: 0; min-width: 0; padding: 12px 18px; width: auto; }
.site-shop .woocommerce :is(table.cart td.actions, .checkout_coupon) .button {
	background: none;
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--espresso);
	color: var(--wp--preset--color--espresso);
	float: none;
	font-size: 12px;
	padding: 12px 22px;
}
.site-shop .woocommerce :is(table.cart td.actions, .checkout_coupon) .button:not(:disabled):hover { background: var(--wp--preset--color--espresso); color: var(--wp--preset--color--paper); }
.site-shop .woocommerce table.cart td.actions > .button[name="update_cart"] { box-shadow: none; padding-inline: 0; text-decoration: underline; }

/* Empty basket */
.site-shop--cart .wc-empty-cart-message, .site-shop--cart .cart-empty-next { text-align: center; }
.site-shop--cart .cart-empty-next { border-bottom: 1px solid var(--wp--custom--color--line-strong); color: var(--wp--preset--color--ink-soft); padding-bottom: 72px; }
.site-shop--cart .cart-empty-next p { margin: 0 0 24px; }

/* ---------- Notices (WooCommerce's block-theme banners) ---------- */
.site-shop .wc-block-components-notice-banner {
	align-items: center;
	background: var(--wp--preset--color--sand);
	border: 1px solid var(--wp--custom--color--line-strong);
	border-radius: 2px;
	color: var(--wp--preset--color--espresso);
	font-size: 14px;
	gap: 12px;
	line-height: 1.5;
	margin: 0 0 24px;
	padding: 14px 18px;
}
.site-shop .wc-block-components-notice-banner:focus { outline: none; } /* focused by WooCommerce for screen readers; not a control */
.site-shop .wc-block-components-notice-banner > svg { background: var(--wp--preset--color--clay); fill: var(--wp--preset--color--paper); flex-shrink: 0; height: 20px; padding: 2px; width: 20px; }
.site-shop .wc-block-components-notice-banner.is-success > svg { background: var(--wp--custom--color--leaf); }
.site-shop .wc-block-components-notice-banner.is-error { background: var(--wp--custom--color--notice); border-color: var(--wp--preset--color--urucum); }
.site-shop .wc-block-components-notice-banner.is-error > svg { background: var(--wp--preset--color--urucum); }
.site-shop .wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__content { color: var(--wp--custom--color--urucum-deep); }
.site-shop .wc-block-components-notice-banner__content a { color: var(--wp--preset--color--urucum); text-decoration: underline; }
.site-shop .wc-block-components-notice-banner__content .button.wc-forward {
	background: none;
	color: var(--wp--preset--color--espresso);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	padding: 0;
	text-transform: none;
}
.site-shop .wc-block-components-notice-banner__content .button.wc-forward:hover { color: var(--wp--preset--color--urucum); }

/* ---------- Checkout ---------- */
@media (min-width: 900px) {
	.site-shop--checkout form.checkout {
		align-items: start;
		column-gap: clamp(32px, 5vw, 72px);
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
	}
	.site-shop--checkout form.checkout > * { grid-column: 1; }
	.site-shop--checkout form.checkout > #order_review_heading { align-self: end; grid-column: 2; grid-row: 1; }
	.site-shop--checkout form.checkout > #order_review { grid-column: 2; grid-row: 2 / span 2; }
}
/* "Your order" heading + review read as one card */
.site-shop--checkout #order_review_heading {
	background: var(--wp--custom--color--card);
	border: 1px solid var(--wp--custom--color--line);
	border-bottom: 0;
	border-radius: 2px 2px 0 0;
	margin: 40px 0 0;
	padding: 28px 28px 0;
}
.site-shop--checkout #order_review { border-radius: 0 0 2px 2px; border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .site-shop--checkout #order_review_heading { margin-top: 0; } }

.site-shop--checkout .woocommerce .col2-set :is(.col-1, .col-2) { float: none; width: 100%; }
.site-shop--checkout .woocommerce .col2-set .col-2 { margin-top: 40px; }
.site-shop--checkout .woocommerce-billing-fields > h3,
.site-shop--checkout .woocommerce-additional-fields > h3 {
	border-bottom: 1px solid var(--wp--preset--color--espresso);
	color: var(--wp--preset--color--urucum);
	font-family: var(--wp--preset--font-family--body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	line-height: 1.35;
	margin: 0 0 20px;
	padding-bottom: 12px;
	text-transform: uppercase;
}
.site-shop--checkout #ship-to-different-address { font-family: var(--wp--preset--font-family--body); font-size: 15px; font-weight: 600; line-height: 1.4; margin: 0 0 20px; }
.site-shop--checkout #ship-to-different-address label { align-items: center; display: flex; gap: 10px; }
.site-shop .woocommerce form .form-row { margin: 0 0 18px; padding: 0; }
.site-shop .woocommerce form .form-row label { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.site-shop .woocommerce form .form-row label.screen-reader-text { margin: 0; }
.site-shop .woocommerce form .form-row .required { color: var(--wp--preset--color--urucum); text-decoration: none; }
.site-shop .woocommerce form .form-row :is(.input-text, select, textarea) {
	background: var(--wp--custom--color--card);
	border: 1px solid var(--wp--custom--color--line-strong);
	border-radius: 2px;
	box-shadow: none;
	color: var(--wp--preset--color--espresso);
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
	padding: 13px 14px;
}
.site-shop .woocommerce form .form-row :is(.input-text, select, textarea):focus { border-color: var(--wp--preset--color--espresso); }
.site-shop .woocommerce :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--wp--preset--color--urucum); }
.site-shop--checkout .checkout_coupon { border: 1px solid var(--wp--custom--color--line-strong); border-radius: 2px; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 18px; }
.site-shop--checkout .checkout_coupon .form-row { flex: 1 1 200px; float: none; margin: 0; width: auto; }
.site-shop--checkout .checkout_coupon .form-row-last { flex: 0 0 auto; }
.site-shop--checkout .checkout_coupon > p:first-child { flex-basis: 100%; margin: 0; }

/* Order card: lines, totals, payment, Place order */
.site-shop--checkout #order_review table.shop_table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-shop .woocommerce #order_review table.shop_table tbody td { border-bottom: 1px solid var(--wp--custom--color--line); padding-block: 12px; }
.site-shop .woocommerce #order_review table.shop_table td.product-name { color: var(--wp--preset--color--espresso); font-weight: 600; text-align: left; }
.site-shop .woocommerce #order_review table.shop_table td.product-name .product-quantity { font-weight: 400; }
.site-shop .woocommerce #order_review td.product-name dl.variation { color: var(--wp--preset--color--ink-soft); font-size: 13px; font-weight: 400; margin: 2px 0 0; }
.site-shop .woocommerce #order_review td.product-name dl.variation :is(dt, dd, p) { display: inline; float: none; margin: 0; padding: 0; }
.site-shop .woocommerce #order_review table.shop_table tfoot tr:first-child :is(th, td) { padding-top: 16px; }
.site-shop--checkout .woocommerce #payment { background: none; border-radius: 0; margin-top: 24px; }
.site-shop--checkout .woocommerce #payment ul.payment_methods { border: 0; display: grid; gap: 10px; margin: 0; padding: 0; }
.site-shop--checkout .woocommerce #payment ul.payment_methods li {
	border: 1px solid var(--wp--custom--color--line-strong);
	border-radius: 2px;
	line-height: 1.5;
	list-style: none;
	margin: 0;
	padding: 14px 16px;
}
.site-shop--checkout .woocommerce #payment ul.payment_methods li:has(> input:checked) { border-color: var(--wp--preset--color--espresso); }
.site-shop--checkout .woocommerce #payment ul.payment_methods li > label { font-size: 15px; font-weight: 600; }
.site-shop--checkout .woocommerce #payment div.payment_box { background: none; color: var(--wp--preset--color--ink-soft); font-size: 13px; margin: 12px 0 0; padding: 0; }
.site-shop--checkout .woocommerce #payment div.payment_box::before { display: none; }
.site-shop--checkout .woocommerce #payment div.form-row.place-order { margin: 0; padding: 20px 0 0; }
.site-shop--checkout .woocommerce-privacy-policy-text, .site-shop--checkout .woocommerce-terms-and-conditions-wrapper { color: var(--wp--preset--color--ink-soft); font-size: 12px; line-height: 1.5; }
.site-shop--checkout .woocommerce-privacy-policy-text p { margin: 0 0 16px; }
.site-shop--checkout .woocommerce #payment #place_order { box-sizing: border-box; float: none; font-size: 13px; margin: 0; padding: 17px; width: 100%; }

/* ---------- Order received: centred status under the mark, summary as ruled columns, order card ---------- */
.site-shop--received { padding-block: clamp(56px, 8vw, 112px) clamp(72px, 9vw, 120px); }
.site-shop--received > * + * { margin-block-start: clamp(40px, 5vw, 64px); }
.site-shop--received .wc-block-order-confirmation-status { align-items: center; display: flex; flex-direction: column; gap: 22px; text-align: center; }
.site-shop--received .wc-block-order-confirmation-status::before { background: url(../images/mark.png) center / contain no-repeat; content: ""; height: 64px; width: 64px; }
.site-shop--received .wc-block-order-confirmation-status h1 { font-size: clamp(44px, 6vw, 88px); margin: 0; text-wrap: balance; }
.site-shop--received .wc-block-order-confirmation-status h1 em { color: var(--wp--preset--color--urucum); }
.site-shop--received .wc-block-order-confirmation-status p { color: var(--wp--preset--color--ink-soft); font-size: 17px; line-height: 1.6; margin: 0; max-width: 520px; }
.site-shop--received .wc-block-order-confirmation-summary-list { display: grid; gap: 24px clamp(24px, 3vw, 40px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); list-style: none; margin: 0; padding: 0; }
.site-shop--received .wc-block-order-confirmation-summary-list-item { border-top: 1px solid var(--wp--preset--color--espresso); display: flex; flex-direction: column; gap: 8px; margin: 0; overflow-wrap: anywhere; padding: 20px 0 0; }
.site-shop--received .wc-block-order-confirmation-summary-list-item__key { color: var(--wp--preset--color--urucum); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.site-shop--received .wc-block-order-confirmation-summary-list-item__value { font-size: 15px; }

/* Order details and addresses: white cards with an eyebrow heading */
.site-shop--received :is(.wc-block-order-confirmation-totals-wrapper, .wc-block-order-confirmation-billing-wrapper, .wc-block-order-confirmation-shipping-wrapper, .wc-block-order-confirmation-downloads-wrapper) {
	background: var(--wp--custom--color--card);
	border: 1px solid var(--wp--custom--color--line);
	border-radius: 2px;
	box-sizing: border-box;
	height: 100%;
	padding: 28px;
}
.site-shop--received :is(.wc-block-order-confirmation-totals-wrapper, .wc-block-order-confirmation-billing-wrapper, .wc-block-order-confirmation-shipping-wrapper, .wc-block-order-confirmation-downloads-wrapper) > h2 {
	color: var(--wp--preset--color--clay);
	font-family: var(--wp--preset--font-family--body);
	font-size: 12px !important; /* WooCommerce's heading patterns set an inline size */
	font-weight: 600;
	letter-spacing: 0.2em;
	line-height: 1.35;
	margin: 0 0 14px;
	text-transform: uppercase;
}
.site-shop--received .wc-block-order-confirmation-totals table { border: 0; font-size: 15px; margin: 0; }
.site-shop--received .wc-block-order-confirmation-totals table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-shop--received .wc-block-order-confirmation-totals table :is(th, td) { border: 0; padding: 7px 0; }
.site-shop--received .wc-block-order-confirmation-totals table tbody td.wc-block-order-confirmation-totals__product a { color: var(--wp--preset--color--espresso); text-decoration: none; }
.site-shop--received .wc-block-order-confirmation-totals table .product-quantity { font-weight: 400; }
.site-shop--received .wc-block-order-confirmation-totals table tfoot tr:last-child :is(th, td) { border-top: 1px solid var(--wp--preset--color--espresso); padding-top: 14px; vertical-align: baseline; }
.site-shop--received .wc-block-order-confirmation-totals table tfoot tr:last-child td > .amount { font-family: var(--wp--preset--font-family--display); font-size: 32px; font-weight: 500; line-height: 1; }
.site-shop--received .wc-block-order-confirmation-totals table .includes_tax { color: var(--wp--preset--color--ink-soft); display: block; font-size: 12px; margin-top: 6px; }
.site-shop--received .wc-block-order-confirmation-address-wrapper { gap: clamp(24px, 3vw, 40px); }
.site-shop--received :is(.wc-block-order-confirmation-billing-address, .wc-block-order-confirmation-shipping-address) { border: 0; font-size: 15px; line-height: 1.6; padding: 0; }

/* Create an account (WooCommerce loads no text-input styles here): label above a full-width field */
.site-shop--received .wc-block-order-confirmation-create-account { background: var(--wp--preset--color--sand); }
.site-shop--received .wc-block-components-text-input { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.site-shop--received .wc-block-components-text-input > label { font-size: 13px; font-weight: 600; order: -1; }
.site-shop--received .wc-block-components-text-input input { box-sizing: border-box; width: 100%; }

/* Back link: underlined text link, as in the design */
.site-shop--received .order-received__back a { border-bottom: 1px solid currentColor; color: var(--wp--preset--color--espresso); font-size: 15px; font-weight: 500; padding-bottom: 3px; text-decoration: none; }
