/* ==========================================================================
   Wesseling - Product pagina stijlen
   ========================================================================== */

:root {
	--color-red: #ee1c24;
	--color-dark-red: #d61920;
	--color-dark-grey: #131e29;
	--color-grey: #686868;
	--color-light-grey: #f1f1f1;
	--color-white: #ffffff;
	--color-border: #bdbdbd;
	--font-heading: 'PT Sans', sans-serif;
	--font-body: 'Source Sans Pro', sans-serif;
	--max-width: 75rem;
}

/* ==========================================================================
   Pagina titel banner (rood, schuine onderkant)
   ========================================================================== */

.page-title-banner {
	position: relative;
	width: 100%;
	background-color: var(--color-red);
	padding: 2.5rem 1rem 3.5rem;
	text-align: center;
	overflow: visible;
	z-index: 0;
}

/* Schuine onderkant — zelfde stijl als de header */
.page-title-banner::after {
	content: '';
	position: absolute;
	bottom: -1.5rem;
	left: 0;
	right: 0;
	height: 3rem;
	background-color: var(--color-red);
	transform: skewY(-1.5deg);
	transform-origin: bottom left;
	z-index: -1;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.page-title-banner-text {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(1.75rem, 4vw, 3rem);
	color: var(--color-white);
	text-transform: uppercase;
	text-align: center;
	margin: 0;
	letter-spacing: 0.02em;
}

/* Heading reset — geen rode kleur, geen streepje eronder */
.page-title-banner-text::after {
	display: none;
}

/* ==========================================================================
   Broodkruimels
   ========================================================================== */

.product-breadcrumbs {
	width: 100%;
	max-width: var(--max-width);
	margin: 1.75rem auto 0;
	padding: 0 1rem;
	font-size: 0.9rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
}

.product-breadcrumbs a {
	color: var(--color-red);
	text-decoration: none;
}

.product-breadcrumbs a:hover {
	color: var(--color-dark-red);
	text-decoration: underline;
}

.breadcrumb-sep {
	color: var(--color-grey);
	margin: 0 0.1rem;
}

.breadcrumb-current {
	color: var(--color-grey);
}

/* Yoast breadcrumb override (als Yoast actief is) */
.product-breadcrumbs .breadcrumb_last {
	color: var(--color-grey);
}

/* ==========================================================================
   Globale wrapper
   ========================================================================== */

.product-page-wrapper,
.product-archive-wrapper {
	width: 100%;
}

.product-container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 2rem 1rem 0.5rem;
}

.product-sticky-title-bar {
	position: fixed;
	top: var(--product-sticky-title-offset, 0);
	left: 0;
	width: 100%;
	background: var(--color-red);
	color: var(--color-white);
	z-index: 10;
	transform: translateY(calc(-100% - 1px));
	opacity: 0;
	visibility: hidden;
	transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.2s ease;
	pointer-events: none;
}

