/*
 * STC Revisies: webshop (WooCommerce). Since 1.2.0 WooCommerce loads none
 * of its own stylesheets; everything is styled here, in the dark workshop
 * style of klant.css. Loaded on shop pages and the front page.
 */

/* ---------- Omhulsel ---------- */

.stc-winkel {
	padding-top: clamp(2rem, 4vw, 3rem);
}

.stc-winkelpagina .pw-inhoud {
	min-height: 50vh;
}

.stc-winkelpagina__sectie {
	padding-top: clamp(2.5rem, 5vw, 4rem);
}

.stc-winkelpagina__kop {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--pw-kleur-lijn);
}

.stc-winkelpagina__titel {
	font-size: var(--pw-maat-h2);
}

.stc-winkelpagina__terug {
	color: var(--pw-kleur-tekst);
	font-family: var(--pw-font-kop);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
}

.stc-winkelpagina__terug::before {
	content: "← ";
	color: var(--pw-kleur-accent);
}

.stc-winkelpagina__terug:hover {
	color: var(--pw-kleur-accent);
}

.stc-winkel h2,
.stc-winkelpagina__inhoud h2,
.stc-winkelpagina__inhoud h3 {
	font-size: var(--pw-maat-h3);
}

.stc-winkel .screen-reader-text,
.stc-winkelpagina__inhoud .screen-reader-text,
.stc-producten .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Knoppen ---------- */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button.alt,
.woocommerce-page .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.7rem 1.4rem;
	border: 2px solid var(--pw-kleur-merk);
	border-radius: var(--pw-radius-knop);
	background: var(--pw-kleur-merk);
	color: #fff;
	font-family: var(--pw-font-kop);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .button.alt:hover,
.woocommerce-page .button:hover {
	background: var(--pw-kleur-merk-donker);
	border-color: var(--pw-kleur-merk-donker);
	color: #fff;
}

/* Secundaire knoppen (waardebon, winkelwagen bijwerken): omlijnd. */
.woocommerce button[name="update_cart"],
.woocommerce button[name="apply_coupon"],
.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-info .button {
	background: transparent;
	border-color: var(--pw-kleur-tekst);
	color: var(--pw-kleur-tekst);
}

.woocommerce button[name="update_cart"]:hover,
.woocommerce button[name="apply_coupon"]:hover,
.woocommerce .woocommerce-message .button:hover,
.woocommerce .woocommerce-info .button:hover {
	background: var(--pw-kleur-tekst);
	border-color: var(--pw-kleur-tekst);
	color: var(--pw-kleur-achtergrond);
}

.woocommerce button.button:disabled,
.woocommerce button.button[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

.woocommerce .button.loading {
	opacity: 0.6;
}

.woocommerce a.added_to_cart {
	display: inline-block;
	margin-top: 0.5rem;
	color: var(--pw-kleur-accent);
	font-size: 0.9rem;
}

/* ---------- Meldingen ---------- */

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

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
.stc-winkel p.no-comments {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border-left: 3px solid var(--pw-kleur-merk);
	background: var(--pw-kleur-kaart);
	color: var(--pw-kleur-tekst);
	list-style: none;
}

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
	min-height: 40px;
	margin-left: auto;
	padding: 0.4rem 1rem;
	font-size: 0.9rem;
}

.woocommerce-error {
	flex-direction: column;
	align-items: flex-start;
	border-left-color: #ff8f7d;
}

.woocommerce-error li {
	margin: 0;
}

.woocommerce-info a:not(.button),
.woocommerce-message a:not(.button),
.woocommerce-error a {
	color: var(--pw-kleur-accent);
}

/* ---------- Kruimelpad ---------- */

.stc-kruimel {
	margin-bottom: 2rem;
	color: var(--pw-kleur-gedempt);
	font-size: 0.9rem;
}

.stc-kruimel a {
	color: var(--pw-kleur-tekst);
	text-decoration: none;
}

.stc-kruimel a:hover {
	color: var(--pw-kleur-accent);
	text-decoration: underline;
}

.stc-kruimel span {
	margin-inline: 0.35rem;
	color: var(--pw-kleur-lijn);
}

/* ---------- Werkbalk: aantal en sortering ---------- */

.stc-werkbalk {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--pw-kleur-lijn);
}

.stc-werkbalk .woocommerce-notices-wrapper {
	flex-basis: 100%;
}

