/* ==========================================================================
   Productpagina (PDP) — blokken aj/pdp-hero, aj/pdp-accordions, aj/pdp-related.
   1-op-1 met Elementor Pro-sjabloon "Product details page" (#1866813 NL, #1868044 EN, #1876153 DE, #1876157 FR; zelfde CSS),
   inclusief de custom CSS van de widgets en de kaart (loop-item #1866716) met de snippetregels die daar op de oude site golden
   (#43 punt 6/10, #57 U-09/U-20/U-23). Elementor-breakpoints: mobiel ≤767, tablet ≤1024, laptop ≤1440, desktop >1440.
   Waarden staan erbij met het Elementor-element-ID waar ze vandaan komen.
   ========================================================================== */

.aj-main--single-product {
	--aj-pdp-blue: var(--e-global-color-primary, #4077E3);
}

/* ---------- Bovenste sectie (4a59cc8b: rand boven/onder, marge 50, padding 0 4%) ---------- */
.aj-pdp-hero {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 50px 0 0;
	padding: 0 4%;
	border: 0 solid var(--aj-pdp-blue);
	border-width: 1px 0;
	box-sizing: border-box;
}
/* 319574e5: grid 2 kolommen, gap 20, max 2000 */
.aj-pdp-hero__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(1, 1fr);
	gap: 20px;
	width: 100%;
	max-width: 2000px;
	margin: 0 auto;
}
.aj-pdp-hero__media,
.aj-pdp-hero__summary {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}
/* 26a7c61b */
.aj-pdp-hero__media {
	padding: 30px 40px 30px 0;
}
/* 236994d: scheidslijn links, padding 40 */
.aj-pdp-hero__summary {
	padding: 40px;
	border-left: 1px solid var(--aj-pdp-blue);
}

/* ---------- Galerij (52bc5b68 + custom CSS; WooCommerce FlexSlider/zoom/lightbox) ---------- */
.aj-pdp-gallery {
	position: relative;
	min-width: 0;
}
body.woocommerce .aj-pdp-hero .aj-pdp-gallery div.images {
	float: none;
	width: 100%;
	padding: 0;
}
.aj-pdp-gallery .woocommerce-product-gallery {
	border: none !important;
	box-shadow: none !important;
}
.aj-pdp-gallery .woocommerce-product-gallery__image {
	pointer-events: none !important;
	cursor: default !important;
	border: none !important;
}
.aj-pdp-gallery .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper,
.aj-pdp-gallery .flex-viewport,
.aj-pdp-gallery .flex-control-thumbs img {
	border-style: none;
}
.aj-pdp-gallery .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper {
	overflow: hidden;
}
.aj-pdp-gallery .flex-viewport:not(:last-child) {
	margin-bottom: 10px;
}
.woocommerce div.product.aj-pdp-hero div.images .flex-control-thumbs li {
	width: 15%;
	float: left;
	margin: 0;
	list-style: none;
}
@media (min-width: 1281px) {
	.aj-pdp-gallery .flex-viewport img {
		width: 100%;
		height: auto !important;
		max-height: 680px;
		object-fit: contain !important;
	}
}
.pswp__item {
	background: #fff !important;
}
button.pswp__button--arrow--left,
button.pswp__button--arrow--left:hover,
button.pswp__button--arrow--right,
button.pswp__button--arrow--right:hover {
	background: #4077E3 !important;
	padding: 0 !important;
}

