/* ==========================================================================
   Rollenstof — design tokens (design_handoff_wordpress_theme/README.md)
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--navy: #002D6B;
	--cta: #0066CC;
	--blue: #009BDE;
	--blue-light: #E8F5FC;
	--white: #fff;
	--off: #F7F8FA;
	--border: #E4E7EC;
	--text: #111827;
	--muted: #6B7280;
	--green: #16A34A;
	--red: #DC2626;
	--yellow: #F5C518;
	--font: 'Plus Jakarta Sans', sans-serif;
	--shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.06);
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 20px;
}

body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.4; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input { font-family: var(--font); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.rs-hide-mobile { }
/* !important because several .rs-hide-desktop elements (hamburger, mobile cart icon,
   mobile filter trigger) also self-declare `display` in their own base rule — at
   equal specificity that would otherwise win on source order and show them on desktop. */
.rs-hide-desktop { display: none !important; }

.rs-image-slot {
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(45deg, var(--off), var(--off) 10px, var(--border) 10px, var(--border) 20px);
	border-radius: inherit;
}

/* ==========================================================================
   Topbar
   ========================================================================== */
.rs-topbar { background: var(--navy); color: rgba(255,255,255,.82); font-size: 12px; font-weight: 500; padding: 8px 0; overflow: hidden; white-space: nowrap; }
.rs-topbar-track { display: flex; justify-content: center; gap: 32px; padding: 0 24px; min-width: max-content; margin: 0 auto; }
.rs-topbar-marquee { display: none; }

/* ==========================================================================
   Nav
   ========================================================================== */
.rs-nav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.rs-nav-bar { max-width: 1280px; margin: 0 auto; padding: 0 16px; height: 60px; display: flex; align-items: center; gap: 16px; }

.rs-hamburger { display: flex; flex-direction: column; gap: 5px; padding: 8px; flex-shrink: 0; }
.rs-hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

.rs-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.rs-logo img { border-radius: 50%; }
.rs-logo-line { font-size: 16px; font-weight: 800; line-height: 1; letter-spacing: -.3px; display: block; }
.rs-navy { color: var(--navy); }
.rs-blue { color: var(--blue); }
.rs-logo-sub { font-size: 9px; letter-spacing: 2px; color: var(--muted); font-weight: 600; }

.rs-search { flex: 1; max-width: 520px; position: relative; }
.rs-search-input { width: 100%; height: 38px; border-radius: 8px; border: 1.5px solid var(--border); padding-left: 36px; padding-right: 12px; font-size: 14px; outline: none; background: var(--off); transition: border .15s; }
.rs-search-input:focus { border-color: var(--cta); }
.rs-search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.rs-search-results { position: absolute; left: 0; right: 0; top: 100%; background: white; border: 1.5px solid var(--cta); border-top: none; border-radius: 0 0 10px 10px; box-shadow: var(--shadow); z-index: 300; max-height: 360px; overflow-y: auto; }
.rs-search-results a { display: flex; align-items: center; gap: 10px; padding: 9px 14px; font-size: 14px; }
.rs-search-results a:hover { background: var(--off); }
.rs-search-results mark { background: var(--blue-light); color: var(--cta); border-radius: 2px; font-weight: 700; padding: 0 1px; }
.rs-search-empty { padding: 14px; color: var(--muted); font-size: 13px; }

.rs-nav-icons { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.rs-nav-btw-toggle { display: flex; background: var(--off); border-radius: 8px; padding: 3px; gap: 2px; margin-right: 8px; }
.rs-nav-btw-toggle button { border-radius: 6px; padding: 6px 10px; font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.rs-nav-btw-toggle button.is-active { background: white; color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.10); }
.rs-nav-icon { padding: 8px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); font-size: 10px; font-weight: 500; position: relative; }
.rs-cart-badge { position: absolute; top: 4px; right: 3px; background: var(--cta); color: white; border-radius: 50%; width: 18px; height: 18px; font-size: 11px; display: flex; align-items: center; justify-content: center; font-weight: 800; border: 2px solid white; }
/* The badge stays in the DOM at all times (0 items included) so WC's add-to-cart
   fragment refresh always has a stable `.rs-cart-badge` element to replaceWith() —
   author-origin `.rs-cart-badge{display:flex}` would otherwise beat the UA [hidden]
   rule regardless of specificity, so this needs its own explicit override. */
.rs-cart-badge[hidden] { display: none; }

.rs-cat-bar { border-top: 1px solid var(--border); background: #fff; }
.rs-cat-bar-inner { max-width: 1280px; margin: 0 auto; padding: 0 16px; display: flex; align-items: stretch; }
.rs-mega-trigger { display: flex; align-items: center; gap: 8px; padding: 10px 16px 10px 0; font-size: 13px; font-weight: 700; color: var(--navy); border-bottom: 2px solid transparent; }
.rs-mega-trigger.is-open, .rs-mega-trigger[aria-expanded="true"] { color: var(--cta); border-bottom-color: var(--cta); }
.rs-cat-divider { width: 1px; background: var(--border); margin: 8px 14px; }
.rs-quick-dropdowns { display: flex; flex: 1; min-width: 0; align-items: stretch; }
.rs-quick-dd { position: relative; flex-shrink: 0; }
.rs-quick-dd-trigger { padding: 10px 14px; font-size: 13px; font-weight: 500; color: var(--text); display: flex; align-items: center; gap: 5px; height: 100%; }
.rs-quick-dd.is-open .rs-quick-dd-trigger { color: var(--cta); }
.rs-quick-dd-panel { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); min-width: 190px; z-index: 210; }
.rs-quick-dd.is-open .rs-quick-dd-panel { display: block; }
.rs-quick-dd-panel-scroll { padding: 8px; max-height: min(420px, calc(100vh - 160px)); overflow-y: auto; }
.rs-quick-dd-panel-scroll.has-swatch { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 10px; min-width: 220px; }
.rs-quick-dd-panel a { display: flex; align-items: center; gap: 8px; padding: 7px 10px; font-size: 13px; color: #374151; border-radius: 6px; white-space: nowrap; }
.rs-quick-dd-panel a:hover { background: var(--off); color: var(--cta); }

/* Bottom-right bouncing hint — only shown (via .is-visible, added by JS once it
   confirms real overflow: scrollHeight > clientHeight) when a panel's item list
   is actually taller than its max-height, so a customer knows there's more to
   scroll to instead of assuming the list just ends there. Positioned against
   .rs-quick-dd-panel (the non-scrolling outer box), not the scrolling inner
   wrapper, so it stays pinned in the corner regardless of scroll position. */
.rs-scroll-hint { display: none; position: absolute; bottom: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--cta); color: #fff; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); pointer-events: none; z-index: 5; }
.rs-scroll-hint.is-visible { display: flex; animation: rs-scroll-bounce 1.1s ease-in-out infinite; }
@keyframes rs-scroll-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.rs-quick-dd-item { position: relative; }
.rs-quick-dd-item.has-flyout > a { justify-content: space-between; }
.rs-quick-dd-flyout-arrow { flex-shrink: 0; color: var(--muted); }
.rs-quick-dd-flyout { display: none; position: absolute; top: -8px; left: 100%; margin-left: 4px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); padding: 8px; min-width: 190px; max-height: min(420px, calc(100vh - 160px)); overflow-y: auto; z-index: 211; }
.rs-quick-dd-item.has-flyout:hover > .rs-quick-dd-flyout { display: block; }
.rs-swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); flex-shrink: 0; }
.rs-cat-link { padding: 10px 14px; font-size: 13px; font-weight: 500; color: var(--text); white-space: nowrap; display: flex; align-items: center; }
.rs-cat-link:hover { color: var(--cta); }
.rs-keuzehulp-cta { display: flex; align-items: center; gap: 7px; margin: 6px 0; padding: 6px 14px; background: var(--cta); color: white; border-radius: 8px; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.rs-chevron { transition: transform .2s; }
.is-open .rs-chevron, [aria-expanded="true"] .rs-chevron { transform: rotate(180deg); }

.rs-mega-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.25); z-index: 199; }
.rs-mega-overlay.is-open { display: block; }
.rs-mega-panel { position: fixed; left: 0; right: 0; top: 104px; z-index: 199; background: #fff; box-shadow: 0 8px 32px rgba(0,0,0,.14); border-top: 1px solid var(--border); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform .22s ease, opacity .18s ease; max-height: calc(100vh - 104px); overflow-y: auto; }
.rs-mega-panel.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.rs-mega-panel-inner { max-width: 1280px; margin: 0 auto; padding: 28px 16px; }
.rs-mega-cols { display: grid; grid-template-columns: repeat(5,1fr); gap: 0 28px; }
.rs-mega-group { margin-bottom: 18px; }
.rs-mega-letter { font-size: 11px; font-weight: 800; color: var(--navy); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; padding-bottom: 4px; border-bottom: 2px solid var(--blue-light); }
.rs-mega-group a { display: block; font-size: 13px; color: #374151; padding: 3px 0; }
.rs-mega-group a:hover { color: var(--cta); }
.rs-mega-footer { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; }
.rs-mega-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--cta); color: white; border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 700; }

/* ==========================================================================
   Mobile menu
   ========================================================================== */
