/* =========================================================
   Price Comparator — Mobile-first productpagina
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

.pc-product-page {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1a1a2e;
	line-height: 1.5;
}

/* =========================================================
   Sticky CTA (mobile only, verschijnt na scrollen)
   ========================================================= */
.pc-sticky-cta {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: #fff;
	border-top: 1px solid #e5e7eb;
	box-shadow: 0 -4px 16px rgba(0,0,0,.1);
	transform: translateY(100%);
	transition: transform .25s ease;
	padding: env(safe-area-inset-bottom, 0) 0 0;
}

.pc-sticky-cta.is-visible {
	transform: translateY(0);
}

.pc-sticky-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	max-width: 900px;
	margin: 0 auto;
}

.pc-sticky-cta__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pc-sticky-cta__title {
	font-size: .78rem;
	color: #6b7280;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.pc-sticky-cta__price {
	font-size: 1.1rem;
	font-weight: 800;
	color: #1a1a2e;
}

.pc-sticky-cta__btn {
	display: inline-block;
	padding: .65rem 1.25rem;
	border-radius: 8px;
	font-size: .875rem;
	font-weight: 700;
	text-decoration: none;
	color: #fff !important;
	white-space: nowrap;
	flex-shrink: 0;
}

/* Op desktop verbergen */
@media (min-width: 768px) {
	.pc-sticky-cta { display: none; }
}

/* =========================================================
   Hero — mobile: gestapeld, desktop: naast elkaar
   ========================================================= */
.pc-hero {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-bottom: 28px;
}

@media (min-width: 768px) {
	.pc-hero {
		display: grid;
		grid-template-columns: 280px 1fr;
		gap: 32px;
		align-items: start;
	}
}

/* Afbeelding */
.pc-hero__gallery {
	width: 100%;
	background: #f9fafb;
	border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
	.pc-hero__gallery {
		background: transparent;
		border-bottom: none;
		position: sticky;
		top: 80px;
	}
}

.pc-hero__main-img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	display: block;
	padding: 16px;
}

@media (min-width: 768px) {
	.pc-hero__main-img {
		border: 1px solid #e5e7eb;
		border-radius: 12px;
		background: #fafafa;
		padding: 16px;
	}
}

.pc-hero__main-img--placeholder {
	background: #f3f4f6;
	aspect-ratio: 1;
}

/* Info kolom */
.pc-hero__info {
	padding: 16px;
}

@media (min-width: 768px) {
	.pc-hero__info { padding: 0; }
}