.product-sticky-title-bar.is-visible {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.product-sticky-title-bar__inner {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 1.5rem 1rem;
}

.product-sticky-title-bar__title {
	display: block;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ==========================================================================
   Content rijen (voor archief / taxonomie)
   ========================================================================== */

.content-row {
	width: 100%;
}

.content-row-in {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 3rem 1rem;
}

.content-row-in article {
	max-width: 50rem;
	margin: 0 auto;
}

.content-row-in article p {
	margin-bottom: 1rem;
}

.content-row-in article ul,
.content-row-in article ol {
	list-style: disc;
	margin-left: 1.25rem;
	margin-bottom: 1rem;
}

.content-row.odd {
	position: relative;
	background-color: var(--color-light-grey);
	z-index: 1;
}

.content-row.odd::before,
.content-row.odd::after {
	background: inherit;
	content: '';
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	right: 0;
	z-index: -1;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.content-row.odd::before {
	top: 0;
	transform: skewY(1deg);
	transform-origin: 100% 0;
}

.content-row.odd::after {
	bottom: 0;
	transform: skewY(-1deg);
	transform-origin: 100%;
}

/* ==========================================================================
   Product detail - boven (gallery + info)
   ========================================================================== */

.product-top {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin-bottom: 1rem;
}

@media (min-width: 1024px) {
	.product-top {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

/* Producttitel — override theme h1 zodat hij niet te groot is */
.product-page-wrapper h1.product-title {
	font-size: clamp(1.375rem, 2.5vw, 2rem) !important;
	text-align: left !important;
	margin-bottom: 0.25rem !important;
}

.product-page-wrapper h1.product-title::after {
	display: block !important;
	background-color: var(--color-red) !important;
	width: 3rem !important;
	height: 3px !important;
	margin: 0.5rem 0 0 !important;
	content: '';
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.product-gallery {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.gallery-main-wrap {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--color-white);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gallery-main-img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	cursor: zoom-in;
}

.gallery-main-youtube {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.gallery-main-youtube iframe {
	width: 100%;
	height: 100%;
	border: none;
}

/* Thumbnails */
.gallery-thumbs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.5rem;
	padding: 0.5rem;
	background: var(--color-white);
}

.gallery-thumb {
	position: relative;
	aspect-ratio: 1;
	cursor: pointer;
	border: 2px solid transparent;
	overflow: hidden;
	background: var(--color-white);
	transition: border-color 0.15s;
}

.gallery-thumb.active,
.gallery-thumb:hover {
	border-color: var(--color-light-grey);
}

.gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.thumb-youtube-wrap {
	position: relative;
	width: 100%;
	height: 100%;
}

.thumb-youtube-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.thumb-play-icon {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-red);
	background: rgba(255, 255, 255, 0.5);
}

.thumb-play-icon svg {
	width: 2rem;
	height: 2rem;
}

/* ==========================================================================
   Lightbox / dialog
   ========================================================================== */

.gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	width: min(90vw, 42rem);
	max-width: 100%;
	background: var(--color-white);
	padding: 2rem;
	border: none;
	border-radius: 0.5rem;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	margin: auto;
}

.gallery-lightbox::backdrop {
	background: rgba(0, 0, 0, 0.7);
}

.lightbox-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.25rem;
	color: var(--color-grey);
	padding: 0.25rem;
	line-height: 1;
}

.lightbox-close:hover {
	color: var(--color-dark-grey);
}

.lightbox-content {
	aspect-ratio: 1;
}

.lightbox-content img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* ==========================================================================
   Product informatie
   ========================================================================== */

.product-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}

.product-title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.75rem;
	line-height: 1.2;
	color: #616365;
	text-transform: uppercase;
	text-align: left;
	margin: 0;
	color: var(--color-red);
}

.product-title::after {
	display: none;
}

.product-excerpt p,
.product-excerpt-text p,
.product-excerpt-text {
	color: var(--color-grey);
	margin-bottom: 0.5rem;
}

.product-excerpt-text > *:last-child {
	margin-bottom: 0;
}

.read-more-link {
	color: var(--color-red);
	text-decoration: none;
	font-size: 0.9rem;
}

.read-more-link:hover {
	color: var(--color-dark-red);
	text-decoration: underline;
}

/* USP's */
.product-usps {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.product-usps li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: #555;
	line-height: 1.4;
}

.product-usps li::before {
	content: '';
	display: inline-block;
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	margin-top: 0.1em;
	background-color: #008001;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
}

/* Links */
.product-links {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0.5rem 0;
}

.product-link-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.product-link-icon {
	color: var(--color-red);
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.product-link-row a,
.product-link-row .tab-jump-link {
	color: var(--color-dark-grey);
	text-decoration: none;
	font-size: 0.95rem;
	cursor: pointer;
}

.product-link-row a:hover,
.product-link-row .tab-jump-link:hover {
	color: var(--color-red);
}

/* Variaties */
.product-variations {
	width: 100%;
	max-width: 22rem;
}

/* Form control (select, input) */
.form-control {
	display: block;
	width: 100%;
	height: 2.25rem;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	line-height: 1.43;
	color: var(--color-dark-grey);
	background-color: var(--color-white);
	background-image: none;
	border: 1px solid var(--color-border);
	border-radius: 15px;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23686868' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	padding-right: 2.25rem;
}

.form-control:focus {
	border-color: var(--color-red);
	outline: none;
	box-shadow: 0 0 0 2px rgba(238, 28, 36, 0.15);
}

/* Variaties (variable product) */
.product-variations {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.product-variation-row {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.product-variation-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-dark-grey);
}

.product-variation-select {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--color-border);
	background-color: var(--color-white);
	font-size: 0.9375rem;
	color: var(--color-dark-grey);
	cursor: pointer;
	appearance: auto;
}

.product-variation-select:focus {
	outline: 2px solid var(--color-red);
	outline-offset: 1px;
	border-color: var(--color-red);
}

/* Offerte button */
.product-quote-btn {
	display: inline-block;
	padding: 0.625rem 1.5rem;
	background-color: var(--color-red);
	color: var(--color-white);
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s;
}

.product-quote-btn:hover {
	background-color: var(--color-dark-red);
	color: var(--color-white);
}

/* ==========================================================================
   Product tabs
   ========================================================================== */

.product-tabs-section {
	position: relative;
	width: 100%;
	margin-top: 3rem;
	margin-bottom: 3rem;
	scroll-margin-top: 6rem;
	background-color: var(--color-light-grey);
	padding-top: 3rem;
	padding-bottom: 3rem;
	z-index: 1;
}

/* Schuine boven- en onderkant */
.product-tabs-section::before,
.product-tabs-section::after {
	background: inherit;
	content: '';
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	right: 0;
	z-index: -1;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.product-tabs-section::before {
	top: 0;
	transform: skewY(1deg);
	transform-origin: 100% 0;
}

.product-tabs-section::after {
	bottom: 0;
	transform: skewY(-1deg);
	transform-origin: 100%;
}

/* Tab-navigatie balk: volledig brede witte balk */
.product-tabs-nav-wrap {
	width: 100%;
}

.product-tabs-nav-inner {
	display: flex;
	flex-wrap: wrap;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1rem;
}

.tab-link {
	display: inline-block;
	padding: 1rem 1.25rem;
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--color-red);
	text-decoration: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
	transition: color 0.15s, border-color 0.15s;
	white-space: nowrap;
}

.tab-link:hover,
.tab-link.active {
	background: white;
}

/* Tab inhoud: gecentreerd, max-breedte */
.product-tabs-content {
	width: 100%;
}

.product-tabs-content-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1rem;
}