.rs-mobile-menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 600; }
.rs-mobile-menu-overlay.is-open { display: block; }
.rs-mobile-menu { position: fixed; top: 0; left: 0; bottom: 0; width: min(85vw, 360px); background: white; z-index: 601; display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .3s cubic-bezier(.4,0,.2,1); overflow-y: auto; }
.rs-mobile-menu.is-open { transform: translateX(0); }
.rs-mobile-menu-header { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; position: sticky; top: 0; background: white; }
.rs-mobile-menu-close { background: #F3F4F6; border-radius: 8px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.rs-mobile-menu-body { display: flex; flex-direction: column; flex: 1; padding: 0 18px; }
.rs-mobile-keuzehulp { display: flex; align-items: center; gap: 12px; margin: 16px 0; padding: 14px 16px; background: linear-gradient(135deg,#0066CC,#0050AA); border-radius: 12px; color: white; }
.rs-mobile-keuzehulp-icon { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.rs-mobile-keuzehulp-title { display: block; font-size: 15px; font-weight: 800; }
.rs-mobile-keuzehulp-sub { display: block; font-size: 12px; opacity: .8; }
.rs-mobile-keuzehulp svg { margin-left: auto; flex-shrink: 0; }
.rs-mobile-search { position: relative; margin-bottom: 16px; }
.rs-mobile-search input { width: 100%; height: 42px; border-radius: 8px; border: 1.5px solid var(--border); padding-left: 36px; font-size: 14px; outline: none; background: var(--off); }
.rs-mobile-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.rs-mobile-section-label { font-size: 10px; font-weight: 700; color: #9CA3AF; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 4px; }
.rs-mobile-link { display: block; padding: 12px 0; font-size: 15px; color: var(--text); font-weight: 500; border-bottom: 1px solid #F3F4F6; }
.rs-mobile-az-toggle { width: 100%; border-top: 1px solid var(--border); padding: 14px 0; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; color: var(--navy); margin-top: 4px; }
.rs-mobile-az-list { margin-bottom: 8px; }
.rs-mobile-az-list .rs-mega-letter { padding: 8px 0 3px; border-top: 1px solid #F3F4F6; margin-top: 4px; }
.rs-mobile-az-list a { display: block; padding: 6px 0 6px 10px; font-size: 13px; color: #374151; border-bottom: 1px solid #F9FAFB; }
.rs-mobile-account-row { border-top: 1px solid var(--border); padding-top: 14px; display: flex; gap: 8px; margin-top: 4px; }
.rs-mobile-account-link { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--off); border-radius: 8px; padding: 10px 12px; font-size: 13px; font-weight: 600; }
.rs-mobile-menu-footer { padding: 14px 18px; border-top: 1px solid var(--border); background: var(--off); flex-shrink: 0; }
.rs-mobile-phone { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--navy); font-size: 14px; font-weight: 600; }
.rs-mobile-email { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }

.rs-btw-toggle, .rs-btw-float { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rs-btw-toggle { border-top: 1px solid var(--border); margin-top: 14px; padding-top: 14px; margin-bottom: 14px; }
.rs-btw-options { display: flex; background: var(--off); border-radius: 8px; padding: 3px; gap: 2px; }
.rs-btw-options button { border-radius: 6px; padding: 6px 10px; font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.rs-btw-options button.is-active { background: white; color: var(--navy); font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.10); }
.rs-btw-float { position: fixed; bottom: 24px; right: 24px; z-index: 400; background: white; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,.12); padding: 10px 14px; }
.rs-btw-float > span { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }

/* incl./excl. BTW price toggling — see rollenstof_price_html() */
.rs-price-excl { display: none; }
body.rs-btw-excl .rs-price-incl { display: none; }
body.rs-btw-excl .rs-price-excl { display: inline; }

/* Side-cart "BTW" row — only relevant once the button's incl.-BTW total no longer
   visibly matches Subtotaal + Verzending above it, i.e. only in excl. BTW mode.
   Selector specificity here must beat the later, equally-simple `.rs-row { display: flex }`
   rule in the Side cart section below — a bare `.rs-row-btw-only` would lose that
   cascade fight since both are single-class selectors and the other comes later. */
.rs-sidecart-summary .rs-row-btw-only { display: none; }
body.rs-btw-excl .rs-sidecart-summary .rs-row-btw-only { display: flex; }

/* ==========================================================================
   Side cart
   ========================================================================== */
.rs-sidecart-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 500; }
.rs-sidecart-overlay.is-open { display: block; }
.rs-sidecart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); max-width: 100vw; background: white; z-index: 501; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1); box-shadow: -4px 0 32px rgba(0,0,0,.18); }
.rs-sidecart-drawer.is-open { transform: translateX(0); }
.rs-sidecart-header { padding: 18px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.rs-sidecart-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; color: var(--navy); }
.rs-sidecart-count { background: var(--cta); color: white; border-radius: 20px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.rs-sidecart-close { background: var(--off); border-radius: 8px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.rs-sidecart-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.rs-shipping-bar { background: var(--blue-light); border-radius: 8px; padding: 10px 14px; }
.rs-shipping-bar.is-done { background: #F0FDF4; }
.rs-shipping-bar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--cta); }
.rs-shipping-bar.is-done .rs-shipping-bar-top { color: #15803D; }
.rs-shipping-pct { font-size: 12px; color: var(--muted); font-weight: 500; }
.rs-shipping-track { height: 6px; border-radius: 3px; background: #BFDBFE; overflow: hidden; }
.rs-shipping-bar.is-done .rs-shipping-track { background: #BBF7D0; }
.rs-shipping-fill { height: 100%; background: var(--cta); border-radius: 3px; transition: width .5s ease; }
.rs-shipping-bar.is-done .rs-shipping-fill { background: var(--green); }
.rs-sidecart-empty { text-align: center; padding: 48px 0; color: var(--muted); }
.rs-sidecart-empty-icon { font-size: 36px; margin-bottom: 12px; }
.rs-sidecart-empty-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.rs-sidecart-items { display: flex; flex-direction: column; gap: 10px; }
.rs-sidecart-item { display: flex; gap: 12px; background: var(--off); border-radius: 10px; padding: 12px; border: 1px solid var(--border); }
.rs-sidecart-item-thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.rs-sidecart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rs-sidecart-item-body { flex: 1; min-width: 0; }
.rs-sidecart-item-name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 3px; line-height: 1.3; }
.rs-sidecart-item-meta { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.rs-sidecart-item-footer { display: flex; align-items: center; justify-content: space-between; }
.rs-sidecart-item-price { font-size: 15px; font-weight: 800; color: var(--navy); }
.rs-sidecart-remove { display: flex; align-items: center; gap: 3px; font-size: 12px; color: var(--muted); }
.rs-sidecart-remove:hover { color: var(--red); }
.rs-sidecart-footer { padding: 16px 20px; border-top: 1px solid var(--border); background: white; flex-shrink: 0; }
.rs-sidecart-usps { display: flex; justify-content: space-around; margin-bottom: 14px; font-size: 10px; font-weight: 600; color: var(--muted); text-align: center; }
.rs-sidecart-usps > div { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }
.rs-sidecart-usp-oekotex img { height: 22px; width: auto; object-fit: contain; }
.rs-sidecart-summary { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; padding: 12px; background: var(--off); border-radius: 8px; }
.rs-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.rs-sidecart-checkout { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; background: var(--cta); color: white; border-radius: 8px; font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.rs-sidecart-view-cart { text-align: center; }
.rs-sidecart-view-cart a { font-size: 13px; color: var(--muted); font-weight: 500; text-decoration: underline; }

/* ==========================================================================
   Footer
   ========================================================================== */
.rs-footer { background: #001328; color: white; }
.rs-footer-main { max-width: 1280px; margin: 0 auto; padding: 56px 24px 40px; }
.rs-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.rs-footer-heading-lg { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.rs-footer-sub { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 28px; line-height: 1.6; }
.rs-footer-contact-row { display: flex; gap: 14px; margin-bottom: 20px; }
.rs-footer-contact-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: rgba(255,255,255,.8); }
.rs-footer-contact-title { display: block; font-size: 14px; font-weight: 700; color: white; }
.rs-footer-contact-sub { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.55); margin-top: 2px; }
.rs-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; flex-shrink: 0; }
.rs-footer-heading-sm { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.4); letter-spacing: 1px; margin-bottom: 16px; text-transform: uppercase; }
/* wp_nav_menu() always wraps each item in a real <li> regardless of items_wrap, so
   these target the real menu markup (<ul class="rs-footer-menu"><li><a>) rather than
   a class on the <a> itself — list-style/margin reset here, not per-item. */
.rs-footer-menu { list-style: none; margin: 0; padding: 0; }
.rs-footer-menu li { margin: 0; padding: 0; }
.rs-footer-link, .rs-footer-menu a { display: block; font-size: 14px; color: rgba(255,255,255,.65); padding: 5px 0; }
.rs-footer-newsletter-copy { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 20px; line-height: 1.5; }
.rs-newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.rs-newsletter-form input { height: 44px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: white; padding: 0 14px; font-size: 14px; outline: none; }
.rs-newsletter-form button { height: 44px; border-radius: 8px; background: var(--yellow); color: #111; font-size: 14px; font-weight: 700; }
.rs-newsletter-success { background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.3); border-radius: 8px; padding: 12px 16px; font-size: 14px; color: #86EFAC; font-weight: 500; }
.rs-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 24px; }
.rs-footer-bottom-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.rs-payment-badges { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.rs-payment-icon { display: inline-flex; align-items: center; }
.rs-payment-icon img { height: 22px; width: auto; display: block; }
.rs-footer-legal { font-size: 12px; color: rgba(255,255,255,.35); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.rs-footer-legal-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.rs-footer-legal-menu li { margin: 0; padding: 0; }
.rs-footer-legal a, .rs-footer-legal-menu a { font-size: 12px; color: rgba(255,255,255,.4); }

/* ==========================================================================
   Homepage
   ========================================================================== */
.rs-hero { background: var(--white); border-bottom: 1px solid var(--border); overflow: hidden; }
.rs-hero-grid { max-width: 1280px; margin: 0 auto; padding: 72px 24px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rs-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-light); border-radius: 20px; padding: 5px 14px; font-size: 12px; font-weight: 600; color: var(--cta); margin-bottom: 24px; }
.rs-hero-badge .rs-dot-green { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.rs-hero h1 { font-size: 52px; font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 18px; }
.rs-hero h1 span { color: var(--cta); }
.rs-hero-sub { font-size: 17px; color: var(--muted); line-height: 1.6; margin-bottom: 32px; max-width: 480px; }
.rs-hero-search { position: relative; margin-bottom: 20px; }
.rs-hero-search input { width: 100%; height: 52px; border-radius: 10px; border: 2px solid var(--border); padding-left: 48px; padding-right: 140px; font-size: 15px; outline: none; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.rs-hero-search input:focus { border-color: var(--cta); }
.rs-hero-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.rs-hero-search-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: var(--cta); color: white; border-radius: 7px; padding: 8px 20px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.rs-hero-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-hero-pills a { display: inline-flex; align-items: center; gap: 6px; background: var(--off); border: 1.5px solid var(--border); border-radius: 20px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--text); }
.rs-hero-pills a:hover { border-color: var(--cta); color: var(--cta); }
.rs-hero-visual { position: relative; }
.rs-hero-visual-frame { border-radius: 20px; overflow: hidden; aspect-ratio: 1.1; position: relative; }
.rs-hero-visual-frame img, .rs-hero-visual-frame .rs-image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.rs-hero-float { position: absolute; background: white; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,.14); display: flex; align-items: center; gap: 12px; padding: 12px 18px; }
.rs-hero-float-badge { bottom: 24px; left: -16px; }
.rs-hero-float-usp { top: 24px; right: -16px; padding: 10px 16px; gap: 10px; }
.rs-hero-float-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rs-hero-float-title { font-size: 16px; font-weight: 800; color: var(--navy); }
.rs-hero-float-sub { font-size: 12px; color: var(--muted); }

.rs-trust-bar { background: var(--navy); padding: 20px 24px; }
.rs-trust-bar-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.rs-trust-item { display: flex; align-items: center; gap: 10px; color: white; }
.rs-trust-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rs-trust-icon-oekotex { width: auto; height: 40px; background: none; border-radius: 0; }
.rs-trust-icon-oekotex img { height: 100%; width: auto; object-fit: contain; }
.rs-trust-title { font-size: 14px; font-weight: 700; }
.rs-trust-sub { font-size: 11px; color: rgba(255,255,255,.6); }

.rs-section { padding: 64px 24px; }
.rs-section-inner { max-width: 1280px; margin: 0 auto; }
.rs-section-head { margin-bottom: 32px; display: flex; justify-content: space-between; align-items: baseline; }
.rs-section-head h2 { font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -.5px; margin-bottom: 4px; }
.rs-section-head p { font-size: 14px; color: var(--muted); }
.rs-section-link { font-size: 13px; font-weight: 700; color: var(--cta); display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

.rs-cat-grid-bg { background: var(--off); }
.rs-category-tiles { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
/* Same .rs-category-tile card the homepage "Shop per categorie" grid uses —
   shown instead of the product grid + filter sidebar whenever the current
   category still has real subcategories (see archive-product.php). */
.rs-subcat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; max-width: 1280px; margin: 0 auto; padding: 32px 24px; }
.rs-category-tile { display: block; border-radius: 12px; overflow: hidden; background: white; border: 1px solid var(--border); transition: box-shadow .2s, transform .2s; }
.rs-category-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.rs-category-tile-media { aspect-ratio: 16/9; position: relative; }
.rs-category-tile-count { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,.35); backdrop-filter: blur(4px); color: white; border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 600; }
.rs-category-tile-body { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.rs-category-tile-body span { font-size: 14px; font-weight: 700; color: var(--text); }

.rs-product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.rs-product-card { border-radius: 12px; border: 1px solid var(--border); overflow: hidden; background: white; transition: box-shadow .2s, transform .2s; }
.rs-product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.rs-product-card-media { display: block; aspect-ratio: 1/1; position: relative; overflow: hidden; }
.rs-product-card-media img { width: 100%; height: 100%; object-fit: cover; }
.rs-product-badge { position: absolute; top: 8px; left: 8px; color: white; border-radius: 6px; padding: 2px 7px; font-size: 10px; font-weight: 700; background: var(--cta); }
.rs-product-badge.is-new { background: var(--green); }
.rs-product-card-body { padding: 14px 16px; }
.rs-product-card-name { font-size: 14px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.rs-product-card-footer { display: flex; align-items: center; justify-content: space-between; }
.rs-product-card-price-label { font-size: 10px; color: var(--muted); display: block; }
.rs-product-card-price { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -.5px; }
.rs-product-card-unit { font-size: 11px; color: var(--muted); }
.rs-product-card-cta { background: var(--cta); color: white; border-radius: 8px; padding: 9px 14px; font-size: 12px; font-weight: 700; }

.rs-usp-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.rs-usp-card { background: white; border-radius: 12px; padding: 28px 24px; border: 1px solid var(--border); }
.rs-usp-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--blue); }
.rs-usp-icon-oekotex { width: auto; height: 48px; background: none; }
.rs-usp-icon-oekotex img { height: 100%; width: auto; object-fit: contain; }
.rs-usp-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.rs-usp-body { font-size: 13px; color: var(--muted); line-height: 1.7; }

.rs-stars { display: flex; gap: 2px; }
.rs-star polygon { fill: #E5E7EB; }
.rs-star.is-filled polygon { fill: #F59E0B; }
.rs-webwinkelkeur { background: var(--off); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rs-webwinkelkeur img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.rs-webwinkelkeur-score { font-size: 32px; font-weight: 800; color: var(--navy); line-height: 1; }
.rs-webwinkelkeur-score span { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.rs-webwinkelkeur-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.rs-review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.rs-review-card { background: var(--off); border-radius: 12px; padding: 20px; border: 1px solid var(--border); }
.rs-review-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.rs-review-author { display: flex; gap: 10px; align-items: center; }
.rs-review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--blue); flex-shrink: 0; }
.rs-review-name { font-size: 14px; font-weight: 700; }
.rs-review-product { font-size: 11px; color: var(--muted); }
.rs-review-verified { font-size: 10px; background: #DCFCE7; color: #15803D; border-radius: 4px; padding: 2px 7px; font-weight: 600; flex-shrink: 0; }
.rs-review-text { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 10px; font-style: italic; }

/* ==========================================================================
   Shop / category archive
   ========================================================================== */
.rs-shop-header { background: var(--white); border-bottom: 1px solid var(--border); }
.rs-shop-header-inner { max-width: 1380px; margin: 0 auto; padding: 16px 24px; }
.woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 6px; align-items: center; }
.woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce-breadcrumb svg { vertical-align: -2px; margin: 0 2px; }
.rs-shop-header-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.rs-shop-header-row h1 { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -.5px; }
.rs-shop-header-sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.rs-shop-trust-icons { display: flex; gap: 16px; flex-wrap: wrap; }
.rs-shop-trust-icons span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 500; }

.rs-shop-body { max-width: 1380px; margin: 0 auto; padding: 24px 24px 64px; }

.rs-shop-faq { max-width: 1380px; margin: 0 auto; padding: 0 24px; }
.rs-shop-faq h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 20px; letter-spacing: -.3px; }
.rs-shop-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
@media (max-width: 782px) {
	.rs-shop-faq-grid { grid-template-columns: 1fr; }
}

.rs-shop-seo-description { max-width: 1380px; margin: 40px auto 0; padding: 24px 0 0; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.7; color: var(--muted); }
.rs-shop-seo-description h1,
.rs-shop-seo-description h2,
.rs-shop-seo-description h3,
.rs-shop-seo-description h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin: 20px 0 8px; }
.rs-shop-seo-description h1:first-child,
.rs-shop-seo-description h2:first-child,
.rs-shop-seo-description h3:first-child,
.rs-shop-seo-description h4:first-child { margin-top: 0; }
.rs-shop-seo-description p { margin: 0 0 10px; }
.rs-shop-seo-description ul,
.rs-shop-seo-description ol { margin: 0 0 10px; padding-left: 20px; }
.rs-shop-seo-description a { color: var(--cta); text-decoration: underline; }
.rs-shop-layout { display: flex; gap: 24px; align-items: flex-start; }
.rs-cat-sidebar { width: 240px; flex-shrink: 0; background: var(--white); border-radius: 10px; border: 1px solid var(--border); padding: 0 18px; position: sticky; top: 140px; }
.rs-filter-header { padding: 16px 0 12px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 700; }
.rs-filter-clear { background: none; font-size: 12px; color: var(--cta); font-weight: 600; }
.rs-filter-group { border-bottom: 1px solid var(--border); }
.rs-filter-group:last-child { border-bottom: none; }
.rs-filter-group summary { padding: 14px 0 12px; font-size: 13px; font-weight: 700; color: var(--text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.rs-filter-group summary::-webkit-details-marker { display: none; }
.rs-filter-group summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .18s; margin-right: 2px; }
.rs-filter-group[open] summary::after { transform: rotate(-135deg); }
.rs-filter-group-body { padding-bottom: 14px; }
.rs-filter-checkbox { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; color: var(--text); }
.rs-filter-checkbox.is-checked { color: var(--cta); font-weight: 600; }
.rs-checkbox-box { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--border); flex-shrink: 0; position: relative; }
.rs-filter-checkbox.is-checked .rs-checkbox-box { background: var(--cta); border-color: var(--cta); }
.rs-filter-checkbox.is-checked .rs-checkbox-box::after { content: ''; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rs-filter-label { flex: 1; }
.rs-filter-count { font-size: 11px; color: var(--muted); }
.rs-filter-group-body.is-swatches { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.rs-swatch-filter { display: block; }
.rs-swatch-filter span { display: block; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.rs-swatch-filter.is-checked span { border: 2.5px solid var(--cta); box-shadow: 0 0 0 3px rgba(0,102,204,.25); }

.rs-shop-main { flex: 1; min-width: 0; }
.rs-mobile-filter-trigger { width: 100%; margin-bottom: 12px; height: 44px; border-radius: 8px; background: var(--navy); color: white; font-size: 14px; font-weight: 700; align-items: center; justify-content: center; gap: 8px; }
.rs-filter-count-badge { background: var(--cta); border-radius: 20px; padding: 1px 8px; font-size: 12px; }
.rs-shop-toolbar { background: var(--white); border-radius: 8px; border: 1px solid var(--border); padding: 10px 14px; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; justify-content: space-between; }
.rs-shop-chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; align-items: center; }
.rs-shop-chips-count { font-size: 13px; color: var(--muted); align-self: center; }
.rs-filter-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--blue-light); color: var(--cta); border-radius: 20px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.rs-shop-toolbar-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; height: 36px; }
.rs-shop-view-toggle { display: flex; align-items: center; gap: 2px; background: var(--off); border-radius: 7px; padding: 3px; height: 36px; }
.rs-shop-view-toggle button { width: 30px; height: 30px; border-radius: 5px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.rs-shop-view-toggle button.is-active { background: white; color: var(--cta); box-shadow: 0 1px 3px rgba(0,0,0,.1); }

/* WooCommerce native result count / ordering — floats reset, styled to match the toolbar */
.woocommerce-result-count { font-size: 13px; color: var(--muted); float: none; margin: 0; }
.woocommerce-ordering { float: none; margin: 0; height: 36px; display: flex; align-items: center; }
.woocommerce-ordering select { height: 36px; border-radius: 7px; border: 1.5px solid var(--border); padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--text); background: white; outline: none; line-height: 34px; }
.woocommerce-pagination { text-align: center; margin-top: 32px; }
.woocommerce-pagination ul.page-numbers { display: inline-flex; align-items: center; gap: 2px; list-style: none; background: var(--off); border-radius: 10px; padding: 4px; }
.woocommerce-pagination .page-numbers li { display: inline-block; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span { display: flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 4px; border-radius: 7px; border: none; font-size: 14px; font-weight: 700; color: var(--navy); transition: background .15s ease, color .15s ease; }
.woocommerce-pagination .page-numbers a:hover { background: white; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.woocommerce-pagination .page-numbers .current { background: var(--cta); color: white; }
.woocommerce-pagination .page-numbers .dots { background: none; color: var(--muted); }

/*
 * woocommerce_product_loop_start()/_end() wrap the <li class="product"> cards in
 * their own <ul class="products columns-4">, which is the actual grid container —
 * .rs-shop-product-grid is just its (otherwise unstyled) parent. WooCommerce's own
 * ul.products li.product float/percentage-width rules (from woocommerce-layout.css)
 * are reset here so they don't fight the CSS grid. Deliberately a different class
 * from the homepage bestseller grid (.rs-product-grid) — that one wraps plain divs,
 * not a WC ul.products, so it needs different rules.
 */
.rs-shop-product-grid { clear: both; }
.rs-shop-product-grid ul.products { display: grid !important; grid-template-columns: repeat(4,1fr); gap: 16px; list-style: none; width: 100%; margin: 0; }
.rs-shop-product-grid[data-cols="2"] ul.products { grid-template-columns: repeat(2,1fr); }
.rs-shop-product-grid[data-cols="3"] ul.products { grid-template-columns: repeat(3,1fr); }
.rs-shop-product-grid ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; }
/* WooCommerce's own clearfix pseudo-elements on ul.products would otherwise become
   empty grid items (content-generating boxes are grid items too), pushing every
   real card one slot later. */
.rs-shop-product-grid ul.products::before, .rs-shop-product-grid ul.products::after { content: none; display: none; }
/*
 * Shop grid card — deliberately its own "rs-shop-card*" namespace, not
 * "rs-product-card*" (used by the homepage bestseller cards): the two designs
 * (Categoriepagina.html vs Homepage.html) specify different sizes/weights for
 * otherwise similarly-named parts, and sharing classes between them previously
 * caused each one's rules to silently overwrite the other's.
 */
.rs-shop-card { border-radius: 6px; border: 1px solid var(--border); overflow: hidden; background: white; transition: box-shadow .2s, transform .2s; list-style: none; }
.rs-shop-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.rs-shop-card-link { display: block; color: inherit; }
.rs-shop-card-media { aspect-ratio: 1/1; position: relative; overflow: hidden; background: var(--off); }
/* WooCommerce's own ".woocommerce ul.products li.product a img" rule (width:100%;
   height:auto) outranks a plain ".rs-shop-card-media img" selector on specificity
   alone, which left the image proportionally short instead of filling the square —
   !important here is a deliberate, narrow override of that one plugin rule. */
.rs-shop-card-media img { width: 100% !important; height: 100% !important; object-fit: cover !important; margin: 0 !important; }
.rs-product-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; }
.rs-product-badge { border-radius: 5px; padding: 3px 8px; font-size: 10px; font-weight: 700; color: white; background: var(--cta); }
.rs-product-badge.is-new { background: var(--green); }
.rs-product-badge.is-oekotex { background: rgba(255,255,255,.9); padding: 3px 6px; display: flex; align-items: center; }
/* !important needed here too — .rs-shop-card-media img (width/height:100%!important;
   object-fit:cover!important, for the real product photo) otherwise also catches this
   badge's <img>, since it lives inside the same .rs-shop-card-media container. Width is
   a fixed px (not auto) because width:auto on a flex-item <img> with object-fit collapses
   to 0 in this flex context instead of sizing from the image's own aspect ratio. */
.rs-product-badge.is-oekotex img { height: 16px !important; width: 16px !important; object-fit: contain !important; display: block; flex-shrink: 0; }
.rs-product-badge.is-fire-cert { background: #FEF2F2; color: var(--red); display: flex; align-items: center; gap: 3px; padding: 3px 7px 3px 5px; }
.rs-product-badge.is-fire-cert .rs-fire-badge-svg { width: 13px; height: 13px; flex-shrink: 0; }
.rs-shop-card-hover { position: absolute; inset: 0; background: rgba(0,102,204,.85); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; color: white; font-weight: 700; font-size: 14px; }
.rs-shop-card:hover .rs-shop-card-hover { opacity: 1; }
.rs-shop-card-hover span { display: flex; align-items: center; gap: 8px; }
.rs-shop-card-body { padding: 12px 14px 14px; }
.rs-shop-card-name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.3; min-height: 34px; }
.rs-shop-card-swatches { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.rs-swatch-dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,.12); border: 1px solid rgba(0,0,0,.06); }
.rs-swatch-extra { font-size: 11px; color: var(--muted); font-weight: 600; }
.rs-shop-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.rs-shop-card-price-label { font-size: 11px; color: var(--muted); display: block; margin-bottom: 1px; }
.rs-shop-card-price { font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: -.5px; }
.rs-shop-card-unit { font-size: 11px; color: var(--muted); font-weight: 500; }
.rs-shop-card-cta { background: var(--cta); color: white; border-radius: 7px; padding: 8px 14px; font-size: 12px; font-weight: 700; flex-shrink: 0; }

.rs-shop-empty { text-align: center; padding: 80px 20px; background: white; border-radius: 8px; border: 1px solid var(--border); }
.rs-shop-empty-icon { font-size: 40px; margin-bottom: 16px; }
.rs-shop-empty-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.rs-shop-empty p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.rs-shop-empty-cta { display: inline-block; background: var(--cta); color: white; border-radius: 8px; padding: 10px 20px; font-size: 14px; font-weight: 700; }

.rs-filter-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 600; }
.rs-filter-drawer-overlay.is-open { display: block; }
.rs-filter-drawer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 601; background: white; border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); max-height: 85vh; overflow-y: auto; box-shadow: 0 -4px 32px rgba(0,0,0,.15); }
.rs-filter-drawer.is-open { transform: translateY(0); }
.rs-filter-drawer-header { padding: 14px 20px 12px; position: sticky; top: 0; background: white; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.rs-filter-drawer-actions { display: flex; gap: 10px; align-items: center; }
.rs-filter-drawer-body { padding: 0 20px 20px; }
.rs-filter-drawer-body .rs-filter-group summary { padding: 14px 0 12px; }
.rs-filter-drawer-footer { padding: 16px 20px; position: sticky; bottom: 0; background: white; border-top: 1px solid var(--border); }
.rs-filter-drawer-apply { width: 100%; height: 48px; background: var(--cta); color: white; border-radius: 10px; font-size: 15px; font-weight: 700; }

/* ==========================================================================
   Single product (PDP)
   ========================================================================== */
.rs-pdp-wrap { max-width: 1280px; margin: 0 auto; padding: 24px 24px 0; }
.rs-pdp-wrap .woocommerce-breadcrumb { margin-bottom: 28px; }
.rs-pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.rs-pdp-gallery { position: sticky; top: 130px; }
.rs-pdp-gallery-overlay { position: relative; }
/* WooCommerce's own woocommerce.css floats div.images left at 48% width (its
   classic non-grid 2-col fallback) — not wanted since .rs-pdp-grid already does
   the 2-column layout, and the float was collapsing .rs-pdp-gallery-overlay to
   zero height, breaking the absolutely-positioned badges. */
.rs-pdp-gallery .woocommerce-product-gallery { float: none !important; width: auto !important; margin-bottom: 0 !important; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
/* FlexSlider floats each .woocommerce-product-gallery__image slide (needed for its
   own horizontal-slide mechanism) — without a clearfix on the wrapper that contains
   them, the wrapper collapses to zero height (same float-containment issue as the
   shop grid's ul.products and div.images above). display:flow-root is a modern,
   side-effect-free clearfix that doesn't touch the slides' own float/position. */
.rs-pdp-gallery .woocommerce-product-gallery__wrapper { display: flow-root; }
.rs-pdp-gallery .woocommerce-product-gallery__image { aspect-ratio: 3/4; }
/* The PhotoSwipe lightbox <a> WooCommerce wraps each slide's img in has no
   explicit height, so it shrink-wraps to the img's natural size — the img's
   own height:100% then has nothing definite to resolve against and falls
   back to natural size too (a circular sizing gap, not a specificity fight).
   The <a> needs a real height of its own before percentage sizing on the img
   means anything. */
.rs-pdp-gallery .woocommerce-product-gallery__image > a { display: block; width: 100%; height: 100%; }
/* WooCommerce's own ".woocommerce div.product div.images img" rule (width:100%;
   height:auto) also wins on specificity, leaving the photo at its natural
   aspect ratio instead of filling the frame — same fix already used for
   .rs-shop-card-media img above. */
.rs-pdp-gallery .woocommerce-product-gallery__image img { width: 100% !important; height: 100% !important; object-fit: cover !important; margin: 0 !important; }
.rs-pdp-gallery .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px; list-style: none; }
.rs-pdp-gallery .flex-control-thumbs li { flex: 1; }
.rs-pdp-gallery .flex-control-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 2px solid var(--border); cursor: pointer; }
.rs-pdp-gallery .flex-control-thumbs img.flex-active { border-color: var(--cta); }
.rs-pdp-gallery-tags { position: absolute; bottom: 20px; left: 20px; right: 20px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 2; pointer-events: none; }
.rs-pdp-tag { background: rgba(255,255,255,.92); backdrop-filter: blur(4px); border-radius: 6px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--navy); }
.rs-pdp-tag.is-stock { color: var(--green); }
/* top-left, not top-right — WooCommerce's native gallery zoom trigger (magnifying
   glass) sits top-right and would otherwise overlap this badge. */
