/* =========================================================================
   Layer 4 / 6, product page + shop (concept product.css + shop.css).
   The option UI of the configurators lives in the HVL Configurator Core plugin.
   ====================================================================== */

/* =========================================================================
   Product detail: concept
   ====================================================================== */

.hv-pdp {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(24px, 3.5vw, 48px);
	padding: clamp(18px, 3vw, 30px) 0 clamp(40px, 6vw, 70px);
	align-items: start;
}

/* --------------------------------------------------------------- gallery */

.hv-gal { display: flex; flex-direction: column; gap: 12px; }

.hv-gal__main {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 0;
	overflow: hidden;
	background: var(--hv-bg-deep) center/cover no-repeat;
	border: 1px solid var(--hv-line);
	box-shadow: var(--hv-shadow-sm);
}

.hv-gal__main img { width: 100%; height: 100%; object-fit: cover; }

.hv-gal__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--hv-line-strong);
	border-radius: 0;
	background: rgba(255, 255, 255, .93);
	color: var(--hv-ink);
	cursor: pointer;
	box-shadow: var(--hv-shadow-sm);
	transition: background .14s ease;
}

.hv-gal__nav:hover { background: #fff; }
.hv-gal__nav svg { width: 17px; height: 17px; }
.hv-gal__nav--prev { left: 12px; }
.hv-gal__nav--next { right: 12px; }

.hv-gal__pos {
	position: absolute;
	bottom: 12px;
	right: 12px;
	padding: 4px 11px;
	border-radius: 0;
	background: rgba(30, 26, 22, .68);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.hv-gal__thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }

.hv-gal__thumbs button {
	flex: 0 0 auto;
	width: 62px;
	height: 76px;
	padding: 0;
	border: 1.5px solid var(--hv-line);
	border-radius: 0;
	background: var(--hv-bg-deep) center/cover no-repeat;
	cursor: pointer;
	transition: border-color .14s ease, transform .14s ease;
}

.hv-gal__thumbs button:hover { transform: translateY(-2px); }
.hv-gal__thumbs button.is-on { border-color: var(--hv-accent); box-shadow: 0 0 0 2px var(--hv-accent-soft); }

/* ------------------------------------------------------------------- buy */

.hv-buy { display: flex; flex-direction: column; gap: 16px; }

.hv-buy__tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	align-self: flex-start;
	padding: 5px 13px;
	border-radius: 0;
	background: var(--hv-accent-soft);
	color: var(--hv-accent-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.hv-buy h1 {
	font-family: var(--hv-display);
	font-size: clamp(26px, 3.4vw, 38px);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -.02em;
}

.hv-buy__pitch { font-size: 16px; line-height: 1.6; color: var(--hv-ink-soft); }

.hv-buy__price { display: flex; align-items: baseline; gap: 10px; }
.hv-buy__price b { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.hv-buy__price span { font-size: 13.5px; color: var(--hv-muted); }

.hv-buy__meta {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	padding: 12px 0;
	border-top: 1px solid var(--hv-line);
	border-bottom: 1px solid var(--hv-line);
	font-size: 13px;
	color: var(--hv-muted);
}

.hv-buy__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hv-buy__meta svg { width: 15px; height: 15px; color: var(--hv-accent); }

/* -------------------------------------------------------------- options */

















/* option cards (bigger, with description) */











/* combination swatch picker */
















/* text input */
















/* number grid */









/* studio callout */














/* warm notice */





/* summary + add */

.hv-sumbox {
	border: 1px solid var(--hv-line);
	border-radius: 0;
	background: var(--hv-card);
	box-shadow: var(--hv-shadow-sm);
	padding: 16px 18px;
}

.hv-sumlines { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }

.hv-sumlines li {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	font-size: 13.5px;
	color: var(--hv-ink-soft);
}

.hv-sumlines li span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.hv-sumlines li.is-muted { color: var(--hv-muted); }
.hv-sumlines li.is-muted span:last-child { font-weight: 500; }

.hv-sumtotal {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 14px;
	padding-top: 12px;
	border-top: 1.5px solid var(--hv-ink);
	font-size: 19px;
	font-weight: 800;
	margin-bottom: 14px;
}

.hv-sumtotal span:last-child { font-variant-numeric: tabular-nums; }








/* ------------------------------------------------------------------ info */

.hv-info { padding: clamp(30px, 4vw, 54px) 0; border-top: 1px solid var(--hv-line); }

.hv-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }

.hv-tab {
	padding: 9px 17px;
	border: 1.5px solid transparent;
	border-radius: 0;
	background: none;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--hv-muted);
	cursor: pointer;
	transition: background .14s ease, color .14s ease;
}

.hv-tab:hover { color: var(--hv-ink); background: var(--hv-bg-deep); }
.hv-tab.is-on { background: var(--hv-ink); color: #fff; }

.hv-tabpanel { display: none; max-width: 800px; }
.hv-tabpanel.is-on { display: block; }
.hv-tabpanel p { font-size: 15px; line-height: 1.7; color: var(--hv-ink-soft); white-space: pre-line; }

.hv-spectable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hv-spectable th, .hv-spectable td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--hv-line); }
.hv-spectable th { font-weight: 700; width: 42%; color: var(--hv-ink); }
.hv-spectable td { color: var(--hv-ink-soft); font-variant-numeric: tabular-nums; }
.hv-spectable tr:hover td, .hv-spectable tr:hover th { background: var(--hv-bg); }

