/*
 * Caderyn — WooCommerce styles.
 *
 * Loaded after WooCommerce's own CSS (see inc/woocommerce.php) and only
 * when WooCommerce is active. Uses the colour tokens from style.css.
 */

/* =========================================================
   Theme buttons keep their look inside shop pages
   (WooCommerce styles every .button grey by default)
   ========================================================= */
body .button.button--ember,
body .woocommerce .button.button--ember {
	background: var(--c-ember);
	color: #1a0d04;
	border: 1px solid transparent;
}

body .button.button--ember:hover,
body .button.button--ember:focus-visible {
	background: var(--c-ember-hot);
	color: #1a0d04;
}

body .button.button--ghost,
body .woocommerce .button.button--ghost {
	background: transparent;
	color: var(--c-text);
	border: 1px solid var(--c-line-strong);
}

body .button.button--ghost:hover,
body .button.button--ghost:focus-visible {
	background: transparent;
	border-color: var(--c-ember);
	color: var(--c-ember-hot);
}

/* =========================================================
   WooCommerce buttons (classic + blocks)
   ========================================================= */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce-page a.button,
.woocommerce-page button.button,
.wc-block-components-button:not(.is-link),
.wp-block-button__link.add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 12px 22px;
	background: var(--c-ember);
	border: 1px solid var(--c-ember);
	border-radius: var(--radius);
	color: #1a0d04;
	font-family: var(--f-body);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--c-ember-hot);
	border-color: var(--c-ember-hot);
	color: #1a0d04;
}

/* Secondary buttons: "View cart", "Update cart", "Apply coupon" */
.woocommerce a.added_to_cart,
.woocommerce button.button[name='update_cart'],
.woocommerce button.button[name='apply_coupon'],
.woocommerce-cart .return-to-shop a.button,
.woocommerce .woocommerce-message a.button,
.woocommerce .woocommerce-info a.button {
	background: transparent;
	border-color: var(--c-line-strong);
	color: var(--c-text);
}

.woocommerce a.added_to_cart:hover,
.woocommerce button.button[name='update_cart']:hover,
.woocommerce button.button[name='apply_coupon']:hover,
.woocommerce .woocommerce-message a.button:hover,
.woocommerce .woocommerce-info a.button:hover {
	background: transparent;
	border-color: var(--c-ember);
	color: var(--c-ember-hot);
}

.woocommerce a.added_to_cart {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 12px 18px;
	border: 1px solid var(--c-line-strong);
	border-radius: var(--radius);
	font-size: 0.9rem;
	font-weight: 600;
}

.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce button.button.disabled,
.wc-block-components-button:disabled {
	opacity: 0.45;
	background: var(--c-ember);
	color: #1a0d04;
	padding: 12px 22px;
}

.woocommerce a.button.loading::after,
.woocommerce button.button.loading::after {
	top: auto;
	right: 10px;
}

/* =========================================================
   Header cart icon
   ========================================================= */
.header-cart {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border: 1px solid var(--c-line-strong);
	border-radius: var(--radius);
	color: var(--c-text);
	transition: border-color var(--ease), color var(--ease);
}

.header-cart:hover,
.header-cart:focus-visible {
	border-color: var(--c-ember);
	color: var(--c-ember-hot);
}

.header-cart svg {
	width: 22px;
	height: 22px;
}

.header-cart__count {
	position: absolute;
	top: -7px;
	right: -7px;
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--c-ember);
	color: #1a0d04;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
}

.header-cart__count.is-empty {
	display: none;
}

@media (max-width: 900px) {
	/* Mobile order: logo — cart — menu button */
	.header-cart {
		order: 2;
		position: relative;
		z-index: 2;
	}

	.nav-toggle {
		order: 3;
	}

	.site-header__inner {
		gap: 12px;
	}
}

/* =========================================================
   Shop archive: toolbar, grid, cards
   ========================================================= */
.shop-cats a[aria-current='page'] {
	background: var(--c-ember);
	border-color: var(--c-ember);
	color: #1a0d04;
	font-weight: 600;
}

.woocommerce .woocommerce-result-count {
	margin: 0 0 28px;
	color: var(--c-muted);
	font-size: 0.9rem;
	line-height: 40px;
}

.woocommerce .woocommerce-ordering {
	margin: 0 0 28px;
}

