/**
 * Van Gool Stoffen — additions on top of theme.json.
 * Keep this small: colours, sizes and spacing belong in theme.json.
 */

/* ---------- Typography helpers ---------- */
.is-style-eyebrow {
	font-size: var(--wp--preset--font-size--x-small) !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase;
	line-height: 1.4 !important;
	color: var(--wp--preset--color--olive-dark);
}
.has-ink-background-color .is-style-eyebrow,
.is-style-card-dark .is-style-eyebrow {
	color: var(--wp--preset--color--olive);
}
.is-style-meta {
	font-size: 0.75rem !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

/* ---------- Buttons ---------- */
.wp-block-button__link {
	min-height: var(--wp--custom--control-height);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--ink);
	border: 1.5px solid currentColor;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--ink);
}
.wp-block-button.is-style-accent > .wp-block-button__link {
	background: var(--wp--preset--color--olive);
	color: var(--wp--preset--color--ink);
}
.wp-block-button.is-style-accent > .wp-block-button__link:hover {
	background: var(--wp--preset--color--white);
}
.wp-block-button.is-style-chip > .wp-block-button__link {
	min-height: 44px;
	padding: 0 1.125rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--stone);
	white-space: nowrap;
}
.wp-block-button.is-style-chip > .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--ink);
}
.wp-block-button.is-style-text-link > .wp-block-button__link {
	min-height: 0;
	padding: 0 0 2px;
	background: none;
	color: var(--wp--preset--color--ink);
	border-radius: 0;
	border-bottom: 1.5px solid currentColor;
	font-size: var(--wp--preset--font-size--small);
}
.wp-block-button.is-style-text-link > .wp-block-button__link:hover {
	color: var(--wp--preset--color--olive-dark);
}

/* ---------- Groups ---------- */
.wp-block-group.is-style-card {
	background: var(--wp--preset--color--white);
	border-radius: var(--wp--custom--radius--large);
}
.wp-block-group.is-style-card-dark {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
	border-radius: var(--wp--custom--radius--large);
}
.is-style-card-dark :where(h1, h2, h3, h4, h5, h6) {
	color: var(--wp--preset--color--paper);
}
.is-style-card-dark a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--paper);
	text-decoration-color: var(--wp--preset--color--muted);
}

/* ---------- Lists ---------- */
.wp-block-list.is-style-plain {
	list-style: none;
	padding-left: 0;
}
.wp-block-list.is-style-dot-list {
	list-style: none;
	padding-left: 0;
}
.wp-block-list.is-style-dot-list li {
	position: relative;
	padding-left: 1.25rem;
	margin-bottom: 0.5rem;
}
.wp-block-list.is-style-dot-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 8px;
	height: 8px;
	border-radius: 4px;
	background: currentColor;
}

/* ---------- Images ---------- */
.wp-block-image.is-style-tile {
	overflow: hidden;
	border-radius: var(--wp--custom--radius--large);
	margin-bottom: 0;
}
.wp-block-image.is-style-tile a {
	display: block;
}
.wp-block-image.is-style-tile img {
	aspect-ratio: 4 / 5;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.6s ease;
}
.vangool-tile:hover .wp-block-image.is-style-tile img,
.wp-block-image.is-style-tile:hover img {
	transform: scale(1.05);
}
.vangool-tile a {
	text-decoration: none;
}

@media (max-width: 781px) {
	.vangool-tiles.wp-block-group {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 1.25rem 0.75rem;
	}
	.vangool-tiles h3 {
		font-size: 1rem !important;
	}
	.vangool-tiles p {
		font-size: 0.8125rem !important;
	}
}