.woocommerce-result-count {
	margin: 0;
	color: var(--pw-kleur-gedempt);
}

.woocommerce-ordering {
	margin: 0;
}

.woocommerce-ordering select {
	min-height: 44px;
	padding: 0.5rem 2.5rem 0.5rem 0.85rem;
	border: 1px solid #5a514b;
	border-radius: var(--pw-radius-klein);
	background: var(--pw-kleur-achtergrond) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f2ece3' stroke-width='2'/%3E%3C/svg%3E") right 0.85rem center / 12px no-repeat;
	color: var(--pw-kleur-tekst);
	font: inherit;
	appearance: none;
	cursor: pointer;
}

/* ---------- Productraster (winkel, categorie, homepage, gerelateerd) ---------- */

.woocommerce ul.products,
ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

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

ul.products.columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1099px) {
	.woocommerce ul.products,
	ul.products,
	ul.products.columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 799px) {
	.woocommerce ul.products,
	ul.products,
	ul.products.columns-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 419px) {
	.woocommerce ul.products,
	ul.products,
	ul.products.columns-3,
	ul.products.columns-2 {
		grid-template-columns: minmax(0, 1fr);
	}
}

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

ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	float: none;
	background: var(--pw-kleur-vlak);
	border: 1px solid var(--pw-kleur-lijn);
	transition: border-color 0.2s ease;
}

ul.products li.product:hover {
	border-color: #5a514b;
}

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

/* De hele kaart is klikbaar via de productlink. */
ul.products li.product > a.woocommerce-LoopProduct-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

ul.products li.product > a.woocommerce-LoopProduct-link:focus-visible {
	outline: none;
}

ul.products li.product:focus-within {
	outline: 3px solid var(--pw-kleur-focus);
	outline-offset: 2px;
}

ul.products li.product a img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	margin: 0;
	object-fit: cover;
	background: var(--pw-kleur-kaart);
	border-bottom: 1px solid var(--pw-kleur-lijn);
}