.tab-panel {
	display: none;
	background: var(--color-white);
	padding: 1.5rem 2rem;
}

.tab-panel.active {
	display: block;
}

/* Beoordelingen tab */
.product-reviews .no-reviews {
	color: var(--color-grey);
	font-style: italic;
}

.product-reviews ol.commentlist {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.product-reviews .comment {
	padding: 1rem 0;
	border-bottom: 1px solid var(--color-light-grey);
}

.product-reviews .comment-author {
	font-weight: 700;
	color: var(--color-dark-grey);
}

.product-reviews .comment-content p {
	margin-top: 0.5rem;
	margin-bottom: 0;
}

.product-reviews .comment-form label {
	display: block;
	margin-bottom: 0.25rem;
	font-weight: 600;
}

.product-reviews .comment-form textarea,
.product-reviews .comment-form input[type="text"],
.product-reviews .comment-form input[type="email"] {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	font-size: 1rem;
	margin-bottom: 1rem;
}

.product-reviews .comment-form input[type="submit"] {
	background: var(--color-red);
	color: var(--color-white);
	border: none;
	padding: 0.6rem 1.5rem;
	border-radius: 6px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	font-family: var(--font-heading);
}

.product-reviews .comment-form input[type="submit"]:hover {
	background: var(--color-dark-red);
}

/* Tab: Omschrijving */
.tab-description p {
	margin-bottom: 1rem;
}

.tab-description ul,
.tab-description ol {
	list-style: disc;
	margin-left: 1.25rem;
	margin-bottom: 1rem;
}

/* Tab: Specificaties */
.product-specifications {
	width: 100%;
	overflow-x: auto;
}

.product-specifications table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: fixed;
}