/* ---------- Header ---------- */
.vangool-utility a {
	color: inherit;
	text-decoration: none;
}
.vangool-logo {
	margin: 0;
	line-height: 0;
}
.vangool-logo img {
	border-radius: 0;
}
.vangool-header .wp-block-search {
	flex: 1 1 320px;
	min-width: 0;
}
.vangool-header .wp-block-search__inside-wrapper {
	background: var(--wp--preset--color--white);
	border: 0;
	border-radius: var(--wp--custom--radius--medium);
	padding: 0 6px 0 1.25rem;
	min-height: var(--wp--custom--control-height);
	align-items: center;
}
.vangool-header .wp-block-search__input {
	border: 0;
	background: transparent;
	font-size: 1rem;
	padding: 0;
}
.vangool-header .wp-block-search__input:focus {
	outline: none;
}
.vangool-header .wp-block-search__inside-wrapper:focus-within {
	outline: 2px solid var(--wp--preset--color--ink);
	outline-offset: 2px;
}
.vangool-header .wp-block-search__button {
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 0;
	margin: 0;
	border-radius: var(--wp--custom--radius--small);
}
.vangool-header .wc-block-mini-cart__button {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	border-radius: var(--wp--custom--radius--medium);
	min-height: 44px;
	padding: 0 1rem;
	font-weight: 700;
}
.vangool-header .wc-block-mini-cart__badge {
	background: var(--wp--preset--color--olive);
	color: var(--wp--preset--color--ink);
}
.vangool-nav-row .wp-block-navigation,
.vangool-nav-row .wp-block-navigation__responsive-container-content,
.vangool-nav-row .wp-block-navigation__container {
	width: 100%;
}
@media (min-width: 600px) {
	.vangool-nav-row .vangool-push-right {
		margin-left: auto;
	}
	.vangool-nav-row .vangool-push-right ~ .wp-block-navigation-item,
	.vangool-nav-row .vangool-push-right {
		font-weight: 400;
	}
}
/* Mobile menu button only: WordPress hides it from 600px up, never override display there. */
@media (max-width: 599px) {
	.vangool-nav-row .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
		align-items: center;
		gap: 0.5rem;
		min-height: 48px;
		font-weight: 700;
	}
	.vangool-nav-row .wp-block-navigation__responsive-container-open svg {
		width: 26px;
		height: 26px;
	}
	.vangool-nav-row .wp-block-navigation__responsive-container-open::after {
		content: "Menu";
	}
}
.vangool-nav-row .wp-block-navigation-item__content {
	text-decoration: none;
	padding-block: 1rem;
	border-bottom: 2px solid transparent;
}
.vangool-nav-row .wp-block-navigation-item__content:hover,
.vangool-nav-row .current-menu-item > .wp-block-navigation-item__content {
	border-bottom-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ink);
}
.vangool-nav-row .wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--line) !important;
	border-radius: var(--wp--custom--radius--medium);
	padding: 0.5rem 0;
	min-width: 240px !important;
	font-weight: 400;
}
.vangool-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.5rem 1.25rem;
	border-bottom: 0;
}
.vangool-nav-row .is-sale > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--sale);
}

/* ---------- Footer ---------- */
.has-ink-background-color .wp-block-list.is-style-plain a {
	text-decoration: none;
}
.has-ink-background-color .wp-block-list.is-style-plain a:hover {
	text-decoration: underline;
}
.wp-block-separator.vangool-sep-dark {
	border-color: #45443f;
	color: #45443f;
	margin-top: var(--wp--preset--spacing--60);
	margin-bottom: var(--wp--preset--spacing--40);
	opacity: 1;
}
.wp-block-list.is-style-plain li + li {
	margin-top: 0.5rem;
}

/* ---------- Tablet: keep header on one row ---------- */
@media (min-width: 600px) and (max-width: 1099px) {
	.vangool-header .vangool-logo img,
	.vangool-header .wp-block-site-logo img {
		width: 190px !important;
	}
	.vangool-header > .wp-block-group {
		flex-wrap: nowrap !important;
		gap: 1.25rem !important;
	}
	.vangool-header .wp-block-search {
		flex: 1 1 160px;
	}
	/* The secondary links (shop visit, about, contact) also live in the footer. */
	.vangool-nav-row .vangool-push-right,
	.vangool-nav-row .vangool-push-right ~ .wp-block-navigation-item {
		display: none;
	}
	.vangool-nav-row .wp-block-navigation__container {
		column-gap: 1.5rem !important;
	}
}

