/* WooCommerce: shop, product card, product page. Values measured on the live
   site (Elementor templates 373, 375 and 330). WooCommerce's own stylesheet
   still loads; the selectors below are specific enough to win over it. */

/* ---------- Shop header ---------- */

.tch-shop-head {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 360px;
	padding-inline: 10px;
	isolation: isolate;
}

/* Soft green glow on the right. */
.tch-shop-head::before {
	content: "";
	position: absolute;
	top: -70px;
	right: 5.6%;
	z-index: -1;
	width: 500px;
	height: 500px;
	background: radial-gradient(rgba(149, 191, 71, .25) 0%, rgba(149, 191, 71, 0) 70%);
	pointer-events: none;
}

.tch-shop-head__inner {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: min(1140px, 100%);
	margin-inline: auto;
}

.tch-shop-head__label {
	margin: 0;
	color: var(--tch-olive);
	font-size: var(--tch-fs-accent);
	line-height: 1;
}

.tch-shop-head__title {
	margin: 0;
	color: var(--tch-olive);
	font-family: var(--tch-font-heading);
	font-size: var(--tch-fs-display);
	font-weight: 600;
	line-height: 1;
}

.tch-shop-head__row {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 10px;
}

.tch-shop-head__intro {
	flex: 0 0 62.68%;
	color: var(--tch-olive-text);
	font-size: 1rem;
	line-height: 1.5;
}

.tch-shop-head__intro p {
	max-width: 75%;
	margin: 0;
}

.tch-shop-head__intro a {
	color: inherit;
	text-decoration: none;
}

.tch-shop-head__intro a:hover,
.tch-shop-head__intro a:focus-visible {
	color: var(--tch-green-700);
	text-decoration: underline;
}

.tch-search--large {
	flex: 1;
	height: 58px;
}

.tch-search--large .tch-search__input {
	padding-inline: 19.33px;
}

.tch-search--large .tch-search__submit {
	min-width: 203px;
}

/* ---------- Category list and grid ---------- */

.tch-shop-body {
	display: flex;
	gap: 10px;
	padding-inline: 8%;
}

/* The list takes what the grid leaves, but never less than its longest word. */
.tch-shop-filter {
	flex: 1 1 0;
}

.tch-shop-filter__box {
	padding: 32px 16px;
	border: .8px solid var(--tch-line);
	border-radius: 12px;
	background: var(--tch-mist);
}

.tch-shop-filter__list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.tch-shop-filter__link {
	display: block;
	padding: 8px;
	color: var(--tch-olive);
	font-size: var(--tch-fs-accent);
	line-height: 1.3;
	text-decoration: none;
}

.tch-shop-filter__link:hover,
.tch-shop-filter__link:focus-visible,
.tch-shop-filter__link.is-active {
	color: var(--tch-accent);
}

.tch-shop-main {
	flex: 0 1 80%;
	min-width: 0;
	padding-left: 2%;
}

.tch-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 24px 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ---------- Product card ---------- */

.tch-products .tch-product {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 12px;
	border: .8px solid var(--tch-line);
	border-radius: 9px;
	background: var(--tch-mist);
}

/* Photo, name, price and button spread over the card height, as on the live grid. */
.tch-product__region {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	gap: 4px;
}

.tch-product__media {
	display: block;
	height: 215px;
	margin-bottom: 16px;
	overflow: hidden;
	border-radius: 12px;
}

.tch-product__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tch-product__title {
	margin: 0;
	padding: 0 5%;
	color: var(--tch-olive);
	font-family: var(--tch-font-heading);
	font-size: var(--tch-fs-sub);
	font-weight: 500;
	line-height: 1.25;
	/* Long plant names ("Muskuskaasjeskruid") must not stick out of the
	   narrow phone cards. */
	overflow-wrap: break-word;
	hyphens: auto;
}

.tch-product__title a {
	color: inherit;
	text-decoration: none;
}

.tch-product__title a:hover,
.tch-product__title a:focus-visible {
	color: var(--tch-green-700);
}

.tch-products .tch-product .price {
	display: block;
	margin: 0 0 14.4px;
	padding: 0 5%;
	color: #958E09;
	font-size: 14px;
	line-height: 21px;
}

.tch-products .tch-product .price del {
	opacity: .6;
}

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

.tch-product__action {
	margin: 0;
}