.product-specifications table,
.product-specifications td,
.product-specifications th {
	border: none !important;
	outline: none;
	background: none !important;
}

.product-specifications p {
	margin: 0;
}

.product-specifications tbody tr:nth-child(odd) {
	background-color: var(--color-white);
}

.product-specifications tbody tr:nth-child(even) {
	background-color: var(--color-light-grey);
}

.product-specifications td,
.product-specifications th {
	padding: 0.5rem;
	text-align: left;
	font-size: 0.9375rem;
	vertical-align: middle;
}

/* Linkerkolom (label): altijd vet */
.product-specifications td:first-child,
.product-specifications th:first-child {
	width: 50%;
}

/* Screenreader-only (verbergt checkboxes/radios visueel maar houdt ze toegankelijk) */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Accordion panels (model / kleur kiezer) */
.product-accordion {
	display: flex;
	flex-direction: column;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	overflow: hidden;
	margin-top: 0.75rem;
}

.accordion-panel + .accordion-panel {
	border-top: 1px solid #e0e0e0;
}

.accordion-trigger, .accordion-trigger:focus {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.75rem 1rem;
	background: #fafafa;
	border: none;
	cursor: pointer;
	text-align: left;
	font-size: 0.9rem;
	font-weight: 600;
	color: #222;
	transition: background 0.15s;
}

.accordion-trigger:hover {
	background: #f0f0f0;
	color: #222;
}

.accordion-trigger[aria-expanded="true"] {
	background: #fff;
	border-bottom: 1px solid #e0e0e0;
}

.accordion-trigger-label {
	flex: 1;
}

.accordion-trigger-value {
	font-weight: 400;
	font-size: 0.8rem;
	color: #888;
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.accordion-chevron {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	color: #222;
	transition: transform 0.2s ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-chevron {
	transform: rotate(180deg);
}

.accordion-body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.25s ease;
	background: #fff;
}

.accordion-body.open {
	grid-template-rows: 1fr;
}

.accordion-body-inner {
	overflow: hidden;
	padding: 0 1rem;
}

.accordion-body.open .accordion-body-inner {
	padding: 0.875rem 1rem;
}

/* Accordion optielijst */
.accordion-options-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.accordion-option-label {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	cursor: pointer;
	font-size: 0.875rem;
	color: #333;
}

.accordion-option-label input[type="checkbox"] {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	accent-color: #c00;
	cursor: pointer;
}

.accordion-option-name {
	line-height: 1.3;
}

/* Kleuren — radio buttons als visuele swatches */
.product-colors {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	align-items: flex-start;
}

.color-swatch-label {
	display: block;
	cursor: pointer;
}

.color-swatch {
	display: block;
	width: 2.5rem;
	height: 2.5rem;
	border: 3px solid transparent;
	outline: 2px solid rgba(0, 0, 0, 0.12);
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: outline-color 0.15s, border-color 0.15s;
	flex-shrink: 0;
}

.color-swatch img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.color-swatch-label:hover .color-swatch,
.color-radio:checked + .color-swatch {
	outline-color: var(--color-red);
	border-color: var(--color-white);
}

.color-swatch-name {
	display: none;
}

/* Tab: Opties — checkboxes als selecteerbare kaarten */
/* Tab: Opties — cross-sell kaarten */
.product-options-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

@media (min-width: 640px) {
	.product-options-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.product-options-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.product-option-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 1px solid var(--color-border);
	background: var(--color-white);
	transition: border-color 0.15s;
}

.product-option-card:has(.option-checkbox:checked) {
	border-color: var(--color-red);
}

.option-image {
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	padding: 0.5rem;
}

.option-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.option-name {
	font-size: 0.8125rem;
	color: var(--color-red);
	text-align: center;
	font-weight: 600;
	padding: 0.5rem 0.5rem 0.25rem;
	line-height: 1.3;
}

.option-checkbox-label {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem 0;
	cursor: pointer;
}

.option-checkbox {
	width: 1.1rem;
	height: 1.1rem;
	cursor: pointer;
	accent-color: var(--color-red);
}

.option-info-btn {
	width: 100%;
	padding: 0.5rem;
	background: none;
	border: none;
	border-top: 1px solid var(--color-light-grey);
	font-size: 0.8125rem;
	color: var(--color-grey);
	cursor: pointer;
	text-align: center;
	margin-top: auto;
	border-radius: 6px;
}

.option-info-btn:hover, .option-info-btn:focus {
	color: var(--color-red);
	background: transparent !important;
	border-radius: 0;
}

/* Popup dialog voor optie-info */
.option-info-dialog {
	border: none;
	border-radius: 0.25rem;
	padding: 2rem;
	max-width: 36rem;
	width: 90vw;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 8px 32px rgba(0,0,0,0.18);
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	text-align: center;
}

.option-info-dialog::backdrop {
	background: rgba(0, 0, 0, 0.55);
}

.option-info-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: none;
	border: none;
	font-size: 1.25rem;
	cursor: pointer;
	color: var(--color-grey);
	line-height: 1;
}