.rs-pdp-oekotex-badge { position: absolute; top: 16px; left: 16px; background: white; border-radius: 10px; padding: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.12); line-height: 1.3; z-index: 2; display: flex; align-items: center; }
.rs-pdp-oekotex-badge img { height: 64px; width: auto; object-fit: contain; display: block; }
.rs-pdp-oekotex-badge.is-fire-cert { flex-direction: column; gap: 4px; padding: 10px 12px; text-align: center; }
.rs-pdp-oekotex-badge.is-fire-cert .rs-fire-badge-svg { width: 34px; height: 34px; }
.rs-pdp-oekotex-badge.is-fire-cert span { font-size: 10px; font-weight: 700; color: var(--red); white-space: nowrap; }

.rs-pdp-info { display: flex; flex-direction: column; gap: 20px; }
.rs-pdp-badges { display: flex; gap: 8px; }
.rs-pdp-pill { background: var(--cta); color: white; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .3px; }
.rs-pdp-pill.is-oekotex { background: var(--blue-light); color: var(--blue); }
.rs-pdp-pill.is-fire-cert { background: #FEF2F2; color: var(--red); }
.rs-pdp-pill.is-sale { background: var(--red); }
.rs-pdp-pill.is-new { background: var(--green); }
.rs-pdp-title { font-size: 28px; font-weight: 800; line-height: 1.2; color: var(--navy); letter-spacing: -.5px; }
.rs-pdp-short-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 6px; }
.rs-pdp-rating .star-rating { font-size: 14px; }
.rs-pdp-rating .woocommerce-review-link { font-size: 13px; color: var(--cta); font-weight: 600; text-decoration: underline; margin-left: 8px; }
.rs-pdp-divider { height: 1px; background: var(--border); }

.rs-pdp-colors-head { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.rs-pdp-colors-head strong { color: var(--cta); font-weight: 600; }
.rs-pdp-color-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rs-pdp-color-swatch { position: relative; display: block; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid transparent; box-shadow: 0 1px 3px rgba(0,0,0,.12); cursor: pointer; transition: all .15s; }
.rs-pdp-color-swatch.is-current { border-color: var(--cta); box-shadow: 0 0 0 3px rgba(0,102,204,.3); cursor: default; }
.rs-pdp-color-swatch:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,.18); }

.rs-pdp-color-swatch[data-color]::after {
	content: attr(data-color);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%) translateY(4px);
	background: var(--navy);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	padding: 5px 9px;
	border-radius: 6px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s, transform .15s;
	z-index: 5;
}
.rs-pdp-color-swatch[data-color]::before {
	content: '';
	position: absolute;
	bottom: calc(100% + 3px);
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: var(--navy);
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s;
	z-index: 5;
}
.rs-pdp-color-swatch:hover[data-color]::after,
.rs-pdp-color-swatch:focus-visible[data-color]::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.rs-pdp-color-swatch:hover[data-color]::before,
.rs-pdp-color-swatch:focus-visible[data-color]::before { opacity: 1; }
.rs-pdp-colors-current { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.rs-pdp-color-dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.15); flex-shrink: 0; }
.rs-pdp-colors-current strong { color: var(--text); }