ul.products li.product .woocommerce-loop-product__title {
	margin: 0;
	padding: 1rem 1.15rem 0.35rem;
	color: var(--pw-kleur-tekst);
	font-family: var(--pw-font-kop);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

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

ul.products li.product .price {
	display: block;
	margin-top: auto;
	padding: 0.25rem 1.15rem 1rem;
	color: var(--pw-kleur-accent);
	font-family: var(--pw-font-kop);
	font-size: 1.3rem;
	font-weight: 700;
}

ul.products li.product .price del {
	margin-right: 0.35rem;
	color: var(--pw-kleur-gedempt);
	font-size: 0.85em;
}

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

/* Knop onder de kaart, boven de kaartlink zodat hij zelf klikbaar blijft. */
ul.products li.product .button {
	position: relative;
	z-index: 2;
	align-self: stretch;
	min-height: 44px;
	margin: 0 1.15rem 1.15rem;
	padding: 0.5rem 1rem;
	font-size: 0.95rem;
}

ul.products li.product .added_to_cart {
	position: relative;
	z-index: 2;
	margin: -0.5rem 1.15rem 1rem;
}

.woocommerce span.onsale {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
	padding: 0.3rem 0.6rem;
	border-radius: var(--pw-radius-klein);
	background: var(--pw-kleur-merk);
	color: #fff;
	font-family: var(--pw-font-kop);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.woocommerce-info.woocommerce-no-products-found {
	margin-top: 1rem;
}

/* Paginering */
.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.75rem;
	border: 1px solid var(--pw-kleur-lijn);
	color: var(--pw-kleur-tekst);
	font-family: var(--pw-font-kop);
	font-weight: 700;
	text-decoration: none;
}

.woocommerce-pagination a:hover {
	border-color: var(--pw-kleur-tekst);
}

.woocommerce-pagination span.current {
	background: var(--pw-kleur-merk);
	border-color: var(--pw-kleur-merk);
	color: #fff;
}

/* ---------- Productpagina ---------- */

div.product {
	position: relative;
}

/* 1.2.1: raster alleen om foto's en samenvatting, zodat de meelopende
   samenvatting binnen dit blok blijft en nooit over tabbladen of
   gerelateerde producten schuift. */
.stc-product__boven {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

.stc-product__boven > * {
	min-width: 0;
}

@media (min-width: 900px) {
	.stc-product__boven {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		column-gap: clamp(2rem, 4vw, 4rem);
	}

	.stc-product__boven > .summary {
		position: sticky;
		top: calc(var(--stc-kop-hoogte) + 1.5rem);
	}
}

/* Galerij: grote foto met miniaturen eronder (op brede schermen links). */
.woocommerce-product-gallery {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	min-width: 0;
	max-width: 100%;
	margin: 0;
}

.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery__wrapper {
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	background: var(--pw-kleur-kaart);
	border: 1px solid var(--pw-kleur-lijn);
}

.woocommerce-product-gallery__wrapper {
	margin: 0;
}

.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper {
	max-width: none;
	border: 0;
}

.woocommerce-product-gallery__image {
	position: relative;
	aspect-ratio: 1;
	background: var(--pw-kleur-kaart);
}

.woocommerce-product-gallery__image a {
	display: block;
	width: 100%;
	height: 100%;
}

.woocommerce-product-gallery__image img,
.woocommerce-product-gallery__image > a > img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.woocommerce-product-gallery__image .zoomImg {
	background: var(--pw-kleur-kaart);
}

/* Vergrootglas voor de lichtbak. */
.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: rgba(18, 16, 15, 0.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23f2ece3' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 20px no-repeat;
	border: 1px solid var(--pw-kleur-lijn);
	font-size: 0;
	color: transparent;
	text-decoration: none;
	cursor: zoom-in;
}

.woocommerce-product-gallery__trigger > * {
	display: none;
}

.woocommerce-product-gallery__trigger:hover {
	border-color: var(--pw-kleur-merk);
}

/* Miniaturen: geen genummerde lijst, maar een rij vierkantjes. */
.woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	gap: 0.6rem;
	margin: 0;
	padding: 0 0 0.25rem;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: thin;
}

.woocommerce-product-gallery .flex-control-thumbs li {
	flex: 0 0 5rem;
	margin: 0;
	padding: 0;
}

.woocommerce-product-gallery .flex-control-thumbs img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border: 2px solid var(--pw-kleur-lijn);
	opacity: 0.7;
	cursor: pointer;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.woocommerce-product-gallery .flex-control-thumbs img:hover,
.woocommerce-product-gallery .flex-control-thumbs img.flex-active {
	border-color: var(--pw-kleur-merk);
	opacity: 1;
}

/* De kolom voor de miniaturen staat er al vóór de slider start: de slider
   meet zijn breedte één keer, een latere breedtewijziging geeft lege foto's. */
@media (min-width: 700px) {
	.woocommerce-product-gallery.stc-galerij--meer {
		grid-template-columns: 5.5rem minmax(0, 1fr);
		gap: 0.75rem;
	}

	.woocommerce-product-gallery.stc-galerij--meer > .flex-viewport,
	.woocommerce-product-gallery.stc-galerij--meer > .woocommerce-product-gallery__wrapper {
		grid-column: 2;
		grid-row: 1;
	}

	.woocommerce-product-gallery .flex-control-thumbs {
		grid-column: 1;
		grid-row: 1;
		flex-direction: column;
		overflow: visible;
	}

	.woocommerce-product-gallery .flex-control-thumbs li {
		flex-basis: auto;
	}
}

/* Samenvatting */
div.product .summary {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

div.product .product_title {
	font-size: var(--pw-maat-h2);
	line-height: 1.02;
}

div.product p.price,
div.product span.price {
	margin: 0;
	color: var(--pw-kleur-accent);
	font-family: var(--pw-font-kop);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}

div.product p.price del {
	color: var(--pw-kleur-gedempt);
	font-size: 0.7em;
}

div.product p.price ins {
	text-decoration: none;
}

div.product .woocommerce-product-details__short-description {
	color: var(--pw-kleur-gedempt);
}

div.product .stock {
	margin: 0;
	color: var(--pw-kleur-tekst);
	font-weight: 600;
}

div.product .stock::before {
	content: "";
	display: inline-block;
	width: 0.6rem;
	height: 0.6rem;
	margin-right: 0.5rem;
	background: #6fbf73;
}

div.product .out-of-stock::before {
	background: #ff8f7d;
}

div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem;
	margin: 0;
}

div.product form.cart .single_add_to_cart_button {
	flex: 1 1 14rem;
}

div.product form.cart table.variations {
	width: 100%;
	margin-bottom: 0.5rem;
}

/* Aantal (ook in de winkelwagen) */
.quantity {
	display: inline-flex;
}

.woocommerce .quantity .qty,
.quantity .qty {
	width: 5rem;
	min-height: 48px;
	padding: 0.5rem;
	border: 1px solid #5a514b;
	border-radius: var(--pw-radius-klein);
	background: var(--pw-kleur-achtergrond);
	color: var(--pw-kleur-tekst);
	font: inherit;
	text-align: center;
}

/* Verborgen aantal bij "per stuk verkocht". */
.quantity.hidden,
.quantity input[type="hidden"] {
	display: none;
}

/* Advies van de specialist */
.stc-advies {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.25rem 1.35rem;
	border: 1px solid var(--pw-kleur-lijn);
	border-left: 3px solid var(--pw-kleur-merk);
	background: var(--pw-kleur-vlak);
}

.stc-advies__titel {
	color: var(--pw-kleur-tekst);
	font-family: var(--pw-font-kop);
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;
}

.stc-advies__tekst {
	color: var(--pw-kleur-gedempt);
	font-size: 0.975rem;
}

.stc-advies__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
}