.woocommerce .woocommerce-ordering select,
.woocommerce select.orderby {
	min-height: 40px;
	padding: 8px 36px 8px 14px;
	background: var(--c-panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a69c90' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
	border: 1px solid var(--c-line-strong);
	border-radius: var(--radius);
	color: var(--c-text);
	font: inherit;
	font-size: 0.9rem;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 40px 28px;
	clear: both;
	margin: 0;
	padding: 0;
}

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

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*='columns-'] li.product,
.woocommerce-page ul.products[class*='columns-'] li.product {
	width: auto !important;
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	text-align: left;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	color: inherit;
}

.woocommerce ul.products li.product a img {
	width: 100%;
	aspect-ratio: 4 / 5;
	margin: 0 0 16px;
	object-fit: cover;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-panel);
	transition: filter 400ms ease;
}

.woocommerce ul.products li.product:hover a img {
	filter: brightness(1.08);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
	margin: 0 0 6px;
	padding: 0;
	font-family: var(--f-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.2;
	color: #fff8ee;
}

.woocommerce ul.products li.product .price {
	display: block;
	margin: 0 0 16px;
	color: var(--c-ember-hot);
	font-size: 1rem;
	font-weight: 600;
}

.woocommerce ul.products li.product .price del {
	color: var(--c-muted);
	opacity: 1;
	font-weight: 400;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
}

.woocommerce ul.products li.product .button {
	align-self: flex-start;
	margin-top: auto;
}

/* Out of stock / read more: quieter button */
.woocommerce ul.products li.product.outofstock .button,
.woocommerce ul.products li.product .button.product_type_simple:not(.add_to_cart_button) {
	background: transparent;
	border-color: var(--c-line-strong);
	color: var(--c-text);
}

.woocommerce ul.products li.product .added_to_cart {
	margin-top: 8px;
	align-self: flex-start;
}

/* Badges */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
	top: 12px;
	left: 12px;
	right: auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--c-ember);
	color: #1a0d04;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

.woocommerce ul.products li.product.outofstock::after {
	content: 'Uitverkocht';
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(18, 17, 16, 0.85);
	color: var(--c-muted);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

@media (max-width: 640px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 14px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 1.05rem;
	}

	.woocommerce ul.products li.product .button {
		width: 100%;
		min-height: 42px;
		padding: 10px 12px;
		font-size: 0.85rem;
	}

	.woocommerce .woocommerce-result-count,
	.woocommerce .woocommerce-ordering {
		float: none;
		margin-bottom: 16px;
	}

	.woocommerce .woocommerce-ordering select {
		width: 100%;
	}
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
	margin-top: 56px;
}

.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex;
	gap: 8px;
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--c-line-strong);
	border-radius: var(--radius);
	color: var(--c-text);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
	background: var(--c-ember);
	border-color: var(--c-ember);
	color: #1a0d04;
}

/* =========================================================
   Single product
   ========================================================= */