.woocommerce .tch-products .tch-product a.button {
	display: block;
	width: 100%;
	margin: 0;
	padding: .618em 1em;
	border: .8px solid var(--tch-olive);
	border-radius: 12px;
	background: var(--tch-mist);
	color: var(--tch-olive);
	font-family: var(--tch-font-body);
	font-size: var(--tch-fs-body);
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
	white-space: normal;
}

.woocommerce .tch-products .tch-product a.button:hover,
.woocommerce .tch-products .tch-product a.button:focus-visible {
	background: var(--tch-white);
	color: var(--tch-olive-text);
}

.woocommerce .tch-products .tch-product a.added_to_cart {
	display: block;
	padding-top: 6px;
	color: var(--tch-green-700);
	font-size: 14px;
	text-align: center;
}

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

.woocommerce .tch-shop-main nav.woocommerce-pagination {
	margin-top: 72px;
	text-align: center;
}

.woocommerce .tch-shop-main nav.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 30px;
	margin: 0;
	border: 0;
	white-space: normal;
}

.woocommerce .tch-shop-main nav.woocommerce-pagination ul li {
	float: none;
	border: 0;
}

.woocommerce .tch-shop-main nav.woocommerce-pagination ul li a,
.woocommerce .tch-shop-main nav.woocommerce-pagination ul li span {
	min-width: 0;
	padding: 0;
	background: none;
	color: var(--tch-olive);
	font-family: var(--tch-font-heading);
	font-size: 24px;
	line-height: 36px;
}

.woocommerce .tch-shop-main nav.woocommerce-pagination ul li a:hover,
.woocommerce .tch-shop-main nav.woocommerce-pagination ul li a:focus-visible,
.woocommerce .tch-shop-main nav.woocommerce-pagination ul li span.current {
	background: none;
	color: var(--tch-accent);
}

/* ---------- "Woordje uitleg" questions ---------- */

.tch-shop-faq {
	margin-block: 8rem;
	padding-inline: 10px;
	scroll-margin-top: 112px;
}

.tch-shop-faq__inner {
	width: min(920px, 100%);
	margin-inline: auto;
	padding-block: 30px 10px;
}

.tch-faq {
	border-block: 1px solid rgba(68, 79, 36, .09);
}

.tch-faq + .tch-faq {
	border-top: 0;
}

.tch-faq__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 16px;
	color: var(--tch-olive-text);
	font-family: var(--tch-font-heading);
	font-size: var(--tch-fs-h5);
	font-weight: 500;
	line-height: 1;
	list-style: none;
	cursor: pointer;
}

.tch-faq__title::-webkit-details-marker {
	display: none;
}

.tch-faq[open] > .tch-faq__title {
	border-bottom: 1px solid rgba(68, 79, 36, .09);
	color: var(--tch-olive);
}

/* Plus when closed, cross when open. */
.tch-faq__icon {
	position: relative;
	flex: none;
	width: 16px;
	height: 16px;
	transition: transform .2s;
}

.tch-faq__icon::before,
.tch-faq__icon::after {
	content: "";
	position: absolute;
	top: 7px;
	left: 0;
	width: 16px;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
}

.tch-faq__icon::after {
	transform: rotate(90deg);
}

.tch-faq[open] .tch-faq__icon {
	transform: rotate(45deg);
}

.tch-faq__body {
	padding: 32px;
	color: var(--tch-olive-text);
	font-size: var(--tch-fs-body);
	line-height: 1.5;
}

.tch-faq__body p {
	margin: 0 0 14.4px;
}

.tch-faq__body > :last-child {
	margin-bottom: 0;
}

/* ---------- Product page: photo and summary ---------- */

/* Photo left over two rows; summary and cart form right. Percent paddings in
   a grid resolve against the column, so 20% here equals the live 10% of the
   full width. */
.tch-product-top {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: auto 1fr;
	margin-top: 5%;
	padding-inline: 8%;
}

.tch-product-top__media {
	grid-row: 1 / span 2;
	min-width: 0;
}

.tch-product-top__summary,
.tch-product-summary__region {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.tch-product-top__summary,
.tch-product-top__buy {
	grid-column: 2;
	padding-left: 20%;
}

.tch-product-top__buy {
	margin-top: 40px;
}

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

/* Square photo with rounded corners, sharp at every size. */
.woocommerce div.product.tch-product-page div.images .woocommerce-product-gallery__image img,
.woocommerce div.product.tch-product-page div.images .flex-viewport {
	border-radius: 12px;
}

.woocommerce div.product.tch-product-page div.images .woocommerce-product-gallery__image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.woocommerce div.product.tch-product-page div.images .flex-viewport:not(:last-child) {
	margin-bottom: 12px;
}

.woocommerce div.product.tch-product-page div.images .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
}

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