.option-info-close:hover, .option-info-close:focus {
	background: transparent;
	color: black;
}

.option-info-title {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-red);
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

.option-info-title::after {
	content: '';
	display: block;
	width: 2.5rem;
	height: 3px;
	background: var(--color-red);
	margin: 0.5rem auto 0;
}

.option-info-img-wrap {
	margin: 1.25rem 0;
}

.option-info-img {
	max-width: 100%;
	max-height: 18rem;
	object-fit: contain;
}

.option-info-desc {
	font-size: 0.9375rem;
	color: var(--color-dark-grey);
	line-height: 1.6;
	text-align: center;
	margin-bottom: 1.5rem;
}

.option-info-ok {
	display: inline-block;
	padding: 0.625rem 2rem;
	background: var(--color-red);
	color: var(--color-white);
	border: none;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	border-radius: 0.125rem;
}

.option-info-ok:hover {
	background: var(--color-dark-red);
}

/* Tab: Handleidingen */
.product-manuals {
	width: 100%;
}

.product-manuals-table th,
.product-manuals-table td {
	border: none;
	padding: 0.5rem 1rem 0.5rem 0;
	text-align: left;
	font-size: 0.9375rem;
	vertical-align: middle;
	background: white;
}

.product-manuals-table thead th {
	font-weight: 700;
	padding-bottom: 0.25rem;
	color: var(--color-dark-grey);
}

.product-manuals-table tbody tr + tr td {
	border-top: none;
}

.product-manuals-table td:first-child {
	width: 60%;
}

.product-manuals-table td:nth-child(2) {
	width: 15%;
	color: var(--color-grey);
}

.manual-download-link {
	color: var(--color-red);
	text-decoration: none;
	font-size: 0.9375rem;
}

.manual-download-link:hover {
	text-decoration: underline;
}

/* Tab: Galerij */
.product-gallery-tab-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

@media (min-width: 1024px) {
	.product-gallery-tab-grid {
		grid-template-columns: repeat(5, 1fr);
	}
}

.gallery-tab-item {
	aspect-ratio: 1;
	cursor: pointer;
	overflow: hidden;
}

.gallery-tab-item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: transform 0.2s;
}

.gallery-tab-item:hover img {
	transform: scale(1.03);
}

/* Tab: Handleidingen */
.product-manuals-table {
	width: 100%;
	border: none;
}

.product-manuals-table th,
.product-manuals-table td {
	padding: 0.625rem 0.75rem;
	text-align: left;
	border-bottom: 1px solid var(--color-light-grey);
	font-size: 0.95rem;
	background: white !important;
}

.product-manuals-table th {
	font-weight: 700;
	font-family: var(--font-heading);
	color: var(--color-dark-grey);
}

.product-manuals-table tbody tr:hover {
	background: #f9f9f9;
}