/* ---------- Samenvatting ---------- */
/* 6033ebf6 */
.aj-pdp-summary {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
}
/* 66a9d301 */
.aj-pdp-summary__title {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
/* 1f2ba119 (laptop ≤1440: 50px, desktop 37px) */
.woocommerce div.product.aj-pdp-hero .product_title {
	width: 683px;
	max-width: 100%;
	margin: 0 0 18px;
	padding: 0;
	font-family: "Manrope", Sans-serif;
	font-size: 37px;
	font-weight: 800;
	line-height: 1em;
	color: var(--aj-pdp-blue);
	text-align: start;
}
/* 2a4ecf28: padding 20/0, gap 10 */
.aj-pdp-summary__buy {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 0;
}
/* 2ac9c5e5 */
.woocommerce div.product.aj-pdp-hero .aj-pdp-price .price {
	margin: 0 0 20px;
	font-size: 25px;
	font-weight: 600;
	color: var(--aj-pdp-blue);
}
/* Bewuste afwijking (akkoord Maurits 18-11-2026): oud stond de actieprijs (ins) op font-size 0 → alleen de doorgestreepte
   oude prijs zichtbaar. Nu: oude prijs klein en vaag doorgestreept, actieprijs op de gewone prijsmaat (zoals de kaarten). */
.woocommerce div.product.aj-pdp-hero .aj-pdp-price .price del {
	display: inline-block;
	margin-right: 10px;
	font-size: 20px;
	font-weight: 400;
	opacity: .6;
	color: var(--aj-pdp-blue);
}
/* Kortingslabel: oud blauw op zwart (snippet-30-tekstkleur op hello-woocommerce zwart) → merkblauw met wit (akkoord 18-11, actieweergave) */
body .aj-pdp-hero span.onsale,
body.woocommerce span.onsale,
body .woocommerce span.onsale {
	background-color: #4077e3 !important;
	color: #fff !important;
	border-radius: 50px;
	padding: 6px 14px;
	font-weight: 600;
	letter-spacing: .03em;
}
.woocommerce div.product.aj-pdp-hero .aj-pdp-price .price ins {
	color: var(--aj-pdp-blue);
	font-size: 25px;
	font-weight: 600;
	text-decoration: none;
}
.aj-pdp-hero .woocommerce-price-suffix bdi {
	text-decoration: line-through;
}
/* tussen prijs en koopblok stond een (lege) HTML-widget met het −/+-script: tweemaal gap 10 */
.aj-pdp-atc {
	margin-top: 10px;
}

/* ---------- Koopformulier (71a1eaa1: layout stacked, uitlijning justify + custom CSS) ---------- */
.woocommerce div.product.aj-pdp-hero .aj-pdp-atc .stock {
	margin: 0 0 20px;
}
.woocommerce div.product.aj-pdp-hero .aj-pdp-atc form.cart {
	margin: 0;
	padding: 0;
}
.aj-pdp-atc .e-atc-qty-button-holder {
	display: flex;
	flex-wrap: wrap;
}
.aj-pdp-atc .e-atc-qty-button-holder > * {
	flex-basis: 100%;
}
.woocommerce div.product.aj-pdp-hero .aj-pdp-atc form.cart div.quantity {
	display: inline-flex;
	align-items: center;
	float: none;
	margin: 0 auto 0 0;
	border: 1px solid #6CA0FF;
	border-radius: 50px !important;
	overflow: hidden;
	vertical-align: middle;
}
.aj-pdp-atc form.cart .quantity button,
.aj-pdp-atc form.cart .quantity .qty {
	flex-basis: 100%;
}
.aj-pdp-atc form.cart .quantity button.minus,
.aj-pdp-atc form.cart .quantity button.plus {
	margin: 0;
	padding: 0 16px;
	border: none !important;
	border-radius: 50px !important;
	background: none !important;
	color: #4077E3 !important;
	font-family: "Manrope", Sans-serif;
	font-size: 23px;
	font-weight: 400 !important;
	text-transform: uppercase;
	cursor: pointer;
	transition: all .2s;
}
.aj-pdp-atc form.cart .quantity button.minus:hover,
.aj-pdp-atc form.cart .quantity button.plus:hover {
	color: black !important;
}
.woocommerce div.product.aj-pdp-hero .aj-pdp-atc .quantity .qty {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 5px 0;
	border: none;
	border-radius: 0;
	background: #fff;
	color: #4077e3 !important;
	font-family: "Manrope", Sans-serif;
	font-size: 23px;
	text-align: center;
	vertical-align: top;
	outline: none;
	-moz-appearance: textfield;
	transition: all .2s;
}
.aj-pdp-atc .quantity input[type=number]::-webkit-outer-spin-button,
.aj-pdp-atc .quantity input[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.aj-pdp-atc .wc-forward {
	display: none !important;
}

/* ---------- Korte omschrijving + "Lees meer" (30a6dffd / 7c3981b7 / 684d2e22) ---------- */
.aj-pdp-summary__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.aj-pdp-desc {
	width: 600px;
	max-width: 100%;
}
.woocommerce .aj-pdp-desc .woocommerce-product-details__short-description {
	color: var(--aj-pdp-blue);
	font-family: "Manrope", Sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3em;
}
.aj-pdp-readmore__btn {
	position: relative;
	z-index: 1;
	display: inline-block;
	overflow: hidden;
	padding: 6px 24px;
	border: 1px solid var(--aj-pdp-blue);
	border-radius: 50px;
	background-color: #FFFFD200;
	color: var(--aj-pdp-blue);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	transition: all .3s;
}
.aj-pdp-readmore__btn[hidden] {
	display: none;
}
.aj-pdp-readmore__btn::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
	width: 100%;
	height: 0;
	background: #FFFFD2;
	transition: height 300ms ease-in-out;
	z-index: -1;
}
.aj-pdp-readmore__btn:hover::before {
	height: 100%;
}
.aj-pdp-readmore__btn:hover,
.aj-pdp-readmore__btn:focus {
	color: var(--aj-pdp-blue);
}

/* ---------- Accordeons (77f0342d / 8fdc3ca / 753aeed0 + nested-accordion) ---------- */
.aj-pdp-acc {
	display: flex;
	flex-direction: column;
	padding: 1% 4%;
	border-bottom: 1px solid var(--aj-pdp-blue);
}
.aj-pdp-acc__inner {
	width: 100%;
	max-width: 2000px;
	margin: 0 auto;
}
.aj-pdp-acc__item {
	display: flex;
	flex-direction: column;
	position: relative;
}
.aj-pdp-acc__title {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 0 10px;
	padding: 10px 0;
	border: none;
	color: var(--aj-pdp-blue);
	cursor: pointer;
	list-style: none;
}
.aj-pdp-acc__title::-webkit-details-marker {
	display: none;
}
.aj-pdp-acc__title-text {
	display: flex;
	align-items: center;
	font-family: "Manrope", Sans-serif;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2em;
	text-transform: uppercase;
}
.aj-pdp-acc__icon {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	width: fit-content;
}
.aj-pdp-acc__icon > span {
	display: flex;
	width: auto;
	height: 45px;
}
.aj-pdp-acc__icon svg {
	height: 45px;
	width: auto;
	fill: currentColor;
}
.aj-pdp-acc__icon-open,
.aj-pdp-acc__item[open] .aj-pdp-acc__icon-closed {
	display: none !important;
}
.aj-pdp-acc__item[open] .aj-pdp-acc__icon-open {
	display: flex !important;
}
.aj-pdp-acc__panel {
	display: flex;
	flex-direction: column;
	padding: 0 0 20px;
}
.aj-pdp-acc__text {
	color: var(--aj-pdp-blue);
	font-size: 20px;
	line-height: 36px;
	text-align: start;
}
.aj-pdp-acc--info .aj-pdp-acc__text {
	white-space: pre-line;
}

/* ---------- Aanbevolen producten (1d98437c / 2952bb94 / 64e3b44f / loop-grid 3f4435f6) ---------- */
.aj-pdp-related__head {
	padding: 0 4%;
}
.aj-pdp-related__head-inner {
	width: 100%;
	max-width: 2000px;
	margin: 0 auto;
	padding: 3% 0 2%;
}
.aj-pdp-related__title {
	margin: 0;
	padding: 0;
	color: var(--aj-pdp-blue);
	font-family: "Manrope", Sans-serif;
	font-size: 27px;
	font-weight: 600;
	line-height: 1;
	text-align: start;
}
.aj-pdp-related__grid-wrap {
	margin: 0 0 80px;
	padding: 0 2%;
	border: 0 solid var(--aj-pdp-blue);
	border-width: 1px 0;
}
.aj-pdp-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

/* Kaart (loop-item #1866716) */
.aj-pdp-card {
	min-width: 0;
}
.aj-pdp-card:not(:last-child) {
	padding-left: 20px;
	padding-right: 20px;
	border-right: 1px solid var(--aj-pdp-blue) !important;
}
.aj-pdp-card__inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0;
	padding: 30px 25px 20px;
}
/* Elementor-widgets in een loop-grid hebben word-break:break-word (mobiel valt "In winkelmand" daardoor letter-voor-letter in de ronde knop) */
.aj-pdp-card__media,
.aj-pdp-card__body {
	word-break: break-word;
}
.aj-pdp-card__media {
	width: 100%;
	text-align: center;
}
.aj-pdp-card__media a {
	display: inline-block;
}
.aj-pdp-card__media img {
	display: inline-block;
	vertical-align: middle;
	max-width: 100%;
	height: 300px;
	object-fit: contain;
	object-position: center center;
	border: none;
	border-radius: 0;
	box-shadow: none;
	transition-duration: .4s;
}
.aj-pdp-card__media:hover img {
	opacity: .7;
}
.aj-pdp-card__body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 100%;
	padding: 10px 0 0;
}
.aj-pdp-card__title {
	flex-shrink: 0;
	width: 95.833%;
	max-width: 95.833%;
	min-height: 2.5em;
	margin: 10px 0 6px;
	padding: 0;
	color: var(--aj-pdp-blue);
	font-family: "Manrope", Sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	text-align: start;
}
.aj-pdp-card__title a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	color: inherit;
	font-weight: 600;
	line-height: 1.25;
	transition-duration: .5s;
}
.aj-pdp-card__row {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 5px;
	width: 100%;
}
.aj-pdp-card__price {
	margin-bottom: 20px; /* prod 20-11 (#39 A4): prijs-<p> met 20 px ondermarge, zoals de catalogus-kaarten */
	color: var(--aj-pdp-blue);
	font-family: "Manrope", Sans-serif;
	font-size: 21px;
	font-weight: 500;
	line-height: 1;
	text-align: start;
}
.aj-pdp-card__cta-wrap {
	margin: 0 0 -6px;
}
.aj-pdp-card__btn {
	position: relative;
	z-index: 1;
	display: inline-block;
	overflow: hidden;
	padding: 8px 22px;
	border: 1px solid var(--aj-pdp-blue);
	border-radius: 50px;
	background-color: #FFFFD200;
	color: var(--aj-pdp-blue);
	fill: var(--aj-pdp-blue);
	font-family: "Manrope", Sans-serif;
	font-size: 17px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	transition: all .3s;
}
.aj-pdp-card__btn::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
	width: 100%;
	height: 0;
	background: #FFFFD2;
	transition: height 300ms ease-in-out;
	z-index: -1;
}
.aj-pdp-card__btn:hover::before {
	height: 100%;
}
.aj-pdp-card__btn:hover,
.aj-pdp-card__btn:focus {
	color: var(--aj-pdp-blue);
}
.aj-pdp-card__btn-inner {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 5px;
}
.aj-pdp-card__btn-text {
	display: block;
}
.aj-pdp-card .aj-add.loading {
	opacity: .6;
	pointer-events: none;
}
/* uitverkocht (#43 punt 8) */
.aj-pdp-card.outofstock .aj-pdp-card__media {
	position: relative;
}
.aj-pdp-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 3px 10px;
	border: 1px solid #1b2a4a;
	border-radius: 999px;
	background: #fff;
	color: #1b2a4a !important;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .02em;
}
.aj-pdp-card.outofstock .aj-pdp-card__media img {
	opacity: .6;
}
.aj-pdp-card.outofstock .aj-pdp-card__btn-text {
	font-size: 14px;
}