/* -------------------------------------------------------------- mobile bar */

.hv-mobar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 55;
	align-items: center;
	gap: 12px;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(180%) blur(14px);
	border-top: 1px solid var(--hv-line);
}

.hv-mobar__p { flex: 1 1 auto; min-width: 0; }
.hv-mobar__p strong { display: block; font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hv-mobar__p span { font-size: 11.5px; color: var(--hv-muted); }

/* ------------------------------------------------------------- responsive */

@media (min-width: 900px) {
	.hv-pdp { grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); }
	.hv-gal { position: sticky; top: calc(var(--hv-head-h) + 20px); }
}

@media (max-width: 899px) {
	.hv-mobar { display: flex; }
	body { padding-bottom: 74px; }
	.hv-sumbox .hv-btn--full { display: none; }

}

/* ------------------------------------------- Basiscombinaties (2026-10-29b) */















































/* --------------------------------- landscape gallery, no crop (2026-10-30) */

.hv-gal--wide .hv-gal__main { aspect-ratio: 4 / 3; background-color: var(--hv-bg-deep); }
.hv-gal--wide .hv-gal__main img { object-fit: contain; }
.hv-gal--wide .hv-gal__thumbs button { width: 84px; height: 63px; background-size: contain; background-color: var(--hv-bg-deep); }


.hv-buy__pitch--rich p { margin: 0 0 10px; }
.hv-buy__pitch--rich p:last-child { margin-bottom: 0; }
.hv-buy__pitch--rich strong { color: var(--hv-ink); font-weight: 700; }

/* 2026-10-30f: working video player in the description tab */
.hv-rich video, .hv-video { display: block; width: 100%; max-width: 720px; height: auto; margin-top: 8px; background: #000; }

/* ------------------------------------------ Geborduurd (2026-10-31a) */






































/* Feestslingers: "Lengtes & formaten" three-column table */
.hv-sizetable tr > :nth-last-child(3):first-child,
.hv-sizetable tr > :nth-last-child(3):first-child ~ * { width: 33.33%; }
.hv-sizetable { max-width: 640px; }

/* 2026-11-01a: crown studio block with the customer's own text per model. */




/* 2026-11-03a: cadeaubon, open amount */




/* 2026-11-03d: badge look on Verwisselbare cijfers / naambadge (Kroon Studio choices). */









/* =========================================================================
   Shop / catalogue: concept
   ====================================================================== */

.hv-shophero {
	background: radial-gradient(110% 100% at 20% 0%, #ffffff 0%, #faf7f3 50%, #f3ece3 100%);
	border-bottom: 1px solid var(--hv-line);
	padding: clamp(26px, 4vw, 48px) 0 clamp(22px, 3vw, 34px);
}

.hv-crumbs { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--hv-muted); margin-bottom: 14px; }
.hv-crumbs a:hover { color: var(--hv-ink); text-decoration: underline; text-underline-offset: 2px; }
.hv-crumbs svg { width: 13px; height: 13px; opacity: .5; }

/* ------------------------------------------------------------------ layout */

.hv-shop {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(20px, 3vw, 38px);
	padding: clamp(22px, 3vw, 38px) 0 clamp(46px, 6vw, 78px);
	align-items: start;
}

/* ------------------------------------------------------------------- rail */

.hv-rail { display: flex; flex-direction: column; gap: 20px; }

.hv-railbox {
	background: var(--hv-card);
	border: 1px solid var(--hv-line);
	border-radius: 0;
	box-shadow: var(--hv-shadow-sm);
	padding: 16px 17px;
}

.hv-railbox h3 {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--hv-muted);
	margin-bottom: 12px;
}

.hv-filters { display: flex; flex-direction: column; gap: 2px; }