/* ---------- USP bar ---------- */
.vangool-usp {
	position: relative;
	margin: 0;
	padding-left: 2.375rem;
	line-height: 1.5;
}
.vangool-usp::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background: var(--wp--preset--color--olive-dark);
	-webkit-mask: var(--vangool-icon) center / contain no-repeat;
	mask: var(--vangool-icon) center / contain no-repeat;
}
.vangool-usp--ruler {
	--vangool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 7h18M3 7v10h18V7M7 7v4M11 7v6M15 7v4M19 7v6'/%3E%3C/svg%3E");
}
.vangool-usp--swatch {
	--vangool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='4' y='4' width='16' height='16' rx='3'/%3E%3Cpath d='M4 12h16'/%3E%3C/svg%3E");
}
.vangool-usp--truck {
	--vangool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='7' cy='18' r='1.8'/%3E%3Ccircle cx='17' cy='18' r='1.8'/%3E%3C/svg%3E");
}
.vangool-usp--store {
	--vangool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M4 10l8-6 8 6v10H4z'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E");
}
.vangool-usp--phone {
	--vangool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a1 1 0 0 1-1 1A16 16 0 0 1 4 5a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */
.vangool-hero-media {
	position: relative;
}
.vangool-hero-media::before {
	content: "";
	position: absolute;
	right: calc(-1 * clamp(1rem, 3vw, 2.5rem));
	bottom: calc(-1 * clamp(1rem, 3vw, 2.5rem));
	width: 62%;
	height: 72%;
	background: var(--wp--preset--color--olive);
	border-radius: var(--wp--custom--radius--large);
}
.vangool-hero-media .wp-block-image {
	position: relative;
	margin: 0;
}
.vangool-stats p {
	margin: 0;
	line-height: 1.3;
}
.vangool-stats strong {
	display: block;
	font-size: 1.5rem;
	font-weight: 900;
	margin-top: 0.375rem;
}
.vangool-stats__label {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

/* ---------- Product cards (product collection) ---------- */
.wc-block-product .wc-block-components-product-image {
	border-radius: var(--wp--custom--radius--medium);
	overflow: hidden;
	background: var(--wp--preset--color--sand);
	margin-bottom: 0.875rem !important;
}
.wc-block-product .wc-block-components-product-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.wc-block-product:hover .wc-block-components-product-image img {
	transform: scale(1.04);
}
.wc-block-product .wp-block-post-title a {
	text-decoration: none;
}
.wc-block-product .wp-block-post-terms {
	line-height: 1.25rem;
	height: 1.25rem;
	margin: 0 0 0.375rem !important;
	overflow: hidden;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.wc-block-product:not(:has(.wp-block-post-terms)) .wp-block-post-title {
	margin-top: 1.625rem !important;
}
.wc-block-product .wp-block-post-terms a {
	color: inherit;
	text-decoration: none;
}
.wc-block-components-product-sale-badge {
	background: var(--wp--preset--color--sale) !important;
	color: var(--wp--preset--color--white) !important;
	border: 0 !important;
	border-radius: var(--wp--custom--radius--small) !important;
	font-size: 0.75rem !important;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.3rem 0.625rem !important;
}
.wc-block-components-product-price ins,
.wp-block-woocommerce-product-price ins {
	color: var(--wp--preset--color--sale);
	text-decoration: none;
}
.wc-block-components-product-price del {
	color: var(--wp--preset--color--muted);
	font-weight: 400;
}

/* ---------- Shop: subcategory chips & filters ---------- */
.vangool-subcats ul {
	list-style: none;
	margin: 0;
	padding: 0 0 4px;
	display: flex;
	gap: 0.625rem;
	overflow-x: auto;
	scrollbar-width: none;
}
.vangool-subcats ul::-webkit-scrollbar {
	display: none;
}
.vangool-subcats li a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 1.125rem;
	border-radius: var(--wp--custom--radius--medium);
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--stone);
	font-size: var(--wp--preset--font-size--small);
	white-space: nowrap;
	text-decoration: none;
}
.vangool-subcats li a:hover {
	border-color: var(--wp--preset--color--ink);
}
.vangool-subcats ul ul {
	display: none;
}
/* Shop filters */
.wc-block-product-filters__overlay-content {
	display: flex;
	flex-direction: column;
	gap: 0 !important;
}
@media (min-width: 782px) {
	.wc-block-product-filters {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 1.5rem);
		max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 3rem);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		padding-right: 0.5rem;
	}
}
/* "Filters" title */
.wc-block-product-filters__overlay-content > h2.wp-block-heading {
	margin: 0 0 0.5rem !important;
	font-size: var(--wp--preset--font-size--large) !important;
	font-weight: 900 !important;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
	color: var(--wp--preset--color--ink);
}
/* Active filters */
.wc-block-product-filters .wp-block-woocommerce-product-filter-active:not(:empty) {
	padding-bottom: 1rem;
}
.wc-block-product-filter-removable-chips__items {
	gap: 0.375rem !important;
}
.wc-block-product-filter-removable-chips__item {
	min-height: 32px;
	padding: 0 0.5rem 0 0.75rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--wp--preset--color--ink) !important;
	color: var(--wp--preset--color--white) !important;
	font-size: 0.8125rem !important;
	font-weight: 700;
}
.wc-block-product-filter-removable-chips__remove {
	color: inherit !important;
}
.wc-block-product-filters .wc-block-product-filter-clear-button {
	margin-top: 0.625rem;
}
.wc-block-product-filters .wc-block-product-filter-clear-button .wp-block-button__link {
	font-size: var(--wp--preset--font-size--small);
}