.stc-advies__links a {
	color: var(--pw-kleur-accent);
	font-family: var(--pw-font-kop);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.stc-advies__links a:hover {
	color: var(--pw-kleur-tekst);
}

/* Gegevens */
.stc-gegevens {
	margin: 0;
	border-top: 1px solid var(--pw-kleur-lijn);
	font-size: 0.95rem;
}

.stc-gegevens > div {
	display: grid;
	grid-template-columns: 8.5rem 1fr;
	gap: 1rem;
	padding-block: 0.7rem;
	border-bottom: 1px solid var(--pw-kleur-lijn);
}

.stc-gegevens dt {
	color: var(--pw-kleur-gedempt);
	font-family: var(--pw-font-kop);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.stc-gegevens dd {
	margin: 0;
}

.stc-gegevens a {
	color: var(--pw-kleur-tekst);
}

/* Tabbladen (omschrijving) */
.woocommerce-tabs {
	margin-top: clamp(1.5rem, 4vw, 3rem);
}

.woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin: 0 0 1.5rem;
	padding: 0;
	border-bottom: 1px solid var(--pw-kleur-lijn);
	list-style: none;
}

.woocommerce-tabs ul.tabs li {
	margin: 0;
}

.woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 0.75rem 1rem;
	color: var(--pw-kleur-gedempt);
	font-family: var(--pw-font-kop);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.woocommerce-tabs ul.tabs li.active a {
	color: var(--pw-kleur-tekst);
	box-shadow: inset 0 -3px 0 var(--pw-kleur-merk);
}

.woocommerce-Tabs-panel {
	max-width: 46rem;
	color: var(--pw-kleur-gedempt);
}

.woocommerce-Tabs-panel > h2:first-child {
	display: none;
}

.woocommerce-Tabs-panel p + p {
	margin-top: 1em;
}

.woocommerce-Tabs-panel table.shop_attributes {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce-Tabs-panel table.shop_attributes th,
.woocommerce-Tabs-panel table.shop_attributes td {
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--pw-kleur-lijn);
	text-align: left;
}

/* Gerelateerde producten */
div.product .related,
div.product .upsells {
	margin-top: clamp(2rem, 5vw, 4rem);
	padding-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--pw-kleur-lijn);
}

div.product .related > h2,
div.product .upsells > h2 {
	margin-bottom: 1.5rem;
	font-size: var(--pw-maat-h3);
}

/* ---------- Tabellen (winkelwagen, overzicht, account) ---------- */

.woocommerce table.shop_table {
	width: 100%;
	margin: 0 0 1.5rem;
	border: 1px solid var(--pw-kleur-lijn);
	border-collapse: collapse;
	background: var(--pw-kleur-vlak);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 1rem;
	border-top: 1px solid var(--pw-kleur-lijn);
	text-align: left;
	vertical-align: middle;
}