.manual-language {
	width: 6rem;
	font-weight: 600;
	color: var(--color-grey);
}

.manual-download-link {
	color: var(--color-red);
	text-decoration: none;
	font-weight: 600;
}

.manual-download-link:hover {
	color: var(--color-dark-red);
	text-decoration: underline;
}

/* ==========================================================================
   Categorie overzicht (grid van categorieën)
   ========================================================================== */

.category-overview {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	padding: 0 1rem;
}

@media (min-width: 640px) {
	.category-overview {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.category-overview {
		grid-template-columns: repeat(3, 1fr);
		padding: 0;
	}
}

.category-card {
	display: flex;
	flex-direction: column;
	position: relative;
	background: var(--color-white);
	padding: 1.25rem;
	text-decoration: none;
	transition: box-shadow 0.2s;
}

.category-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.category-card-image {
	aspect-ratio: 1;
	max-height: 220px;
	overflow: hidden;
	margin-bottom: 1rem;
}

.category-card-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.category-card-content {
	text-align: left;
	display: flex;
	flex-direction: column;
	flex: 1;
	align-items: flex-start;
	gap: 20px;
}

.category-card-title {
	flex: 1;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.125rem;
	color: #616365;
	text-transform: uppercase;
}

.category-card-more {
	display: inline-block;
	padding: 0.625rem 1.5rem;
	background-color: var(--color-red);
	color: var(--color-white);
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s;
}

.category-card-more svg {
	vertical-align: middle;
}

.category-card:hover .category-card-more {
	color: #fff;
	background: var(--color-dark-red);
}

/* ==========================================================================
   Producten grid met filters
   ========================================================================== */

.products-with-filters {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 1024px) {
	.products-with-filters {
		grid-template-columns: 16rem 1fr;
		align-items: start;
	}
}

/* Filters sidebar */
.filters-sidebar {
	background: var(--color-white);
	display: flex;
	flex-direction: column;
}

.filters-header {
	padding: 1rem 1rem 0.75rem;
}

.filters-title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.375rem;
	color: var(--color-red);
}

.filters-list {
	display: flex;
	flex-direction: column;
}

.filter-group {
	width: 100%;
	padding: 0.875rem 1rem;
	border-top: 1px solid var(--color-light-grey);
}

.filter-group-title {
	display: inline-block;
	width: 100%;
	margin-bottom: 0.5rem;
	font-weight: 400;
	font-size: 1rem;
	color: var(--color-dark-grey);
}

/* Checkbox filter groep */
.filter-checkboxes {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.filter-checkbox-label {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 1rem;
	color: var(--color-dark-grey);
	cursor: pointer;
	user-select: none;
}

.filter-checkbox-label input[type="checkbox"] {
	width: 1.1rem;
	height: 1.1rem;
	border: 1px solid var(--color-border);
	border-radius: 3px;
	cursor: pointer;
	accent-color: var(--color-red);
	flex-shrink: 0;
}

/* Producten grid */
.products-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 480px) {
	.products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.products-grid--full {
	grid-column: 1 / -1;
}

.product-card {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.875rem;
	background: var(--color-white);
	text-decoration: none;
	transition: opacity 0.2s, box-shadow 0.2s;
}

.product-card.hidden {
	display: none;
}

.product-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.product-card-image {
	aspect-ratio: 1;
	max-height: 220px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-card-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.product-card-title {
	display: inline-block;
	font-family: var(--font-heading);
	font-weight: 700;
	color: #616365;
	font-size: 1.125rem;
	line-height: 1.25;
	max-height: 3.5rem;
	overflow: hidden;
	text-transform: uppercase;
	margin-bottom: 15px;
}

.product-card-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	color: #fff;
	background: var(--color-red);
	padding: 0.75rem 1rem;
	border-radius: 6px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 0.875rem;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	align-self: flex-start;
	transition: background 0.2s, color 0.2s;
	margin-top: auto;
}

.product-card-more svg {
	vertical-align: middle;
}

.product-card-more:hover {
	color: #fff;
	background: var(--color-dark-red);
}

.no-products {
	grid-column: 1 / -1;
	color: var(--color-grey);
	font-style: italic;
}

/* ==========================================================================
   Product quotation samenvatting (shortcode op offerte pagina)
   ========================================================================== */

.product-quotation-summary {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background-color: var(--color-light-grey);
	padding: 1rem;
	max-width: 16rem;
}

@media (min-width: 768px) {
	.product-quotation-summary {
		position: sticky;
		top: 8rem;
	}
}

.quotation-image {
	aspect-ratio: 1;
	background: var(--color-white);
	overflow: hidden;
}

.quotation-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.quotation-details {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.quotation-product-title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--color-red);
	text-transform: uppercase;
	text-align: left;
	margin: 0;
}