/* Each filter group: divider + section label */
.wc-block-product-filters :is(
	.wp-block-woocommerce-product-filter-attribute,
	.wp-block-woocommerce-product-filter-taxonomy,
	.wp-block-woocommerce-product-filter-price
) {
	margin: 0 !important;
	padding: 1.25rem 0 !important;
	border-top: 1px solid var(--wp--preset--color--line);
}
.wc-block-product-filters :is(
	.wp-block-woocommerce-product-filter-attribute,
	.wp-block-woocommerce-product-filter-taxonomy,
	.wp-block-woocommerce-product-filter-price
) > h3.wp-block-heading {
	margin: 0 0 0.875rem !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	color: var(--wp--preset--color--muted);
}

/* Checkbox list */
.wc-block-product-filter-checkbox-list__items {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}
.wc-block-product-filter-checkbox-list__label {
	display: flex !important;
	width: 100%;
	gap: 0.75rem !important;
	padding: 0.375rem 0;
	font-size: 0.9375rem;
	line-height: 1.4;
	color: var(--wp--preset--color--body);
	cursor: pointer;
}
.wc-block-product-filter-checkbox-list__label:hover {
	color: var(--wp--preset--color--ink);
}
.wc-block-product-filter-checkbox-list__input-wrapper {
	flex: none;
	width: 20px;
	height: 20px;
}
.wc-block-product-filter-checkbox-list__input-wrapper::before {
	display: none !important;
}
input[type="checkbox"].wc-block-product-filter-checkbox-list__input {
	width: 20px !important;
	height: 20px !important;
	border: 1.5px solid var(--wp--preset--color--stone) !important;
	border-radius: 5px !important;
	background: var(--wp--preset--color--white) !important;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.wc-block-product-filter-checkbox-list__label:hover input[type="checkbox"].wc-block-product-filter-checkbox-list__input {
	border-color: var(--wp--preset--color--ink) !important;
}
input[type="checkbox"].wc-block-product-filter-checkbox-list__input:checked {
	border-color: var(--wp--preset--color--ink) !important;
	background: var(--wp--preset--color--ink) !important;
}
input[type="checkbox"].wc-block-product-filter-checkbox-list__input:focus-visible {
	outline: 2px solid var(--wp--preset--color--olive) !important;
	outline-offset: 2px;
}
svg.wc-block-product-filter-checkbox-list__mark {
	width: 20px !important;
	height: 20px !important;
	padding: 5px !important;
	color: var(--wp--preset--color--white) !important;
}
.wc-block-product-filter-checkbox-list__text-wrapper {
	flex: 1;
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	min-width: 0;
}
.wc-block-product-filter-checkbox-list__text {
	flex: 1;
}
.wc-block-product-filter-checkbox-list__label:has(:checked) .wc-block-product-filter-checkbox-list__text {
	color: var(--wp--preset--color--ink);
	font-weight: 700;
}
/* Count as a quiet number on the right, without the brackets. */
.wc-block-product-filter-checkbox-list__count {
	font-size: 0 !important;
	margin-left: auto;
}
.wc-block-product-filter-checkbox-list__count > span {
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
	color: var(--wp--preset--color--muted);
}
.wc-block-product-filter-checkbox-list__show-more {
	margin-top: 0.5rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Chips (colour) */
.wc-block-product-filter-chips__items {
	gap: 0.5rem !important;
}
.wc-block-product-filter-chips__item {
	min-height: 36px;
	padding: 0 0.875rem !important;
	border: 1px solid var(--wp--preset--color--stone) !important;
	border-radius: 999px !important;
	background: var(--wp--preset--color--white) !important;
	color: var(--wp--preset--color--body) !important;
	font-size: 0.875rem !important;
	line-height: 1;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.wc-block-product-filter-chips__item:hover {
	border-color: var(--wp--preset--color--ink) !important;
	color: var(--wp--preset--color--ink) !important;
}
.wc-block-product-filter-chips__item[aria-checked="true"] {
	border-color: var(--wp--preset--color--ink) !important;
	background: var(--wp--preset--color--ink) !important;
	color: var(--wp--preset--color--white) !important;
	font-weight: 700;
}

/* Price slider */
.wc-block-product-filter-price-slider__content {
	grid-template-columns: 1fr 1fr !important;
	grid-template-areas: "price-slider price-slider" "left-input right-input" !important;
	column-gap: 0.75rem !important;
	row-gap: 0.25rem;
}
.wc-block-product-filter-price-slider__range {
	--range-color: var(--wp--preset--color--ink) !important;
	height: 3px !important;
	margin: 1rem 9px 1.25rem !important;
}
.wc-block-product-filter-price-slider__range::before {
	background: var(--wp--preset--color--stone) !important;
	opacity: 1 !important;
	border-radius: 3px;
}
.wc-block-product-filter-price-slider__range .range-bar {
	height: 3px !important;
}
.wc-block-product-filter-price-slider__range input[type="range"] {
	left: -9px !important;
	width: calc(100% + 18px) !important;
}
.wc-block-product-filter-price-slider__range input[type="range"]::-webkit-slider-thumb {
	width: 18px !important;
	height: 18px !important;
	margin-top: -9px !important;
	border: 2px solid var(--wp--preset--color--ink) !important;
	background: var(--wp--preset--color--white) !important;
	box-shadow: 0 1px 3px rgb(0 0 0 / 0.15);
	box-sizing: border-box !important;
}
.wc-block-product-filter-price-slider__range input[type="range"]::-moz-range-thumb {
	width: 18px !important;
	height: 18px !important;
	border: 2px solid var(--wp--preset--color--ink) !important;
	background: var(--wp--preset--color--white) !important;
	box-sizing: border-box !important;
}
.wc-block-product-filter-price-slider__right {
	text-align: right;
}
.wc-block-product-filter-price-slider .text input[type="text"] {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	height: 40px;
	padding: 0 0.75rem !important;
	border: 1px solid var(--wp--preset--color--stone) !important;
	border-radius: var(--wp--custom--radius--small) !important;
	background: var(--wp--preset--color--white);
	font-size: 0.875rem !important;
	font-family: inherit;
	color: var(--wp--preset--color--ink);
}
.wc-block-product-filter-price-slider__right input[type="text"] {
	text-align: right;
}
.wc-block-product-filter-price-slider .text input[type="text"]:focus {
	border-color: var(--wp--preset--color--ink) !important;
	outline: none;
}

/* Sorting */
.wc-block-catalog-sorting .woocommerce-ordering {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
}
.wc-block-catalog-sorting label {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}
.wc-block-catalog-sorting select.orderby {
	appearance: none;
	height: 40px;
	padding: 0 2.25rem 0 0.875rem;
	border: 1px solid var(--wp--preset--color--stone);
	border-radius: var(--wp--custom--radius--small);
	background: var(--wp--preset--color--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23242424' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.875rem center;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--wp--preset--color--ink);
	cursor: pointer;
}
.wc-block-catalog-sorting select.orderby:hover,
.wc-block-catalog-sorting select.orderby:focus {
	border-color: var(--wp--preset--color--ink);
	outline: none;
}

/* Mobile: "Filter producten" button (WooCommerce hides it above 782px). */
@media (width <= 782px) {
.wc-block-product-filters__open-overlay {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	height: 40px;
	padding: 0 1rem 0 0.75rem !important;
	border: 1px solid var(--wp--preset--color--stone) !important;
	border-radius: var(--wp--custom--radius--small) !important;
	background: var(--wp--preset--color--white) !important;
	font: inherit;
	font-size: 0.875rem !important;
	font-weight: 700;
	color: var(--wp--preset--color--ink) !important;
	white-space: nowrap;
	cursor: pointer;
}
.wc-block-product-filters__open-overlay:hover {
	border-color: var(--wp--preset--color--ink) !important;
}
.wc-block-product-filters__open-overlay svg {
	width: 20px;
	height: 20px;
}
}

/* Mobile: filter button and sorting share one row (columns stack below 782px). */
@media (width < 782px) {
	.wp-block-group:has(> .wc-block-catalog-sorting) {
		position: relative;
		z-index: 2;
		width: max-content;
		margin-top: calc(-40px - var(--wp--preset--spacing--40)) !important;
		margin-left: auto;
	}
	.wc-block-catalog-sorting label {
		position: absolute !important;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}
}

/* ---------- Single product ---------- */
.vangool-product {
	align-items: flex-start !important;
}
@media (min-width: 782px) {
	.vangool-product-media {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 1.5rem);
	}
}
/* Gallery: full column width (WooCommerce's own CSS sets 48%). */
.vangool-product-media .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	position: relative;
}
.vangool-product-media .woocommerce-product-gallery .flex-viewport,
.vangool-product-media .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:only-child {
	border-radius: var(--wp--custom--radius--large);
	overflow: hidden;
	background: var(--wp--preset--color--sand);
}
.vangool-product-media .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}
.vangool-product-media .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 9;
	width: 36px !important;
	height: 36px !important;
	border-radius: 50% !important;
	background: var(--wp--preset--color--white) !important;
	box-shadow: 0 1px 4px rgb(0 0 0 / 0.12);
}
/* The WooCommerce gallery block wrapper caps itself at 512px. */
.vangool-product-media .wp-block-woocommerce-product-image-gallery {
	max-width: none !important;
	width: 100% !important;
}
.vangool-product-media .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0.75rem 0 0 !important;
	padding: 0 !important;
	list-style: none;
}
.vangool-product-media .flex-control-thumbs li {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}
.vangool-product-media .flex-control-thumbs img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--medium);
	border: 2px solid transparent;
	opacity: 0.7;
	transition: opacity 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
}
.vangool-product-media .flex-control-thumbs img:hover,
.vangool-product-media .flex-control-thumbs img.flex-active {
	opacity: 1;
	border-color: var(--wp--preset--color--ink);
}