.woocommerce table.shop_table thead th {
	border-top: 0;
	color: var(--pw-kleur-gedempt);
	font-family: var(--pw-font-kop);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table .order-total th,
.woocommerce table.shop_table .order-total td {
	color: var(--pw-kleur-tekst);
}

.woocommerce table.shop_table .order-total .amount {
	color: var(--pw-kleur-accent);
	font-family: var(--pw-font-kop);
	font-size: 1.4rem;
	font-weight: 700;
}

.woocommerce table.shop_table a:not(.button):not(.remove) {
	color: var(--pw-kleur-tekst);
	text-decoration: none;
}

.woocommerce table.shop_table a:not(.button):not(.remove):hover {
	color: var(--pw-kleur-accent);
	text-decoration: underline;
}

/* Winkelwagen */
.woocommerce-cart-form .product-remove {
	width: 3rem;
}

.woocommerce a.remove {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--pw-kleur-lijn);
	color: var(--pw-kleur-gedempt);
	font-size: 1.25rem;
	line-height: 1;
	text-decoration: none;
}

.woocommerce a.remove:hover {
	border-color: var(--pw-kleur-merk);
	background: var(--pw-kleur-merk);
	color: #fff;
}

.woocommerce-cart-form .product-thumbnail {
	width: 6.5rem;
}

.woocommerce-cart-form .product-thumbnail img {
	display: block;
	width: 80px;
	height: 80px;
	max-width: none;
	object-fit: cover;
	border: 1px solid var(--pw-kleur-lijn);
}

.woocommerce-cart-form .product-name a {
	font-family: var(--pw-font-kop);
	font-size: 1.2rem;
	font-weight: 700;
	text-transform: uppercase;
}

.woocommerce-cart-form .product-subtotal {
	font-weight: 600;
}

.woocommerce-cart-form td.actions {
	padding: 1rem;
	background: var(--pw-kleur-achtergrond);
}

.woocommerce-cart-form td.actions::after {
	content: "";
	display: table;
	clear: both;
}

.woocommerce-cart-form .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	float: left;
}

.woocommerce-cart-form .coupon .input-text {
	width: 12rem;
	min-height: 48px;
}

.woocommerce-cart-form button[name="update_cart"] {
	float: right;
}

/* Totalen naast/onder de winkelwagen */
.cart-collaterals {
	display: grid;
	margin-top: 2rem;
}

.cart-collaterals .cart_totals {
	width: 100%;
	max-width: 30rem;
	justify-self: end;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--pw-kleur-lijn);
	background: var(--pw-kleur-vlak);
}

.cart-collaterals .cart_totals h2 {
	margin-bottom: 1rem;
	font-size: var(--pw-maat-h3);
}

.woocommerce .cart-collaterals .cart_totals table.shop_table {
	margin-bottom: 1.25rem;
	border: 0;
	background: transparent;
}

.woocommerce .cart-collaterals .cart_totals table.shop_table th,
.woocommerce .cart-collaterals .cart_totals table.shop_table td {
	padding: 0.85rem 0;
}

.woocommerce .cart-collaterals .cart_totals table.shop_table td {
	text-align: right;
}

.cart-collaterals .cart_totals tr:first-child th,
.cart-collaterals .cart_totals tr:first-child td {
	border-top: 0;
}

.woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-shipping-destination,
.woocommerce-shipping-calculator,
.woocommerce-shipping-contents {
	margin-top: 0.5rem;
	color: var(--pw-kleur-gedempt);
	font-size: 0.9rem;
}

.wc-proceed-to-checkout .checkout-button {
	display: flex;
	width: 100%;
	min-height: 56px;
	font-size: 1.15rem;
}

.cross-sells {
	margin-top: 3rem;
}

.cross-sells > h2 {
	margin-bottom: 1.5rem;
}

.cart-empty.woocommerce-info {
	margin-bottom: 1.5rem;
}

.return-to-shop .button {
	margin-top: 0.5rem;
}

