/*
Theme Name: Rolfab
Description: Thema voor de Rolfab-webshop: rolluiken en horren op maat.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Author: Rolfab
Text Domain: rolfab
WC requires at least: 8.0
*/

/* ---------------------------------------------------------------
   Tokens
   Anthracite (RAL 7016, the colour most rolluiken are ordered in)
   carries the brand; signal yellow is reserved for the one action
   that matters on a screen.
---------------------------------------------------------------- */
:root {
	--ink: #1E252B;
	--ink-2: #505A62;
	--ink-3: #6E7880;
	--anthracite: #2E3940;
	--anthracite-2: #3B4850;
	--signal: #F2B320;
	--signal-2: #DBA200;
	--paper: #FFFFFF;
	--surface: #F2F3F4;
	--surface-2: #E8EAEC;
	--line: #D6DADE;
	--line-2: #B9C0C6;
	--ok: #00803F;
	--green: #00BF63;
	--ok-bg: #E8F3EC;
	--err: #B3261E;
	--err-bg: #FBECEA;
	--warn-bg: #FFF6DA;

	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--r-s: 4px;
	--r-m: 6px;
	--wrap: 1240px;
	--gut: 16px;

	--fs-xs: 0.8125rem;   /* 13 */
	--fs-s: 0.875rem;     /* 14 */
	--fs-m: 1rem;         /* 16 */
	--fs-l: 1.125rem;     /* 18 */
	--fs-xl: 1.3125rem;   /* 21 */
	--fs-2: 1.625rem;     /* 26 */
	--fs-3: 2.125rem;     /* 34 */
	--fs-4: 2.75rem;      /* 44 */
}
@media (min-width: 800px) {
	:root { --gut: 24px; }
}

/* ---------------------------------------------------------------
   Base
---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-m);
	line-height: 1.55;
	color: var(--ink);
	background: var(--paper);
	font-variation-settings: "wdth" 100;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--anthracite); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 {
	font-family: var(--font);
	font-variation-settings: "wdth" 86;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.005em;
	margin: 0 0 0.5em;
	color: var(--ink);
}
h1 { font-size: var(--fs-3); }
h2 { font-size: var(--fs-2); }
h3 { font-size: var(--fs-xl); }
p { margin: 0 0 1em; }
small { font-size: var(--fs-s); }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.rf-skip:focus {
	clip: auto; width: auto; height: auto; margin: 0; padding: 10px 16px; z-index: 1000;
	background: var(--signal); color: var(--ink); top: 8px; left: 8px;
}

.rf-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.rf-icon { width: 20px; height: 20px; flex: none; }

/* ---------------------------------------------------------------
   Buttons — one primary, one secondary, one text link
---------------------------------------------------------------- */
.button-primary, .button-secondary,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .wp-element-button, .wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 20px;
	font: inherit; font-weight: 700; font-size: var(--fs-m); line-height: 1.2;
	font-variation-settings: "wdth" 92;
	border-radius: var(--r-s); border: 1px solid transparent;
	cursor: pointer; text-decoration: none; text-align: center;
	transition: background-color .15s ease, border-color .15s ease;
}
.button-primary,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.wc-block-components-button:not(.is-link):not(.outlined),
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	background: var(--signal) !important; color: var(--ink) !important; border-color: var(--signal-2) !important;
}
.button-primary:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):not(.outlined):hover {
	background: var(--signal-2) !important; color: var(--ink) !important;
}
.button-secondary,
.woocommerce a.button, .woocommerce button.button, .wp-element-button {
	background: var(--paper); color: var(--ink); border-color: var(--line-2);
}
.button-secondary:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--surface); color: var(--ink); border-color: var(--ink-3); }
.rf-btn-lg { min-height: 52px; padding: 0 26px; font-size: var(--fs-l); }
.rf-textlink { font-weight: 600; }