/* Summary column */
.vangool-product-summary .wp-block-post-title {
	margin-top: 0;
}
.vangool-product-summary .wp-block-post-terms.is-style-eyebrow a {
	color: inherit;
	text-decoration: none;
}
.vangool-product-summary .wp-block-woocommerce-product-price {
	margin-top: var(--wp--preset--spacing--30);
}
.vangool-product-summary .stock {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	color: var(--wp--preset--color--in-stock);
}
.vangool-product-summary .stock::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}
.vangool-product-summary .stock.out-of-stock {
	color: var(--wp--preset--color--sale);
}
.vangool-product-summary form.cart {
	margin-bottom: 0 !important;
}
.vangool-product-summary form.cart .single_add_to_cart_button {
	float: none !important;
	min-height: 56px;
	border-radius: var(--wp--custom--radius--medium) !important;
	font-size: var(--wp--preset--font-size--medium) !important;
	font-weight: 700 !important;
}
/* Fabric (length picker): WooCommerce block CSS makes form.cart a grid;
   stack the picker and a full-width button instead. */
.vangool-product-summary form.cart:has(.vg-length) {
	display: block !important;
}
.vangool-product-summary form.cart:has(.vg-length) .quantity {
	display: none !important;
}
.vangool-product-summary form.cart:has(.vg-length) .single_add_to_cart_button {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
}
/* Other products: quantity + button side by side. */
.vangool-product-summary form.cart:not(:has(.vg-length)) {
	display: flex !important;
	gap: 0.75rem;
	align-items: stretch;
}
.vangool-product-summary form.cart:not(:has(.vg-length)) .quantity {
	float: none !important;
	margin: 0 !important;
}
.vangool-product-summary form.cart:not(:has(.vg-length)) .quantity .qty {
	width: 5.5rem;
	height: 56px;
	border: 1.5px solid var(--wp--preset--color--ink);
	border-radius: var(--wp--custom--radius--medium);
	font-size: 1.125rem;
	font-weight: 700;
	text-align: center;
	background: var(--wp--preset--color--white);
}
.vangool-product-summary form.cart:not(:has(.vg-length)) .single_add_to_cart_button {
	flex: 1;
	margin: 0 !important;
}
.vangool-product-summary .wp-block-list.is-style-dot-list {
	margin-top: var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--body);
}
.vangool-product-summary .wp-block-list.is-style-dot-list li::before {
	width: 6px;
	height: 6px;
	top: 0.75em;
	background: var(--wp--preset--color--olive-dark);
}

/* Description and specifications, side by side */
.vangool-product-details .vangool-detail-heading,
.vangool-product-details .vg-specs__title {
	margin: 0 0 var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 900;
	letter-spacing: -0.01em;
	text-transform: none;
}
.vangool-product-description .wp-block-post-content {
	color: var(--wp--preset--color--body);
	max-width: 62ch;
}
.vangool-product-description .wp-block-post-content > :first-child {
	margin-top: 0;
}
.vangool-product-spec-column .wp-block-woocommerce-product-meta {
	margin-top: var(--wp--preset--spacing--30);
}

/* ---------- Homepage: sections sit flush, they carry their own spacing ---------- */
.vangool-home > * + * {
	margin-block-start: 0;
}

/* ---------- Layout safety ---------- */
.wp-site-blocks {
	overflow-x: clip;
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}