/* Tabellen op een smal scherm: elke rij een blok, met het kopje ervoor. */
@media (max-width: 767px) {
	.woocommerce table.shop_table_responsive thead {
		display: none;
	}

	.woocommerce table.shop_table_responsive,
	.woocommerce table.shop_table_responsive tbody,
	.woocommerce table.shop_table_responsive tr,
	.woocommerce table.shop_table_responsive td,
	.woocommerce table.shop_table_responsive th {
		display: block;
		width: 100%;
	}

	.woocommerce table.shop_table_responsive tr {
		border-top: 1px solid var(--pw-kleur-lijn);
	}

	.woocommerce table.shop_table_responsive tr:first-child {
		border-top: 0;
	}

	.woocommerce table.shop_table_responsive td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.6rem 1rem;
		border-top: 0;
		text-align: right;
	}

	.woocommerce table.shop_table_responsive td[data-title]::before {
		content: attr(data-title);
		color: var(--pw-kleur-gedempt);
		font-family: var(--pw-font-kop);
		font-weight: 600;
		letter-spacing: 0.1em;
		text-align: left;
		text-transform: uppercase;
	}

	.woocommerce table.shop_table_responsive td.product-remove,
	.woocommerce table.shop_table_responsive td.product-thumbnail {
		display: inline-flex;
		width: auto;
		padding-bottom: 0;
	}

	.woocommerce table.shop_table_responsive td.product-thumbnail::before,
	.woocommerce table.shop_table_responsive td.product-remove::before {
		display: none;
	}

	.woocommerce table.shop_table_responsive td.actions {
		display: block;
		text-align: left;
	}

	.woocommerce table.shop_table_responsive td.actions::before {
		display: none;
	}

	.woocommerce-cart-form .coupon,
	.woocommerce-cart-form button[name="update_cart"] {
		float: none;
		width: 100%;
	}

	.woocommerce-cart-form .coupon {
		margin-bottom: 0.75rem;
	}

	.woocommerce-cart-form .coupon .input-text {
		flex: 1 1 10rem;
		width: auto;
	}

	.woocommerce-cart-form .coupon .button,
	.woocommerce-cart-form button[name="update_cart"] {
		width: 100%;
	}

	.cart-collaterals .cart_totals {
		max-width: none;
	}

	.woocommerce .cart_totals table.shop_table_responsive th {
		display: none;
	}

	.cart-collaterals .cart_totals table.shop_table td {
		padding-inline: 0;
	}
}

/* ---------- Formulieren van WooCommerce ---------- */

.woocommerce form .form-row {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0;
}

.woocommerce form .form-row label {
	color: var(--pw-kleur-tekst);
	font-weight: 600;
	line-height: 1.3;
}

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

.woocommerce form .form-row .optional {
	color: var(--pw-kleur-gedempt);
	font-weight: 400;
}

.woocommerce form .form-row .woocommerce-input-wrapper {
	display: block;
}

.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.65rem 0.85rem;
	border: 1px solid #5a514b;
	border-radius: var(--pw-radius-klein);
	background: var(--pw-kleur-achtergrond);
	color: var(--pw-kleur-tekst);
	font: inherit;
}

.woocommerce form textarea {
	min-height: 7rem;
	resize: vertical;
}

.woocommerce form .input-text::placeholder,
.woocommerce form textarea::placeholder {
	color: #8f867c;
	opacity: 1;
}

.woocommerce form .input-text:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus {
	border-color: var(--pw-kleur-accent);
	outline: 2px solid var(--pw-kleur-accent);
	outline-offset: 0;
}

.woocommerce form .form-row.woocommerce-invalid .input-text,
.woocommerce form .form-row.woocommerce-invalid select {
	border-color: #ff8f7d;
}

.woocommerce form .form-row input[type="checkbox"],
.woocommerce form .form-row input[type="radio"] {
	width: 1.1rem;
	height: 1.1rem;
	margin: 0 0.5rem 0 0;
	accent-color: var(--pw-kleur-merk);
	vertical-align: -0.15em;
}

.woocommerce form .form-row .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: 400;
}

/* Landkeuze (select2) in het donker */
.select2-container .select2-selection--single {
	height: 48px;
	border: 1px solid #5a514b;
	border-radius: var(--pw-radius-klein);
	background: var(--pw-kleur-achtergrond);
}

.select2-container .select2-selection--single .select2-selection__rendered {
	padding-left: 0.85rem;
	color: var(--pw-kleur-tekst);
	line-height: 46px;
}

.select2-container .select2-selection--single .select2-selection__arrow {
	top: 1px;
	right: 0.5rem;
	height: 46px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-top-color: var(--pw-kleur-tekst);
}

.select2-container--open .select2-selection--single,
.select2-container--focus .select2-selection--single {
	border-color: var(--pw-kleur-accent);
}

.select2-dropdown {
	border: 1px solid #5a514b;
	border-radius: 0;
	background: var(--pw-kleur-kaart);
	color: var(--pw-kleur-tekst);
}