.shop-single .back-link {
	margin-bottom: 32px;
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

@media (min-width: 900px) {
	.woocommerce div.product {
		grid-template-columns: 1.1fr 0.9fr;
		gap: 64px;
		align-items: start;
	}

	/*
	 * No position: sticky here. A sticky summary stays within the whole
	 * product block, so it would slide over a long description below it.
	 */
	.woocommerce div.product div.summary {
		position: static;
	}
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary,
.woocommerce-page div.product div.images,
.woocommerce-page div.product div.summary {
	float: none;
	width: 100%;
	margin: 0;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells {
	grid-column: 1 / -1;
}

.woocommerce div.product div.images img {
	border-radius: var(--radius);
	background: var(--c-panel);
}

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

.woocommerce div.product div.images .flex-control-thumbs li {
	width: auto;
	float: none;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
	border: 1px solid var(--c-line);
	opacity: 0.6;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
	opacity: 1;
	border-color: var(--c-ember);
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	background: rgba(18, 17, 16, 0.85);
	border: 1px solid var(--c-line-strong);
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before {
	border-color: var(--c-text);
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after {
	background: var(--c-text);
}

.woocommerce div.product .product_title {
	margin: 0 0 16px;
	font-size: clamp(2rem, 4vw, 3rem);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	margin: 0 0 24px;
	color: var(--c-ember-hot);
	font-size: 1.5rem;
	font-weight: 600;
}

.woocommerce div.product .woocommerce-product-details__short-description {
	margin-bottom: 28px;
	color: #d2c8bb;
	font-size: 1.05rem;
}

.woocommerce div.product .stock {
	margin-bottom: 16px;
	color: var(--c-muted);
	font-size: 0.9rem;
}

.woocommerce div.product .stock.in-stock {
	color: #8fc59a;
}

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

.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin: 0 0 32px;
}

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

.woocommerce div.product form.cart div.quantity {
	float: none;
	margin: 0;
}

/* Unique pieces (stock 1): WooCommerce outputs an empty quantity box */
.woocommerce div.product form.cart div.quantity:has(input[type='hidden']) {
	display: none;
}

.woocommerce div.product form.cart .button {
	float: none;
	flex: 1 1 200px;
	min-height: 50px;
}

/* Quantity field */
.woocommerce .quantity .qty {
	width: 4.5em;
	min-height: 50px;
	padding: 8px;
	background: var(--c-bg);
	border: 1px solid var(--c-line-strong);
	border-radius: var(--radius);
	color: var(--c-text);
	font: inherit;
	text-align: center;
}

.woocommerce div.product .product_meta {
	padding-top: 20px;
	border-top: 1px solid var(--c-line);
	color: var(--c-muted);
	font-size: 0.88rem;
}

.woocommerce div.product .product_meta > span {
	display: block;
	margin-bottom: 4px;
}

.woocommerce div.product .product_meta a {
	color: var(--c-text);
	border-bottom: 1px solid var(--c-ember);
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs {
	margin-top: 24px;
	padding-top: 8px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 28px;
	padding: 0;
	border-bottom: 1px solid var(--c-line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 4px;
	margin-right: 20px;
	color: var(--c-muted);
	font-weight: 500;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	color: #fff8ee;
	border-bottom-color: var(--c-ember);
}

.woocommerce div.product .woocommerce-tabs .panel {
	/* .panel is also a theme class (contact page): reset it here */
	max-width: 760px;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	color: #d2c8bb;
}

.woocommerce div.product .woocommerce-tabs .panel > h2:first-child {
	display: none;
}

.woocommerce table.shop_attributes {
	border-top: 1px solid var(--c-line);
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	padding: 12px 0;
	border-bottom: 1px solid var(--c-line);
	background: transparent;
	color: var(--c-text);
	font-style: normal;
}

.woocommerce table.shop_attributes th {
	width: 160px;
	color: var(--c-muted);
	font-weight: 500;
}

.woocommerce table.shop_attributes tr:nth-child(even) th,
.woocommerce table.shop_attributes tr:nth-child(even) td {
	background: transparent;
}

/* Related products */
.woocommerce div.product .related > h2,
.woocommerce div.product .upsells > h2 {
	margin: 48px 0 28px;
	font-size: 1.8rem;
}

/* Reviews (if enabled) */
.woocommerce #reviews #comments ol.commentlist li .comment-text {
	border-color: var(--c-line);
	border-radius: var(--radius);
}

.woocommerce .star-rating,
.woocommerce p.stars a {
	color: var(--c-ember);
}

/* =========================================================
   Notices
   ========================================================= */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.wc-block-components-notice-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 32px;
	padding: 16px 20px;
	background: var(--c-panel);
	border: 1px solid var(--c-line-strong);
	border-left: 3px solid var(--c-ember);
	border-radius: var(--radius);
	color: var(--c-text);
	list-style: none;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none;
}

.woocommerce-message::after,
.woocommerce-info::after,
.woocommerce-error::after {
	display: none;
}

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
	float: none;
	margin: 0;
}

.woocommerce-error {
	border-left-color: #ff8a7a;
}

.woocommerce-error li {
	margin: 0;
}

.wc-block-components-notice-banner {
	align-items: flex-start;
	justify-content: flex-start;
}

.wc-block-components-notice-banner > svg {
	background: var(--c-ember);
	fill: #1a0d04;
}

.wc-block-components-notice-banner.is-error {
	border-left-color: #ff8a7a;
}

.wc-block-components-notice-banner.is-error > svg {
	background: #ff8a7a;
}

.wc-block-components-notice-banner a {
	color: var(--c-ember-hot);
}

/* =========================================================
   Shop pages (cart, checkout, account) — page.php
   ========================================================= */
.page-head--compact {
	padding: 64px 0 40px;
}

.shop-page {
	color: var(--c-text);
}

.shop-page a:not(.button):not(.wc-block-components-button) {
	color: var(--c-ember-hot);
}

.shop-page h2,
.shop-page h3 {
	color: #fff8ee;
}

/* ---------- Form fields: classic + blocks ---------- */
.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
	color: var(--c-text);
	font-weight: 500;
}

.woocommerce form .form-row .required {
	color: var(--c-ember);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.woocommerce .input-text,
.select2-container--default .select2-selection--single,
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
	min-height: 50px;
	background: var(--c-bg) !important;
	border: 1px solid var(--c-line-strong) !important;
	border-radius: var(--radius) !important;
	box-shadow: none !important;
	color: var(--c-text) !important;
	font-family: var(--f-body) !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .input-text {
	padding: 12px 14px;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus {
	outline: none !important;
	border-color: var(--c-ember) !important;
	box-shadow: 0 0 0 3px rgba(226, 122, 50, 0.18) !important;
}

/* Floating labels in block checkout */
.wc-block-components-text-input label,
.wc-blocks-components-select .wc-blocks-components-select__label,
.wc-block-components-combobox .wc-block-components-combobox-control label {
	color: var(--c-muted) !important;
}

.wc-blocks-components-select .wc-blocks-components-select__container {
	background: transparent !important;
}

.wc-blocks-components-select .wc-blocks-components-select__expand {
	fill: var(--c-muted);
}

.wc-blocks-components-select .wc-blocks-components-select__select option {
	background: var(--c-panel);
	color: var(--c-text);
}

/* Select2 (classic checkout country field) */
.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 48px;
	padding-left: 14px;
	color: var(--c-text);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 48px;
}

.select2-dropdown {
	background: var(--c-panel);
	border-color: var(--c-line-strong);
	color: var(--c-text);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	background: var(--c-bg);
	border-color: var(--c-line-strong);
	color: var(--c-text);
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
	background: var(--c-ember);
	color: #1a0d04;
}

/* Checkboxes and radios (blocks) */
.wc-block-components-checkbox__input[type='checkbox'] {
	background: var(--c-bg) !important;
	border: 1px solid var(--c-line-strong) !important;
}

.wc-block-components-checkbox__input[type='checkbox']:checked {
	background: var(--c-ember) !important;
	border-color: var(--c-ember) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__mark {
	fill: #1a0d04 !important;
}

.wc-block-components-radio-control__input[type='radio'] {
	background: var(--c-bg) !important;
	border: 1px solid var(--c-line-strong) !important;
}

.wc-block-components-radio-control__input[type='radio']:checked {
	border: 1.5px solid var(--c-ember) !important;
}

.wc-block-components-radio-control__input[type='radio']:checked::before {
	background: var(--c-ember) !important;
}

/* Option boxes: shipping and payment choices */
.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	box-shadow: inset 0 0 0 1.5px var(--c-ember) !important;
	border-radius: var(--radius) !important;
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
	box-shadow: inset 0 0 0 1px var(--c-ember);
}

.wc-block-components-radio-control--highlight-checked::after,
.wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option {
	border-color: var(--c-line-strong);
}

/* Section titles and helper text */
.wc-block-components-title.wc-block-components-title,
.wc-block-components-checkout-step__title {
	color: #fff8ee;
	font-family: var(--f-display);
}

.wc-block-components-checkout-step__description,
.wc-block-components-address-form__address_2-toggle,
.wc-block-checkout__guest-checkout-notice,
.wc-block-components-product-metadata,
.wc-block-components-formatted-money-amount + .wc-block-components-product-metadata {
	color: var(--c-muted);
}

.wc-block-components-checkout-step__container::after {
	border-color: var(--c-line);
}

/* Order summary and cart totals */
.wc-block-components-sidebar,
.wp-block-woocommerce-checkout-order-summary-block {
	color: var(--c-text);
}

.wp-block-woocommerce-checkout-order-summary-block,
.wp-block-woocommerce-cart-order-summary-block {
	padding: 24px;
	background: var(--c-panel);
	border: 1px solid var(--c-line) !important;
	border-radius: var(--radius);
}

.wc-block-components-totals-wrapper,
.wc-block-components-order-summary .wc-block-components-panel__button,
.wc-block-components-panel {
	border-color: var(--c-line) !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	color: #fff8ee;
}

.wc-block-components-order-summary-item__quantity {
	background: var(--c-ember) !important;
	border-color: var(--c-ember) !important;
	color: #1a0d04 !important;
	box-shadow: none !important;
}

.wc-block-components-order-summary-item__image img,
.wc-block-cart-item__image img {
	border-radius: var(--radius);
}

.wc-block-components-product-badge {
	border-color: var(--c-line-strong);
	color: var(--c-muted);
}

/* Cart block */
.wc-block-cart .wc-block-cart-items {
	border-color: var(--c-line);
}

.wc-block-cart-items__header,
.wc-block-cart .wc-block-cart-items td,
.wc-block-cart .wc-block-cart-items th,
table.wc-block-cart-items .wc-block-cart-items__row {
	border-color: var(--c-line) !important;
}

.wc-block-cart-items__header {
	color: var(--c-muted);
}

.wc-block-components-product-name {
	color: #fff8ee !important;
	font-family: var(--f-display);
	font-size: 1.15rem;
	text-decoration: none;
}

.wc-block-components-product-price,
.wc-block-cart-item__total .wc-block-components-product-price__value {
	color: var(--c-text);
}

.wc-block-components-quantity-selector {
	background: var(--c-bg);
	border-color: var(--c-line-strong) !important;
	border-radius: var(--radius) !important;
}

.wc-block-components-quantity-selector::after {
	border-color: var(--c-line-strong) !important;
}

.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input,
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
	background: transparent;
	color: var(--c-text);
}

.wc-block-cart-item__remove-link {
	color: var(--c-muted) !important;
}

/* Coupon toggle and other link-style buttons */
.wc-block-components-button.is-link,
.wc-block-components-checkout-return-to-cart-button {
	color: var(--c-text) !important;
}

.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
	min-height: 54px;
	font-size: 1rem;
}

/* Terms text above "Place order" */
.wc-block-checkout__terms {
	color: var(--c-muted);
}

/* Empty cart */
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title,
.wc-block-cart__empty-cart__title {
	color: #fff8ee;
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	background-color: var(--c-muted);
}

/* ---------- Classic cart / checkout tables (shortcodes) ---------- */
.woocommerce table.shop_table {
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	border-collapse: separate;
	background: var(--c-panel);
	color: var(--c-text);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 16px;
	border-top: 1px solid var(--c-line);
}

.woocommerce table.shop_table thead th {
	border-top: 0;
	color: var(--c-muted);
	font-weight: 500;
}

.woocommerce table.shop_table img {
	width: 64px;
	border-radius: var(--radius);
}

.woocommerce table.shop_table td.product-name a {
	color: #fff8ee;
	font-family: var(--f-display);
	font-size: 1.1rem;
}

.woocommerce a.remove {
	color: var(--c-muted) !important;
	border: 1px solid var(--c-line-strong);
}

.woocommerce a.remove:hover {
	background: #ff8a7a;
	color: #1a0d04 !important;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
	border-color: var(--c-line);
	border-radius: var(--radius);
}

.woocommerce-checkout #payment,
.woocommerce #payment {
	background: var(--c-panel);
	border-radius: var(--radius);
}