/* ---------- Laptop ≤1440 ---------- */
@media (max-width: 1440px) {
	.woocommerce div.product.aj-pdp-hero .product_title {
		font-size: 50px;
	}
	.woocommerce .aj-pdp-desc .woocommerce-product-details__short-description {
		font-size: 20px;
	}
	.aj-pdp-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.aj-pdp-card__title {
		width: 90%;
		max-width: 90%;
		margin: 0 0 20px;
		font-size: 22px;
	}
	.aj-pdp-card__cta-wrap {
		margin: 0 0 -5px;
	}
	.aj-pdp-card__btn {
		font-size: 15px;
	}
}

/* ---------- Tablet ≤1024 ---------- */
@media (max-width: 1024px) {
	.aj-pdp-hero {
		margin-top: 0;
		border-width: 0 0 1px;
	}
	.aj-pdp-hero__grid {
		grid-template-columns: repeat(1, 1fr);
	}
	.aj-pdp-hero__media {
		padding: 20px;
	}
	.aj-pdp-hero__summary {
		padding: 0;
		border-left: 0;
	}
	.woocommerce div.product.aj-pdp-hero .product_title {
		font-size: 42px;
	}
	.aj-pdp-desc {
		width: 100%;
	}
	.aj-pdp-acc__title {
		padding: 20px;
	}
	.aj-pdp-acc__panel {
		padding: 20px;
	}
	.aj-pdp-card__title {
		width: 100%;
		max-width: 100%;
	}
}