.hv-filter {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 9px 11px;
	border: 0;
	border-radius: 0;
	background: none;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--hv-ink-soft);
	text-align: left;
	cursor: pointer;
	transition: background .14s ease, color .14s ease;
}

.hv-filter:hover { background: var(--hv-bg-deep); color: var(--hv-ink); }
.hv-filter.is-on { background: var(--hv-accent-soft); color: var(--hv-accent-dark); }
.hv-filter span:last-child { margin-left: auto; font-size: 12.5px; font-weight: 600; opacity: .6; font-variant-numeric: tabular-nums; }

.hv-railhelp {
	background: linear-gradient(155deg, #f7ece0 0%, #fbf5ee 100%);
	border-color: var(--hv-warm-line);
}

.hv-railhelp p { font-size: 13.5px; line-height: 1.55; color: var(--hv-warm-ink); margin-bottom: 13px; }

/* ------------------------------------------------------------------ tools */

.hv-shoptools {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.hv-searchbox { position: relative; flex: 1 1 200px; max-width: 320px; }

.hv-searchbox input {
	width: 100%;
	padding: 10px 14px 10px 37px;
	border: 1.5px solid var(--hv-line-strong);
	border-radius: 0;
	background: #fff;
	font-size: 14.5px;
}

.hv-searchbox input:focus { border-color: var(--hv-accent); outline: none; box-shadow: 0 0 0 3px var(--hv-accent-soft); }

.hv-searchbox svg {
	position: absolute;
	left: 13px;
	top: 50%;
	transform: translateY(-50%);
	width: 15px;
	height: 15px;
	color: var(--hv-muted);
	pointer-events: none;
}

.hv-count { font-size: 13.5px; color: var(--hv-muted); }

.hv-sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--hv-muted); }

.hv-sort select {
	padding: 9px 32px 9px 14px;
	border: 1.5px solid var(--hv-line-strong);
	border-radius: 0;
	background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8078' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center / 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--hv-ink);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.hv-sort select:focus { border-color: var(--hv-accent); outline: none; }

/* mobile filter toggle */

.hv-filtertoggle { display: inline-flex; }

.hv-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }

.hv-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 8px 6px 13px;
	border: 1px solid var(--hv-line-strong);
	border-radius: 0;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
}

.hv-chip button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border: 0;
	border-radius: 0;
	background: var(--hv-bg-deep);
	color: var(--hv-ink-soft);
	cursor: pointer;
}

.hv-chip button:hover { background: var(--hv-ink); color: #fff; }
.hv-chip button svg { width: 11px; height: 11px; }

/* ------------------------------------------------------------------ empty */

.hv-noresult {
	grid-column: 1 / -1;
	padding: 60px 20px;
	text-align: center;
	background: var(--hv-card);
	border: 1px dashed var(--hv-line-strong);
	border-radius: 0;
}

.hv-noresult svg { width: 34px; height: 34px; margin: 0 auto 14px; color: var(--hv-muted); opacity: .5; }
.hv-noresult b { display: block; font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.hv-noresult p { font-size: 14px; color: var(--hv-muted); margin-bottom: 16px; }

/* ------------------------------------------------------------- responsive */

@media (min-width: 900px) {
	.hv-shop { grid-template-columns: 236px minmax(0, 1fr); }
	.hv-filtertoggle { display: none; }
	.hv-rail { position: sticky; top: calc(var(--hv-head-h) + 20px); }
}

@media (max-width: 899px) {
	.hv-rail { display: none; }
	.hv-rail.is-open { display: flex; }
}

/* =========================================================================
   PDP buy form (WordPress, 2026-11-05): WooCommerce form + configurators.
   Every child of the info column spans it (min-width:100%, not only width).
   ====================================================================== */

.hv-buy > * { min-width: 0; }
.hvl-buyform { display: flex; flex-direction: column; gap: 16px; width: 100%; min-width: 100%; margin: 0; }
.hvl-buyform > * { width: 100%; }
.hv-buy h1.product_title { font-family: var(--hv-display); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }

/* Variations: chips are the UI; WooCommerce's <select> stays in the DOM, visually hidden (never display:none). */
.hvl-variations { display: flex; flex-direction: column; gap: 16px; }
.hvl-varopt { display: flex; flex-direction: column; gap: 9px; position: relative; }
.hvl-varopt .hv-opt__label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; }
.hvl-varopt .hv-opt__label em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--hv-muted); }
.hvl-varopt .hv-opt__hint { font-size: 12.5px; color: var(--hv-muted); line-height: 1.45; }
.hvl-varopt .hv-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.hvl-varopt .hv-pill { padding: 9px 16px; border: 1.5px solid var(--hv-line-strong); border-radius: 0; background: #fff; font-size: 14px; font-weight: 600; color: var(--hv-ink-soft); cursor: pointer; transition: border-color .14s ease, background .14s ease, color .14s ease; min-height: 44px; }
.hvl-varopt .hv-pill:hover { border-color: var(--hv-accent); }
.hvl-varopt .hv-pill.is-on { border-color: var(--hv-accent); background: var(--hv-accent-soft); color: var(--hv-accent-dark); }
.hvl-varopt .hv-pill.is-disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.hvl-varopt .hv-pill small { display: block; font-size: 11.5px; font-weight: 600; opacity: .7; }
.hvl-varopt .hv-pill small:empty { display: none; }
.hvl-select-hidden, .hvl-varopt select {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap; pointer-events: none; opacity: 0; margin: 0; padding: 0; border: 0;
}
.hvl-buyform .single_variation_wrap { width: 100%; }
.hvl-buyform .woocommerce-variation.single_variation { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); margin: 0; padding: 0; }
.hvl-buyform .reset_variations { display: none; }