.woocommerce div.product.tch-product-page div.images .flex-control-thumbs img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 6px;
}

.woocommerce .tch-product-page .tch-breadcrumb {
	margin: 0 0 1em;
	color: #767676;
	font-family: var(--tch-font-body);
	font-size: .92em;
	line-height: 1.5;
}

.woocommerce .tch-product-page .tch-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.woocommerce .tch-product-page .tch-breadcrumb a:hover {
	color: var(--tch-olive);
}

.woocommerce div.product.tch-product-page .product_title {
	margin: 0;
	color: var(--tch-olive);
	font-family: var(--tch-font-heading);
	font-size: var(--tch-fs-title);
	font-weight: 600;
	line-height: 1;
}

.woocommerce div.product.tch-product-page p.price,
.woocommerce div.product.tch-product-page span.price {
	margin: 0;
	color: var(--tch-accent);
	font-size: var(--tch-fs-accent);
	line-height: 1.5;
}

/* Plants without a price (shown for information only) print an empty price tag. */
.tch-product-page .price:empty,
.tch-products .price:empty,
.tch-product-top__buy:empty {
	display: none;
}

.tch-product-details {
	max-width: 507px;
	color: var(--tch-olive);
	font-size: var(--tch-fs-body);
	line-height: 1.5;
}

.tch-product-details p {
	margin: 0 0 14.4px;
}

.tch-product-details > :last-child {
	margin-bottom: 0;
}

/* Cart form: quantity box and the add-to-cart button in the site's pill style
   (the live page shows Elementor's default blue button here). */
.woocommerce div.product.tch-product-page form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 0;
	margin: 0;
}

.woocommerce div.product.tch-product-page form.cart::before,
.woocommerce div.product.tch-product-page form.cart::after {
	content: none;
}

.woocommerce div.product.tch-product-page form.cart div.quantity {
	float: none;
	margin: 0 38px 0 0;
}

.woocommerce .tch-product-page .quantity .qty {
	width: 58px;
	height: 48px;
	padding: 8px 4px;
	border: .8px solid var(--tch-olive);
	border-radius: 8px;
	background: var(--tch-white);
	color: var(--tch-olive);
	font-family: var(--tch-font-body);
	font-size: 16px;
}

.woocommerce div.product.tch-product-page form.cart .button.single_add_to_cart_button {
	float: none;
	min-height: 48px;
	padding: 14px 40px;
	border: 1px solid var(--tch-olive);
	border-radius: 99px;
	background: var(--tch-mist);
	color: var(--tch-olive);
	font-family: var(--tch-font-body);
	font-size: var(--tch-fs-accent);
	font-weight: 400;
	line-height: 1;
}

.woocommerce div.product.tch-product-page form.cart .button.single_add_to_cart_button:hover,
.woocommerce div.product.tch-product-page form.cart .button.single_add_to_cart_button:focus-visible {
	background: var(--tch-white);
	color: var(--tch-olive-text);
}

.woocommerce div.product.tch-product-page form.cart .button.single_add_to_cart_button.disabled {
	opacity: .5;
}

.woocommerce div.product.tch-product-page .stock {
	margin: 0;
	font-size: var(--tch-fs-body);
}

/* ---------- Product page: description and related products ---------- */

.tch-product-description {
	margin-top: 32px;
}

.tch-product-description__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.tch-product-description__text {
	color: var(--tch-olive-text);
	font-size: var(--tch-fs-body);
	line-height: 1.5;
}

.tch-product-description__text p {
	margin: 0 0 14.4px;
}

.tch-related {
	display: flex;
	flex-direction: column;
	gap: 80px;
	margin: 120px 0 240px;
	padding-inline: 8%;
}

.tch-related__title {
	text-align: center;
}