.select2-search--dropdown .select2-search__field {
	min-height: 40px;
	border: 1px solid #5a514b !important;
	background: var(--pw-kleur-achtergrond);
	color: var(--pw-kleur-tekst);
}

.select2-results__option {
	padding: 0.5rem 0.85rem;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
	background: var(--pw-kleur-merk);
	color: #fff;
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"] {
	background: var(--pw-kleur-vlak);
	color: var(--pw-kleur-tekst);
}

/* ---------- Afrekenen ---------- */

.woocommerce-form-coupon-toggle .woocommerce-info {
	justify-content: flex-start;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.75rem 1rem;
	margin: 0 0 1.5rem;
	padding: 1.25rem;
	border: 1px solid var(--pw-kleur-lijn);
	background: var(--pw-kleur-vlak);
}

.woocommerce form.checkout_coupon > p:first-child {
	flex-basis: 100%;
	color: var(--pw-kleur-gedempt);
}

.woocommerce form.checkout_coupon .form-row-first {
	flex: 1 1 14rem;
}

.woocommerce form.checkout_coupon .clear {
	display: none;
}

form.woocommerce-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

form.woocommerce-checkout > .woocommerce-NoticeGroup {
	grid-column: 1 / -1;
}

@media (min-width: 960px) {
	form.woocommerce-checkout {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		column-gap: clamp(2rem, 4vw, 4rem);
	}

	form.woocommerce-checkout > #customer_details {
		grid-column: 1;
	}

	form.woocommerce-checkout > .stc-afrekenen__overzicht {
		grid-column: 2;
		position: sticky;
		top: calc(var(--stc-kop-hoogte) + 1.5rem);
	}
}

/* Klantgegevens: één kolom met blokken, velden in een raster van twee. */
#customer_details.col2-set {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

#customer_details .col-1,
#customer_details .col-2 {
	width: auto;
	float: none;
}

.woocommerce-checkout h3,
#order_review_heading {
	margin: 0 0 1rem;
	font-size: var(--pw-maat-h3);
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper,
.woocommerce-address-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem 1rem;
}

.woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-shipping-fields__field-wrapper .form-row,
.woocommerce-additional-fields__field-wrapper .form-row,
.woocommerce-address-fields__field-wrapper .form-row {
	grid-column: 1 / -1;
}

.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-shipping-fields__field-wrapper .form-row-first,
.woocommerce-address-fields__field-wrapper .form-row-first {
	grid-column: 1;
}

.woocommerce-billing-fields__field-wrapper .form-row-last,
.woocommerce-shipping-fields__field-wrapper .form-row-last,
.woocommerce-address-fields__field-wrapper .form-row-last {
	grid-column: 2;
}

@media (max-width: 479px) {
	.woocommerce-billing-fields__field-wrapper .form-row-first,
	.woocommerce-billing-fields__field-wrapper .form-row-last,
	.woocommerce-shipping-fields__field-wrapper .form-row-first,
	.woocommerce-shipping-fields__field-wrapper .form-row-last,
	.woocommerce-address-fields__field-wrapper .form-row-first,
	.woocommerce-address-fields__field-wrapper .form-row-last {
		grid-column: 1 / -1;
	}
}

#ship-to-different-address {
	margin: 0 0 1rem;
	font-family: var(--pw-font-tekst);
	font-size: 1rem;
	text-transform: none;
}

#ship-to-different-address label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
}

.woocommerce-account-fields,
.woocommerce-shipping-fields .shipping_address {
	margin-top: 1rem;
}

/* Overzicht van de bestelling */
.stc-afrekenen__overzicht {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--pw-kleur-lijn);
	background: var(--pw-kleur-vlak);
}

.woocommerce table.woocommerce-checkout-review-order-table.shop_table {
	margin-bottom: 1.5rem;
	border: 0;
	background: transparent;
}

.woocommerce table.woocommerce-checkout-review-order-table.shop_table th,
.woocommerce table.woocommerce-checkout-review-order-table.shop_table td {
	padding: 0.8rem 0;
}

.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table tfoot td {
	text-align: right;
}

.woocommerce-checkout-review-order-table .product-quantity {
	color: var(--pw-kleur-gedempt);
	font-weight: 400;
}

/* Productfoto in het overzicht */
.stc-besteld {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	vertical-align: middle;
}