/* ---------------------------------------------------------------
   Header
---------------------------------------------------------------- */
.rf-topbar { background: var(--surface); border-bottom: 1px solid var(--line); font-size: var(--fs-s); color: var(--ink-2); }
.rf-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.rf-topbar__facts { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.rf-topbar__facts li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.rf-topbar__facts .rf-icon { width: 16px; height: 16px; color: var(--green); stroke-width: 2.6; }
.rf-topbar__right a { color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.rf-topbar__right a:hover { color: var(--ink); text-decoration: underline; }

.rf-mainbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.rf-mainbar__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.rf-logo { display: inline-flex; align-items: center; color: #000; text-decoration: none; flex: none; }
.rf-logo:hover { color: #000; }
.rf-logo__svg { display: block; width: auto; }
.rf-logo__svg--full { height: 40px; aspect-ratio: 189.8 / 40; }
.rf-logo__svg--compact { display: none; height: 28px; aspect-ratio: 189.8 / 37; }
.rf-logo--footer { color: #fff; }
.rf-logo--footer:hover { color: #fff; }
.rf-logo--footer .rf-logo__svg--full { height: 34px; }

.rf-mainbar__search { flex: 1; max-width: 520px; }
.rf-search { display: flex; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--paper); overflow: hidden; }
.rf-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 2px var(--signal); }
.rf-search input { flex: 1; min-width: 0; border: 0; padding: 0 14px; height: 44px; font: inherit; background: transparent; outline: none; }
.rf-search button { border: 0; background: var(--anthracite); color: #fff; width: 48px; display: grid; place-items: center; cursor: pointer; }
.rf-search button:hover { background: var(--ink); }

.rf-mainbar__service { margin-left: auto; }
.rf-service { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.rf-service span { display: flex; flex-direction: column; line-height: 1.25; }
.rf-service strong { font-size: var(--fs-s); }
.rf-service small { color: var(--ink-3); font-size: var(--fs-xs); }
.rf-iconlink { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink); text-decoration: none; font-size: var(--fs-xs); position: relative; }
.rf-iconlink .rf-icon { width: 24px; height: 24px; }
.rf-cart__count {
	position: absolute; top: -6px; left: 50%; margin-left: 6px;
	min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
	background: var(--signal); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.rf-burger { display: none; border: 0; background: none; padding: 8px; margin-left: -8px; color: var(--ink); cursor: pointer; }
.rf-burger .rf-icon { width: 26px; height: 26px; }

.rf-nav { background: var(--anthracite); }
.rf-nav__list { display: flex; list-style: none; margin: 0; padding: 0; }
.rf-nav__list a {
	display: block; padding: 0 18px; line-height: 48px; color: #fff; text-decoration: none;
	font-weight: 600; font-variation-settings: "wdth" 92;
}
.rf-nav__list li:first-child a { padding-left: 0; }
.rf-nav__list a:hover, .rf-nav__list .current-menu-item > a, .rf-nav__list .current_page_item > a { color: var(--signal); }
.rf-nav__list li:last-child { margin-left: auto; }
.rf-nav__list li:last-child a { padding-right: 0; }

.rf-header--funnel .rf-mainbar__inner { justify-content: space-between; }
.rf-funnel-note { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; flex-wrap: wrap; }
.rf-funnel-note .rf-icon { color: var(--green); stroke-width: 2.6; }
.rf-funnel-note span { font-weight: 400; color: var(--ink-2); margin-left: 16px; }
@media (max-width: 720px) {
	.rf-header--funnel .rf-mainbar__inner { flex-wrap: nowrap; gap: 12px; }
	.rf-header--funnel .rf-search { display: none; }
	.rf-funnel-note { font-size: var(--fs-s); justify-content: flex-end; text-align: right; }
	.rf-funnel-note span { display: none; }
}

@media (max-width: 1040px) {
	.rf-mainbar__service { display: none; }
	.rf-mainbar__search { margin-left: auto; }
	.rf-topbar__facts li:nth-child(3) { display: none; }
}
@media (max-width: 800px) {
	.rf-topbar__facts li:nth-child(2) { display: none; }
	.rf-topbar__right { display: none; }
	.rf-topbar__inner { justify-content: center; }
	.rf-burger { display: inline-flex; }
	.rf-mainbar__inner { flex-wrap: wrap; gap: 8px 16px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
	.rf-mainbar__search { order: 10; flex-basis: 100%; max-width: none; margin: 4px 0 0; }
	.rf-logo { margin-right: auto; }
	.rf-logo:not(.rf-logo--footer) .rf-logo__svg--full { display: none; }
	.rf-logo:not(.rf-logo--footer) .rf-logo__svg--compact { display: block; }
	.rf-iconlink span:not(.rf-cart__count) { display: none; }
	.rf-nav { display: none; }
	.rf-nav.is-open { display: block; }
	.rf-nav__list { flex-direction: column; padding: 8px 0; }
	.rf-nav__list a, .rf-nav__list li:first-child a, .rf-nav__list li:last-child a { padding: 0 var(--gut); line-height: 48px; border-bottom: 1px solid var(--anthracite-2); }
	.rf-nav__list li:last-child { margin-left: 0; }
	.rf-nav .rf-wrap { padding: 0; }
}

/* ---------------------------------------------------------------
   Page layouts
---------------------------------------------------------------- */
.rf-main { min-height: 50vh; }
.rf-page { padding-top: 20px; padding-bottom: 64px; }
.rf-page__head { margin: 8px 0 24px; }
.rf-page__head h1 { max-width: 22ch; }
.rf-page__layout { display: grid; grid-template-columns: minmax(0, 72ch) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "head aside" "body aside"; column-gap: 64px; align-items: start; }
.rf-page__layout > .rf-page__head { grid-area: head; }
.rf-page__layout > .rf-prose { grid-area: body; }
.rf-page__aside { grid-area: aside; position: sticky; top: 24px; margin: 8px 0 0; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.rf-page__aside img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-bar .rf-page__aside { top: 56px; }
@media (max-width: 960px) {
	.rf-page__layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "aside" "body"; }
	.rf-page__aside { position: static; aspect-ratio: 16 / 9; margin: 0 0 24px; }
}
.rf-page--wide .rf-page__head h1 { max-width: none; }

.rf-crumbs { font-size: var(--fs-s); color: var(--ink-3); padding: 14px 0 6px; }
.rf-crumbs a { color: var(--ink-2); }
.rf-crumbs__sep { margin: 0 8px; color: var(--line-2); }

.rf-prose { max-width: 72ch; }
.rf-prose--wide { max-width: none; }
.rf-prose h2 { font-size: var(--fs-2); margin-top: 1.6em; }
.rf-prose h3 { margin-top: 1.4em; }
.rf-prose ul, .rf-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.rf-prose li { margin-bottom: .4em; }
.rf-prose li::marker { color: var(--ink-3); }
.rf-lead { font-size: var(--fs-l); color: var(--ink-2); max-width: 60ch; }

.rf-prose details, .rf-faq details { border-top: 1px solid var(--line); }
.rf-prose details:last-of-type { border-bottom: 1px solid var(--line); }
.rf-prose summary {
	cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; position: relative;
}
.rf-prose summary::-webkit-details-marker { display: none; }
.rf-prose summary::after {
	content: ""; position: absolute; right: 6px; top: 22px; width: 9px; height: 9px;
	border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg);
	transition: transform .15s ease;
}
.rf-prose details[open] summary::after { transform: rotate(-135deg); top: 26px; }
.rf-prose details > p { margin: 0 0 16px; color: var(--ink-2); }

.rf-table { font-size: var(--fs-s); margin: 0 0 1.4em; }
.rf-table th, .rf-table td { text-align: left; vertical-align: top; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); }
.rf-table thead th { font-weight: 600; color: var(--ink-3); border-bottom: 2px solid var(--ink); }
.rf-table tbody th { font-weight: 600; width: 34%; }
.rf-table .num { text-align: right; white-space: nowrap; padding-right: 0; }
.rf-table--specs tbody th { width: 30%; color: var(--ink-2); font-weight: 500; }

.rf-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 24px 0 8px; }
.rf-tiles > br, .rf-tiles > p:empty { display: none; }
.rf-tile {
	display: flex; flex-direction: column; gap: 2px; padding: 16px 18px;
	border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; color: var(--ink);
}
.rf-tile:hover { border-color: var(--ink); color: var(--ink); }
.rf-tile span { color: var(--ink-2); font-size: var(--fs-s); }

.rf-contact { display: grid; grid-template-columns: 160px 1fr; gap: 10px 20px; margin: 24px 0; }
.rf-contact dt { font-weight: 600; }
.rf-contact dd { margin: 0; }
.rf-contact dd span { color: var(--ink-3); font-size: var(--fs-s); }
@media (max-width: 560px) { .rf-contact { grid-template-columns: 1fr; gap: 2px; } .rf-contact dd { margin-bottom: 12px; } }

.rf-results { list-style: none; padding: 0; max-width: 72ch; }
.rf-result { padding: 16px 0; border-bottom: 1px solid var(--line); }
.rf-result h2 { font-size: var(--fs-xl); margin-bottom: 4px; }

/* ---------------------------------------------------------------
   Forms (shared)
---------------------------------------------------------------- */
.rf-form label, .rf-label { display: block; font-weight: 600; margin-bottom: 6px; }
.rf-form input[type=text], .rf-form input[type=email], .rf-form input[type=tel], .rf-form input[type=url], .rf-form select, .rf-form textarea {
	width: 100%; font: inherit; color: var(--ink); background: var(--paper);
	border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 11px 12px;
}
.rf-form input:focus, .rf-form select:focus, .rf-form textarea:focus { border-color: var(--ink); outline: 2px solid var(--signal); outline-offset: 0; }
.rf-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 20px; }
.rf-form .rf-help, .rf-help { display: block; color: var(--ink-3); font-size: var(--fs-s); margin: 6px 0 0; font-weight: 400; }
.rf-optional { color: var(--ink-3); font-weight: 400; }
.rf-consent label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.rf-consent input { margin-top: 5px; }
.rf-hp { position: absolute; left: -9999px; }
.rf-notice { border-radius: var(--r-m); padding: 16px 18px; margin: 0 0 24px; }
.rf-notice p { margin: 0; }
.rf-notice--ok { background: var(--ok-bg); border-left: 4px solid var(--ok); }
.rf-notice--error { background: var(--err-bg); border-left: 4px solid var(--err); }

/* ---------------------------------------------------------------
   Home
---------------------------------------------------------------- */
.rf-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.rf-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.rf-hero h1 { font-size: var(--fs-4); font-variation-settings: "wdth" 80; font-weight: 800; letter-spacing: -0.015em; max-width: 17ch; margin-bottom: 20px; }
.rf-hero__lead { font-size: var(--fs-l); color: var(--ink-2); max-width: 46ch; }
.rf-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }

.rf-quick {
	background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--anthracite);
	border-radius: var(--r-m); padding: 24px;
}
.rf-quick__title { font-size: var(--fs-xl); margin-bottom: 18px; }
.rf-quick__sizes { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 10px; }
.rf-quick__sizes p { margin: 0; }
.rf-size input { min-width: 0; width: 100%; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; padding: 8px 14px; margin-right: 12px; border: 1px solid var(--ink); border-radius: var(--r-s); background: var(--paper); color: var(--ink); cursor: pointer; }
.rf-quick__sizes label, .rf-quick__drive legend { display: block; font-weight: 600; margin-bottom: 6px; font-size: var(--fs-s); }
.rf-quick__x { padding-bottom: 12px; color: var(--ink-3); font-size: var(--fs-l); }
.rf-quick__drive { border: 0; padding: 0; margin: 16px 0 0; }
.rf-quick__result { display: grid; margin: 20px 0 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rf-quick__label { font-size: var(--fs-s); color: var(--ink-3); }
.rf-quick__price { font-size: var(--fs-3); font-weight: 800; font-variation-settings: "wdth" 82; line-height: 1.1; }
.rf-quick__note { font-size: var(--fs-s); color: var(--ink-2); }
.rf-quick.has-error .rf-quick__note { color: var(--err); }
.rf-quick .button-primary { width: 100%; }

.rf-section { padding: 64px 0; }
.rf-section + .rf-section { border-top: 1px solid var(--line); }
.rf-section__title { font-size: var(--fs-3); margin-bottom: 24px; }
/* The green square from the logo closes the main headings. */
.rf-section__title::after, .rf-hero h1::after { content: ""; display: inline-block; width: .2em; height: .2em; margin-left: .06em; border-radius: .04em; background: var(--green); vertical-align: baseline; }

.rf-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rf-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.rf-card a:hover { border-color: var(--ink); }
.rf-card__img { display: block; aspect-ratio: 4 / 3; background: var(--surface); }
.rf-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rf-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.rf-card__name { font-size: var(--fs-xl); font-variation-settings: "wdth" 86; }
.rf-card__text { color: var(--ink-2); font-size: var(--fs-s); flex: 1; }
.rf-card__price { font-weight: 700; margin-top: 6px; }

.rf-steps__list { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.rf-steps__list li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.rf-steps__list li::before {
	content: counter(step); display: block; font-size: var(--fs-3); font-weight: 800;
	font-variation-settings: "wdth" 78; line-height: 1; margin-bottom: 14px; color: var(--anthracite);
}
.rf-steps__list h3 { margin-bottom: 8px; }
.rf-steps__img { margin: 0 0 16px; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); }
.rf-steps__img:empty { display: none; }
.rf-steps__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Customer service button */
.rf-help[data-rf-help] { position: fixed; right: 20px; bottom: 20px; z-index: 60; margin: 0; }
.rf-help__btn { position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--green); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(30, 37, 43, .22); transition: transform .15s ease; }
.rf-help__btn:hover { transform: translateY(-2px); }
.rf-help__btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.rf-help__icon { width: 32px; height: 32px; }
.rf-help__btn .rf-icon { display: none; width: 24px; height: 24px; stroke-width: 2.4; }
.rf-help.is-open .rf-help__icon { display: none; }
.rf-help.is-open .rf-help__btn .rf-icon { display: block; }
.rf-help__panel { position: absolute; right: 0; bottom: 72px; width: 330px; max-width: calc(100vw - 32px); background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--r-m); padding: 18px; box-shadow: 0 10px 30px rgba(30, 37, 43, .18); }
.rf-help__panel[hidden] { display: none; }
.rf-help__close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; background: none; color: var(--ink-3); cursor: pointer; display: grid; place-items: center; border-radius: var(--r-s); }
.rf-help__close:hover { background: var(--surface); color: var(--ink); }
.rf-help__close .rf-icon { width: 18px; height: 18px; }
.rf-help__head { display: flex; gap: 12px; align-items: flex-start; padding-right: 24px; margin-bottom: 14px; }
.rf-help__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--green); }
.rf-help__title { margin: 0 0 2px; font-weight: 800; font-size: var(--fs-l); line-height: 1.25; color: var(--ink); }
.rf-help__sub { margin: 0; font-size: var(--fs-s); color: var(--ink-2); }
.rf-help__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rf-help__list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s); text-decoration: none; color: var(--ink); }
.rf-help__list a:hover { border-color: var(--ink); }
.rf-help__list .rf-icon { width: 22px; height: 22px; color: var(--ok); flex: none; }
.rf-help__list span { display: grid; font-size: var(--fs-s); color: var(--ink-2); line-height: 1.3; }
.rf-help__list strong { color: var(--ink); font-size: var(--fs-m); }
.rf-help__hours { margin: 10px 0 0; font-size: var(--fs-s); color: var(--ink-2); }
.rf-help__links { display: flex; gap: 16px; margin: 12px 0 0; font-size: var(--fs-s); font-weight: 600; }
@media (max-width: 960px) {
	.rf-help[data-rf-help] { right: 14px; bottom: 14px; }
	.rf-help__btn { width: 54px; height: 54px; }
	.rf-has-config .rf-help[data-rf-help] { bottom: 190px; }
}
@media print { .rf-help[data-rf-help] { display: none; } }