.tch-products--related {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tch-related__back {
	margin: 40px 0 0;
	text-align: center;
}

/* WooCommerce notices ("toegevoegd aan je winkelwagen"). */
.tch-shop .woocommerce-notices-wrapper:not(:empty) {
	margin-bottom: 24px;
}

.tch-product-page > .woocommerce-notices-wrapper:not(:empty),
.tch-shop > .woocommerce-notices-wrapper:not(:empty) {
	padding-inline: 8%;
}

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
	.tch-shop-head {
		padding-inline: 5%;
	}

	.tch-shop-head__intro {
		flex-basis: 50%;
	}

	.tch-shop-head__intro p {
		max-width: none;
	}

	.tch-search--large .tch-search__submit {
		min-width: 116px;
	}

	.tch-shop-body {
		padding-inline: 5%;
	}

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

	.tch-shop-faq {
		padding-inline: 0;
	}

	.tch-shop-faq__inner {
		padding: 20px 8% 0;
	}

	/* Cart form in its own centred row under photo and summary. */
	.tch-product-top {
		grid-template-rows: auto auto;
		column-gap: 24px;
	}

	.tch-product-top__media {
		grid-row: 1;
	}

	.tch-product-top__summary {
		padding: 0 10% 0 0;
	}

	.tch-product-top__buy {
		grid-column: 1 / -1;
		justify-self: center;
		margin: 3.2rem 0 3rem;
		padding: 10px;
	}

	.tch-product-description {
		margin-top: 0;
	}

	.tch-product-details {
		max-width: none;
	}

	.tch-related {
		gap: 50px;
		margin-top: 25%;
		margin-bottom: 0;
		padding-inline: 5%;
	}

	.tch-related__back {
		margin-top: 0;
	}
}

/* ---------- Phone ---------- */

@media (max-width: 767px) {
	.tch-shop-head {
		min-height: 0;
		padding: 13.3% 9.5%;
	}

	.tch-shop-head__row {
		flex-direction: column;
		align-items: stretch;
	}

	.tch-shop-head__intro {
		flex: none;
	}

	.tch-search--large {
		flex: none;
		width: 100%;
		margin: 32px 0 12px;
	}

	.tch-shop-body {
		flex-direction: column;
		gap: 10px;
	}

	.tch-shop-filter,
	.tch-shop-main {
		flex: none;
		padding: 0;
	}

	.tch-shop-filter__box {
		padding-bottom: 51px;
	}

	.tch-product__region {
		gap: 0;
	}

	.tch-product__media {
		height: 160px;
	}

	.tch-product__title,
	.tch-products .tch-product .price {
		padding: 0;
	}

	.tch-shop-faq {
		margin-bottom: 0;
		padding-inline: 5%;
	}

	.tch-social-cta--flush {
		padding-block: 0;
	}

	/* One column; side margins as on the live phone page (8% + 17px). */
	.tch-product-top {
		grid-template-columns: minmax(0, 1fr);
		padding-inline: calc(8% + 17px);
	}

	.tch-product-top__summary,
	.tch-product-top__buy {
		grid-column: 1;
	}

	.tch-product-top__media {
		margin-top: 10%;
	}

	.tch-product-top__summary {
		margin-top: 55px;
		padding: 0 5% 0 0;
	}

	.tch-product-top__buy {
		margin: 20px 0 0;
		padding-inline: 0;
	}

	.woocommerce div.product.tch-product-page form.cart {
		justify-content: center;
	}

	.woocommerce div.product.tch-product-page form.cart div.quantity {
		margin-right: 4px;
	}

	.woocommerce div.product.tch-product-page form.cart .button.single_add_to_cart_button {
		padding-inline: 20px;
	}

	.tch-product-description {
		margin-top: 32px;
	}

	.tch-product-description__inner.tch-container {
		width: auto;
		margin-inline: calc(8% + 17px);
	}

	.tch-related {
		gap: 50px;
		margin-block: 5rem;
		padding-inline: calc(5% + 17.5px);
	}
}

/* =========================================================================
   Cart, checkout and account (page.php). Colours, borders and type from the
   live Elementor cart widget: cream boxes with a thin line border and 12px
   corners, olive outline buttons on mist, inputs with a 12px radius.
   ========================================================================= */

/* ---------- Notices ---------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	margin: 0 0 2em;
	padding: 16px 32px 16px 56px;
	border: .8px solid var(--tch-olive);
	border-radius: 0;
	background: var(--tch-line-strong);
	color: var(--tch-olive);
	font-size: var(--tch-fs-body);
	line-height: 1.5;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	top: 16px;
	left: 24px;
	color: var(--tch-olive);
}

.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
	color: var(--tch-green-700);
}

/* ---------- Buttons and fields on the WooCommerce pages ---------- */