.stc-besteld__beeld img {
	display: block;
	width: 56px;
	height: 56px;
	max-width: none;
	object-fit: cover;
	border: 1px solid var(--pw-kleur-lijn);
}

.stc-besteld__naam {
	color: var(--pw-kleur-tekst);
}

/* Betaalmethoden */
#payment {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

#payment ul.wc_payment_methods {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--pw-kleur-lijn);
	list-style: none;
}

#payment ul.wc_payment_methods li {
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--pw-kleur-lijn);
}

#payment ul.wc_payment_methods li > input {
	width: 1.1rem;
	height: 1.1rem;
	margin: 0 0.6rem 0 0;
	accent-color: var(--pw-kleur-merk);
	vertical-align: -0.15em;
}

#payment ul.wc_payment_methods li > label {
	font-weight: 600;
	cursor: pointer;
}

#payment ul.wc_payment_methods li img {
	display: inline-block;
	max-height: 24px;
	width: auto;
	margin-left: 0.5rem;
	vertical-align: middle;
}

#payment .payment_box {
	margin-top: 0.75rem;
	padding: 0.85rem 1rem;
	background: var(--pw-kleur-kaart);
	color: var(--pw-kleur-gedempt);
	font-size: 0.95rem;
}

#payment .payment_box p:last-child {
	margin-bottom: 0;
}

#payment .form-row.place-order {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 0;
}

.woocommerce-terms-and-conditions-wrapper,
.woocommerce-privacy-policy-text {
	color: var(--pw-kleur-gedempt);
	font-size: 0.9rem;
}

.woocommerce-terms-and-conditions-wrapper a,
.woocommerce-privacy-policy-text a {
	color: var(--pw-kleur-accent);
}

.woocommerce-terms-and-conditions {
	max-height: 12rem;
	overflow: auto;
	padding: 1rem;
	border: 1px solid var(--pw-kleur-lijn);
}

#place_order {
	width: 100%;
	min-height: 56px;
	font-size: 1.15rem;
}

/* Blok bij laden (blockUI) */
.blockUI.blockOverlay {
	background: rgba(18, 16, 15, 0.6) !important;
}

/* ---------- Bestelling ontvangen ---------- */

.woocommerce-order {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.woocommerce-thankyou-order-received {
	padding: 1rem 1.25rem;
	border-left: 3px solid var(--pw-kleur-merk);
	background: var(--pw-kleur-kaart);
	font-weight: 600;
}

ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--pw-kleur-lijn);
	background: var(--pw-kleur-lijn);
	list-style: none;
}

ul.woocommerce-order-overview li {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 1rem;
	background: var(--pw-kleur-vlak);
	color: var(--pw-kleur-gedempt);
	font-size: 0.9rem;
}

ul.woocommerce-order-overview li strong {
	color: var(--pw-kleur-tekst);
	font-size: 1rem;
}

.woocommerce-customer-details address {
	padding: 1rem 1.25rem;
	border: 1px solid var(--pw-kleur-lijn);
	font-style: normal;
}

/* ---------- Mijn account ---------- */

.woocommerce-account .woocommerce {
	display: grid;
	gap: 2rem;
}

@media (min-width: 900px) {
	.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
		grid-template-columns: 15rem minmax(0, 1fr);
	}
}

.woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--pw-kleur-lijn);
	list-style: none;
}

.woocommerce-MyAccount-navigation li {
	border-bottom: 1px solid var(--pw-kleur-lijn);
}

.woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.75rem 0;
	color: var(--pw-kleur-tekst);
	font-family: var(--pw-font-kop);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation a:hover {
	color: var(--pw-kleur-accent);
}

.woocommerce-MyAccount-content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.woocommerce-account .u-columns.col2-set {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
	gap: 2rem;
}

.woocommerce-account .u-columns .u-column1,
.woocommerce-account .u-columns .u-column2 {
	width: auto;
	float: none;
}

.woocommerce form.login,
.woocommerce form.register {
	flex-direction: column;
	align-items: stretch;
}

.woocommerce form.login .form-row,
.woocommerce form.register .form-row {
	width: 100%;
}

.woocommerce-LostPassword a {
	color: var(--pw-kleur-accent);
}

/* ---------- Homepage: uitgelichte producten ---------- */

.stc-producten__raster .woocommerce {
	display: block;
}