/* Summary + add-to-cart row (qty stepper + full-width button). */
.hv-sumbox { width: 100%; }
.hv-sumlines li.is-muted span:last-child { font-weight: 500; }
.hvl-buy { display: flex; align-items: stretch; gap: 10px; width: 100%; min-width: 100%; }
.hvl-buy .hvl-atc { flex: 1 1 auto; min-width: 0; width: 100%; display: inline-flex; }
.hvl-buy .hvl-atc svg { width: 18px; height: 18px; }
.hvl-buy .hvl-atc.is-busy, [data-hvl-mobar-btn].is-busy { opacity: .6; pointer-events: none; }
.hvl-buy .hvl-atc.disabled, .hvl-buy .hvl-atc.wc-variation-selection-needed { opacity: .55; }

/* Shared stepper (PDP, cart, side cart): concept .hv-qty. */
.hv-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--hv-line-strong); background: #fff; flex: 0 0 auto; }
.hv-qty button { width: 40px; height: 48px; border: 0; background: none; color: var(--hv-ink); font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; transition: background .14s ease; }
.hv-qty button:hover:not(:disabled) { background: var(--hv-bg-deep); }
.hv-qty input { width: 46px; height: 48px; border: 0; border-left: 1px solid var(--hv-line); border-right: 1px solid var(--hv-line); text-align: center; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; background: #fff; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.hv-qty input::-webkit-outer-spin-button, .hv-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hv-qty input:focus { outline: none; background: var(--hv-accent-soft); }
.hv-qty--sm button { width: 32px; height: 34px; font-size: 16px; }
.hv-qty--sm input { width: 38px; height: 34px; font-size: 14px; }

/* Launchers (Vlaggenlijn Studio, Kroonstudio): no direct add-to-cart on the PDP. */
.hvl-buyform--launcher .hv-sumbox { display: none; }
.hvl-stocknote { width: 100%; }
.hv-gal__main img { transition: opacity .2s ease; }
.hv-gal__main img { height: 100%; }
.hv-crumbs--pdp { padding-top: 18px; margin-bottom: 0; }
.hv-tabpanel .hv-faqitem summary { font-size: 15.5px; padding: 16px 2px; }
.hv-chip a { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; background: var(--hv-bg-deep); color: var(--hv-ink-soft); }
.hv-chip a:hover { background: var(--hv-ink); color: #fff; }
.hv-chip a svg { width: 11px; height: 11px; }
.hv-shop__main { min-width: 0; }
.hv-filter { text-decoration: none; }
.hv-searchbox { margin: 0; }
.hvl-sort-form { margin-left: auto; }
.hvl-pager { margin-top: 30px; }
.hvl-pager ul { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.hvl-pager a, .hvl-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1.5px solid var(--hv-line-strong); background: #fff; font-weight: 700; }
.hvl-pager .current { background: var(--hv-accent); border-color: var(--hv-accent); color: #fff; }
.hv-shop-intro p { margin: 0 0 10px; }
.hv-shop-intro p:last-child { margin-bottom: 0; }

/* Policy pages: the WYSIWYG lives in one .hv-prose, but the concept puts the
   rate/lead-time panels (.hv-split) at full column width next to 72ch text. */
.hv-svc .hv-prose { max-width: none; }
.hv-svc .hv-prose > :not(.hv-split) { max-width: 72ch; }
.hv-prose table, .hv-prose th, .hv-prose td { overflow-wrap: normal; word-break: normal; }