/* ---------- Mobiel ≤767 ---------- */
@media (max-width: 767px) {
	.aj-pdp-hero {
		padding: 40px 20px;
	}
	.aj-pdp-hero__media {
		padding: 0;
	}
	.aj-pdp-gallery {
		margin-bottom: -25px;
	}
	.aj-pdp-summary__title {
		margin-bottom: -15px;
	}
	.woocommerce div.product.aj-pdp-hero .product_title {
		width: 100%;
		font-size: 30px;
	}
	.aj-pdp-price {
		margin-bottom: -12px;
	}
	.woocommerce div.product.aj-pdp-hero .aj-pdp-price .price {
		font-size: 21px;
	}
	.aj-pdp-atc form.cart .quantity button.minus,
	.aj-pdp-atc form.cart .quantity button.plus {
		font-size: 15px;
	}
	.woocommerce div.product.aj-pdp-hero .aj-pdp-atc .quantity .qty {
		font-size: 20px;
		border-radius: 50px;
		border: none !important;
	}
	.aj-pdp-desc {
		margin-bottom: -25px;
	}
	.woocommerce .aj-pdp-desc .woocommerce-product-details__short-description {
		font-size: 18px;
		line-height: 1.8em;
	}
	.aj-pdp-readmore__btn {
		font-size: 14px;
	}
	.aj-pdp-acc {
		padding: 2% 0;
	}
	.aj-pdp-acc__title {
		padding: 10px 20px;
	}
	.aj-pdp-acc__title-text {
		font-size: 23px;
	}
	.aj-pdp-acc__icon > span,
	.aj-pdp-acc__icon svg {
		height: 34px;
	}
	.aj-pdp-acc__panel {
		padding: 0 20px;
	}
	.aj-pdp-acc__text {
		font-size: 18px;
	}
	.aj-pdp-related__head-inner {
		padding: 6% 0;
	}
	.aj-pdp-related__title {
		font-size: 21px;
	}
	.aj-pdp-related__grid-wrap {
		padding: 0;
	}
	.aj-pdp-related__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.aj-pdp-card,
	.aj-pdp-card:not(:last-child) {
		padding-left: 20px;
		padding-right: 20px;
	}
	.aj-pdp-card:not(:last-child) {
		border-right: none !important;
		border-bottom: 1px solid var(--aj-pdp-blue);
	}
	.aj-pdp-card__inner {
		padding: 20px;
	}
	.aj-pdp-card__media img {
		height: 190px;
	}
	/* kaarttitel: #43 (15px / 1,3) + #57 U-09 (variant op eigen regel, basis max. 3 / variant max. 2 regels) */
	.aj-pdp-card__title {
		min-height: 3.9em;
		margin: 0 0 10px;
		font-size: 15px;
		line-height: 1.3;
	}
	.aj-pdp-card__title a {
		line-height: 1.3;
	}
	.aj-pdp-card__title a:not(.aj-t-split) {
		-webkit-line-clamp: 3;
	}
	.aj-pdp-card__title a.aj-t-split {
		display: block;
		-webkit-line-clamp: unset;
		overflow: visible;
	}
	.aj-pdp-card__title .aj-t-base {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
		overflow-wrap: anywhere;
	}
	.aj-pdp-card__title .aj-t-sep {
		display: none;
	}
	.aj-pdp-card__title .aj-t-var {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		overflow-wrap: anywhere;
		font-weight: 400;
	}
	.aj-pdp-card__row {
		flex-wrap: wrap;
	}
	.aj-pdp-card__price,
	.aj-pdp-card__price .woocommerce-Price-amount {
		font-size: 15px;
	}
	/* #57 U-23: ronde knop 44×44 (tekst valt erin weg, zoals op de oude site) */
	.aj-pdp-card__btn {
		width: 44px;
		height: 44px;
	}
	.aj-pdp-card.outofstock .aj-pdp-card__cta {
		display: none !important;
	}
}