.tch-page .woocommerce a.button,
.tch-page .woocommerce button.button,
.tch-page .woocommerce input.button,
.tch-page .woocommerce a.button.alt,
.tch-page .woocommerce button.button.alt,
.woocommerce-message a.button,
.woocommerce-info a.button {
	display: inline-block;
	padding: 16px 24px;
	border: 1px solid var(--tch-olive);
	border-radius: 12px;
	background: var(--tch-mist);
	color: var(--tch-olive);
	font-family: var(--tch-font-body);
	font-size: var(--tch-fs-small);
	font-weight: 400;
	line-height: 1;
	text-align: center;
}

.tch-page .woocommerce a.button:hover,
.tch-page .woocommerce button.button:hover,
.tch-page .woocommerce input.button:hover,
.tch-page .woocommerce a.button.alt:hover,
.tch-page .woocommerce button.button.alt:hover,
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover {
	border-color: var(--tch-olive-text);
	background: var(--tch-line);
	color: var(--tch-olive-text);
}

.tch-page .woocommerce button.button:disabled,
.tch-page .woocommerce button.button:disabled[disabled] {
	padding: 16px 24px;
	color: var(--tch-olive);
	opacity: .5;
}

/* Big buttons: "Verder naar afrekenen", "Bestelling plaatsen". */
.tch-page .woocommerce .wc-proceed-to-checkout a.checkout-button,
.tch-page .woocommerce #payment #place_order {
	display: block;
	width: 100%;
	margin: 0;
	padding: 18px 24px;
	font-size: var(--tch-fs-accent);
	font-weight: 500;
}

.tch-page .woocommerce form .form-row label {
	color: var(--tch-olive);
	font-size: var(--tch-fs-body);
	line-height: 1.5;
}

.tch-page .woocommerce form .form-row .input-text,
.tch-page .woocommerce form .form-row select,
.tch-page .woocommerce .quantity .qty,
.tch-page .select2-container--default .select2-selection--single {
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid var(--tch-olive-text);
	border-radius: 12px;
	background: var(--tch-white);
	color: var(--tch-olive-text);
	font-family: var(--tch-font-body);
	font-size: var(--tch-fs-small);
	line-height: 1.5;
}

.tch-page .woocommerce .quantity .qty {
	width: 64px;
	padding-inline: 4px;
}

.tch-page .woocommerce form .form-row textarea.input-text {
	min-height: 120px;
}

.tch-page .woocommerce form .form-row .input-text:focus,
.tch-page .woocommerce form .form-row select:focus,
.tch-page .woocommerce .quantity .qty:focus {
	background: var(--tch-line);
	outline: 2px solid var(--tch-green-700);
	outline-offset: 1px;
}

.tch-page .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0;
	color: var(--tch-olive-text);
	line-height: 22px;
}

.tch-page .select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 9px;
	right: 8px;
}

.tch-page .woocommerce form .form-row .required {
	color: var(--tch-olive-text);
}

/* Cream boxes around each part. */
.tch-page--cart .woocommerce-cart-form,
.tch-page--cart .cart_totals,
.tch-page--checkout #customer_details > div,
.tch-page--checkout #order_review,
.tch-page--account .woocommerce-form-login,
.tch-page--account .woocommerce-form-register,
.tch-page--account .woocommerce-ResetPassword,
.tch-page--account .woocommerce-MyAccount-navigation,
.tch-page--account .woocommerce-MyAccount-content {
	margin: 0;
	padding: 24px 32px;
	border: 1px solid var(--tch-line);
	border-radius: 12px;
	background: var(--tch-cream);
}

.tch-page .woocommerce h2,
.tch-page .woocommerce h3 {
	margin: 0 0 20px;
	color: var(--tch-olive);
	font-family: var(--tch-font-body);
	font-size: var(--tch-fs-accent);
	font-weight: 500;
	line-height: 1.2;
}

.tch-page .woocommerce table.shop_table {
	margin: 0;
	border: 0;
	border-radius: 0;
	border-collapse: collapse;
	color: var(--tch-olive-text);
	font-size: var(--tch-fs-body);
	line-height: 1.5;
}