.quotation-product-title::after {
	display: none;
}

.quotation-row {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	font-size: 0.9rem;
}

.quotation-row strong {
	color: var(--color-dark-grey);
	font-weight: 700;
}

.quotation-row span {
	color: var(--color-grey);
}

.quotation-row--options {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
}

.quotation-options-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.quotation-option-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	color: var(--color-dark-grey);
}

.quotation-option-item::before {
	display: none !important;
}

.quotation-option-item img {
	width: 2rem;
	height: 2rem;
	object-fit: contain;
	border: 1px solid var(--color-light-grey);
	flex-shrink: 0;
}

.quotation-option-item span {
	line-height: 1.3;
}

.quotation-back {
	margin-top: 0.5rem;
}

.quotation-back-link {
	color: var(--color-red);
	text-decoration: none;
	font-size: 0.875rem;
}

.quotation-back-link:hover {
	color: var(--color-dark-red);
	text-decoration: underline;
}

/* ==========================================================================
   Scrollbar verbergen
   ========================================================================== */

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ---------------------------------------------------------
   Product archief: breadcrumbs → titel → beschrijving
   --------------------------------------------------------- */
.archive-intro {
	padding: 24px 16px 32px;
}

.archive-intro-media {
	position: relative;
	isolation: isolate;
	margin-bottom: 1.25rem;
}

.archive-intro-media::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../images/icon-wesseling.svg") center/contain no-repeat;
	opacity: 0.5;
	z-index: -1;
	pointer-events: none;
}

.archive-intro-media img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.archive-intro-content {
	min-width: 0;
}

.archive-intro .term-description {
	max-width: 100%;
}

.archive-intro .product-breadcrumbs {
	padding: 0;
}

@media (min-width: 768px) {
	.archive-intro {
		padding: 40px 40px 80px 40px;
	}

	.archive-intro--with-image {
		display: grid;
		grid-template-columns: 30% 70%;
		gap: 2.5rem;
		align-items: center;
	}
	.archive-intro .archive-intro-content .archive-title {
		font-size: 40px !important;
	}
}

.archive-intro .archive-intro-content .archive-title {
	color: var(--color-red);
	text-transform: uppercase;
	margin: 0.5rem 0 1rem;
	line-height: 1.2;
	font-size: 32px;
}

.term-description {
	font-size: 1rem;
	color: #444;
	line-height: 1.7;
	max-width: 860px;
}

@media (min-width: 768px) {
	.category-card {
		padding: 2rem;
	}

	.category-card-image {
		max-height: 250px;
	}

	.category-card-title {
		font-size: 1.375rem;
	}

	.products-with-filters {
		gap: 2rem;
	}

	.filters-header {
		padding: 1.25rem 1.5rem 1rem;
	}

	.filters-title {
		font-size: 1.75rem;
	}

	.filter-group {
		padding: 0.875rem 1.5rem;
	}

	.products-grid {
		gap: 2rem;
	}

	.product-card {
		padding: 1rem;
	}

	.product-card-image {
		max-height: 250px;
	}

	.product-card-title {
		font-size: 1.375rem;
	}

	.archive-intro-media {
		margin-bottom: 0;
	}

	.archive-intro-media img {
		max-width: none;
	}
}