/* Measuring videos */
.rf-vtabs { margin: 32px 0; padding: 20px; background: var(--surface); border-radius: var(--r-m); }
.rf-vtabs h2 { margin-top: 0; }
.rf-vtabs__bar { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.rf-vtabs__tab { font: inherit; font-weight: 600; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--paper); color: var(--ink); cursor: pointer; }
.rf-vtabs__tab:hover { border-color: var(--ink-3); }
.rf-vtabs__tab.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.rf-vtabs__item { margin: 0; }
.rf-vtabs__item[hidden] { display: none; }
.rf-vtabs__item video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--r-s); }
.rf-vtabs__item figcaption { margin-top: 8px; font-size: var(--fs-s); color: var(--ink-2); }
.rf-hint a { font-weight: 600; white-space: nowrap; }
.rf-steps__list p { color: var(--ink-2); }
.rf-steps__list a { font-weight: 600; }

.rf-meetcheck-band { background: var(--anthracite); color: #fff; border-top: 0 !important; }
.rf-meetcheck-band + .rf-section { border-top: 0; }
.rf-meetcheck-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.rf-meetcheck-band h2 { color: #fff; font-size: var(--fs-3); }
.rf-meetcheck-band p { color: #D7DCE0; max-width: 62ch; margin: 0; }
.rf-meetcheck-band .button-secondary { flex: none; }

.rf-split { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.rf-split > div:first-child p { color: var(--ink-2); max-width: 40ch; }
.rf-split__img { margin: 28px 0 0; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.rf-split__img:empty { display: none; }
.rf-split__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rf-seo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; align-items: center; }
.rf-seo__img { margin: 0; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; }
.rf-seo__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* About Rolfab and locations */
.rf-about { background: var(--surface); }
.rf-about__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 32px; }
.rf-about__intro p { color: var(--ink-2); max-width: 52ch; margin: 0; }
.rf-about__photo { margin: 0; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 16 / 9; background: var(--line); }
.rf-about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
.rf-locs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; }
.rf-loc { display: flex; flex-direction: column-reverse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.rf-loc__map { height: 200px; background: var(--surface-2); border-top: 1px solid var(--line); }
.rf-loc__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.rf-loc__body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.rf-loc__label { margin: 0 0 2px; font-size: var(--fs-s); color: var(--ink-3); }
.rf-loc h3 { margin: 0 0 6px; font-size: var(--fs-xl); }
.rf-loc address { font-style: normal; margin: 0 0 8px; }
.rf-loc p { font-size: var(--fs-s); color: var(--ink-2); margin: 0 0 14px; }
.rf-loc__route { margin-top: auto; font-weight: 600; font-size: var(--fs-s); }
.rf-prose .rf-locs { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) {
	.rf-about__intro, .rf-seo__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.rf-locs { grid-template-columns: minmax(0, 1fr); }
}
.rf-table--drive td { color: var(--ink-2); }

.rf-seo .rf-prose h2 { font-size: var(--fs-xl); margin-top: 0; }
.rf-seo .rf-prose p { color: var(--ink-2); }

@media (max-width: 900px) {
	.rf-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 40px; }
	.rf-hero h1 { font-size: var(--fs-3); }
	.rf-cards, .rf-steps__list { grid-template-columns: 1fr; }
	.rf-split { grid-template-columns: 1fr; gap: 16px; }
	.rf-meetcheck-band__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
	.rf-section { padding: 44px 0; }
	.rf-section__title, .rf-meetcheck-band h2 { font-size: var(--fs-2); }
}

/* ---------------------------------------------------------------
   Reviews
---------------------------------------------------------------- */
.rf-stars { color: var(--line-2); letter-spacing: 1px; white-space: nowrap; }
.rf-star.is-on { color: #E8A600; }
.rf-star.is-half { background: linear-gradient(90deg, #E8A600 50%, var(--line-2) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rf-rating { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-size: var(--fs-s); }
.rf-rating span { color: var(--ink-3); }
.rf-rating--compact { white-space: nowrap; }
.rf-topbar__inner:has(.rf-rating) .rf-topbar__facts li:nth-child(3) { display: none; }
.rf-reviews { padding: 8px 0; }
.rf-reviews__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px 40px; margin-bottom: 24px; }
.rf-reviews__intro { max-width: 62ch; }
.rf-reviews__intro h2 { margin: 0 0 6px; }
.rf-reviews__intro p { margin: 0; color: var(--ink-2); }
.rf-reviews__score { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; color: var(--ink); flex: none; }
.rf-reviews__score:hover { border-color: var(--ink-3); }
.rf-reviews__score .rf-gmark { width: 30px; height: 30px; }
.rf-reviews__num { font-size: var(--fs-3); font-weight: 800; font-variation-settings: "wdth" 82; line-height: 1; }
.rf-reviews__sum { display: grid; gap: 1px; font-size: var(--fs-s); color: var(--ink-2); line-height: 1.3; }
.rf-reviews__sum .rf-stars { font-size: var(--fs-l); }
.rf-reviews__sum small { color: var(--ink-3); font-size: var(--fs-xs); }
.rf-reviews__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; align-items: start; }
.rf-review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; display: grid; gap: 10px; }
.rf-review__who { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 12px; align-items: center; }
.rf-review__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--anthracite); color: #fff; font-weight: 700; }
.rf-review__author { margin: 0; font-weight: 700; font-size: var(--fs-m); line-height: 1.3; display: grid; min-width: 0; }
.rf-review__author a { color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf-review__author a:hover { text-decoration: underline; }
.rf-review__author span { font-weight: 400; font-size: var(--fs-xs); color: var(--ink-3); }
.rf-review__who .rf-gmark { width: 18px; height: 18px; }
.rf-review .rf-stars { font-size: var(--fs-l); line-height: 1; }
.rf-review__text { margin: 0; color: var(--ink); font-size: var(--fs-m); white-space: pre-line; }
details.rf-review__text summary { cursor: pointer; list-style: none; }
details.rf-review__text summary::-webkit-details-marker { display: none; }
details.rf-review__text[open] summary { display: none; }
details.rf-review__text p { margin: 0; }
.rf-review__more { font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.rf-reviews__foot { font-size: var(--fs-s); color: var(--ink-3); margin: 20px 0 0; }
.rf-reviews__foot a { color: var(--ink-2); font-weight: 600; }
@media (max-width: 720px) {
	.rf-reviews__score { width: 100%; }
	.rf-reviews__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 6px; scrollbar-width: none; }
	.rf-reviews__list::-webkit-scrollbar { display: none; }
	.rf-review { flex: 0 0 82%; scroll-snap-align: start; }
}

/* ---------------------------------------------------------------
   Product page with configurator
---------------------------------------------------------------- */
.rf-shop { padding-bottom: 72px; }
.rf-pdp__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 8px; }
.rf-pdp__visual { position: sticky; top: 16px; }
.rf-preview {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m);
	aspect-ratio: 640 / 560; overflow: hidden;
}
.rf-preview svg { display: block; width: 100%; height: 100%; }
/* Media: drawing and photos share one stage */
.rf-media, .rf-pdp__visual, .rf-pdp__main { min-width: 0; }
.rf-media__stage { position: relative; }
.rf-media__photo { position: absolute; inset: 0; margin: 0; border-radius: var(--r-m); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.rf-media__photo[hidden], .rf-media__video[hidden] { display: none; }
.rf-media__video { position: absolute; inset: 0; border-radius: var(--r-m); overflow: hidden; background: var(--ink); }
.rf-media__video video { width: 100%; height: 100%; object-fit: contain; display: block; }
.rf-media__thumb--video { position: relative; }
.rf-media__play { position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.rf-media__play::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 9px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.rf-media__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rf-media__photo figcaption { position: absolute; left: 10px; bottom: 10px; background: var(--paper); color: var(--ink-2); font-size: 12px; padding: 3px 8px; border-radius: var(--r-s); }
.rf-media__thumbs { position: relative; list-style: none; margin: 10px 0 0; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.rf-media__thumb { position: relative; display: block; width: 68px; height: 68px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface); cursor: pointer; overflow: hidden; flex: none; }
.rf-media__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rf-media__thumb:hover { border-color: var(--ink-3); }
.rf-media__thumb.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.rf-media__thumb:focus-visible { outline: 3px solid var(--signal); outline-offset: 1px; }
.rf-media__thumb--drawing { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--paper); color: var(--ink); font-size: 11px; font-weight: 600; line-height: 1.1; }
.rf-media__thumb--drawing svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.rf-media__thumb--drawing svg rect { fill: var(--surface-2, #E4E7EA); }
.rf-media__thumb--drawing svg .dim { stroke: var(--ink-3); }

/* Hero: copy and a real photo, the quick price as a bar below */
.rf-hero__bar { padding-bottom: 48px; margin-top: -16px; }
/* Hero with a background photo; the copy sits on a solid card */
.rf-hero--bg { position: relative; overflow: hidden; }
.rf-hero--bg .rf-hero__bg { position: absolute; top: 0; left: 34%; width: 66%; height: 600px; object-fit: cover; object-position: 58% 40%; display: block; }
.rf-hero--bg .rf-hero__grid { position: relative; grid-template-columns: minmax(0, 1fr); min-height: 600px; padding-top: 48px; padding-bottom: 104px; }
.rf-hero--bg .rf-hero__copy { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 36px 40px 40px; max-width: 560px; }
.rf-hero--bg .rf-hero__bar { position: relative; margin-top: -72px; }
@media (min-width: 1100px) {
	.rf-quick--bar { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .9fr) auto; align-items: end; gap: 0 28px; padding: 20px 24px 24px; }
	.rf-quick--bar .rf-quick__title { grid-column: 1 / -1; margin-bottom: 14px; }
	.rf-quick--bar .rf-quick__drive { margin: 0; }
	.rf-quick--bar .rf-quick__result { margin: 0; padding: 0 0 0 24px; border: 0; border-left: 1px solid var(--line); align-self: stretch; align-content: end; }
	.rf-quick--bar .rf-quick__note { font-size: 12px; }
	.rf-quick--bar .button-primary { width: auto; white-space: nowrap; min-height: 50px; padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 960px) {
	.rf-hero__bar { margin-top: 0; padding-bottom: 32px; }
	.rf-hero--bg .rf-hero__bg { left: 0; width: 100%; height: 300px; object-position: 55% 35%; }
	.rf-hero--bg .rf-hero__grid { min-height: 0; padding-top: 220px; padding-bottom: 16px; }
	.rf-hero--bg .rf-hero__copy { padding: 22px 20px 24px; }
	.rf-hero--bg .rf-hero__bar { margin-top: 0; }
}

/* Customer photos */
.rf-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.rf-section__head .rf-section__title { margin-bottom: 0; }
.rf-section__intro { margin: 0; color: var(--ink-2); }
.rf-gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 12px; }
.rf-gallery__item figure { position: relative; margin: 0; height: 100%; border-radius: var(--r-m); overflow: hidden; background: var(--surface); }
.rf-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rf-gallery__item--big { grid-column: span 2; grid-row: span 2; }
.rf-gallery__item--big img { object-position: 50% 75%; }
.rf-gallery__item figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; width: fit-content; max-width: calc(100% - 20px); background: var(--paper); color: var(--ink); font-size: var(--fs-s); font-weight: 600; padding: 4px 10px; border-radius: var(--r-s); }
@media (max-width: 960px) {
	.rf-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 8px; }
}