.rs-pdp-sample-cta { display: flex; align-items: center; gap: 10px; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 8px; padding: 10px 14px; }
.rs-pdp-sample-cta span { font-size: 13px; color: #78350F; font-weight: 500; }
.rs-pdp-sample-cta a { font-size: 13px; color: #92400E; font-weight: 700; text-decoration: underline; }

.rs-fire-badge-svg { flex-shrink: 0; }
.rs-fire-badge-shield { stroke: var(--red); }
.rs-fire-badge-flame { fill: var(--red); }

.rs-pdp-fire-cert-notice { display: flex; align-items: center; gap: 10px; background: #FEF2F2; border: 1px solid #FCA5A5; border-radius: 8px; padding: 10px 14px; }
.rs-pdp-fire-cert-notice .rs-fire-badge-svg { flex-shrink: 0; }
.rs-pdp-fire-cert-notice span { font-size: 13px; color: #7F1D1D; font-weight: 500; line-height: 1.5; }
.rs-sample-btn { font-size: 13px; color: #92400E; font-weight: 700; text-decoration: underline; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; }
.rs-sample-btn:disabled { opacity: .6; cursor: default; }
.rs-sample-badge { display: inline-block; background: var(--blue-light); color: var(--cta); border-radius: 20px; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.rs-attribute-pill { display: inline-block; background: var(--off); color: var(--muted); border: 1px solid var(--border); border-radius: 20px; padding: 2px 8px; font-size: 11px; font-weight: 600; }
/* wc_get_formatted_cart_item_data() always wraps a row as <dt class="variation-{key}">key:</dt><dd>value</dd> — the badge/pill rows above use an empty name so the class comes out as exactly "variation-" and the <dt> has nothing but the literal ":", which otherwise renders as a stray colon. */
dl.variation dt[class="variation-"] { display: none; }

.rs-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }

.rs-roll-price-display { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rs-roll-price-amount { font-size: 36px; font-weight: 800; color: var(--navy); letter-spacing: -1px; }
.rs-roll-price-unit { font-size: 16px; color: var(--muted); font-weight: 500; }
.rs-roll-price-btw { font-size: 12px; color: var(--muted); font-weight: 500; }
.rs-roll-price-regular { font-size: 18px; color: var(--muted); font-weight: 600; text-decoration: line-through; }
.rs-roll-price-discount { background: #FEF3C7; color: #92400E; border-radius: 20px; padding: 3px 10px; font-size: 13px; font-weight: 700; }
/* Simple products (no Rollengte variation, e.g. a fixed-length Uitverkoop remnant)
   have no roll selector to show a price inside, so this reuses rollenstof_price_html()
   (same helper as the shop/product-grid cards) at PDP size instead. */
.rs-pdp-simple-price .rs-price { font-size: 36px; font-weight: 800; color: var(--navy); letter-spacing: -1px; }

.rs-roll-selector { margin-top: 4px; }
.rs-roll-selector-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 8px; flex-wrap: wrap; }
.rs-roll-selector-head span:first-child { font-size: 14px; font-weight: 600; }
.rs-roll-selector-hint { font-size: 12px; color: var(--muted); }
.rs-roll-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.rs-roll-option { position: relative; padding: 16px 8px 14px; border-radius: 6px; border: 1.5px solid var(--border); background: white; text-align: center; transition: all .15s; }
.rs-roll-option.is-selected { border: 2px solid var(--cta); background: #EEF5FF; box-shadow: 0 0 0 3px rgba(0,102,204,.12); }
.rs-roll-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--green); color: white; border-radius: 20px; padding: 2px 9px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.rs-roll-meters { font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1; }
.rs-roll-per-meter { font-size: 12px; color: var(--cta); font-weight: 600; margin-top: 3px; }
.rs-roll-discount { font-size: 11px; color: var(--green); font-weight: 700; margin-top: 1px; }
.rs-roll-discount.is-muted { color: var(--muted); font-weight: 500; }
.rs-roll-total { font-size: 13px; font-weight: 800; color: var(--text); margin-top: 8px; border-top: 1px solid var(--border); padding-top: 8px; }
.rs-roll-option.is-selected .rs-roll-total { color: var(--cta); }
.rs-roll-note { font-size: 12px; color: var(--muted); margin-top: 10px; display: flex; align-items: center; gap: 6px; }

.rs-pdp-add-to-cart .woocommerce-variation-description,
.rs-pdp-add-to-cart .woocommerce-variation-price .price,
.rs-pdp-add-to-cart .woocommerce-variation-availability { display: none; }
.woocommerce-variation-add-to-cart { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
/* WooCommerce's add-to-cart-variation.js calls jQuery .show() on the quantity
   wrapper when a variation is selected, which sets an inline style="display:block"
   — !important is needed here purely to beat that inline style, not for specificity. */
.woocommerce-variation-add-to-cart .quantity { display: none !important; }
.rs-pdp-add-to-cart .single_add_to_cart_button { height: 56px !important; border-radius: 6px !important; background: var(--cta) !important; color: white !important; font-size: 16px !important; font-weight: 700 !important; display: flex !important; align-items: center; justify-content: center; gap: 10px; width: 100% !important; transition: background .3s; }
.rs-pdp-add-to-cart .single_add_to_cart_button.is-added { background: var(--green); }
.rs-pdp-add-to-cart .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
/* form.rs-pdp-add-to-cart only, not the variable-product .single_variation_wrap
   (also .rs-pdp-add-to-cart, but a <div>) — simple products (e.g. outlet remnants
   with a fixed length, no Rollengte variation) show a real quantity stepper here. */
form.rs-pdp-add-to-cart { display: flex; gap: 10px; }
form.rs-pdp-add-to-cart .quantity { display: flex; }
form.rs-pdp-add-to-cart .quantity .qty { width: 72px; height: 56px; border: 1.5px solid var(--border); border-radius: 6px; text-align: center; font-size: 16px; font-weight: 600; flex-shrink: 0; }
form.rs-pdp-add-to-cart .single_add_to_cart_button { width: auto !important; flex: 1; }

.rs-pdp-shipping-nudge { background: #F0F7FF; border: 1px solid #BFDBFE; border-radius: 8px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.rs-pdp-shipping-nudge span { font-size: 13px; color: #1D4ED8; font-weight: 500; }
.rs-pdp-shipping-nudge.is-done { background: #F0FDF4; border-color: #BBF7D0; }
.rs-pdp-shipping-nudge.is-done span { color: #15803D; }

.rs-pdp-usp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rs-pdp-usp { display: flex; gap: 10px; align-items: flex-start; padding: 12px; background: var(--off); border-radius: 8px; border: 1px solid var(--border); }
.rs-pdp-usp-icon { width: 34px; height: 34px; border-radius: 8px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rs-pdp-usp-icon-oekotex { width: auto; height: 34px; background: none; }
.rs-pdp-usp-icon-oekotex img { height: 100%; width: auto; object-fit: contain; }
.rs-pdp-usp-icon-fire-cert { background: #FEF2F2; }
.rs-pdp-usp-title { font-size: 13px; font-weight: 700; }
.rs-pdp-usp-sub { font-size: 12px; color: var(--muted); }

.rs-pdp-accordions { margin-top: 4px; }
.rs-pdp-accordion { border-top: 1px solid var(--border); }
.rs-pdp-accordion summary { padding: 16px 0; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.rs-pdp-accordion.is-large summary { padding: 20px 0; font-size: 16px; }
.rs-pdp-accordion summary::-webkit-details-marker { display: none; }
.rs-pdp-accordion summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .18s; flex-shrink: 0; }
.rs-pdp-accordion[open] summary::after { transform: rotate(-135deg); }
.rs-pdp-accordion-body { padding-bottom: 20px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.rs-pdp-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.rs-pdp-spec-row { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--border); }
.rs-pdp-spec-key { font-size: 11px; color: var(--muted); font-weight: 500; }
.rs-pdp-spec-value { font-size: 13px; font-weight: 600; margin-top: 2px; color: var(--text); }
.rs-pdp-reviews .commentlist { list-style: none; }
.rs-pdp-reviews #reviews { border: none; padding: 0; }
.rs-pdp-reviews #review_form_wrapper { margin-top: 20px; }
.rs-pdp-reviews .comment-form input, .rs-pdp-reviews .comment-form textarea { width: 100%; border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-top: 4px; }
.rs-pdp-reviews .comment-form p { margin-bottom: 14px; }
.rs-pdp-reviews .form-submit input { background: var(--cta); color: white; border-radius: 8px; padding: 10px 20px; font-weight: 700; }

.rs-pdp-related { margin-top: 64px; }
.rs-pdp-related .related.products h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 24px; letter-spacing: -.3px; }
.rs-pdp-related .related.products ul.products { display: grid !important; grid-template-columns: repeat(4,1fr); gap: 16px; list-style: none; width: 100%; margin: 0; }
.rs-pdp-related .related.products ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; }
.rs-pdp-related .related.products ul.products::before, .rs-pdp-related .related.products ul.products::after { content: none; display: none; }

.rs-pdp-faq { margin-top: 72px; margin-bottom: 80px; }
.rs-pdp-faq h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 8px; letter-spacing: -.3px; }
.rs-pdp-faq > p { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.rs-pdp-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }

.rs-pdp-cta { margin: 32px 0 80px; background: var(--blue-light); border-radius: 12px; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rs-pdp-cta-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.rs-pdp-cta-text { font-size: 14px; color: var(--muted); }
.rs-pdp-cta-btns { display: flex; gap: 10px; flex-shrink: 0; }
.rs-pdp-cta-phone, .rs-pdp-cta-chat { display: flex; align-items: center; gap: 8px; border-radius: 8px; padding: 10px 18px; font-size: 14px; font-weight: 600; }
.rs-pdp-cta-phone { background: var(--navy); color: white; }
.rs-pdp-cta-chat { background: white; border: 1.5px solid var(--border); color: var(--navy); }

/* ==========================================================================
   Cart page
   ========================================================================== */
.rs-cart-wrap { max-width: 1100px; margin: 0 auto; padding: 32px 24px 80px; }
.rs-cart-wrap .woocommerce-breadcrumb { margin-bottom: 28px; }
.rs-cart-steps { display: flex; align-items: center; margin-bottom: 32px; }
.rs-cart-step { display: flex; align-items: center; gap: 8px; }
.rs-cart-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--border); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.rs-cart-step.is-active .rs-cart-step-num { background: var(--cta); color: white; }
.rs-cart-step-label { font-size: 13px; color: var(--muted); }
.rs-cart-step.is-active .rs-cart-step-label { font-weight: 700; color: var(--cta); }
.rs-cart-step-line { flex: 1; height: 1px; background: var(--border); margin: 0 12px; }

.rs-cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.rs-cart-items-col { display: flex; flex-direction: column; gap: 12px; }

.rs-shipping-bar { background: var(--blue-light); border-radius: 8px; padding: 14px 16px; }
.rs-shipping-bar.is-done { background: #F0FDF4; }
.rs-shipping-bar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--cta); }
.rs-shipping-bar.is-done .rs-shipping-bar-top { color: #15803D; }
.rs-shipping-pct { font-size: 12px; color: var(--muted); font-weight: 500; }
.rs-shipping-track { height: 6px; border-radius: 3px; background: #BFDBFE; overflow: hidden; }
.rs-shipping-bar.is-done .rs-shipping-track { background: #BBF7D0; }
.rs-shipping-fill { height: 100%; background: var(--cta); border-radius: 3px; transition: width .5s ease; }
.rs-shipping-bar.is-done .rs-shipping-fill { background: var(--green); }

.rs-cart-box { background: white; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.rs-cart-box-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.rs-cart-box-head span { font-size: 15px; font-weight: 700; }
.rs-cart-box-head a { font-size: 13px; color: var(--cta); font-weight: 600; }
.rs-cart-row { padding: 20px; border-bottom: 1px solid var(--border); display: flex; gap: 16px; }
.rs-cart-row:last-of-type { border-bottom: none; }
.rs-cart-row-media { width: 80px; height: 80px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--off); }
.rs-cart-row-media img { width: 100%; height: 100%; object-fit: cover; }
.rs-cart-row-body { flex: 1; min-width: 0; }
.rs-cart-row-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.rs-cart-row-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.rs-cart-row-meta p { margin: 0; }
.rs-cart-row-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.rs-cart-row-price { font-size: 18px; font-weight: 800; color: var(--navy); }
.rs-cart-row-price .amount { font-size: inherit; font-weight: inherit; color: inherit; }
.rs-cart-row-actions { display: flex; align-items: center; gap: 12px; }
.rs-cart-row-actions .quantity { display: inline-flex; }
.rs-cart-row-actions .quantity .qty { width: 52px; height: 34px; border-radius: 6px; border: 1.5px solid var(--border); text-align: center; font-size: 13px; }
.rs-cart-row-remove { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); padding: 4px 8px; border-radius: 6px; }
.rs-cart-row-remove:hover { background: #FEF2F2; color: var(--red); }

.rs-cart-box-actions { padding: 16px 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--border); background: var(--off); }
.rs-cart-coupon { flex: 1; min-width: 220px; }
.rs-cart-coupon summary { font-size: 13px; font-weight: 600; color: var(--cta); cursor: pointer; list-style: none; }
.rs-cart-coupon summary::-webkit-details-marker { display: none; }
.rs-cart-coupon-row { display: flex; gap: 8px; margin-top: 10px; }
.rs-cart-coupon-row input { flex: 1; height: 40px; border-radius: 7px; border: 1.5px solid var(--border); padding: 0 12px; font-size: 13px; }
.rs-cart-coupon-apply, .rs-cart-update { height: 40px; border-radius: 7px; padding: 0 16px; font-size: 13px; font-weight: 700; background: white; border: 1.5px solid var(--border); color: var(--navy); }
.rs-cart-update { background: var(--navy); color: white; border-color: var(--navy); }
.woocommerce-cart-form .coupon .woocommerce-message,
.woocommerce-cart-form .coupon .woocommerce-error { flex-basis: 100%; margin-top: 8px; }

.rs-cart-summary { background: white; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; position: sticky; top: 90px; }
.rs-cart-summary-head { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 15px; font-weight: 700; }
.rs-cart-summary-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.rs-cart-summary .rs-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.rs-cart-summary .rs-row .amount { font-weight: 600; color: var(--text); }
.rs-cart-summary-divider { height: 1px; background: var(--border); margin: 4px 0; }
.rs-row-total { font-size: 18px; font-weight: 800; color: var(--navy); }
.rs-row-total .amount, .rs-row-total .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.rs-cart-checkout-btn { margin-top: 8px; }
.rs-cart-checkout-btn .checkout-button { display: flex !important; align-items: center; justify-content: center; gap: 8px; height: 52px !important; background: var(--cta) !important; color: white !important; border-radius: 8px !important; font-size: 15px !important; font-weight: 800 !important; }
.rs-cart-checkout-btn .checkout-button .amount, .rs-cart-checkout-btn .checkout-button .woocommerce-Price-amount { color: white; font-weight: 800; }
.rs-cart-payment-icons { display: flex; gap: 5px; justify-content: center; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.rs-cart-payment-icons .rs-payment-icon img { height: 18px; }
.rs-cart-trust { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; padding: 12px; background: var(--off); border-radius: 8px; }
.rs-cart-trust div { font-size: 12px; color: var(--muted); font-weight: 500; }

.woocommerce-cart .cart-empty { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 48px 24px; text-align: center; font-size: 15px; color: var(--muted); }
.woocommerce-cart .return-to-shop .button { display: inline-block; margin-top: 16px; background: var(--cta); color: white; border-radius: 8px; padding: 10px 20px; font-size: 14px; font-weight: 700; }

@media (max-width: 1023px) {
	.rs-cart-grid { grid-template-columns: 1fr; }
	.rs-cart-summary { position: static; top: auto; }
	.rs-cart-steps { display: none; }
}

@media (max-width: 1023px) {
	.rs-pdp-grid { grid-template-columns: 1fr; gap: 32px; }
	.rs-pdp-gallery { position: static; top: auto; }
	.rs-pdp-usp-grid { grid-template-columns: 1fr 1fr; }
	.rs-pdp-specs { grid-template-columns: 1fr; }
	.rs-pdp-related .related.products ul.products { grid-template-columns: repeat(2,1fr) !important; }
	.rs-pdp-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.rs-roll-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.rs-pdp-cta { flex-direction: column; align-items: stretch; padding: 22px 18px; gap: 16px; }
	.rs-pdp-cta-btns { flex-direction: column; }
	.rs-pdp-cta-btns a, .rs-pdp-cta-btns button { justify-content: center; }
}

/* ==========================================================================
   Checkout
   ========================================================================== */
.rs-checkout-wrap { min-height: 100vh; background: var(--off); }
.rs-checkout-nav { background: white; border-bottom: 1px solid var(--border); padding: 0 24px; }
.rs-checkout-nav-inner { max-width: 960px; margin: 0 auto; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.rs-checkout-logo { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; }
.rs-checkout-logo img { border-radius: 50%; }
.rs-checkout-ssl { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 500; }
.rs-checkout-inner { max-width: 960px; margin: 0 auto; padding: 32px 24px 80px; }
.rs-checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.rs-checkout-main { display: flex; flex-direction: column; gap: 20px; }
.rs-checkout-box { background: white; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.rs-checkout-box-head { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.rs-checkout-box-head span { font-size: 15px; font-weight: 700; }
.rs-checkout-box-body { padding: 20px; }
.rs-checkout-summary { position: sticky; top: 24px; }

/* Real WooCommerce checkout form fields, restyled */
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.woocommerce-shipping-fields h3 { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.woocommerce-billing-fields .form-row, .woocommerce-shipping-fields .form-row, .woocommerce-additional-fields .form-row { margin-bottom: 16px; }
.woocommerce-billing-fields label, .woocommerce-shipping-fields label, .woocommerce-additional-fields label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.woocommerce-billing-fields .required, .woocommerce-shipping-fields .required { color: var(--red); text-decoration: none; }
/* WC core's `.woocommerce form .form-row .input-text` (3 classes) outranks our
   1-class selector and forces its own --wc-form-border-color (an odd dark red) via
   the `border` shorthand — !important needed to win back the design's border color. */
.woocommerce-billing-fields input.input-text, .woocommerce-shipping-fields input.input-text, .woocommerce-additional-fields input.input-text,
.woocommerce-billing-fields select, .woocommerce-shipping-fields select,
.select2-container .select2-selection--single { width: 100%; height: 44px; border-radius: 8px !important; border: 1.5px solid var(--border) !important; padding: 0 14px; font-size: 14px; outline: none; background: white !important; }
.woocommerce-billing-fields input.input-text:focus, .woocommerce-shipping-fields input.input-text:focus { border-color: var(--cta) !important; }
.woocommerce-billing-fields .form-row-first, .woocommerce-shipping-fields .form-row-first,
.woocommerce-billing-fields .form-row-last, .woocommerce-shipping-fields .form-row-last { display: inline-block; width: 48%; }
.woocommerce-billing-fields .form-row-first { margin-right: 4%; }
#ship-to-different-address { list-style: none; margin: 16px 0; font-size: 13px; font-weight: 600; }
#ship-to-different-address label { display: flex; align-items: center; gap: 8px; cursor: pointer; }

/* Shipping method choice */
#order_review ul#shipping_method { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
#order_review ul#shipping_method li { padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 10px; }
#order_review ul#shipping_method li input.shipping_method { accent-color: var(--cta); margin-right: 10px; }
#order_review ul#shipping_method li:has(input[value*="free_shipping"]) { background: rgba(34,197,94,.08); border-color: var(--green); position: relative; }
#order_review ul#shipping_method li:has(input[value*="free_shipping"]) label::after { content: 'Gratis'; display: inline-block; margin-left: 8px; background: var(--green); color: white; font-size: 10px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; border-radius: 20px; padding: 2px 8px; vertical-align: middle; }

/* Order summary card (right column) — design ref: Checkout.html order-summary <details> */
.rs-order-summary-head { display: flex; align-items: center; gap: 8px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.rs-order-summary-title { font-size: 15px; font-weight: 700; }
.rs-order-summary-count { font-size: 12px; font-weight: 700; color: var(--cta); background: var(--off); border-radius: 99px; padding: 2px 9px; }
.rs-order-summary-items { padding: 16px 20px 0; }
.rs-order-summary-item { display: flex; gap: 12px; margin-bottom: 16px; }
.rs-order-summary-thumb { position: relative; width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.rs-order-summary-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rs-order-summary-qty { position: absolute; top: -6px; right: -6px; background: var(--muted); color: white; border-radius: 50%; width: 18px; height: 18px; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.rs-order-summary-item-body { flex: 1; min-width: 0; }
.rs-order-summary-item-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; line-height: 1.3; }
.rs-order-summary-item-meta { font-size: 12px; color: var(--muted); }
.rs-order-summary-item-price { font-size: 14px; font-weight: 700; color: var(--navy); flex-shrink: 0; white-space: nowrap; }
.rs-order-summary-coupon-toggle { display: flex; align-items: center; gap: 5px; width: 100%; text-align: left; padding: 14px 20px; border-top: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--cta); }
.rs-order-summary-coupon-toggle:hover { text-decoration: underline; }
.rs-order-summary-coupon-toggle svg { transition: transform .15s; }
.rs-order-summary-coupon-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.rs-order-summary-coupon { display: flex; gap: 8px; padding: 0 20px 16px; }
.rs-order-summary-coupon[hidden] { display: none; }
.rs-order-summary-coupon input#coupon_code { flex: 1; min-width: 0; height: 40px; border-radius: 7px; border: 1.5px solid var(--border); padding: 0 12px; font-size: 13px; outline: none; font-family: inherit; }
.rs-order-summary-coupon input#coupon_code:focus { border-color: var(--cta); }
.rs-order-summary-coupon button { flex-shrink: 0; height: 40px; padding: 0 16px; border-radius: 7px; background: white; border: 1.5px solid var(--border); color: var(--navy); font-size: 13px; font-weight: 700; }
.rs-order-summary-coupon.processing { opacity: .6; pointer-events: none; }
.rs-order-summary-totals { padding: 14px 20px 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.rs-order-summary-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.rs-order-summary-row--shipping.rs-order-summary-row { color: var(--muted); }
.rs-order-summary-row--shipping ul#shipping_method { list-style: none; }
.rs-order-summary-row--shipping ul#shipping_method label { font-size: 13px; color: var(--muted); }
.rs-order-summary-divider { height: 1px; background: var(--border); }
.rs-order-summary-row--total { font-size: 17px; font-weight: 800; color: var(--navy); }
.rs-order-summary-incl-btw { font-size: 11px; color: var(--muted); text-align: right; }
.rs-order-summary-trust { margin-top: 8px; display: flex; flex-direction: column; gap: 7px; padding: 12px; background: var(--off); border-radius: 8px; }
.rs-order-summary-trust div { font-size: 12px; color: var(--muted); font-weight: 500; }
.rs-order-summary-badges { display: flex; gap: 5px; justify-content: center; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.rs-order-summary-badges .rs-payment-icon img { height: 20px; }

/* Payment methods (real gateway list incl. Mollie iDEAL bank picker) */
.woocommerce-checkout #payment, .woocommerce-cart #payment { background: none; border-radius: 0; }
ul.wc_payment_methods { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; border-bottom: none; }
ul.wc_payment_methods li.wc_payment_method { display: flex; flex-wrap: wrap; align-items: center; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; background: white; }
ul.wc_payment_methods li.wc_payment_method.payment_method_mollie_wc_gateway_ideal,
ul.wc_payment_methods li.payment_method_mollie_wc_gateway_ideal { border-color: var(--border); }
ul.wc_payment_methods input.input-radio { accent-color: var(--cta); width: 18px; height: 18px; flex-shrink: 0; margin: 1px 0 0 16px; }
ul.wc_payment_methods label { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin: 0; font-size: 14px; font-weight: 600; cursor: pointer; flex: 1; min-width: 0; }
ul.wc_payment_methods img { max-height: 24px; }
.payment_box { flex-basis: 100%; padding: 0 16px 16px; margin: 0; font-size: 13px; color: var(--muted); background: none; }
.payment_box::before { content: none; }
.payment_box p { margin-bottom: 8px; }
/* Mollie's own card-field iframes render inside .payment_box too — WC core targets
   this exact ".woocommerce-checkout #payment div.payment_box" selector for its
   default lavender background, which beats a plain ".payment_box" rule on
   specificity alone, so it has to be matched here rather than just overridden once. */
.woocommerce-checkout #payment div.payment_box,
.woocommerce-cart #payment div.payment_box { background: var(--off); border-radius: 8px; margin: 0 16px 16px; padding: 16px; }
.woocommerce-checkout #payment div.payment_box .mollie-component,
.woocommerce-cart #payment div.payment_box .mollie-component { background: white; border: 1px solid var(--border); border-radius: 6px; }
.place-order { margin-top: 16px; }
.woocommerce-terms-and-conditions-wrapper { background: var(--off); border: 1px solid var(--border); border-radius: 8px; padding: 14px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.woocommerce-form__input-checkbox { margin-top: 3px; accent-color: var(--cta); width: 16px; height: 16px; flex-shrink: 0; }
#place_order { width: 100%; height: 56px; border-radius: 10px; background: var(--cta); color: white; font-size: 16px; font-weight: 800; }

@media (max-width: 1023px) {
	.rs-checkout-grid { grid-template-columns: 1fr; }
	.rs-checkout-summary { position: static; order: -1; }
	.woocommerce-billing-fields .form-row-first, .woocommerce-shipping-fields .form-row-first,
	.woocommerce-billing-fields .form-row-last, .woocommerce-shipping-fields .form-row-last { width: 100%; margin-right: 0; }
}

/* Order received / thank-you page */
.rs-order-received { max-width: 520px; margin: 80px auto; text-align: center; padding: 0 24px 80px; }
.rs-order-success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.rs-order-success h1 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.rs-order-success-lead { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.rs-order-success-sub { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.rs-order-details-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 28px; text-align: left; }
.rs-order-details-label { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.rs-order-details-number { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.rs-order-details-usps { display: flex; gap: 16px; flex-wrap: wrap; }
.rs-order-details-usps div { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.rs-order-overview { list-style: none; text-align: left; background: white; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 28px; display: flex; flex-direction: column; gap: 8px; }
.rs-order-overview li { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.rs-order-success-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--cta); color: white; border-radius: 8px; padding: 12px 28px; font-size: 14px; font-weight: 700; }
.rs-order-fail-btn { display: inline-block; background: var(--cta); color: white; border-radius: 8px; padding: 10px 20px; font-size: 14px; font-weight: 700; margin: 8px 8px 0 0; }

/* ==========================================================================
   Generic page/content templates (Klantenservice, Over ons, etc.)
   ========================================================================== */
.rs-page-header { background: var(--off); padding: 48px 24px; border-bottom: 1px solid var(--border); text-align: center; }
.rs-page-header h1 { font-size: 32px; font-weight: 800; color: var(--navy); }
.rs-page-content { max-width: 860px; margin: 0 auto; padding: 48px 24px; line-height: 1.7; }
.rs-page-content h2 { color: var(--navy); margin: 32px 0 12px; font-size: 22px; }
/* Checkout renders its own full-bleed .rs-checkout-wrap (design ref: Checkout.html
   has no page-title banner or centered content column) — undo the generic page
   wrapper's max-width/padding so it doesn't squeeze the checkout layout. */
.rs-page-content--checkout { max-width: none; margin: 0; padding: 0; }
/* My Account renders its own full-bleed header + sidebar/content grid (design ref:
   Account.html) — same reasoning as checkout above. */
.rs-page-content--account { max-width: none; margin: 0; padding: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
	.rs-hide-desktop { display: flex !important; }
	.rs-hide-mobile { display: none !important; }
	.rs-hero-grid { grid-template-columns: 1fr; padding: 36px 18px 32px; gap: 32px; }
	.rs-category-tiles, .rs-subcat-grid { grid-template-columns: repeat(2,1fr); }
	.rs-product-grid { grid-template-columns: repeat(2,1fr); }
	.rs-usp-grid { grid-template-columns: 1fr 1fr; }
	.rs-review-grid { grid-template-columns: 1fr; }
	.rs-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
	.rs-trust-bar-inner { flex-direction: column; gap: 12px; padding: 4px 0; }
	.rs-shop-product-grid ul.products, .rs-shop-product-grid[data-cols] ul.products { grid-template-columns: repeat(2,1fr) !important; }
	.rs-shop-trust-icons { flex-direction: column; gap: 6px; align-items: flex-start; }
}

@media (max-width: 768px) {
	.rs-topbar-track { display: none; }
	.rs-topbar-marquee { display: flex; width: max-content; animation: rsTopMarquee 18s linear infinite; }
	.rs-topbar-marquee span { flex-shrink: 0; padding-right: 32px; }
}
@keyframes rsTopMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rs-topbar-marquee { animation: none; } }

@media (max-width: 600px) {
	.rs-category-tiles, .rs-product-grid, .rs-subcat-grid { grid-template-columns: 1fr 1fr; }
	.rs-footer-grid { grid-template-columns: 1fr; }
	.rs-usp-grid { grid-template-columns: 1fr; }
	.rs-shop-card-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
	.rs-shop-card-cta { width: 100%; text-align: center; }
	.rs-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ==========================================================================
   Klantenservice / FAQ knowledge base
   ========================================================================== */
.rs-ks-hero { background: var(--navy); padding: 56px 24px 48px; position: relative; overflow: hidden; }
.rs-ks-hero::before { content: ''; position: absolute; inset: 0; opacity: .06; background-image: repeating-linear-gradient(45deg, white 0, white 1px, transparent 1px, transparent 20px); }
.rs-ks-hero-inner { max-width: 680px; margin: 0 auto; position: relative; text-align: center; }
.rs-ks-hero-inner h1 { font-size: 38px; font-weight: 800; color: white; letter-spacing: -0.8px; margin-bottom: 10px; }
.rs-ks-hero-inner > p { font-size: 15px; color: rgba(255,255,255,.7); margin-bottom: 28px; }
.rs-ks-search { position: relative; }
.rs-ks-search input { width: 100%; height: 52px; border-radius: 12px; border: none; padding-left: 50px; padding-right: 44px; font-size: 15px; outline: none; font-family: inherit; box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.rs-ks-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.rs-ks-search-clear { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; color: var(--muted); display: flex; padding: 4px; }
.rs-ks-search-clear[hidden] { display: none; }

.rs-ks-wrap { max-width: 1000px; margin: 0 auto; padding: 40px 24px 80px; }

.rs-ks-search-status { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.rs-ks-search-status strong { color: var(--text); }
.rs-ks-search-status[hidden] { display: none; }

.rs-ks-topic-select { display: none; position: relative; margin-bottom: 28px; }
.rs-ks-topic-select select { width: 100%; appearance: none; background: white; border: 1px solid var(--border); border-radius: 12px; padding: 14px 40px 14px 16px; font-size: 15px; font-weight: 700; color: var(--navy); font-family: inherit; }
.rs-ks-topic-select svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }

.rs-ks-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.rs-ks-cat-btn { background: white; border: 1.5px solid var(--border); border-radius: 12px; padding: 18px 16px; text-align: left; cursor: pointer; transition: all .15s; display: flex; flex-direction: column; align-items: flex-start; font-family: inherit; }
.rs-ks-cat-btn.is-active { background: var(--cta); border-color: var(--cta); box-shadow: 0 4px 12px rgba(0,102,204,.25); }
.rs-ks-cat-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--cat-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.rs-ks-cat-icon svg { stroke: var(--cat-stroke); }
.rs-ks-cat-btn.is-active .rs-ks-cat-icon { background: rgba(255,255,255,.2); }
.rs-ks-cat-btn.is-active .rs-ks-cat-icon svg { stroke: white; }
.rs-ks-cat-label { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.rs-ks-cat-btn.is-active .rs-ks-cat-label { color: white; }
.rs-ks-cat-count { font-size: 11px; color: var(--muted); margin-top: 2px; }
.rs-ks-cat-btn.is-active .rs-ks-cat-count { color: rgba(255,255,255,.7); }

.rs-ks-popular { background: white; border-radius: 12px; border: 1px solid var(--border); padding: 20px 24px; margin-bottom: 28px; }
.rs-ks-popular[hidden] { display: none; }
.rs-ks-popular-label { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px; }

.rs-ks-groups { display: flex; flex-direction: column; gap: 16px; }
.rs-ks-group { background: white; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.rs-ks-group[hidden] { display: none; }
.rs-ks-group-head { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.rs-ks-group-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rs-ks-group-label { font-size: 15px; font-weight: 700; color: var(--navy); }
.rs-ks-group-count { font-size: 12px; color: var(--muted); }
.rs-ks-group .rs-pdp-accordions { padding: 0 24px; }

.rs-ks-no-results { background: white; border-radius: 12px; border: 1px solid var(--border); padding: 48px; text-align: center; }
.rs-ks-no-results[hidden] { display: none; }
.rs-ks-no-results-icon { font-size: 32px; margin-bottom: 12px; }
.rs-ks-no-results-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.rs-ks-no-results p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.rs-ks-no-results-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--cta); color: white; border-radius: 8px; padding: 10px 20px; font-size: 14px; font-weight: 700; }

.rs-ks-contact { margin-top: 48px; background: var(--navy); border-radius: 16px; padding: 40px; }
.rs-ks-contact-head { margin-bottom: 24px; }
.rs-ks-contact-title { font-size: 20px; font-weight: 800; color: white; margin-bottom: 6px; }
.rs-ks-contact-sub { font-size: 14px; color: rgba(255,255,255,.65); }
.rs-ks-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rs-ks-contact-card { background: rgba(255,255,255,.08); border-radius: 12px; padding: 20px; }
.rs-ks-contact-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rs-ks-contact-card-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rs-ks-contact-card-title { font-size: 14px; font-weight: 700; color: white; }
.rs-ks-contact-card-badge { font-size: 11px; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.rs-ks-contact-card-sub { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.rs-ks-contact-card-cta { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.15); color: white; border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 700; transition: background .15s; font-family: inherit; border: none; cursor: pointer; }
.rs-ks-contact-card-cta:hover { background: rgba(255,255,255,.25); }

@media (max-width: 900px) and (min-width: 641px) {
	.rs-ks-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.rs-ks-contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.rs-ks-wrap { padding: 28px 16px 60px; }
	.rs-ks-hero { padding: 40px 16px 32px; }
	.rs-ks-hero-inner h1 { font-size: 27px; }
	.rs-ks-cat-grid { display: none; }
	.rs-ks-topic-select { display: block; }
	.rs-ks-contact-grid { grid-template-columns: 1fr; }
	.rs-ks-contact { padding: 26px 18px; }
}

/* ==========================================================================
   Over ons
   ========================================================================== */
.rs-ov-hero { background: var(--navy); overflow: hidden; position: relative; }
.rs-ov-hero-strip { position: absolute; right: 0; top: 0; bottom: 0; width: 40%; display: flex; opacity: .25; }
.rs-ov-fabric-swatch { flex: 1; }
.rs-ov-hero-inner { max-width: 1280px; margin: 0 auto; padding: 72px 24px; position: relative; z-index: 1; }
.rs-ov-breadcrumb { display: flex; gap: 6px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 24px; align-items: center; }
.rs-ov-breadcrumb a { color: rgba(255,255,255,.55); }
.rs-ov-breadcrumb span { color: rgba(255,255,255,.8); }
.rs-ov-hero-inner h1 { font-size: 48px; font-weight: 800; color: white; letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px; max-width: 600px; }
.rs-ov-hero-inner > p { font-size: 17px; color: rgba(255,255,255,.7); line-height: 1.7; max-width: 520px; }

.rs-ov-stats { background: var(--off); border-bottom: 1px solid var(--border); }
.rs-ov-stats-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; flex-wrap: wrap; }
.rs-ov-stat { padding: 24px 16px; text-align: center; flex: 1 1 160px; }
.rs-ov-stat-value { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -1px; }
.rs-ov-stat-label { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 4px; }

.rs-ov-sec { padding: 72px 24px; }
.rs-ov-about { background: white; }
.rs-ov-about-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.rs-ov-eyebrow { font-size: 12px; font-weight: 700; color: var(--cta); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.rs-ov-about h2 { font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 20px; }
.rs-ov-about p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.rs-ov-chips { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.rs-ov-chip { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--off); border-radius: 8px; border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text); }
a.rs-ov-chip { color: var(--cta); }
.rs-ov-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; border-radius: 16px; overflow: hidden; }
.rs-ov-mosaic-tile { aspect-ratio: 1; border-radius: 8px; }

.rs-ov-pillars-sec { background: var(--off); border-top: 1px solid var(--border); }
.rs-ov-sec-head { max-width: 1280px; margin: 0 auto 48px; text-align: center; }
.rs-ov-sec-head h2 { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; margin-bottom: 8px; }
.rs-ov-sec-head p { font-size: 15px; color: var(--muted); }
.rs-ov-pillars { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rs-ov-pillar { background: white; border-radius: 12px; padding: 32px 28px; border: 1px solid var(--border); }
.rs-ov-pillar-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.rs-ov-pillar h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.rs-ov-pillar p { font-size: 14px; color: var(--muted); line-height: 1.8; }

.rs-ov-carriers { max-width: 1280px; margin: 32px auto 0; background: white; border-radius: 12px; padding: 24px 32px; border: 1px solid var(--border); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.rs-ov-carriers-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.rs-ov-carrier-badge { height: 36px; padding: 0 20px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: white; letter-spacing: 1px; }
.rs-ov-carrier-postnl { background: #CC0028; }
.rs-ov-carrier-dpd { background: #DC0032; }
.rs-ov-carriers-text { font-size: 13px; color: var(--muted); flex: 1; }

.rs-ov-audience { background: white; }
.rs-ov-audience-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rs-ov-audience-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.rs-ov-audience-bar { height: 8px; }
.rs-ov-audience-body { padding: 32px; }
.rs-ov-audience-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.rs-ov-audience-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rs-ov-audience-title { font-size: 18px; font-weight: 800; color: var(--navy); }
.rs-ov-audience-sub { font-size: 12px; color: var(--muted); }
.rs-ov-audience-body p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.rs-ov-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.rs-ov-tags span { background: var(--off); border: 1px solid var(--border); border-radius: 20px; padding: 4px 12px; font-size: 12px; font-weight: 500; color: var(--text); }
.rs-ov-audience-cta { display: inline-flex; align-items: center; gap: 8px; border-radius: 8px; padding: 11px 20px; font-size: 14px; font-weight: 700; color: white; }
.rs-ov-audience-cta--navy { background: var(--navy); }
.rs-ov-audience-cta--cta { background: var(--cta); }

.rs-ov-cta { background: var(--navy); }
.rs-ov-cta-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.rs-ov-cta-swatches { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.rs-ov-cta-swatches div { width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0; }
.rs-ov-cta h2 { font-size: 32px; font-weight: 800; color: white; letter-spacing: -0.5px; margin-bottom: 12px; }
.rs-ov-cta > .rs-ov-cta-inner > p { font-size: 15px; color: rgba(255,255,255,.7); margin-bottom: 32px; line-height: 1.6; }
.rs-ov-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.rs-ov-cta-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 8px; padding: 13px 28px; font-size: 15px; font-weight: 800; }
.rs-ov-cta-btn--white { background: white; color: var(--navy); }
.rs-ov-cta-btn--ghost { background: rgba(255,255,255,.12); color: white; font-weight: 600; border: 1px solid rgba(255,255,255,.2); }

@media (max-width: 768px) {
	.rs-ov-hero-inner { padding: 48px 18px; }
	.rs-ov-hero-inner h1 { font-size: 30px; }
	.rs-ov-sec { padding: 44px 16px; }
	.rs-ov-about-grid { grid-template-columns: 1fr; gap: 36px; }
	.rs-ov-pillars { grid-template-columns: 1fr; }
	.rs-ov-audience-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Verzending & levering
   ========================================================================== */
.rs-vz-hero { background: var(--navy); padding: 48px 24px 40px; }
.rs-vz-hero-inner { max-width: 900px; margin: 0 auto; }
.rs-vz-breadcrumb { display: flex; gap: 6px; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 16px; align-items: center; }
.rs-vz-breadcrumb a { color: rgba(255,255,255,.5); }
.rs-vz-breadcrumb span { color: rgba(255,255,255,.8); }
.rs-vz-hero-inner h1 { font-size: 34px; font-weight: 800; color: white; letter-spacing: -0.5px; margin-bottom: 10px; }
.rs-vz-hero-inner > p { font-size: 15px; color: rgba(255,255,255,.7); max-width: 520px; line-height: 1.6; }

.rs-vz-usp-strip { background: white; border-bottom: 1px solid var(--border); }
.rs-vz-usp-strip-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; flex-wrap: wrap; }
.rs-vz-usp { display: flex; align-items: center; gap: 12px; padding: 20px 0; flex: 1 1 200px; }
.rs-vz-usp-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rs-vz-usp-label { font-size: 14px; font-weight: 700; }
.rs-vz-usp-sub { font-size: 12px; color: var(--muted); }

.rs-vz-wrap { max-width: 900px; margin: 0 auto; padding: 48px 24px 80px; display: flex; flex-direction: column; gap: 32px; }
.rs-vz-box { background: white; border-radius: 12px; border: 1px solid var(--border); padding: 28px 32px; }
.rs-vz-box h2 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 24px; }
.rs-vz-box--flush { padding: 0; overflow: hidden; }
.rs-vz-box-head { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.rs-vz-box-head h2 { margin-bottom: 0; }

.rs-vz-timeline { position: relative; }
.rs-vz-timeline::before { content: ''; position: absolute; left: 19px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.rs-vz-timeline-step { display: flex; gap: 20px; margin-bottom: 28px; position: relative; }
.rs-vz-timeline-step:last-child { margin-bottom: 0; }
.rs-vz-timeline-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-light); border: 3px solid white; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; z-index: 1; }
.rs-vz-timeline-body { padding-top: 8px; }
.rs-vz-timeline-head { display: flex; gap: 10px; align-items: center; margin-bottom: 4px; }
.rs-vz-timeline-title { font-size: 15px; font-weight: 700; color: var(--navy); }
.rs-vz-timeline-time { font-size: 11px; background: var(--blue-light); color: var(--cta); border-radius: 20px; padding: 2px 8px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.rs-vz-timeline-body p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.rs-vz-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rs-vz-2col p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.rs-vz-2col p:last-child { margin-bottom: 0; }
.rs-vz-checklist { display: flex; flex-direction: column; gap: 10px; }
.rs-vz-checklist-item { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }

.rs-vz-table-scroll { overflow-x: auto; }
.rs-vz-table { width: 100%; border-collapse: collapse; }
.rs-vz-table thead tr { background: var(--off); }
.rs-vz-table th { padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.rs-vz-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; white-space: nowrap; }
.rs-vz-table tbody tr:nth-child(even) { background: var(--off); }
.rs-vz-country-name { font-weight: 600; }
.rs-vz-country-name span { margin-right: 8px; }
.rs-vz-free-badge { background: #DCFCE7; color: var(--green); border-radius: 20px; padding: 3px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.rs-vz-muted { color: var(--muted); font-size: 13px; font-weight: 500; }
.rs-vz-row-highlight { background: #FEF2F2 !important; }
.rs-vz-row-highlight td:first-child { font-weight: 700; color: var(--red); }
.rs-vz-table td.rs-vz-muted { white-space: normal; min-width: 260px; }

.rs-b1-recognize-badge { display: inline-flex; align-items: center; gap: 6px; background: #FEF2F2; border-radius: 20px; padding: 5px 12px 5px 8px; margin-bottom: 16px; }
.rs-b1-recognize-badge .rs-fire-badge-svg { width: 18px; height: 18px; }
.rs-b1-recognize-badge span { font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: .3px; }
.rs-ot-recognize-badge { background: var(--blue-light); }
.rs-ot-recognize-badge img { height: 22px; width: auto; object-fit: contain; }
.rs-ot-recognize-badge span { color: var(--blue); }

.rs-vz-carrier { border: 1px solid var(--border); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.rs-vz-carrier-badge { height: 36px; padding: 0 16px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: white; align-self: flex-start; }
.rs-vz-carrier p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.rs-vz-carrier-feature { display: flex; gap: 8px; font-size: 13px; color: var(--muted); align-items: flex-start; }
.rs-vz-carrier-feature svg { flex-shrink: 0; margin-top: 2px; }

.rs-vz-cta { background: var(--blue-light); border: 1px solid #BFDBFE; border-radius: 12px; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.rs-vz-cta-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.rs-vz-cta-sub { font-size: 14px; color: var(--muted); }
.rs-vz-cta-btns { display: flex; gap: 10px; }
.rs-vz-cta-btn { display: flex; align-items: center; gap: 8px; border-radius: 8px; padding: 10px 18px; font-size: 14px; font-weight: 700; }
.rs-vz-cta-btn--navy { background: var(--navy); color: white; }
.rs-vz-cta-btn--white { background: white; border: 1px solid var(--border); color: var(--navy); font-weight: 600; }

@media (max-width: 640px) {
	.rs-vz-wrap { padding: 30px 16px 60px; gap: 22px; }
	.rs-vz-hero { padding: 36px 16px 30px; }
	.rs-vz-hero-inner h1 { font-size: 26px; }
	.rs-vz-usp-strip-inner { padding: 0 16px; }
	.rs-vz-box { padding: 22px 18px; }
	.rs-vz-2col { grid-template-columns: 1fr; }
	.rs-vz-cta { flex-direction: column; align-items: stretch; padding: 22px 18px; }
	.rs-vz-cta-btns { flex-direction: column; }
	.rs-vz-cta-btns a { justify-content: center; }
}

/* ==========================================================================
   My Account
   ========================================================================== */
.rs-acc-header { background: white; border-bottom: 1px solid var(--border); padding: 28px 24px; }
.rs-acc-header-inner { max-width: 1100px; margin: 0 auto; }
.rs-acc-breadcrumb { display: flex; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 10px; align-items: center; }
.rs-acc-breadcrumb a { color: var(--muted); }
.rs-acc-breadcrumb span { color: var(--text); }
.rs-acc-user { display: flex; align-items: center; gap: 16px; }
.rs-acc-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: white; flex-shrink: 0; }
.rs-acc-user h1 { font-size: 22px; font-weight: 800; color: var(--navy); }
.rs-acc-user-email { font-size: 13px; color: var(--muted); }

.rs-acc-layout { max-width: 1100px; margin: 0 auto; padding: 32px 24px 80px; display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
/* Same WC core float:right;width:68% collision as .rs-acc-sidebar above, on the
   paired .woocommerce-MyAccount-content class. */
.rs-acc-content { float: none !important; width: 100% !important; min-width: 0; }

.rs-acc-mobile-nav { display: none; position: relative; }
.rs-acc-mobile-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: white; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font-size: 15px; font-weight: 700; color: var(--navy); font-family: inherit; }
.rs-acc-mobile-trigger span { display: flex; align-items: center; gap: 10px; }
.rs-acc-mobile-menu { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: white; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; z-index: 30; box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.rs-acc-mobile-menu[hidden] { display: none; }
.rs-acc-mobile-item { display: flex; align-items: center; gap: 10px; padding: 13px 16px; font-size: 14px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); }
.rs-acc-mobile-item:last-child { border-bottom: none; }
.rs-acc-mobile-item.is-active { background: var(--blue-light); color: var(--cta); font-weight: 700; }
.rs-acc-mobile-item.is-logout { color: var(--red); }

/* WC core's `.woocommerce-account .woocommerce-MyAccount-navigation` (2 classes)
   outranks our 1-class `.rs-acc-sidebar` and sets float:left;width:30% (its own
   default 2-col layout) — this element also carries the WC class for
   wc_get_account_menu_item_classes()/endpoint routing to keep working, so it needs
   !important to reclaim full-width-of-grid-column instead of 30% of it. */
.rs-acc-sidebar { background: white; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; position: sticky; top: 24px; display: block; float: none !important; width: 100% !important; }
.rs-acc-sidebar-item { display: flex; align-items: center; gap: 10px; padding: 13px 18px; font-size: 14px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); border-left: 3px solid transparent; }
.rs-acc-sidebar-item:last-child { border-bottom: none; }
.rs-acc-sidebar-item.is-active { background: var(--blue-light); color: var(--cta); font-weight: 700; border-left-color: var(--cta); }
.rs-acc-sidebar-item.is-logout { color: var(--red); }

/* Dashboard */
.rs-acc-dashboard { display: flex; flex-direction: column; gap: 24px; }
.rs-acc-welcome { background: var(--blue-light); border-radius: 10px; padding: 20px 24px; border-left: 4px solid var(--cta); }
.rs-acc-welcome p { font-size: 14px; color: var(--text); line-height: 1.6; }
.rs-acc-welcome a { color: var(--cta); font-weight: 600; }
.rs-acc-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rs-acc-stat-card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 20px; text-align: left; transition: box-shadow .15s; }
.rs-acc-stat-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.rs-acc-stat-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.rs-acc-stat-value { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1; }
.rs-acc-stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

.rs-acc-recent-order { background: white; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.rs-acc-recent-order-head { padding: 14px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.rs-acc-recent-order-head span { font-size: 14px; font-weight: 700; }
.rs-acc-recent-order-head a { font-size: 12px; color: var(--cta); font-weight: 600; }
.rs-acc-recent-order-body { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.rs-acc-recent-order-id { font-size: 14px; font-weight: 700; color: var(--navy); }
.rs-acc-recent-order-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.rs-acc-recent-order-total { font-size: 16px; font-weight: 800; color: var(--navy); }
.rs-acc-recent-order-cta { background: var(--off); border: 1px solid var(--border); border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--text); }

/* Order status badges (shared: dashboard, orders list, view-order) */
.rs-acc-order-status { border-radius: 20px; padding: 3px 10px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.rs-acc-order-status--pending { background: #FEF3C7; color: #92400E; }
.rs-acc-order-status--processing { background: var(--blue-light); color: var(--cta); }
.rs-acc-order-status--on-hold { background: #FEF3C7; color: #92400E; }
.rs-acc-order-status--completed { background: #F0FDF4; color: #15803D; }
.rs-acc-order-status--cancelled { background: #FEF2F2; color: var(--red); }
.rs-acc-order-status--refunded { background: var(--off); color: var(--muted); }
.rs-acc-order-status--failed { background: #FEF2F2; color: var(--red); }

/* Orders list — accordion (<details>/<summary>, same pattern as .rs-pdp-accordion) */
.rs-acc-orders-list { background: white; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.rs-acc-order-accordion { border-bottom: 1px solid var(--border); }
.rs-acc-order-accordion:last-child { border-bottom: none; }
.rs-acc-order-summary { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr auto; gap: 12px; padding: 16px 20px; align-items: center; cursor: pointer; list-style: none; }
.rs-acc-order-summary::-webkit-details-marker { display: none; }
.rs-acc-order-chevron { transition: transform .2s; }
.rs-acc-order-accordion[open] .rs-acc-order-chevron { transform: rotate(180deg); }
.rs-acc-order-id { font-size: 14px; font-weight: 700; color: var(--navy); }
.rs-acc-order-date { font-size: 13px; color: var(--muted); }
.rs-acc-order-total { font-size: 14px; font-weight: 700; color: var(--text); }
.rs-acc-order-body { padding: 0 20px 20px; border-top: 1px solid var(--border); background: #FAFBFC; }
.rs-acc-order-items { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.rs-acc-order-item { display: flex; gap: 12px; align-items: center; background: white; border-radius: 8px; padding: 12px; border: 1px solid var(--border); }
.rs-acc-order-item-thumb { width: 48px; height: 48px; border-radius: 7px; overflow: hidden; flex-shrink: 0; }
.rs-acc-order-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rs-acc-order-item-body { flex: 1; min-width: 0; }
.rs-acc-order-item-name { font-size: 13px; font-weight: 600; }
.rs-acc-order-item-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.rs-acc-order-item-price { font-size: 14px; font-weight: 700; flex-shrink: 0; }
.rs-acc-order-actions-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.rs-acc-btn--navy { background: var(--navy); color: white; }
.rs-acc-pagination { display: flex; gap: 10px; justify-content: center; padding: 20px; }

.rs-acc-empty { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 48px; text-align: center; }
.rs-acc-empty-icon { font-size: 36px; margin-bottom: 12px; }
.rs-acc-empty-title { font-size: 16px; font-weight: 600; margin-bottom: 16px; }

/* Addresses */
.rs-acc-addresses-desc { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.rs-acc-addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rs-acc-addr-card { background: white; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.rs-acc-addr-head { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.rs-acc-addr-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.rs-acc-addr-edit { font-size: 12px; color: var(--cta); font-weight: 600; }
.rs-acc-addr-body { padding: 16px 18px; }
.rs-acc-addr-body address { font-size: 14px; color: var(--muted); line-height: 1.7; font-style: normal; }
.rs-acc-addr-empty { font-size: 14px; color: var(--muted); }

/* Shared boxes / forms (addresses edit, account details, login/register) */
.rs-acc-box { background: white; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.rs-acc-account-form .rs-acc-box + .rs-acc-box { margin-top: 24px; }
.rs-acc-box-head { padding: 14px 20px; border-bottom: 1px solid var(--border); }
.rs-acc-box-head span { font-size: 14px; font-weight: 700; }
.rs-acc-box-body { padding: 20px; }
.rs-acc-form-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.rs-acc-field { flex: 1 1 100%; display: flex; flex-direction: column; gap: 6px; }
.rs-acc-field--half { flex: 1 1 calc(50% - 8px); }
.rs-acc-field label,
.rs-acc-address-form label { font-size: 13px; font-weight: 600; color: var(--text); }
.rs-acc-field-note { font-size: 11px; color: var(--muted); }
.rs-acc-form-actions { margin-top: 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* WC core's `.woocommerce form .form-row .input-text` (3 classes) outranks our
   account-form selectors the same way it did on checkout — see the note there. */
.rs-acc-account-form input.input-text,
.rs-acc-account-form select,
.rs-acc-address-form input.input-text,
.rs-acc-address-form select,
.rs-acc-address-form .select2-container .select2-selection--single {
	width: 100%; height: 42px; border-radius: 8px !important; border: 1.5px solid var(--border) !important;
	padding: 0 12px; font-size: 14px; outline: none; background: white !important; font-family: inherit;
}
.rs-acc-account-form input.input-text:focus,
.rs-acc-address-form input.input-text:focus { border-color: var(--cta) !important; }
.rs-acc-address-form .form-row { margin: 0; flex: 1 1 100%; }
.rs-acc-address-form .form-row-first,
.rs-acc-address-form .form-row-last { flex: 1 1 calc(50% - 8px); }

.rs-acc-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 8px; padding: 11px 22px; font-size: 14px; font-weight: 700; font-family: inherit; border: none; cursor: pointer; }
.rs-acc-btn--cta { background: var(--cta); color: white; }
.rs-acc-btn--off { background: var(--off); border: 1px solid var(--border); color: var(--text); }
.rs-acc-btn--danger { background: var(--red); color: white; }

/* View order */
.rs-acc-back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text); }
.rs-acc-view-order-status { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.rs-acc-view-order-status mark { background: none; color: var(--navy); font-weight: 700; }
.rs-acc-view-order .woocommerce-table--order-details { width: 100%; border-collapse: collapse; margin-top: 8px; }
.rs-acc-view-order .woocommerce-table--order-details th,
.rs-acc-view-order .woocommerce-table--order-details td { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; text-align: left; }
.rs-acc-view-order .woocommerce-table--order-details tfoot th { font-weight: 600; color: var(--muted); }
.rs-acc-view-order .order-actions-button { display: inline-flex; align-items: center; background: var(--off); border: 1px solid var(--border); border-radius: 6px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--text); margin-right: 8px; }
.rs-acc-view-order .woocommerce-customer-details,
.rs-acc-view-order .woocommerce-order-downloads { margin-top: 24px; }
.rs-acc-view-order .woocommerce-columns--addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rs-acc-view-order .woocommerce-column__title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.rs-acc-view-order address { font-size: 14px; color: var(--muted); line-height: 1.7; font-style: normal; }
.rs-acc-view-order .woocommerce-OrderUpdates { list-style: none; margin: 16px 0; }
.rs-acc-view-order .woocommerce-OrderUpdate { background: var(--off); border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; }
.rs-acc-view-order .woocommerce-OrderUpdate-meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.rs-acc-view-order .woocommerce-OrderUpdate-description { font-size: 13px; color: var(--text); }

/* Logout confirm overlay (JS-injected, see initAccountPage() in main.js) */
.rs-acc-logout-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 999; display: flex; align-items: center; justify-content: center; padding: 24px; }
.rs-acc-logout-overlay[hidden] { display: none; }
.rs-acc-logout-modal { background: white; border-radius: 10px; padding: 40px; text-align: center; max-width: 420px; width: 100%; }
.rs-acc-logout-icon { width: 56px; height: 56px; border-radius: 50%; background: #FEF2F2; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.rs-acc-logout-modal h2 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.rs-acc-logout-modal p { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.rs-acc-logout-actions { display: flex; gap: 10px; justify-content: center; }

/* Guest login/register */
.rs-acc-guest-wrap { max-width: 900px; margin: 0 auto; padding: 48px 24px 80px; }
.rs-acc-guest-header { text-align: center; margin-bottom: 32px; }
.rs-acc-guest-header h1 { font-size: 28px; font-weight: 800; color: var(--navy); }
.rs-acc-guest-header p { font-size: 15px; color: var(--muted); margin-top: 8px; }
.rs-acc-guest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.rs-acc-guest-grid--single { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
.rs-acc-guest-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.rs-acc-remember { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.rs-acc-lost-password { margin-top: 12px; font-size: 13px; }

@media (max-width: 900px) {
	.rs-acc-layout { grid-template-columns: 1fr; padding: 22px 16px 60px; gap: 16px; }
	.rs-acc-sidebar { display: none; }
	.rs-acc-mobile-nav { display: block; }
	.rs-acc-stats { gap: 10px; }
	.rs-acc-addr-grid { grid-template-columns: 1fr; }
	.rs-acc-order-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 14px 16px; }
	.rs-acc-order-id { flex: 1 1 auto; }
	.rs-acc-order-date { flex: 1 1 100%; order: 3; }
	.rs-acc-order-total { order: 2; margin-left: auto; }
	.rs-acc-order-chevron { order: 1; }
	.rs-acc-guest-grid,
	.rs-acc-guest-grid--single { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
	.rs-acc-view-order .woocommerce-columns--addresses { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Retourneren
   ========================================================================== */
.rs-ret-hero { background: var(--navy); padding: 32px 24px 28px; }
.rs-ret-hero-inner { max-width: 680px; margin: 0 auto; }
.rs-ret-breadcrumb { display: flex; gap: 6px; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 12px; align-items: center; }
.rs-ret-breadcrumb a { color: rgba(255,255,255,.5); }
.rs-ret-breadcrumb span { color: rgba(255,255,255,.85); }
.rs-ret-hero-inner h1 { font-size: 28px; font-weight: 800; color: white; margin-bottom: 6px; }
.rs-ret-hero-inner p { font-size: 15px; color: rgba(255,255,255,.7); }

.rs-ret-wrap { max-width: 680px; margin: 0 auto; padding: 40px 24px 80px; }

.rs-ret-steps { display: flex; align-items: center; gap: 0; margin-bottom: 32px; flex-wrap: wrap; }
.rs-ret-step { display: flex; align-items: center; gap: 8px; }
.rs-ret-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--border); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.rs-ret-step.is-active .rs-ret-step-num { background: var(--cta); color: white; }
.rs-ret-step.is-done .rs-ret-step-num { background: var(--green); color: white; }
.rs-ret-step-label { font-size: 13px; color: var(--muted); white-space: nowrap; }
.rs-ret-step.is-active .rs-ret-step-label { color: var(--cta); font-weight: 600; }
.rs-ret-step-line { flex: 1; height: 1px; background: var(--border); margin: 0 10px; min-width: 20px; }

.rs-ret-error { background: #FEF2F2; border: 1px solid #FCA5A5; color: var(--red); border-radius: 8px; padding: 12px 16px; font-size: 13px; margin-bottom: 20px; }

.rs-ret-box { background: white; border-radius: 12px; border: 1px solid var(--border); padding: 32px; }
.rs-ret-box--flush { padding: 0; overflow: hidden; }
.rs-ret-box h2 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.rs-ret-box-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

.rs-ret-form { display: flex; flex-direction: column; gap: 16px; }
.rs-ret-field { display: flex; flex-direction: column; gap: 6px; }
.rs-ret-field label { font-size: 13px; font-weight: 600; }
.rs-ret-field input { height: 44px; border-radius: 8px; border: 1.5px solid var(--border); padding: 0 14px; font-size: 14px; outline: none; font-family: inherit; }
.rs-ret-field input:focus { border-color: var(--cta); }
.rs-ret-submit { width: 100%; justify-content: center; height: 46px; }

.rs-ret-order-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.rs-ret-order-id { font-size: 15px; font-weight: 700; color: var(--navy); }
.rs-ret-order-date { font-size: 13px; color: var(--muted); }
.rs-ret-badge { background: #DCFCE7; color: var(--green); border-radius: 20px; padding: 4px 12px; font-size: 12px; font-weight: 700; }

.rs-ret-items { padding: 0 20px; }
.rs-ret-item { padding: 16px 0; border-bottom: 1px solid var(--border); display: flex; gap: 14px; align-items: flex-start; }
.rs-ret-item:last-child { border-bottom: none; }
.rs-ret-item-check { margin-top: 16px; accent-color: var(--cta); width: 18px; height: 18px; flex-shrink: 0; }
.rs-ret-item-thumb { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.rs-ret-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rs-ret-item-body { flex: 1; min-width: 0; }
.rs-ret-item-name { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.rs-ret-item-note { font-size: 11px; background: #FEF2F2; color: var(--red); border-radius: 4px; padding: 2px 7px; font-weight: 600; }
.rs-ret-item-reason { margin-top: 10px; }
.rs-ret-item-reason[hidden] { display: none; }
.rs-ret-item-reason label { font-size: 12px; font-weight: 600; display: block; margin-bottom: 4px; }
.rs-ret-item-reason select { width: 100%; height: 36px; border-radius: 7px; border: 1.5px solid var(--border); padding: 0 10px; font-size: 13px; background: white; outline: none; font-family: inherit; }
.rs-ret-item-price { font-size: 15px; font-weight: 700; color: var(--navy); flex-shrink: 0; }

.rs-ret-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.rs-ret-actions .rs-ret-submit { flex: 1; width: auto; }

.rs-ret-label-row { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--cta); border-radius: 10px; background: #EEF5FF; margin-bottom: 24px; }
.rs-ret-label-badge { width: 48px; height: 28px; border-radius: 6px; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: white; flex-shrink: 0; }
.rs-ret-label-body { flex: 1; min-width: 0; }
.rs-ret-label-title { font-size: 14px; font-weight: 600; }
.rs-ret-label-desc { font-size: 12px; color: var(--muted); }
.rs-ret-label-price { font-size: 16px; font-weight: 800; color: var(--navy); flex-shrink: 0; }

.rs-ret-summary { background: var(--off); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; margin-bottom: 20px; }
.rs-ret-summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.rs-ret-summary-row > span:first-child { min-width: 0; }
.rs-ret-summary-row > span:last-child { flex-shrink: 0; }
.rs-ret-summary-reason { color: var(--muted); font-size: 12px; }
.rs-ret-summary-divider { height: 1px; background: var(--border); margin: 4px 0; }
.rs-ret-summary-row--total { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 0; }

.rs-ret-consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; cursor: pointer; }
.rs-ret-consent input { margin-top: 3px; accent-color: var(--cta); width: 17px; height: 17px; flex-shrink: 0; }
.rs-ret-consent span { font-size: 13px; color: var(--text); line-height: 1.5; }

.rs-ret-done { text-align: center; padding: 48px 32px; }
.rs-ret-done-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.rs-ret-done h2 { margin-bottom: 10px; }
.rs-ret-done .rs-ret-box-sub { max-width: 440px; margin-left: auto; margin-right: auto; margin-bottom: 28px; }

@media (max-width: 640px) {
	.rs-ret-wrap { padding: 28px 16px 60px; }
	.rs-ret-hero { padding: 26px 16px 22px; }
	.rs-ret-box { padding: 22px 18px; }
	.rs-ret-step-label { display: none; }
	.rs-ret-step.is-active .rs-ret-step-label { display: inline; }
}

/* Tutorials archive — design ref: Tutorials.html */
.rs-tut-header { background: white; border-bottom: 1px solid var(--border); padding: 48px 24px 40px; }
.rs-tut-header-inner { max-width: 1100px; margin: 0 auto; }
.rs-tut-breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.rs-tut-breadcrumb a { color: var(--muted); }
.rs-tut-breadcrumb span { color: var(--text); }
.rs-tut-header h1 { font-size: 38px; font-weight: 800; color: var(--navy); letter-spacing: -0.8px; margin-bottom: 10px; }
.rs-tut-header p { font-size: 16px; color: var(--muted); max-width: 560px; line-height: 1.6; }

.rs-tut-wrap { max-width: 1100px; margin: 0 auto; padding: 40px 24px 80px; }

.rs-tut-featured { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; background: white; margin-bottom: 32px; transition: box-shadow .2s; }
.rs-tut-featured:hover { box-shadow: 0 6px 28px rgba(0,0,0,.11); }
.rs-tut-featured-media { aspect-ratio: 4/3; position: relative; background-size: cover; background-position: center; }
.rs-tut-featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rs-tut-featured-badge { position: absolute; top: 16px; left: 16px; background: var(--cta); color: white; border-radius: 20px; padding: 4px 12px; font-size: 11px; font-weight: 700; }
.rs-tut-featured-body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.rs-tut-featured-cat { font-size: 11px; font-weight: 700; color: var(--cta); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.rs-tut-featured-body h2 { font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.3; margin-bottom: 14px; letter-spacing: -0.3px; }
.rs-tut-featured-body p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.rs-tut-featured-meta { display: flex; gap: 16px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 24px; flex-wrap: wrap; }
.rs-tut-featured-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--cta); color: white; border-radius: 8px; padding: 10px 20px; font-size: 13px; font-weight: 700; align-self: flex-start; }

.rs-tut-pills { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.rs-tut-pill { padding: 7px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; background: white; color: var(--text); border: 1.5px solid var(--border); transition: all .15s; }
.rs-tut-pill span { margin-left: 6px; font-size: 11px; opacity: .7; }
.rs-tut-pill.is-active { background: var(--cta); color: white; border-color: var(--cta); }

.rs-tut-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.rs-tut-card { display: block; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; background: white; transition: box-shadow .2s, transform .2s; }
.rs-tut-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); transform: translateY(-3px); }
.rs-tut-card-media { aspect-ratio: 16/9; position: relative; background-size: cover; background-position: center; }
.rs-tut-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rs-tut-card-badge { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.45); backdrop-filter: blur(4px); color: white; border-radius: 20px; padding: 3px 10px; font-size: 11px; font-weight: 700; }
.rs-tut-card-body { padding: 18px 20px; }
.rs-tut-card-body h2 { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 8px; }
.rs-tut-card-body p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.rs-tut-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }

.rs-tut-empty { text-align: center; padding: 60px; background: white; border-radius: 12px; border: 1px solid var(--border); }
.rs-tut-empty-icon { font-size: 32px; margin-bottom: 12px; }
.rs-tut-empty-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.rs-tut-empty-sub { font-size: 14px; color: var(--muted); }

.rs-tut-newsletter { background: var(--navy); border-radius: 16px; padding: 36px 40px; margin: 56px 0; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.rs-tut-newsletter-copy { flex: 1; min-width: 280px; }
.rs-tut-newsletter-title { font-size: 20px; font-weight: 800; color: white; margin-bottom: 8px; }
.rs-tut-newsletter-sub { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.5; }
.rs-tut-newsletter-form.rs-newsletter-form { flex: 1 1 320px; flex-direction: row; gap: 10px; }
.rs-tut-newsletter-form.rs-newsletter-form input { flex: 1; }

.rs-tut-bottom-cta { text-align: center; padding: 20px 0; }
.rs-tut-bottom-cta p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.rs-tut-bottom-cta a { display: inline-flex; align-items: center; gap: 8px; background: var(--cta); color: white; border-radius: 8px; padding: 12px 28px; font-size: 14px; font-weight: 800; }

@media (max-width: 900px) {
	.rs-tut-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
	.rs-tut-featured { grid-template-columns: 1fr; }
	.rs-tut-featured-body { padding: 24px 22px; }
	.rs-tut-grid { grid-template-columns: 1fr; }
	.rs-tut-header { padding: 32px 16px 28px; }
	.rs-tut-header h1 { font-size: 27px; }
	.rs-tut-wrap { padding: 28px 16px 64px; }
	.rs-tut-newsletter-form.rs-newsletter-form { flex-direction: column; }
}

/* Single tutorial — design ref: Gordijnen maken.html */
.rs-tut-article { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; line-height: 1.7; }

.rs-tut-single-breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 24px; flex-wrap: wrap; }
.rs-tut-single-breadcrumb a { color: var(--muted); }
.rs-tut-single-breadcrumb span { color: var(--text); }

.rs-tut-single-cats { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.rs-tut-single-cat { background: var(--off); color: var(--muted); border-radius: 20px; padding: 4px 12px; font-size: 12px; font-weight: 500; }
.rs-tut-single-cat.is-primary { background: var(--blue-light); color: var(--cta); font-weight: 700; }

.rs-tut-single-h1 { font-size: 40px; font-weight: 800; color: var(--navy); line-height: 1.15; letter-spacing: -1px; margin-bottom: 20px; }

.rs-tut-single-meta { display: flex; gap: 20px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 32px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.rs-tut-single-author { display: flex; align-items: center; gap: 8px; }
.rs-tut-single-author strong { color: var(--text); }
.rs-tut-single-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: white; flex-shrink: 0; }

.rs-tut-single-hero { margin: 32px 0; border-radius: 10px; overflow: hidden; }
.rs-tut-single-hero img { width: 100%; height: auto; display: block; }

[data-rs-toc-sentinel] { height: 1px; margin-top: 32px; pointer-events: none; }
.rs-tut-toc { position: sticky; top: 130px; z-index: 50; background: var(--off); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 0 0 32px; transition: box-shadow .2s, border-radius .15s; }
.rs-tut-toc.is-stuck { border-radius: 0 0 10px 10px; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.rs-tut-toc-toggle { width: 100%; background: none; border: none; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; color: var(--navy); text-align: left; cursor: pointer; }
.rs-tut-toc-toggle svg { transition: transform .2s; flex-shrink: 0; stroke: var(--muted); }
.rs-tut-toc-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.rs-tut-toc-list { padding: 4px 20px 16px 40px; display: flex; flex-direction: column; gap: 4px; }
.rs-tut-toc-list[hidden] { display: none; }
.rs-tut-toc-list a { font-size: 14px; color: var(--cta); font-weight: 500; }

.rs-tut-single-body h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin: 48px 0 16px; letter-spacing: -0.3px; line-height: 1.3; }
.rs-tut-single-body h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 32px 0 12px; }
.rs-tut-single-body p { font-size: 16px; line-height: 1.8; color: #374151; margin-bottom: 18px; }
.rs-tut-single-body ul, .rs-tut-single-body ol { padding-left: 24px; margin-bottom: 18px; }
.rs-tut-single-body li { font-size: 16px; line-height: 1.7; color: #374151; margin-bottom: 6px; }
.rs-tut-single-body strong { color: var(--text); font-weight: 700; }
.rs-tut-single-body img { max-width: 100%; height: auto; border-radius: 10px; }
.rs-tut-single-body figure { margin: 32px 0; }
.rs-tut-single-body figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; font-style: italic; }
.rs-tut-single-body table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14px; }
.rs-tut-single-body th { background: var(--navy); color: white; padding: 10px 14px; text-align: left; font-weight: 600; }
.rs-tut-single-body td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.rs-tut-single-body tr:nth-child(even) td { background: var(--off); }
.rs-tutorial-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; }
.rs-tutorial-table-wrap table { margin: 0; }

.rs-tut-single-body details { border-bottom: 1px solid var(--border); margin-bottom: 0; }
.rs-tut-single-body summary { padding: 16px 0; font-size: 16px; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.rs-tut-single-body summary::-webkit-details-marker { display: none; }
.rs-tut-single-body summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .18s; flex-shrink: 0; }
.rs-tut-single-body details[open] summary::after { transform: rotate(-135deg); }
.rs-tut-single-body details p { padding-bottom: 16px; color: var(--muted); margin-bottom: 0; }

.rs-tutorial-callout { background: var(--blue-light); border: 1px solid #BFDBFE; border-radius: 10px; padding: 16px 20px; margin: 24px 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rs-tutorial-callout--empty { color: var(--muted); font-size: 14px; font-style: italic; }
.rs-tutorial-callout-thumb { width: 56px; height: 56px; border-radius: 8px; flex-shrink: 0; overflow: hidden; display: block; }
.rs-tutorial-callout-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rs-tutorial-callout-body { flex: 1; min-width: 160px; }
.rs-tutorial-callout-label { font-size: 12px; font-weight: 700; color: var(--cta); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; }
.rs-tutorial-callout-name { display: block; font-size: 15px; font-weight: 700; color: var(--navy); }
.rs-tutorial-callout-price { font-size: 13px; color: var(--muted); margin-top: 2px; }
.rs-tutorial-callout-cta { background: var(--cta); color: white; border-radius: 8px; padding: 9px 18px; font-size: 13px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }

.rs-tut-single-cta { background: var(--navy); border-radius: 12px; padding: 32px; margin: 48px 0 0; text-align: center; }
.rs-tut-single-cta-swatches { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.rs-tut-single-cta-swatches div { width: 36px; height: 36px; border-radius: 6px; flex-shrink: 0; }
.rs-tut-single-cta h3 { font-size: 22px; font-weight: 800; color: white; margin-bottom: 8px; }
.rs-tut-single-cta p { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 24px; line-height: 1.6; }
.rs-tut-single-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.rs-tut-single-cta-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 8px; padding: 11px 24px; font-size: 14px; font-weight: 800; }
.rs-tut-single-cta-btn--white { background: white; color: var(--navy); }
.rs-tut-single-cta-btn--ghost { background: rgba(255,255,255,.12); color: white; font-weight: 600; border: 1px solid rgba(255,255,255,.2); }

.rs-tut-single-share { margin-top: 40px; padding: 20px 0; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.rs-tut-single-share > span { font-size: 14px; color: var(--muted); font-weight: 500; }
.rs-tut-single-share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.rs-tut-share-btn { border-radius: 7px; padding: 7px 14px; font-size: 12px; font-weight: 600; color: white; border: none; cursor: pointer; font-family: inherit; }
.rs-tut-share-btn--fb { background: #1877F2; }
.rs-tut-share-btn--pin { background: #E60023; }
.rs-tut-share-btn--wa { background: #25D366; }
.rs-tut-share-btn--copy { background: var(--off); color: var(--text); border: 1px solid var(--border); }

@media (max-width: 768px) {
	.rs-tut-toc { position: static; box-shadow: none; border-radius: 10px; margin: 0 0 28px; }
	.rs-tut-single-h1 { font-size: 28px; letter-spacing: -0.5px; }
	.rs-tut-single-body h2 { font-size: 21px; margin: 36px 0 12px; }
	.rs-tutorial-callout { flex-direction: column; align-items: flex-start; }
	.rs-tutorial-callout-cta { width: 100%; text-align: center; }
}

/* Stof keuzehulp — design ref: Stof keuzehulp.html */
.rs-kh-hero { background: var(--navy); padding: 40px 24px 32px; text-align: center; }
.rs-kh-hero-eyebrow { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.5); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.rs-kh-hero h1 { font-size: 34px; font-weight: 800; color: white; letter-spacing: -0.5px; margin-bottom: 8px; }
.rs-kh-hero p { font-size: 15px; color: rgba(255,255,255,.7); }

.rs-kh-wrap { max-width: 800px; margin: 0 auto; padding: 48px 24px 80px; }

.rs-kh-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 40px; }
.rs-kh-progress-step { display: flex; align-items: center; gap: 6px; }
.rs-kh-progress-num { width: 28px; height: 28px; border-radius: 50%; background: var(--border); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.rs-kh-progress-step.is-active .rs-kh-progress-num { background: var(--cta); color: white; }
.rs-kh-progress-step.is-done .rs-kh-progress-num { background: var(--green); color: white; }
.rs-kh-progress-label { font-size: 13px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.rs-kh-progress-step.is-active .rs-kh-progress-label { font-weight: 600; color: var(--cta); }
.rs-kh-progress-line { flex: 1; height: 1px; background: var(--border); }

.rs-kh-step h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.rs-kh-step-sub { font-size: 15px; color: var(--muted); margin-bottom: 28px; }

.rs-kh-options { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 32px; }
.rs-kh-option { padding: 16px; border-radius: 12px; text-align: left; cursor: pointer; transition: all .15s; border: 2px solid var(--border); background: white; font-family: inherit; }
.rs-kh-option:hover { border-color: var(--cta); }
.rs-kh-option.is-selected { border-color: var(--cta); background: #EEF5FF; box-shadow: 0 0 0 3px rgba(0,102,204,.12); }
.rs-kh-option-emoji { display: block; font-size: 24px; margin-bottom: 8px; }
.rs-kh-option-label { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.rs-kh-option.is-selected .rs-kh-option-label { color: var(--cta); }
.rs-kh-option-desc { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }

.rs-kh-nav { display: flex; justify-content: space-between; gap: 10px; }
.rs-kh-btn { border-radius: 8px; padding: 10px 20px; font-size: 14px; font-weight: 700; font-family: inherit; cursor: pointer; }
.rs-kh-btn--off { background: none; border: 1px solid var(--border); color: var(--text); font-weight: 600; }
.rs-kh-btn--cta { background: var(--cta); color: white; border: none; padding: 10px 24px; }
.rs-kh-btn--cta:disabled { background: #CBD5E1; cursor: not-allowed; }

.rs-kh-results-head { text-align: center; margin-bottom: 40px; }
.rs-kh-results-icon { font-size: 48px; margin-bottom: 12px; }
.rs-kh-results-head h2 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.rs-kh-results-head p { font-size: 15px; color: var(--muted); }

.rs-kh-recs { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 40px; }
.rs-kh-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.rs-kh-card-tags span { background: var(--blue-light); color: var(--cta); border-radius: 20px; padding: 2px 8px; font-size: 11px; font-weight: 600; }

.rs-kh-results-actions { display: flex; gap: 12px; justify-content: center; }

.rs-kh-empty { grid-column: 1 / -1; text-align: center; padding: 60px 24px; background: white; border-radius: 12px; border: 1px solid var(--border); }
.rs-kh-empty-icon { font-size: 32px; margin-bottom: 12px; }
.rs-kh-empty-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.rs-kh-empty-sub { font-size: 14px; color: var(--muted); }

@media (max-width: 640px) {
	.rs-kh-options { grid-template-columns: repeat(2,1fr); }
	.rs-kh-recs { grid-template-columns: repeat(2,1fr); }
	.rs-kh-progress-label { display: none; }
	.rs-kh-progress-step.is-active .rs-kh-progress-label { display: inline; }
	.rs-kh-wrap { padding: 32px 16px 60px; }
	.rs-kh-hero { padding: 32px 16px 26px; }
	.rs-kh-hero h1 { font-size: 25px; }
}

/**
 * WooCommerce notices — floating toasts instead of default WC boxes that push
 * page content down. `.woocommerce-notices-wrapper` is the real container
 * `wc_print_notices()` always renders into, regardless of which page/hook
 * triggered it (product page, cart, checkout, my account) — one rule set
 * covers all of them. Real markup: `.woocommerce-message`/`.woocommerce-info`
 * are <div>s, `.woocommerce-error` is a <ul> — all three styled identically
 * here bar the accent color.
 */
.woocommerce-notices-wrapper {
	position: fixed;
	top: 110px;
	right: 20px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: min(380px, calc(100vw - 40px));
	pointer-events: none;
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 14px 40px 14px 16px;
	border-radius: 10px;
	background: white !important;
	box-shadow: 0 8px 24px rgba(0,0,0,.16);
	border: none !important;
	border-left: 4px solid var(--cta) !important;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text);
	pointer-events: auto;
	animation: rs-notice-in .25s ease;
	transition: opacity .25s, transform .25s;
}
/* WooCommerce's own icon-font glyph (::before) assumes its default 3.5em left
   padding — our tighter 16px padding above would leave it overlapping the text. */
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before { display: none !important; }
.woocommerce-message { border-left-color: var(--green) !important; }
.woocommerce-error { border-left-color: var(--red) !important; display: flex; flex-direction: column; gap: 6px; }
.woocommerce-error li { list-style: none; }
.woocommerce-info { border-left-color: var(--cta) !important; }

.woocommerce-message a:not(.button),
.woocommerce-error a:not(.button),
.woocommerce-info a:not(.button) { color: var(--cta); font-weight: 600; }

.woocommerce-message .button.wc-forward,
.woocommerce-error .button.wc-forward,
.woocommerce-info .button.wc-forward {
	display: inline-block;
	float: none;
	margin: 8px 0 0;
	background: var(--cta);
	color: white;
	border-radius: 6px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.rs-notice-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 22px;
	height: 22px;
	background: none;
	border: none;
	font-size: 18px;
	line-height: 1;
	color: var(--muted);
	cursor: pointer;
	padding: 0;
}
.rs-notice-close:hover { color: var(--text); }

.woocommerce-message.is-leaving,
.woocommerce-error.is-leaving,
.woocommerce-info.is-leaving { opacity: 0; transform: translateY(-8px); }

@keyframes rs-notice-in {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
	.woocommerce-notices-wrapper { top: auto; bottom: 16px; right: 12px; left: 12px; width: auto; }
}