/* Breadcrumb */
.pc-hero__breadcrumb {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: .72rem;
	color: #9aa0ac;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.pc-hero__breadcrumb a { color: #9aa0ac; text-decoration: none; }
.pc-hero__breadcrumb a:hover { color: #1a1a2e; text-decoration: underline; }
.pc-hero__breadcrumb span { color: #d1d5db; font-size: .65rem; }

/* Titel */
.pc-hero__title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 10px;
	color: #1a1a2e;
}

@media (min-width: 768px) {
	.pc-hero__title { font-size: 1.5rem; }
}

/* Meta pills */
.pc-hero__meta {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.pc-hero__meta-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #f3f4f6;
	border-radius: 99px;
	padding: 3px 10px;
	font-size: .73rem;
	color: #6b7280;
}

/* Prijsrij */
.pc-hero__price-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}

.pc-hero__lowest-price {
	font-size: 2rem;
	font-weight: 800;
	color: #e63946;
	line-height: 1;
}

.pc-hero__lowest-label {
	font-size: .75rem;
	color: #9aa0ac;
	margin-top: 3px;
}

/* Deal badge */
.pc-deal-badge {
	display: inline-flex;
	align-items: center;
	font-size: .72rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 99px;
	white-space: nowrap;
	align-self: flex-start;
	margin-top: 4px;
}

.pc-deal-badge--great  { background: #d1fae5; color: #065f46; }
.pc-deal-badge--good   { background: #fef3c7; color: #92400e; }
.pc-deal-badge--neutral { background: #f3f4f6; color: #6b7280; }

/* =========================================================
   Aanbieder kaarten
   ========================================================= */
.pc-offers { margin-bottom: 16px; }

.pc-offers__title {
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: #9aa0ac;
	margin-bottom: 10px;
}

.pc-offer {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	gap: 4px 12px;
	padding: 14px 14px 14px 14px;
	border: 1px solid #e8eaed;
	border-radius: 10px;
	background: #fff;
	margin-bottom: 8px;
	transition: border-color .15s, box-shadow .15s;
}

.pc-offer:hover {
	border-color: #c5cae9;
	box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.pc-offer--best {
	border-color: #0e9f6e;
	background: linear-gradient(135deg, #f0fff8 0%, #fff 70%);
}

.pc-offer__best-label {
	position: absolute;
	top: -10px;
	left: 14px;
	background: #0e9f6e;
	color: #fff;
	font-size: .65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: 2px 10px;
	border-radius: 99px;
}

.pc-offer__store {
	grid-column: 1;
	grid-row: 1;
}

.pc-offer__store-name {
	font-size: .9rem;
	font-weight: 700;
	margin-bottom: 3px;
}

.pc-offer__store-name--bol    { color: #0000a4; }
.pc-offer__store-name--amazon { color: #c45500; }

.pc-offer__delivery {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: .72rem;
	color: #6b7280;
}

.pc-offer__delivery--fast { color: #0e9f6e; }

.pc-offer__shipping {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: .72rem;
	color: #6b7280;
	margin-top: 2px;
}

.pc-offer__shipping--free { color: #0e9f6e; }

.pc-offer__middle {
	grid-column: 1;
	grid-row: 2;
	display: flex;
	gap: 6px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 4px;
}

.pc-offer__feature {
	font-size: .68rem;
	padding: 2px 7px;
	border-radius: 4px;
	background: #f3f4f6;
	color: #6b7280;
}

.pc-offer__feature--prime { background: #232f3e; color: #ff9900; font-weight: 700; }

.pc-offer__right {
	grid-column: 2;
	grid-row: 1 / 3;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px;
}

.pc-offer__price {
	font-size: 1.4rem;
	font-weight: 800;
	color: #1a1a2e;
	white-space: nowrap;
	line-height: 1;
}

.pc-offer--best .pc-offer__price { color: #065f46; }

.pc-offer__btn {
	display: inline-block;
	padding: .55rem 1rem;
	border-radius: 8px;
	font-size: .8rem;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
	transition: filter .15s;
	border: none;
	cursor: pointer;
	line-height: 1.4;
}

.pc-offer__btn:hover { filter: brightness(.9); }
.pc-offer__btn--bol    { color: #fff !important; }
.pc-offer__btn--amazon { color: #111 !important; }

/* =========================================================
   Prijsalarm
   ========================================================= */
.pc-alert-box {
	border: 1px dashed #d1d5db;
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 14px;
	background: #fafafa;
}

.pc-alert-box__toggle {
	background: none;
	border: none;
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: .85rem;
	font-weight: 600;
	color: #1d4ed8;
	cursor: pointer;
	padding: 0;
	width: 100%;
	text-align: left;
}

.pc-alert-box__toggle:hover { color: #1e40af; }

.pc-alert-box__desc {
	font-size: .78rem;
	color: #6b7280;
	margin: 10px 0 12px;
}

.pc-alert-box__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 12px;
}

@media (max-width: 480px) {
	.pc-alert-box__fields { grid-template-columns: 1fr; }
}

.pc-alert-box__field label {
	display: block;
	font-size: .73rem;
	font-weight: 600;
	color: #6b7280;
	margin-bottom: 4px;
}

.pc-alert-box__field input,
.pc-alert-box__field select {
	width: 100%;
	height: 36px;
	padding: 0 10px;
	border: 1px solid #d1d5db;
	border-radius: 7px;
	font-size: .83rem;
	color: #1a1a2e;
	background: #fff;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}

.pc-alert-box__field input:focus,
.pc-alert-box__field select:focus {
	border-color: #1d4ed8;
	box-shadow: 0 0 0 3px rgba(29,78,216,.1);
}

.pc-alert-box__submit {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: .55rem 1.1rem;
	background: #1d4ed8;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: .83rem;
	font-weight: 700;
	cursor: pointer;
	transition: opacity .15s;
}

.pc-alert-box__submit:hover { opacity: .87; }
.pc-alert-box__submit:disabled { opacity: .5; cursor: not-allowed; }

.pc-alert-box__msg {
	margin-top: 10px;
	font-size: .8rem;
	padding: 8px 12px;
	border-radius: 6px;
}

.pc-alert-box__msg--success { background: #d1fae5; color: #065f46; }
.pc-alert-box__msg--error   { background: #fde8e8; color: #9b1c1c; }

/* =========================================================
   Prijsgrafiek
   ========================================================= */
.pc-price-chart {
	margin-bottom: 28px;
}

.pc-price-chart__title {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: #1a1a2e;
	padding-bottom: 8px;
	border-bottom: 2px solid #e8eaed;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.pc-price-chart__sub  { font-size: .73rem; font-weight: 400; color: #9aa0ac; }
.pc-price-chart__low  { font-size: .73rem; font-weight: 700; color: #0e9f6e; background: #d1fae5; padding: 2px 10px; border-radius: 99px; margin-left: auto; }

.pc-deal-context {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: .78rem;
	padding: 8px 12px;
	border-radius: 8px;
	margin-bottom: 12px;
}

.pc-deal-context--great  { background: #d1fae5; color: #065f46; }
.pc-deal-context--good   { background: #fef3c7; color: #92400e; }
.pc-deal-context--neutral { background: #f3f4f6; color: #6b7280; }

.pc-price-chart__wrap {
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 12px;
	padding: 16px 12px 10px;
	box-shadow: 0 1px 4px rgba(0,0,0,.04);
	overflow: hidden;
}

/* =========================================================
   Bijgewerkt notice
   ========================================================= */
.pc-updated-notice {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: .7rem;
	color: #c5c9d0;
	margin-top: 10px;
}

/* =========================================================
   Omschrijving
   ========================================================= */
.pc-description {
	margin-bottom: 28px;
	padding: 0 16px;
}

@media (min-width: 768px) {
	.pc-description { padding: 0; }
}

.pc-description__title {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: #1a1a2e;
	padding-bottom: 8px;
	border-bottom: 2px solid #e8eaed;
}

.pc-description__body {
	font-size: .875rem;
	line-height: 1.7;
	color: #374151;
}

.pc-description__body--clamped {
	max-height: 120px;
	overflow: hidden;
	mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
	-webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.pc-description__body--clamped.is-expanded {
	max-height: none;
	mask-image: none;
	-webkit-mask-image: none;
}

.pc-description__toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	color: #1d4ed8;
	font-size: .82rem;
	font-weight: 600;
	cursor: pointer;
	padding: 6px 0 0;
	margin-top: 4px;
}

/* =========================================================
   Specs
   ========================================================= */
.pc-specs {
	margin-bottom: 28px;
	padding: 0 16px;
}

@media (min-width: 768px) {
	.pc-specs { padding: 0; }
}

.pc-specs__title {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: #1a1a2e;
	padding-bottom: 8px;
	border-bottom: 2px solid #e8eaed;
}

.pc-specs__table {
	width: 100%;
	border-collapse: collapse;
	font-size: .83rem;
}

.pc-specs__table tr:nth-child(even) td { background: #f9fafb; }

.pc-specs__table td {
	padding: 8px 12px;
	border-bottom: 1px solid #f0f0f0;
	vertical-align: top;
}

.pc-specs__table td:first-child {
	font-weight: 600;
	color: #6b7280;
	width: 40%;
	white-space: nowrap;
}

/* =========================================================
   Gerelateerde producten
   ========================================================= */
.pc-related {
	margin-bottom: 32px;
	padding: 0 16px;
}

@media (min-width: 768px) {
	.pc-related { padding: 0; }
}

.pc-related__title {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 12px;
	color: #1a1a2e;
	padding-bottom: 8px;
	border-bottom: 2px solid #e8eaed;
}

.pc-related__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

@media (min-width: 600px) {
	.pc-related__grid { grid-template-columns: repeat(4, 1fr); }
}

.pc-related__card {
	display: block;
	text-decoration: none;
	border: 1px solid #e8eaed;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow .2s, border-color .2s;
}

.pc-related__card:hover {
	border-color: #c5cae9;
	box-shadow: 0 2px 10px rgba(0,0,0,.07);
}

.pc-related__img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	background: #f9fafb;
	padding: 8px;
	display: block;
}

.pc-related__img--placeholder {
	background: #f3f4f6;
	aspect-ratio: 1;
}

.pc-related__info {
	padding: 8px 10px 10px;
	border-top: 1px solid #f0f0f0;
}

.pc-related__name {
	font-size: .78rem;
	font-weight: 600;
	color: #1a1a2e;
	margin-bottom: 4px;
	line-height: 1.35;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.pc-related__price {
	font-size: .78rem;
	font-weight: 700;
	color: #e63946;
}

/* ---- Rating sterren ---- */
.pc-rating-row {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 10px;
	font-size: .85rem;
}
.pc-stars {
	display: inline-flex;
	gap: 1px;
	color: #f59e0b;
	line-height: 1;
}
.pc-rating-row__score {
	font-weight: 700;
	color: #111827;
}
.pc-rating-row__count {
	color: #6b7280;
	font-size: .8rem;
}

/* ---- Prijsalarm trigger ---- */
.pc-alert-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 1.5px solid #d1d5db;
	border-radius: 8px;
	padding: 10px 16px;
	font-size: .9rem;
	font-weight: 600;
	color: #111827;
	cursor: pointer;
	margin: 14px 0 8px;
	transition: border-color .15s, background .15s;
}
.pc-alert-trigger:hover {
	border-color: #E84B1C;
	background: #fff7f3;
}

/* ---- Modal ---- */
.pc-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.pc-modal[hidden] { display: none; }
.pc-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	animation: pcFadeIn .15s ease-out;
}
.pc-modal__panel {
	position: relative;
	background: #fff;
	border-radius: 14px;
	max-width: 480px;
	width: 100%;
	max-height: 92vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 50px rgba(0,0,0,.25);
	animation: pcSlideUp .2s ease-out;
}
@keyframes pcFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pcSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.pc-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 24px 0;
}
.pc-modal__title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
	color: #0f172a;
}
.pc-modal__close {
	background: transparent;
	border: none;
	color: #6b7280;
	cursor: pointer;
	padding: 4px;
	border-radius: 6px;
	transition: background .15s, color .15s;
}
.pc-modal__close:hover { background: #f3f4f6; color: #111827; }

.pc-modal__body {
	padding: 18px 24px;
	overflow-y: auto;
	flex: 1;
}

.pc-modal__footer {
	padding: 16px 24px 24px;
	border-top: 1px solid #f3f4f6;
}

/* Product preview in modal */
.pc-alert-product {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 14px;
	margin-bottom: 18px;
}
.pc-alert-product__img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	border-radius: 8px;
	background: #fff;
	flex-shrink: 0;
}
.pc-alert-product__img--placeholder { background: #e5e7eb; }
.pc-alert-product__title {
	font-size: .92rem;
	font-weight: 500;
	color: #111827;
	line-height: 1.35;
	margin-bottom: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.pc-alert-product__price {
	font-size: 1.05rem;
	font-weight: 700;
	color: #111827;
}

/* Section */
.pc-alert-section {
	margin-bottom: 18px;
}
.pc-alert-section__label {
	display: block;
	font-size: .95rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 10px;
}

/* Opties (5%, 10%, 15%, custom) */
.pc-alert-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.pc-alert-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	cursor: pointer;
	transition: border-color .15s, background .15s;
	background: #fff;
}
.pc-alert-option:hover { border-color: #d1d5db; }
.pc-alert-option.is-selected {
	border-color: #84cc16;
	background: #f7fee7;
}
.pc-alert-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.pc-alert-option__radio {
	width: 22px;
	height: 22px;
	border: 2px solid #d1d5db;
	border-radius: 50%;
	flex-shrink: 0;
	position: relative;
	transition: border-color .15s;
}
.pc-alert-option.is-selected .pc-alert-option__radio {
	border-color: #84cc16;
}
.pc-alert-option.is-selected .pc-alert-option__radio::after {
	content: '';
	position: absolute;
	inset: 3px;
	background: #84cc16;
	border-radius: 50%;
}
.pc-alert-option__label {
	font-size: 1.15rem;
	font-weight: 800;
	color: #111827;
	flex: 1;
}
.pc-alert-option__target {
	font-size: .95rem;
	color: #6b7280;
	font-weight: 500;
}
.pc-alert-option--custom .pc-alert-option__label { color: #9ca3af; }
.pc-alert-option--custom .pc-alert-option__target input {
	width: 80px;
	border: none;
	background: transparent;
	font-size: .95rem;
	color: #111827;
	text-align: right;
	font-weight: 600;
	outline: none;
}

/* Email input */
.pc-alert-input {
	width: 100%;
	padding: 13px 16px;
	border: 1.5px solid #d1d5db;
	border-radius: 10px;
	font-size: .95rem;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.pc-alert-input:focus {
	border-color: #E84B1C;
	box-shadow: 0 0 0 3px rgba(232,75,28,.12);
}
.pc-alert-note {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	font-size: .82rem;
	color: #4b5563;
}

/* Submit knop */
.pc-alert-submit {
	width: 100%;
	background: #E84B1C;
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 14px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s, transform .05s;
}
.pc-alert-submit:hover { background: #c93b13; }
.pc-alert-submit:active { transform: translateY(1px); }
.pc-alert-submit:disabled { opacity: .6; cursor: not-allowed; }
.pc-alert-msg {
	margin-top: 12px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: .9rem;
	text-align: center;
}
.pc-alert-msg.is-success { background: #d1fae5; color: #065f46; }
.pc-alert-msg.is-error { background: #fee2e2; color: #991b1b; }

@media (max-width: 600px) {
	.pc-modal__panel { max-height: 100vh; border-radius: 14px 14px 0 0; align-self: flex-end; }
	.pc-modal { padding: 0; align-items: flex-end; }
}