.tch-page .woocommerce table.shop_table th,
.tch-page .woocommerce table.shop_table td {
	padding: 14px 8px;
	border: 0;
	border-top: 1px solid var(--tch-line);
}

.tch-page .woocommerce table.shop_table thead th {
	border-top: 0;
	color: var(--tch-olive);
	font-weight: 400;
}

.tch-page .woocommerce table.shop_table .product-name a {
	color: var(--tch-accent);
	text-decoration: none;
}

.tch-page .woocommerce table.shop_table .product-name a:hover {
	text-decoration: underline;
}

/* ---------- Cart ---------- */

.tch-page--cart .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	align-items: start;
	gap: 24px;
}

.tch-page--cart .woocommerce > :not(.woocommerce-cart-form):not(.cart-collaterals) {
	grid-column: 1 / -1;
	margin: 0;
}

.tch-page--cart .woocommerce > .woocommerce-notices-wrapper:empty {
	display: none;
}

/* Empty cart: notice, then "Terug naar winkel" (no grid gap between them). */
.tch-page--cart .woocommerce:has(> .wc-empty-cart-message) {
	display: block;
}

.tch-page--cart .return-to-shop {
	margin: 0;
}

.tch-page--cart .cart-collaterals {
	position: sticky;
	top: 180px;
	width: 100%;
}

.tch-page--cart .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
}

.tch-page--cart table.cart img {
	width: 64px;
	border-radius: 8px;
}

.tch-page--cart table.cart td.product-remove {
	width: 32px;
}

.tch-page .woocommerce table.cart a.remove {
	color: var(--tch-green-900) !important;
	font-weight: 400;
}

.tch-page .woocommerce table.cart a.remove:hover {
	background: var(--tch-line);
}

.tch-page--cart table.cart td.actions {
	padding-top: 20px;
	text-align: right;
}

/* The cart updates by itself when a quantity changes (main.js), as on the live
   site; the button stays for visitors without JavaScript. */
.tch-cart-auto .tch-page .woocommerce button[name="update_cart"],
.tch-cart-auto .woocommerce-cart-form tr:has(> td.actions):not(:has(.coupon)) {
	display: none;
}

.tch-page--cart .cart_totals table.shop_table th {
	width: 40%;
	color: var(--tch-olive);
	font-weight: 400;
}

.tch-page--cart .cart_totals table.shop_table tr:first-child th,
.tch-page--cart .cart_totals table.shop_table tr:first-child td {
	border-top: 0;
}

.tch-page--cart .wc-proceed-to-checkout {
	padding: 20px 0 0;
}

/* ---------- Checkout ---------- */

.tch-page--checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	grid-template-rows: auto auto 1fr;
	align-items: start;
	gap: 0 24px;
}

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

.tch-page--checkout #customer_details {
	display: flex;
	grid-row: 1 / span 3;
	flex-direction: column;
	gap: 24px;
}

.tch-page--checkout #customer_details::before,
.tch-page--checkout #customer_details::after {
	content: none;
}

.tch-page--checkout #customer_details > div {
	float: none;
	width: 100%;
}

.tch-page .woocommerce #order_review_heading {
	grid-column: 2;
	margin: 0;
	padding: 24px 32px 0;
	border: 1px solid var(--tch-line);
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
	background: var(--tch-cream);
}

.tch-page--checkout #order_review {
	grid-column: 2;
	padding-top: 4px;
	border-top: 0;
	border-radius: 0 0 12px 12px;
}

.tch-page--checkout .woocommerce-form-coupon-toggle,
.tch-page--checkout .woocommerce-form-login-toggle {
	margin-bottom: 24px;
}

.tch-page .woocommerce #payment {
	margin-top: 20px;
	border-radius: 12px;
	background: var(--tch-mist);
}

.tch-page .woocommerce #payment ul.payment_methods {
	padding: 16px 20px;
	border-bottom: 1px solid var(--tch-line);
	color: var(--tch-olive);
}

.tch-page .woocommerce #payment div.payment_box {
	background: var(--tch-cream);
	color: var(--tch-olive-text);
	font-size: var(--tch-fs-body);
}

.tch-page .woocommerce #payment div.payment_box::before {
	border-bottom-color: var(--tch-cream);
}

.tch-page .woocommerce #payment div.form-row {
	padding: 16px 20px 20px;
}

.tch-page--checkout .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 16px;
	font-size: var(--tch-fs-small);
}