.rf-pdp__head { margin-bottom: 20px; }
.rf-pdp__title { font-size: var(--fs-3); font-variation-settings: "wdth" 82; font-weight: 800; margin-bottom: 8px; }
.rf-pdp__intro { color: var(--ink-2); margin-bottom: 8px; }

/* Drawing */
.rf-preview .wall { fill: #E9E6E1; }
.rf-preview .wall--inside { fill: #EEF0F1; }
.rf-preview .brick line { stroke: #DCD7D0; stroke-width: 1; }
.rf-preview .reveal { fill: #D3CEC6; }
.rf-preview .frame { fill: #FBFBFA; stroke: #9AA2A8; stroke-width: 1; }
.rf-preview .glass { fill: #CFDCE3; stroke: #9AA2A8; stroke-width: 1; }
.rf-preview .mullion { stroke: #9AA2A8; stroke-width: 6; }
.rf-preview .sill { fill: #BDB7AE; }
.rf-preview .curtain, .rf-preview .guide, .rf-preview .box, .rf-preview .bottombar { stroke: rgba(30,37,43,.45); stroke-width: 1; }
.rf-preview .slats line, .rf-preview .slat-line { stroke: rgba(30,37,43,.28); stroke-width: 1; }
.rf-preview .box-line { stroke: rgba(30,37,43,.3); stroke-width: 1; }
.rf-preview .solar { fill: #24384F; stroke: #0F1C2B; stroke-width: 1; }
.rf-preview .pleat line { stroke-width: 1; }
.rf-preview .dim { stroke: var(--ink); stroke-width: 1.4; }
.rf-preview .dim-bg { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; rx: 3; }
.rf-preview .dim-text { font-family: var(--font); font-size: 15px; font-weight: 700; fill: var(--ink); }
.rf-preview .note { font-family: var(--font); font-size: 12px; fill: var(--ink-2); }
.rf-preview .caption { font-family: var(--font); font-size: 13px; fill: var(--ink-3); }

/* Steps */
.rf-config { border-top: 1px solid var(--line); }
.rf-step { border-bottom: 1px solid var(--line); }
.rf-step__title { margin: 0; font-size: inherit; }
.rf-step__head {
	width: 100%; display: grid; grid-template-columns: 32px auto 1fr 16px; align-items: center; gap: 12px;
	padding: 16px 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: var(--ink);
}
.rf-step__head::after {
	content: ""; width: 9px; height: 9px; justify-self: end; margin-right: 4px;
	border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-3px);
	transition: transform .15s ease;
}
.rf-step.is-open .rf-step__head::after { transform: rotate(-135deg) translateY(-2px); }
.rf-step__num {
	width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
	border: 2px solid var(--ink); font-weight: 700; font-size: var(--fs-s);
}
.rf-step.is-open .rf-step__num { background: var(--ink); color: #fff; }
.rf-step.is-done:not(.is-open) .rf-step__num { border-color: var(--green); background: var(--green); color: #fff; }
.rf-step__name { font-weight: 700; font-size: var(--fs-l); font-variation-settings: "wdth" 88; }
.rf-step__summary { color: var(--ink-3); font-size: var(--fs-s); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rf-step.is-open .rf-step__summary { visibility: hidden; }
.rf-step__body { display: none; padding: 0 0 24px 44px; }
.rf-step.is-open .rf-step__body { display: block; }
.rf-next { margin-top: 8px; }

.rf-field { margin-bottom: 20px; }
.rf-label { font-size: var(--fs-s); margin: 0 0 8px; }

/* Radio rows */
.rf-options { display: grid; gap: 8px; }
.rf-opt {
	display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: start;
	padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-s); cursor: pointer; background: var(--paper);
}
.rf-opt:hover { border-color: var(--ink-3); }
.rf-opt input { margin: 3px 0 0; accent-color: var(--ink); width: 18px; height: 18px; }
.rf-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #FAFAFA; }
.rf-opt:has(input:focus-visible) { outline: 3px solid var(--signal); outline-offset: 1px; }
.rf-opt__text { display: flex; flex-direction: column; }
.rf-opt__label { font-weight: 600; }
.rf-opt__desc { font-size: var(--fs-s); color: var(--ink-2); }
.rf-opt__price { font-size: var(--fs-s); color: var(--ink-2); white-space: nowrap; padding-top: 1px; }

/* Segmented */
.rf-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.rf-seg__item { position: relative; flex: 1 1 auto; }
.rf-seg__item input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rf-seg__item span {
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--r-s);
	font-weight: 600; font-size: var(--fs-s); background: var(--paper); line-height: 1.25;
}
.rf-seg__item span small { font-weight: 400; color: var(--ink-3); font-size: var(--fs-xs); }
.rf-seg__item:hover span { border-color: var(--ink-3); }
.rf-seg__item input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #FAFAFA; }
.rf-seg__item input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 1px; }

/* Sizes */
.rf-size { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--paper); max-width: 220px; }
.rf-size:focus-within { border-color: var(--ink); box-shadow: 0 0 0 2px var(--signal); }
.rf-size input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 12px; height: 48px; font: inherit; font-size: var(--fs-l); font-weight: 600; outline: none; font-variant-numeric: tabular-nums; }
.rf-size__unit { display: grid; place-items: center; padding: 0 12px; color: var(--ink-3); border-left: 1px solid var(--line); font-size: var(--fs-s); }
.rf-field--size { display: inline-block; vertical-align: top; width: calc(50% - 10px); margin-right: 16px; }
.rf-field--size + .rf-field--size { margin-right: 0; }
.rf-field--size .rf-size { max-width: none; }
.rf-field.has-error .rf-size { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.rf-error { color: var(--err); font-size: var(--fs-s); margin: 6px 0 0; font-weight: 600; }
.rf-error:empty { display: none; }
.rf-hint { background: var(--surface); border-radius: var(--r-s); padding: 12px 14px; font-size: var(--fs-s); color: var(--ink-2); margin-bottom: 16px; }
.rf-hint p { margin: 0; }
.rf-aside { font-size: var(--fs-s); margin: 4px 0 12px; }
.rf-aside__sep { color: var(--ink-3); }
.rf-derived { font-size: var(--fs-s); color: var(--ink-2); margin-bottom: 12px; }
.rf-warning { background: var(--warn-bg); border-left: 3px solid var(--signal-2); padding: 10px 12px; font-size: var(--fs-s); }

/* Swatches */
.rf-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.rf-swatch { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 8px; border: 1px solid var(--line-2); border-radius: var(--r-s); cursor: pointer; background: var(--paper); }
.rf-swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rf-swatch__chip { display: block; height: 30px; border-radius: 2px; background: var(--chip, #ddd); border: 1px solid rgba(0,0,0,.14); margin-bottom: 4px;
	background-image: repeating-linear-gradient(180deg, transparent 0 9px, rgba(0,0,0,.12) 9px 10px); }
.rf-swatch--same .rf-swatch__chip { background: var(--surface); background-image: none; border-style: dashed; }
.rf-swatch__name { font-size: var(--fs-s); font-weight: 600; line-height: 1.2; }
.rf-swatch__ral { font-size: 12px; color: var(--ink-3); line-height: 1.25; }
.rf-swatch:hover { border-color: var(--ink-3); }
.rf-swatch:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.rf-swatch:has(input:checked)::after { content: ""; position: absolute; top: 4px; right: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; pointer-events: none; }
.rf-swatch:has(input:focus-visible) { outline: 3px solid var(--signal); outline-offset: 1px; }
.rf-swatch.is-disabled { opacity: .45; cursor: not-allowed; }

/* Buy box */
.rf-buy {
	position: sticky; bottom: 0; z-index: 5;
	margin-top: 20px; padding: 18px 20px; background: var(--paper);
	border: 1px solid var(--line); border-top: 4px solid var(--anthracite); border-radius: var(--r-m);
}
.rf-buy__price { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 12px; }
.rf-buy__label { grid-column: 1 / -1; font-size: var(--fs-s); color: var(--ink-3); }
.rf-buy__total { font-size: var(--fs-3); font-weight: 800; font-variation-settings: "wdth" 82; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rf-buy__note { font-size: var(--fs-s); color: var(--ink-2); }
.rf-config.is-loading .rf-buy__total { opacity: .55; }
.rf-buy__delivery { display: block; font-size: var(--fs-s); margin: 8px 0 14px; }
.rf-buy__delivery .rf-dot { display: inline-block; margin-right: 8px; vertical-align: 1px; }
.rf-dot { width: 9px; height: 9px; border-radius: 2px; background: var(--green); flex: none; }
.rf-buy__actions { display: flex; gap: 10px; }
.rf-qty { display: flex; border: 1px solid var(--line-2); border-radius: var(--r-s); flex: none; }
.rf-qty input { width: 40px; border: 0; text-align: center; font: inherit; font-weight: 600; }
.rf-qty__btn { width: 38px; border: 0; background: var(--surface); font-size: 20px; cursor: pointer; color: var(--ink); }
.rf-qty__btn:hover { background: var(--surface-2); }
.rf-add { flex: 1; min-height: 50px !important; font-size: var(--fs-l) !important; }
.rf-add[aria-disabled=true] { opacity: .6; }
.rf-add.is-busy { opacity: .7; pointer-events: none; }
.rf-breakdown { margin-top: 12px; font-size: var(--fs-s); }
.rf-breakdown summary { cursor: pointer; color: var(--ink-2); }
.rf-breakdown ul { list-style: none; margin: 8px 0 0; padding: 0; }
.rf-breakdown li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed var(--line); }

.rf-usp { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; font-size: var(--fs-s); }
.rf-usp li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.rf-usp strong { color: var(--ink); }
.rf-usp .rf-icon { color: var(--green); margin-top: 1px; stroke-width: 2.4; }

/* Product information */
.rf-subnav { position: sticky; top: 0; z-index: 4; background: var(--paper); border-bottom: 1px solid var(--line); margin: 56px 0 8px; }
.rf-subnav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.rf-subnav a { display: block; line-height: 52px; text-decoration: none; color: var(--ink-2); font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; }
.rf-subnav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.rf-pdp__content { max-width: 80ch; }
.rf-pdp__content h2 { padding-top: 12px; scroll-margin-top: 72px; }
.rf-pdp .rf-reviews { margin-top: 48px; }

@media (min-width: 961px) {
	.rf-preview { aspect-ratio: auto; width: 100%; height: clamp(320px, calc(100vh - 330px), 560px); }
	.rf-pdp__visual .rf-buy { position: static; margin-top: 12px; padding: 16px 18px; }
	.rf-pdp__visual .rf-buy__delivery { margin: 6px 0 12px; }
}
@media (max-width: 960px) {
	.rf-pdp__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.rf-pdp__visual { position: static; }
	.rf-preview { aspect-ratio: 640 / 520; }
	.rf-pdp__head { order: -1; }
	.rf-step__body { padding-left: 0; }
	.rf-buy { margin: 20px calc(var(--gut) * -1) 0; border-radius: 0; border-left: 0; border-right: 0; box-shadow: 0 -6px 16px rgba(30, 37, 43, .08); padding: 12px var(--gut); }
	.rf-buy__total { font-size: var(--fs-2); }
	.rf-buy__delivery { margin: 4px 0 10px; }
	.rf-breakdown { display: none; }
	.rf-pdp__title { font-size: var(--fs-2); }
}
@media (max-width: 480px) {
	.rf-field--size { width: 100%; margin-right: 0; }
	.rf-step__summary { display: none; }
	.rf-step__head { grid-template-columns: 32px 1fr 16px; }
}

/* ---------------------------------------------------------------
   WooCommerce: grids, notices, cart, checkout, account
---------------------------------------------------------------- */
.woocommerce .woocommerce-products-header__title, .woocommerce-products-header h1 { font-size: var(--fs-3); }
.woocommerce ul.products { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; display: flex; flex-direction: column; }
.woocommerce ul.products li.product a img { margin: 0; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: var(--fs-xl); padding: 16px 18px 4px !important; margin: 0; }
.woocommerce ul.products li.product .price { color: var(--ink) !important; font-weight: 700; padding: 0 18px; display: block; }
.woocommerce ul.products li.product .button { margin: auto 18px 18px !important; }
.rf-from { font-weight: 400; color: var(--ink-2); }
.rf-free { font-weight: 700; color: var(--ok); }
@media (max-width: 900px) { .woocommerce ul.products { grid-template-columns: 1fr; } }

.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	border: 0 !important; border-left: 4px solid var(--anthracite) !important; background: var(--surface) !important;
	border-radius: var(--r-s) !important; padding: 14px 16px !important; margin: 16px 0 !important; list-style: none; color: var(--ink) !important;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-error, .wc-block-components-notice-banner.is-error { border-left-color: var(--err) !important; background: var(--err-bg) !important; }
.woocommerce-message, .wc-block-components-notice-banner.is-success { border-left-color: var(--ok) !important; background: var(--ok-bg) !important; }
.woocommerce-message .button { float: right; min-height: 36px; }

/* Block cart and checkout */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--font); }
.wc-block-components-title, .wc-block-cart__totals-title { font-variation-settings: "wdth" 88 !important; }
.wc-block-components-product-name { font-weight: 700; color: var(--ink) !important; text-decoration: none; font-size: var(--fs-l) !important; }
.wc-block-components-product-details { font-size: var(--fs-s); color: var(--ink-2); }
.wc-block-components-product-metadata__description { display: none; }
.wc-block-cart-items__header, .wc-block-cart__totals-title { text-transform: none !important; letter-spacing: 0 !important; font-size: var(--fs-s) !important; color: var(--ink-3); font-weight: 600 !important; }
.admin-bar .rf-pdp__visual { top: 48px; }
.wc-block-checkout__shipping-option--free, .wc-block-components-totals-shipping .wc-block-components-totals-item__value strong, .wc-block-components-totals-item__value strong { text-transform: none !important; color: var(--ok); }
.wc-block-components-product-details li { margin: 0 !important; }
.wc-block-components-product-details__name { font-weight: 600; color: var(--ink); }
.wc-block-components-totals-item__label, .wc-block-components-totals-item__value { font-size: var(--fs-m); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: var(--fs-xl) !important; font-weight: 800 !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-components-text-input input[type], .wc-blocks-components-select select {
	border-radius: var(--r-s) !important; border-color: var(--line-2) !important; font-family: var(--font) !important;
}
.wc-block-components-text-input input:focus { border-color: var(--ink) !important; box-shadow: 0 0 0 2px var(--signal) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--ink); border-color: var(--ink); }
.wc-block-components-radio-control__option-checked .wc-block-components-radio-control__input:checked::before { background: var(--ink); }
.wc-block-cart, .wc-block-checkout { margin-top: 8px; }
.wc-block-cart__empty-cart__title.with-empty-cart-icon::before { display: none !important; }
.wp-block-woocommerce-empty-cart-block .wp-block-separator.is-style-dots { display: none; }
.wc-block-cart__empty-cart__title { font-size: var(--fs-xl) !important; margin-top: 24px; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar { padding-left: 32px; }
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity { background: var(--anthracite); color: #fff; border: 0; }
.rf-is-funnel .rf-page { padding-top: 8px; }

/* Classic cart (fallback) */
.woocommerce table.shop_table { border-radius: var(--r-m); border-color: var(--line); }
.woocommerce table.shop_table th { font-weight: 600; color: var(--ink-2); }
.rf-edit-link { font-size: var(--fs-s); margin-left: 8px; font-weight: 400; }

/* Account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.woocommerce-MyAccount-navigation li.is-active a { font-weight: 700; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 11px 12px; font: inherit;
}
.woocommerce form.login, .woocommerce form.register { border: 1px solid var(--line); border-radius: var(--r-m); }
@media (max-width: 800px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 16px; } }

/* Fallback single product (not configurable) */
.rf-product__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.rf-product .price { font-size: var(--fs-2); font-weight: 800; color: var(--ink) !important; }
@media (max-width: 900px) { .rf-product__grid { grid-template-columns: 1fr; } }

/* WooCommerce "coming soon" and store notice */
.woocommerce-store-notice, p.demo_store { background: var(--anthracite) !important; }

/* ---------------------------------------------------------------
   Footer
---------------------------------------------------------------- */
.rf-footer { background: var(--anthracite); color: #D7DCE0; margin-top: 0; }
.rf-footer a { color: #fff; text-decoration: none; }
.rf-footer a:hover { text-decoration: underline; color: #fff; }
.rf-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.rf-footer h2 { color: #fff; font-size: var(--fs-m); font-variation-settings: "wdth" 92; margin-bottom: 14px; }
.rf-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-s); }
.rf-footer__contact a { display: inline-flex; align-items: center; gap: 8px; }
.rf-footer__contact .rf-icon { width: 18px; height: 18px; color: var(--signal); }
.rf-footer__muted { color: #AEB6BC; }
.rf-footer__base { border-top: 1px solid var(--anthracite-2); font-size: var(--fs-xs); color: #AEB6BC; }
.rf-header--funnel ~ .rf-main + .rf-footer .rf-footer__base { border-top: 0; }
.rf-footer__base-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.rf-footer__base-inner p { margin: 0; }
.rf-footer__base-inner > p:first-of-type { margin-right: auto; }
.rf-footer__base p { margin: 0; }
@media (max-width: 900px) { .rf-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rf-footer__cols { grid-template-columns: 1fr; gap: 24px; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.rf-header, .rf-footer, .rf-buy, .rf-subnav { display: none; }
}

/* ---------------------------------------------------------------
   Particulier / zakelijk
---------------------------------------------------------------- */
.rf-klant { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; padding: 2px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s); }
.rf-klant__label { padding: 0 8px 0 6px; color: var(--ink-3); font-size: var(--fs-xs); white-space: nowrap; }
.rf-klant__opt { border: 0; background: none; font: inherit; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); padding: 3px 10px; border-radius: 3px; cursor: pointer; white-space: nowrap; line-height: 1.5; }
.rf-klant__opt small { font-size: inherit; font-weight: 400; color: var(--ink-3); }
.rf-klant__opt:hover { color: var(--ink); }
.rf-klant__opt[aria-pressed=true] { background: var(--anthracite); color: #fff; }
.rf-klant__opt[aria-pressed=true] small { color: rgba(255, 255, 255, .72); }
.rf-klant__opt:focus-visible { outline: 2px solid var(--signal); outline-offset: 1px; }
.rf-topbar__right { margin-left: 16px; }
html.rf-zakelijk .rf-p:not([data-rf-mode]) { visibility: hidden; }
.rf-klant-cartnote { margin: 0 0 20px; padding: 12px 16px; background: var(--surface); border-left: 4px solid var(--anthracite); border-radius: var(--r-s); font-size: var(--fs-s); color: var(--ink-2); }
.rf-klant-cartnote strong { color: var(--ink); }
@media (max-width: 1040px) { .rf-klant__opt small { display: none; } }
@media (max-width: 800px) {
	.rf-topbar__inner { justify-content: space-between; }
	.rf-klant__label { display: none; }
}
@media (max-width: 360px) { .rf-topbar__facts { display: none; } .rf-topbar__inner { justify-content: center; } .rf-klant { margin: 0; } }

/* ---------------------------------------------------------------
   Projects
---------------------------------------------------------------- */
.rf-projlink__count { background: var(--green); color: #fff; }
.rf-save { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 42px; margin-top: 10px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--paper); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.rf-save:hover { border-color: var(--ink-3); background: var(--surface); }
.rf-save .rf-icon { width: 20px; height: 20px; color: var(--ok); }
.rf-save.is-busy { opacity: .6; pointer-events: none; }
@media (max-width: 960px) { .rf-save { min-height: 36px; margin-top: 8px; font-size: var(--fs-s); } }

.rf-toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); width: max-content; max-width: calc(100vw - 32px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-m); font-size: var(--fs-s); box-shadow: 0 8px 24px rgba(30, 37, 43, .25); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.rf-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.rf-toast a { color: var(--signal); font-weight: 700; margin-left: 4px; }
.rf-has-config .rf-toast { bottom: 200px; }
@media (min-width: 961px) { .rf-has-config .rf-toast { bottom: 24px; } }

.rf-dlg { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-top: 4px solid var(--anthracite); border-radius: var(--r-m); box-shadow: 0 16px 48px rgba(30, 37, 43, .3); color: var(--ink); }
.rf-dlg::backdrop { background: rgba(30, 37, 43, .55); }
.rf-dlg__form { position: relative; padding: 22px 24px 20px; display: grid; gap: 14px; }
.rf-dlg__close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--ink-3); cursor: pointer; border-radius: var(--r-s); }
.rf-dlg__close:hover { background: var(--surface); color: var(--ink); }
.rf-dlg__title { margin: 0; font-size: var(--fs-xl); padding-right: 32px; }
.rf-dlg__intro, .rf-dlg__muted { margin: 0; font-size: var(--fs-s); color: var(--ink-2); }
.rf-dlg__muted { color: var(--ink-3); }
.rf-dlg__list { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.rf-dlg__list legend { font-weight: 700; font-size: var(--fs-s); margin-bottom: 6px; padding: 0; }
.rf-dlg__list [data-list] { display: grid; gap: 6px; max-height: 220px; overflow-y: auto; }
.rf-dlg__opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s); cursor: pointer; }
.rf-dlg__opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.rf-dlg__opt input { accent-color: var(--anthracite); width: 18px; height: 18px; margin: 0; }
.rf-dlg__opt span { display: flex; justify-content: space-between; gap: 12px; flex: 1; }
.rf-dlg__opt small { color: var(--ink-3); }
.rf-dlg__field { display: grid; gap: 4px; font-size: var(--fs-s); font-weight: 700; }
.rf-dlg__field small { font-weight: 400; color: var(--ink-3); }
.rf-dlg__field[hidden] { display: none; }
.rf-dlg__field input, .rf-projects__form input, .rf-proj__share input { height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-s); font: inherit; font-weight: 400; width: 100%; }
.rf-dlg__field input:focus, .rf-projects__form input:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 2px var(--signal); }
.rf-dlg__error { margin: 0; color: var(--err); background: var(--err-bg); padding: 8px 12px; border-radius: var(--r-s); font-size: var(--fs-s); }
.rf-dlg__actions { display: flex; gap: 10px; }
.rf-dlg__actions .button-primary { flex: 1; }
.rf-dlg [type=submit].is-busy { opacity: .6; pointer-events: none; }

/* "Mijn projecten" page */
.rf-projects { display: grid; gap: 20px; margin-top: 8px; }
.rf-projects__loading { color: var(--ink-3); }
.rf-projects__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rf-projects__bar p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.rf-projects__bar .button-secondary { flex: none; }
.rf-projects__form { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; padding: 16px; background: var(--surface); border-radius: var(--r-m); }
.rf-projects__form[hidden] { display: none; }
.rf-projects__form label { flex: 1 1 260px; display: grid; gap: 4px; font-size: var(--fs-s); font-weight: 700; }
.rf-projects__form--inline { padding: 0; background: none; }
.rf-projects__form--inline label { flex-basis: 220px; }
.rf-projects__guest { margin: 0; padding: 12px 16px; background: var(--surface); border-left: 4px solid var(--green); border-radius: var(--r-s); font-size: var(--fs-s); color: var(--ink-2); }
.rf-projects__empty { padding: 40px 28px; border: 1px dashed var(--line-2); border-radius: var(--r-m); text-align: center; }
.rf-projects .rf-projects__empty h2 { margin: 0 0 8px; font-size: var(--fs-xl); }
.rf-projects__empty p { margin: 0 auto; max-width: 56ch; color: var(--ink-2); }
.rf-projects__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 20px !important; }

.rf-proj { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); scroll-margin-top: 24px; }
.rf-proj.is-target { border-color: var(--ink-3); box-shadow: 0 0 0 3px var(--surface-2); }
.rf-proj__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.rf-proj__head > div:first-child { flex: 1; min-width: 0; }
.rf-projects .rf-proj__name { margin: 0; font-size: var(--fs-xl); }
.rf-proj__meta { margin: 2px 0 0; font-size: var(--fs-s); color: var(--ink-3); }
.rf-proj__tools { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: flex-end; padding-top: 4px; }
.rf-linkbtn { border: 0; background: none; padding: 0; font: inherit; font-size: var(--fs-s); font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rf-linkbtn:hover { color: var(--ink); }
.rf-linkbtn--danger:hover, .rf-linkbtn.is-confirm { color: var(--err); }
.rf-proj__share { padding: 14px 22px; background: var(--surface); border-bottom: 1px solid var(--line); }
.rf-proj__share label { display: grid; gap: 6px; font-size: var(--fs-s); color: var(--ink-2); }
.rf-proj__items { list-style: none; margin: 0; padding: 0; }
.rf-pitem { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 110px; gap: 16px; align-items: start; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.rf-pitem:last-child { border-bottom: 0; }
.rf-pitem__img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-s); background: var(--surface); display: block; }
.rf-pitem__name { margin: 0 0 4px; }
.rf-pitem__name span { color: var(--ink-2); }
.rf-pitem__specs { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: var(--fs-s); color: var(--ink); }
.rf-pitem__specs em { font-style: normal; color: var(--ink-3); }
.rf-pitem__warn { margin: 0; font-size: var(--fs-s); color: var(--err); }
.rf-pitem.is-invalid .rf-pitem__img { opacity: .5; }
.rf-pitem__links { margin: 8px 0 0; display: flex; gap: 16px; font-size: var(--fs-s); font-weight: 600; }
.rf-pitem__qty { display: grid; justify-items: end; gap: 6px; }
.rf-pitem__qty .rf-qty { height: 36px; }
.rf-pitem__qty .rf-qty input { width: 36px; }
.rf-pitem__qty small { font-size: var(--fs-xs); color: var(--ink-3); white-space: nowrap; }
.rf-pitem__price { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; padding-top: 6px; }
.rf-proj__empty { margin: 0; padding: 20px 22px; color: var(--ink-2); }
.rf-proj__foot { display: flex; align-items: center; justify-content: flex-end; gap: 24px; padding: 16px 22px; background: var(--surface); border-top: 1px solid var(--line); border-radius: 0 0 var(--r-m) var(--r-m); }
.rf-proj__total { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.rf-proj__total small { color: var(--ink-3); font-size: var(--fs-s); }
.rf-proj__total strong { font-size: var(--fs-2); font-variation-settings: "wdth" 82; font-variant-numeric: tabular-nums; }
.rf-proj__foot .button-primary.is-busy { opacity: .7; pointer-events: none; }
@media (max-width: 720px) {
	.rf-projects__bar { flex-direction: column; align-items: stretch; }
	.rf-proj__head { flex-direction: column; padding: 16px; }
	.rf-proj__tools { justify-content: flex-start; padding-top: 0; }
	.rf-pitem { grid-template-columns: 52px minmax(0, 1fr); gap: 10px 12px; padding: 14px 16px; }
	.rf-pitem__img { width: 52px; height: 52px; }
	.rf-pitem__qty { grid-column: 2; grid-row: 2; justify-self: start; display: flex; align-items: center; gap: 10px; }
	.rf-pitem__price { grid-column: 2; grid-row: 2; justify-self: end; align-self: center; padding: 0; }
	.rf-proj__foot { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
	.rf-proj__total { justify-content: space-between; }
}
@media print {
	html.rf-print-project .rf-proj:not(.is-print), html.rf-print-project .rf-projects__bar, html.rf-print-project .rf-projects__guest, html.rf-print-project .rf-projects__form, html.rf-print-project .rf-crumbs { display: none !important; }
	.rf-proj__tools, .rf-proj__foot .button-primary, .rf-pitem__links, .rf-qty__btn, .rf-proj__share, .rf-toast, .rf-dlg { display: none !important; }
	.rf-proj { border: 0; }
	.rf-pitem { break-inside: avoid; }
	.rf-pitem__qty .rf-qty { border: 0; }
}


/* ---------------------------------------------------------------
   Landing pages and guides
---------------------------------------------------------------- */
.rf-table-wrap { overflow-x: auto; margin: 16px 0 8px; border: 1px solid var(--line); border-radius: var(--r-m); }
.rf-price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; }
.rf-price-table caption { text-align: left; padding: 12px 14px; font-weight: 700; background: var(--surface); border-bottom: 1px solid var(--line); }
.rf-price-table th, .rf-price-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.rf-price-table thead th { font-size: var(--fs-s); color: var(--ink-2); font-weight: 600; }
.rf-price-table th[scope=row], .rf-price-table thead th:first-child { text-align: left; }
.rf-price-table tbody tr:last-child > * { border-bottom: 0; }
.rf-price-table td a { color: var(--ink); font-weight: 600; text-decoration: none; }
.rf-price-table td a:hover { text-decoration: underline; }
.rf-table-note { font-size: var(--fs-s); color: var(--ink-3); }
.rf-prose table:not(.rf-price-table) { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: var(--fs-s); }
.rf-prose table:not(.rf-price-table) th, .rf-prose table:not(.rf-price-table) td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rf-prose table:not(.rf-price-table) thead th { background: var(--surface); }
.rf-colour-list { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.rf-colour-list a { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-s); text-decoration: none; color: var(--ink); }
.rf-colour-list a:hover { border-color: var(--ink-3); }
.rf-colour-list__chip { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: var(--r-s); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.rf-colour-list strong { font-size: var(--fs-s); }
.rf-colour-list span:last-child { font-size: var(--fs-xs); color: var(--ink-3); }
.rf-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 24px 0; padding: 18px 20px; background: var(--surface); border-radius: var(--r-m); }
.rf-cta span { font-size: var(--fs-s); color: var(--ink-2); }
.rf-prose .rf-cta a.button-primary { text-decoration: none; }
.rf-answer { font-size: var(--fs-l); color: var(--ink); border-left: 4px solid var(--green); padding: 4px 0 4px 16px; margin: 0 0 24px; }
.rf-cards { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.rf-cards a { display: block; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; color: var(--ink); }
.rf-cards a:hover { border-color: var(--ink-3); }
.rf-cards strong { display: block; margin-bottom: 4px; }
.rf-cards span { font-size: var(--fs-s); color: var(--ink-2); }
.rf-updated { font-size: var(--fs-s); color: var(--ink-3); }
.rf-pdp__guides { margin-top: 48px; }
.rf-pdp__guides h2 { margin: 0 0 4px; }

/* ---------------------------------------------------------------
   Cookie consent (Google Analytics)
---------------------------------------------------------------- */
.rf-cookie { position: fixed; z-index: 90; left: var(--gut); right: var(--gut); bottom: var(--gut); max-width: 420px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 10px 30px rgba(30, 37, 43, .18); padding: 18px 18px 16px; }
.rf-cookie[hidden] { display: none; }
.rf-cookie__t { margin: 0 0 6px; font-weight: 700; font-size: var(--fs-m); }
.rf-cookie__d { margin: 0 0 14px; font-size: var(--fs-s); color: var(--ink-2); line-height: 1.5; }
.rf-cookie__d a { color: var(--ink); }
.rf-cookie__btns { display: flex; gap: 8px; }
.rf-cookie__btns .button { flex: 1 1 0; justify-content: center; min-height: 44px; }
.rf-has-config .rf-cookie { bottom: 190px; }
@media (min-width: 961px) { .rf-has-config .rf-cookie { bottom: var(--gut); } }
.rf-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.rf-footer .rf-linkbtn { color: #fff; }
.rf-footer .rf-linkbtn:hover { text-decoration: underline; }
@media print { .rf-cookie { display: none !important; } }

/* Nieuwsbrief slide-in (10% korting) */
.rf-nl { position: fixed; z-index: 89; left: var(--gut); right: var(--gut); bottom: 92px; max-width: 400px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--r-m); box-shadow: 0 10px 30px rgba(30, 37, 43, .18); padding: 18px 18px 14px; animation: rf-nl-in .25s ease-out; }
.rf-nl[hidden] { display: none; }
@keyframes rf-nl-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rf-nl { animation: none; } }
.rf-nl__x { position: absolute; top: 4px; right: 4px; width: 40px; height: 40px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--ink-3); cursor: pointer; }
.rf-nl__x:hover { color: var(--ink); }
.rf-nl__t { margin: 0 32px 6px 0; font-weight: 700; font-size: var(--fs-m); }
.rf-nl__d { margin: 0 0 12px; font-size: var(--fs-s); color: var(--ink-2); line-height: 1.5; }
.rf-nl form { margin: 0; }
.rf-nl__row { display: flex; gap: 8px; }
.rf-nl__row input { flex: 1 1 auto; min-width: 0; min-height: 44px; }
.rf-nl__row .button-primary { flex: none; min-height: 44px; white-space: nowrap; }
.rf-nl__err { margin: 8px 0 0; font-size: var(--fs-s); color: #B42318; }
.rf-nl__err[hidden], .rf-nl__form[hidden], .rf-nl__ok[hidden] { display: none; }
.rf-nl__fine { margin: 10px 0 0; font-size: 0.75rem; color: var(--ink-3); line-height: 1.45; }
.rf-nl__fine a { color: inherit; }
.rf-nl__ok .rf-nl__d { margin: 0; }
@media (max-width: 420px) { .rf-nl__row { flex-direction: column; } .rf-nl__row .button-primary { width: 100%; } }
.rf-has-config .rf-nl { bottom: 190px; }
@media (min-width: 961px) { .rf-nl { bottom: var(--gut); } .rf-has-config .rf-nl { bottom: var(--gut); } }
@media print { .rf-nl { display: none !important; } }

/* Montagehulp (Werkspot) */
.rf-montagehulp { margin: 32px 0; padding: 20px 22px; border: 1px solid var(--line); border-left: 4px solid var(--signal); border-radius: var(--r-m); background: var(--paper); }
.rf-montagehulp h2 { margin: 0 0 8px; font-size: 1.25rem; }
.rf-montagehulp p { margin: 0 0 12px; }
.rf-montagehulp__actions { margin: 16px 0 10px; }
.rf-montagehulp__btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 2px solid var(--ink); border-radius: var(--r-m); font-weight: 700; color: var(--ink); background: var(--paper); text-decoration: none; }
.rf-montagehulp__btn:hover { background: var(--ink); color: var(--paper); }
.rf-montagehulp__note { font-size: 13px; color: var(--muted, #6E7880); margin: 0; }

/* Klusser aanmelden */
.rf-form__checks { border: 0; padding: 0; margin: 0 0 16px; }
.rf-form__checks legend { font-weight: 600; margin-bottom: 8px; }
.rf-form__checks label { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 400; }
.rf-form__checks input { width: auto; margin: 0; }