.woocommerce #payment ul.payment_methods {
	border-color: var(--c-line);
}

.woocommerce #payment div.payment_box {
	background: var(--c-bg);
	color: var(--c-text);
}

.woocommerce #payment div.payment_box::before {
	border-bottom-color: var(--c-bg);
}

/* ---------- My account ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	padding: 0;
	border-top: 1px solid var(--c-line);
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--c-line);
	color: var(--c-muted) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	color: var(--c-ember-hot) !important;
}

/* =========================================================
   Buy box on a work page (single-werk.php)
   ========================================================= */
.buy-box {
	margin-top: 32px;
	padding: 24px;
	background: var(--c-panel);
	border: 1px solid var(--c-line);
	border-left: 3px solid var(--c-ember);
	border-radius: var(--radius);
}

.buy-box__label {
	margin-bottom: 4px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-ember);
}

.buy-box__price {
	margin-bottom: 18px;
	font-family: var(--f-display);
	font-size: 1.8rem;
	color: #fff8ee;
}

.buy-box__price del {
	color: var(--c-muted);
	font-size: 1.1rem;
}

.buy-box__price ins {
	text-decoration: none;
}

.buy-box__sold {
	color: var(--c-muted);
}

.buy-box + .work__cta {
	margin-top: 16px;
}

/* Mobile cart: the sticky "checkout" bar uses a white fade by default */
.wc-block-cart__submit-container--sticky {
	background: var(--c-bg) !important;
	border-top: 1px solid var(--c-line);
}

.wc-block-cart__submit-container--sticky::before {
	box-shadow: none !important;
	background: none !important;
}