.tch-page--checkout .woocommerce-privacy-policy-text p {
	margin: 0 0 12px;
}

/* Order received ("Bedankt voor je bestelling!"). */
.tch-page--checkout .woocommerce-order {
	display: flex;
	flex-direction: column;
	gap: 24px;
	color: var(--tch-olive-text);
}

.tch-page--checkout .woocommerce-thankyou-order-received {
	margin: 0;
	color: var(--tch-olive);
	font-size: var(--tch-fs-accent);
}

.tch-page .woocommerce ul.woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	margin: 0;
	padding: 24px 32px;
	border: 1px solid var(--tch-line);
	border-radius: 12px;
	background: var(--tch-cream);
	list-style: none;
}

.tch-page .woocommerce ul.woocommerce-order-overview li {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: var(--tch-fs-small);
	text-transform: none;
}

.tch-page--checkout .woocommerce-order-details,
.tch-page--checkout .woocommerce-customer-details {
	margin: 0;
	padding: 24px 32px;
	border: 1px solid var(--tch-line);
	border-radius: 12px;
	background: var(--tch-cream);
}

.tch-page--checkout .woocommerce-customer-details address {
	padding: 0;
	border: 0;
	color: var(--tch-olive-text);
}

/* ---------- My account ---------- */

.tch-page--account .woocommerce {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 24px;
}

.tch-page--account .woocommerce > * {
	flex: 1 1 100%;
}

.tch-page--account .woocommerce .u-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.tch-page--account .woocommerce .u-columns::before,
.tch-page--account .woocommerce .u-columns::after {
	content: none;
}

.tch-page--account .woocommerce .u-columns > div {
	float: none;
	width: 100%;
}

.tch-page .woocommerce form.login,
.tch-page .woocommerce form.register {
	margin: 0;
	border-radius: 12px;
}

.tch-page--account .woocommerce-form-login__rememberme {
	display: block;
	margin-bottom: 12px;
}

.tch-page--account .woocommerce-LostPassword a,
.tch-page--account .woocommerce-MyAccount-content a:not(.button) {
	color: var(--tch-green-700);
}

.tch-page--account .woocommerce-MyAccount-navigation {
	flex: 0 0 260px;
	float: none;
	width: auto;
}

.tch-page--account .woocommerce-MyAccount-content {
	flex: 1 1 0;
	float: none;
	width: auto;
	min-width: 0;
	color: var(--tch-olive-text);
}

.tch-page--account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tch-page--account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 8px 0;
	color: var(--tch-olive);
	font-size: var(--tch-fs-accent);
	text-decoration: none;
}

.tch-page--account .woocommerce-MyAccount-navigation .is-active a,
.tch-page--account .woocommerce-MyAccount-navigation a:hover {
	color: var(--tch-accent);
}

/* ---------- Cart, checkout and account: tablet and phone ---------- */

@media (max-width: 1024px) {
	.tch-page--cart .woocommerce,
	.tch-page--checkout form.checkout {
		grid-template-columns: minmax(0, 1fr);
	}

	.tch-page--cart .cart-collaterals {
		position: static;
	}

	.tch-page--checkout #customer_details,
	.tch-page .woocommerce #order_review_heading,
	.tch-page--checkout #order_review {
		grid-column: 1;
		grid-row: auto;
	}

	.tch-page .woocommerce #order_review_heading {
		margin-top: 24px;
	}
}

@media (max-width: 767px) {
	.tch-page--cart .woocommerce-cart-form,
	.tch-page--cart .cart_totals,
	.tch-page--checkout #customer_details > div,
	.tch-page--checkout #order_review,
	.tch-page .woocommerce #order_review_heading,
	.tch-page--account .woocommerce-form-login,
	.tch-page--account .woocommerce-form-register,
	.tch-page--account .woocommerce-MyAccount-navigation,
	.tch-page--account .woocommerce-MyAccount-content {
		padding-inline: 16px;
	}

	.tch-page--account .woocommerce .u-columns {
		grid-template-columns: minmax(0, 1fr);
	}

	.tch-page--account .woocommerce-MyAccount-navigation {
		flex-basis: 100%;
	}

	.tch-page .woocommerce table.shop_table_responsive tr:nth-child(2n) td {
		background: transparent;
	}

	.woocommerce-message a.button,
	.woocommerce-info a.button {
		display: block;
		float: none;
		margin: 12px 0 0;
	}
}
