/*
Theme Name: RM - VDS
Theme URI: https://www.rollemamedia.nl/
Author: Rollema Media
Author URI: https://www.rollemamedia.nl/
Description: Een door Rollema Media ontwikkelde template voor Voordelig Design Sanitair.
Version: 2.1.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: rollemamedia
*/

:root {
  --site-box-width: 1400px;
  --vds-grid-columns: 12;
  --vds-grid-gap: 40px;
  
  --border-radius: 10px;
  --border-color: #bbcad6;
  
  --fs-small: 0.7rem;
  --fs-medium: .85rem;
  --fs-normal: 1rem;
  --fs-large: 1.15rem;
  --fs-x-large: 1.3rem;
  
  --wp--preset--font-size--medium: var(--fs-x-large);
}

html, body { background: #ffffff; font-family: "Poppins", sans-serif; color: var(--primair); font-size: 1rem; line-height: 1.2rem; letter-spacing: 0.03rem; font-optical-sizing: auto; font-weight: 300; font-style: normal; margin: 0; padding: 0; }
a { color: var(--secundair); transition: .4s; cursor: pointer; }
a:hover { color: var(--tertiair); }
select { -moz-appearance: none; -webkit-appearance: none; appearance: none; padding: 15px 40px 15px 15px; border: 1px solid var(--border-color); border-radius: 3px; color: #2d2d2f; background: #fff url('https://cdn.onlinewebfonts.com/svg/img_295694.svg') no-repeat; background-size: 14px; background-position: 97% 50%; }
input,
textarea { border: 1px solid var(--border-color); color: currentColor; border-radius: 3px; padding: 10px; font-family: "Poppins", sans-serif; font-size: 0.92rem; line-height: 1.2rem; letter-spacing: 0.1rem; font-optical-sizing: auto; font-weight: 200; }
input:focus-visible,
textarea:focus-visible { border-color: color-mix(in srgb, currentColor 60%, transparent); outline: none; }
main,
.inner-container,
.single-product .entry-content,
.woocommerce-page .entry-content { max-width: calc(100vw - 40px); width: 100%; margin: 0 auto; }

.entry-content > main { padding: 0; }
.entry-content .rm-blok:last-child { margin-bottom: 40px; }

button.button { background: var(--primair); color: #fff; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; transition: .3s; font-family: "Poppins", sans-serif; font-size: 0.92rem; line-height: 1.2rem; letter-spacing: 0.1rem; font-optical-sizing: auto; font-weight: 200; }
button.button:hover { background: var(--tertiair); }

header h1 { padding: 0; }

/* Kopteksten - Begin */
[class^="kop-"],
[class*=" kop-"] { font-weight: 500; line-height: normal; margin: 0 0 15px; }
h1, h2, h3, h4 { font-weight: 600; line-height: normal; margin: 0 0 15px; }
.kop-0-5 { font-size: .5rem; }
.kop-0-6 { font-size: .6rem; }
.kop-0-7 { font-size: .7rem; }
.kop-0-8 { font-size: .8rem; }
.kop-0-9 { font-size: .9rem; }
.kop-1 { font-size: 1.0rem; }
.kop-1-1 { font-size: 1.1rem; }
.kop-1-2, h3 { font-size: 1.2rem; }
.kop-1-3 { font-size: 1.3rem; }
.kop-1-4, h2 { font-size: 1.4rem; }
.kop-1-5 { font-size: 1.5rem; }
.kop-1-6 { font-size: 1.6rem; }
.kop-1-7 { font-size: 1.7rem; }
.kop-1-8 { font-size: 1.8rem; }
.kop-1-9 { font-size: 1.9rem; }
.kop-2-0, h1 { font-size: 2.0rem; }

.tekst-100 { font-weight: 100; }
.tekst-200 { font-weight: 200; }
.tekst-300 { font-weight: 300; }
.tekst-400 { font-weight: 400; }
.tekst-500 { font-weight: 500; }
.tekst-600 { font-weight: 600; }
.tekst-700 { font-weight: 700; }
.tekst-800 { font-weight: 800; }
.tekst-900 { font-weight: 900; }
/* Kopteksten - Einde */

/* Knop styling - Begin */
.knop, .yith-wcan-filters-opener { font-size: 1.1rem; border-radius: 5px; padding: 8px 18px; transition: .3s; border: 2px solid; text-decoration: none; }
.knop.primair, .yith-wcan-filters-opener { background: var(--secundair); border-color: var(--secundair); color: #fff; }
.knop.primair:hover, .yith-wcan-filters-opener:hover { background: var(--primair); border-color: var(--primair); color: #fff; }
.knop.primair.contrast { background: #fff; border-color: #fff; color: var(--primair); }
.knop.primair.contrast:hover { background: var(--quartair); border-color: var(--quartair); }

.knop.secundair { background: var(--secundair); color: #fff; }
.knop.secundair:hover { background: var(--primair); }
.knop.secundair.contrast { background: #fff; color: var(--primair); }

.knop.tertiair { color: var(--signaal-donker); background: rgba(255, 255, 255, 0); }
.knop.tertiair:hover { color: var(--secundair); }
.knop.tertiair.contrast { color: #fff; }

.knop.quartair { color: var(--primair); background: rgba(255, 255, 255, 0); }
.knop.quartair:hover { color: var(--secundair); }
.knop.quartair.contrast { color: #fff; }
/* Knop styling - Einde */

/* Animaties - Begin */
.animatie-pulse { animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
@keyframes pulse { 50% { opacity: .5 } }
@keyframes vds-usp-marquee { .. }
/* Animaties - Einde */

/* Zoekbalk Header - Begin */
.aws-container .aws-search-form .aws-form-btn { background: #fff; border-color: var(--signaal-donker); }
.aws-container .aws-search-form .aws-search-btn.aws-form-btn { background: var(--signaal-donker); }
.aws-container .aws-search-form .aws-search-btn svg { fill: #fff; }
.aws-container .aws-search-field { border-right: none !important; border-color: var(--border-color); background: var(--quartair); border-top-left-radius: 5px !important; border-bottom-left-radius: 5px !important; font-weight: 400; color: var(--primair); min-width: 400px; }
.aws-container .aws-search-field::placeholder { font-style: italic; }
.aws-container .aws-search-form .aws-main-filter.aws-form-btn { border-left: none !important; }
.aws-container .aws-search-form .aws-search-btn.aws-form-btn { border-top-right-radius: 5px !important; border-bottom-right-radius: 5px !important; border-color: var(--border-color); background: var(--border-color); }

.aws-search-result { width: 100% !important; left: inherit !important; border: none; box-shadow: 0 20px 40px -40px rgba(0, 0, 0, .4); }
.aws-search-result .aws_result_scroll { margin: 0 auto; width: var(--site-box-width); padding: 20px 0; }
.aws-search-result .aws_results .aws_result_item { border: none; background: var(--quartair); border-radius: 10px; margin: 10px 0 !important; }
.aws-search-result .aws_results .aws_result_item .aws_result_title { color: var(--primair); font-weight: 500; }
.aws-search-result .aws_results .aws_result_item .aws_result_price { color: var(--secundair); display: flex; flex-direction: row; align-items: center; gap: 10px; font-size: .8rem; line-height: normal; font-weight: 600; align-content: center; position: relative; flex-wrap: wrap; }
.aws-search-result .aws_results .aws_result_item .aws_result_price del { color: var(--signaal-donker); font-weight: 400; }
.aws-search-result .aws_results .aws_result_item .aws_result_price ins { text-decoration: none; }
/* Formulieren - Begin */

.gform-body {}
.gform-body .hidden_label .gform-field-label--type-sub { font-size: 0.94rem; font-weight: 500; }
.gform-body .gfield_label { color: var(--signaal-donker) !important; }
.gform-body input { box-shadow: none !important; border-color: var(--border-color) !important; padding: 5px 10px !important; font-size: var(--fs-normal) !important; line-height: normal !important; height: 40px !important; font-weight: 300 !important; }
.gform-body input[type="text"],
.gform-body input[type="email"],
.gform-body input[type="tel"] { width: 100% !important; }
.gform-body textarea:focus,
.gform-body input:focus { outline: none !important; border-color: inherit; -webkit-box-shadow: none; box-shadow: none; --gf-local-border-color: var(--signaal-groen) !important; box-shadow: none !important; }
.gform-body input::placeholder { color: #aaa; font-style: italic; }

.gform-body .gfield_required { display: none; }

.gform-body .gform-button,
.gform-footer .gform_button { background-color: var(--secundair) !important; color: #fff !important; font-size: 1.1rem !important; font-weight: 300 !important; box-shadow: none !important; }
.gform-body .gform-button:hover,
.gform-footer .gform_button:hover { background-color: var(--primair) !important; }

.gform_validation_error .gform-body .gform_fields { align-items: self-end; }
.gform_validation_error .validation_message { display: none !important; }
.gform_validation_errors { background-color: var(--rood) !important; color: var(--signaal-licht) !important; }
.gform_validation_errors .gform_submission_error,
.gform_validation_errors ol,
.gform_validation_errors ol a { color: var(--signaal-licht) !important; text-decoration: none !important; }
.gform_validation_errors .gform-icon { color: var(--signaal-licht) !important; border-color: var(--signaal-licht) !important; }
.gform_validation_errors:focus { outline: none !important; }
/* Formulieren - Einde */


/* Leadbot - Begin */
.leadbot-toggle-btn { width: 40px; height: 40px; }
.leadbot-toggle-btn svg { width: 25px; height: 25px; }
/* Leadbot - Einde */

.website-melding { background: var(--signaal-rood); padding: 10px; color: #fff; text-align: center; }
.website-melding a { color: #fff; }

.wrapper { display: flex ; flex-direction: row; flex-wrap: wrap; justify-content: center; margin: 0 auto; padding: 0; gap: 0; align-items: flex-start; }

/* Header & menu - Begin */
header { position: sticky; top: 0; z-index: 99; }
.actiebanner-header { background: var(--secundair); color: var(--signaal-licht); display: flex; flex-direction: column; width: 100%; max-width: 100vw; margin: 0; }
.actiebanner-header .inner-container { padding: 10px 0; display: flex; flex-direction: row; align-items: center; gap: 40px; justify-content: center; }
.actiebanner-header .actie-tekst { font-size: 1rem; font-weight: 400; letter-spacing: 0.02em; }
.actiebanner-header .actie-timer { display: flex; align-items: center; gap: 4px; font-size: 0.85rem; }
.actiebanner-header .timer-blok { background: #fff; width: 60px; padding: 5px; border-radius: 5px; display: flex; flex-direction: column; align-items: center; }
.actiebanner-header .timer-getal { font-size: 1.1rem; font-weight: 700; line-height: 1; color: var(--primair); }
.actiebanner-header .timer-label { font-size: 0.65rem; opacity: 0.75; line-height: 1; letter-spacing: 0.05em; margin-top: 2px; color: var(--primair); }

.secundair-header { background: var(--quartair); color: var(--signaal-donker); display: flex; flex-direction: column; width: 100%; max-width: 100vw; margin: 0; }
.secundair-header .inner-container { display: flex; flex-direction: row; align-items: center; gap: 40px; justify-content: space-between; }
.secundair-header .secundair-menu { display: flex; flex-direction: row; font-size: 13px; gap: 20px; }
.secundair-header .secundair-menu a { text-decoration: none; color: var(--signaal-licht); }
.secundair-header .header-usps-inner { display: flex; gap: 20px; align-items: center; overflow: hidden; height: 100%; padding: 0; margin: 0; }
.secundair-header .header-usps-inner .single-usp { display: flex; padding: 10px 0; align-items: center; gap: 8px; font-size: .7rem; }
.secundair-header .header-usps-inner .single-usp i { color: var(--secundair); font-size: 130%; }
.secundair-header .header-usps-inner .single-usp b { font-weight: 700; }

.primair-header { background: #fff; padding: 10px 0; margin: 0; display: flex; flex-direction: column; width: 100%; max-width: 100vw; overflow: visible; }
.primair-header .inner-container { display: flex; flex-direction: row; align-items: center; gap: 20px; justify-content: space-between; }
.primair-header .header-branding { display: flex ; flex-direction: column; flex-wrap: nowrap; justify-content: center; margin: 0; align-items: center;  }
.primair-header .header-branding .site-logo.toon-klant-logo { display: flex; flex-direction: row; }
.primair-header .header-branding .website-logo { max-width: 100%; width: 200px; margin: 0; min-width: 100px; }

.primair-header .header-zoekbalk {}
.primair-header .header-trustpilot { display: flex; flex-direction: row; gap: 10px; align-items: center; flex-wrap: nowrap; }

.primair-header .hoofdmenu .mega-menu-wrap { z-index: 9; }
.primair-header .header-icons { display: flex; flex-direction: row; gap: 20px; padding: 10px 0; font-size: 1.4rem; align-items: center; }
.primair-header .header-icons i { font-weight: 500; color: #1f1f1f; }
.primair-header .header-icons .winkelwagen { text-decoration: none; display: flex; flex-direction: row; flex-wrap: nowrap; }
.primair-header .header-icons .winkelwagen .cart-count { background: var(--tertiair); color: var(--signaal-licht); font-weight: 600; margin-left: -5px; margin-top: -12px; font-size: 10px; display: flex ; align-items: center; justify-content: center; width: auto; height: 18px; border-radius: 3px; padding: 0 5px; }
.primair-header .header-icons .winkelwagen[data-cart-count="0"] .cart-count { display: none; }
.primair-header .header-icons .favorieten { text-decoration: none; display: flex; flex-direction: row; flex-wrap: nowrap; }
.primair-header .header-icons .favorieten .favorieten-count { background: var(--primair); color: var(--signaal-licht); font-weight: 600;  margin-left: -10px; margin-top: -8px; font-size: 10px; text-align: center; height: 18px; width: 18px; border-radius: 100%; padding: 0; }
.primair-header .header-icons .favorieten[data-cart-count="0"] .favorieten-count { display: none; }

/* Inklapbare zoekbalk (mobiel): toggle-icoon in .header-icons + uitklaprij binnen de primair-header */
.primair-header .header-icons .header-zoek-toggle { display: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; color: inherit; font: inherit; line-height: 1; align-items: center; }
.primair-header .header-zoek-mobiel { display: none; }
.primair-header .header-zoek-mobiel.is-open { display: block; padding-top: 0; padding-bottom: 12px; }
.primair-header .header-zoek-mobiel .header-zoekbalk,
.primair-header .header-zoek-mobiel form { width: 100%; }
.primair-header .header-zoek-mobiel .zoekveld { width: 100%; }

.header-menu {  }
.header-menu .mega-menu-item.opvallen > a { background: var(--tertiair) !important; color: #fff !important; border-radius: 5px !important; transition: .4s !important; }
.header-menu .mega-menu-item.opvallen > a:hover { background: var(--primair) !important; }
.header-menu .mega-menu-item.assortiment > a { background: var(--primair) !important; color: #fff !important; border-radius: 5px !important; transition: .4s !important; }
.header-menu .mega-menu-item.assortiment > a:hover { background: var(--signaal-donker) !important; }

.header-menu #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-tabbed > ul.mega-sub-menu { padding: 20px; margin-top: 30px; max-width: var(--site-box-width); width: calc(100vw - 80px) !important; }
.header-menu #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item > ul.mega-sub-menu { border: none; }
.header-menu #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link { color: var(--primair); border-radius: 5px; margin-top: 10px; transition: .3s; }
.header-menu #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-toggle-on > a.mega-menu-link { color: #fff; }
.header-menu #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:before { font-size: 1rem; font-weight: 400; }
.header-menu #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item:first-child > a.mega-menu-link { margin-top: 0; }
.header-menu #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item > ul.mega-sub-menu { padding-left: 40px; }

#mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-box, #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner, #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after { width: 30px; }
#mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner, #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after { height: 3px; }

.secund-mobiel-menu { padding: 10px; margin: 20px 0; list-style: none; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; background: var(--antraciet); border-radius: 5px; }
.secund-mobiel-menu .menu-item a:hover,
.secund-mobiel-menu .current-menu-item a { background: rgba(255, 255, 255, .8); color: var(--antraciet); }
.secund-mobiel-menu .menu-item a { border-radius: 10px; color: var(--signaal-licht); text-decoration: none; padding: 5px 10px; display: flex ; align-items: center; flex-wrap: nowrap; transition: .3s; }
.secund-mobiel-menu .menu-item a:before { font-size: 20px; margin-right: 10px; font-family: "Font Awesome 7 PRO"; font-weight: 200; }
.secund-mobiel-menu .menu-item.contrast a { background: #fff; color: var(--primair); transition: .3s; border-radius: 3px; }
.secund-mobiel-menu .menu-item.contrast a:hover { background: var(--tertiair); color: #fff; }
.secund-mobiel-menu .menu-item.admin a:before { content: '\e5f1'; font-size: 15px; margin-right: 5px; }
.secund-mobiel-menu .menu-item.klant-worden a:before { content: '\f6a4'; font-size: 15px; }
/* Header & menu - Einde */

/* Statische pagina's opbouw */
.grid-view { grid-template-columns: repeat(var(--vds-grid-columns),1fr); gap: var(--vds-grid-gap); display: grid; }
.grid-view .col-1 { grid-column: span 1; }
.grid-view .col-2 { grid-column: span 2; }
.grid-view .col-3 { grid-column: span 3; }
.grid-view .col-4 { grid-column: span 4; }
.grid-view .col-5 { grid-column: span 5; }
.grid-view .col-6 { grid-column: span 6; }
.grid-view .col-7 { grid-column: span 7; }
.grid-view .col-8 { grid-column: span 8; }
.grid-view .col-9 { grid-column: span 9; }
.grid-view .col-10 { grid-column: span 10; }
.grid-view .col-11 { grid-column: span 11; }
.grid-view .col-12 { grid-column: span 12; }
.grid-view .row-1 { grid-row: span 1; }
.grid-view .row-2 { grid-row: span 2; }


/* Template parts - Begin */
.entry-content { display: flex; flex-direction: column; align-items: stretch; }

.rm-masonry { columns: 2; column-gap: 1rem; }
.rm-masonry img, .rm-masonry video { display: block; width: 100%; height: auto; margin-bottom: 1rem; border-radius: 4px; break-inside: avoid; }
.rm-masonry img:only-child,
.rm-masonry video:only-child { column-span: all; }

.rm-blok { width: 100%; }
.rm-blok.rm-contained { max-width: var(--site-box-width); width: calc(100% - 40px); margin-inline: auto; border-radius: 10px; }
.rm-blok.rm-contained .rm-2col { box-sizing: border-box; }

.rm-banner-blokken .grid-view { gap: 20px; }
.rm-banner-blokken .grid-view .afbeelding-blok { overflow: hidden; border-radius: 10px; }
.rm-banner-blokken .grid-view .afbeelding-blok img { width: 100%; object-fit: cover; height: 100%; transition: .3s; }
.rm-banner-blokken .grid-view .afbeelding-blok a:hover img { transform: scale(105%); }
.rm-banner-blokken .grid-view.grid-gespiegeld { direction: rtl; }
.rm-banner-blokken .grid-view.grid-gespiegeld > * { direction: ltr; }

.rm-tekst-met-media.rm-tekst-links .rm-col-tekst  { order: 1; }
.rm-tekst-met-media.rm-tekst-links .rm-col-media   { order: 2; }
.rm-tekst-met-media.rm-tekst-rechts .rm-col-media  { order: 1; }
.rm-tekst-met-media.rm-tekst-rechts .rm-col-tekst  { order: 2; }

.rm-catslider-titel, .archief-blok-titel { font-size: var(--fs-x-large); line-height: 2rem; font-optical-sizing: auto; font-weight: 500; }
.rm-catslider-intro { margin: 0 0 20px; }
.rm-catslider { overflow: hidden; }
//.rm-catslider-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.rm-catslider-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.rm-catslider-track::-webkit-scrollbar { display: none; }
.rm-catslider-item { flex: 0 0 calc((100% - (5 * 20px)) / 6); scroll-snap-align: start; text-decoration: none; color: inherit; border-radius: 10px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.rm-catslider-afbeelding { aspect-ratio: 4 / 4; overflow: hidden; border-radius: 10px; background: var(--grijsblauw, #eee); }
.rm-catslider-afbeelding img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.rm-catslider-item:hover .rm-catslider-afbeelding img { transform: scale(1.05); }
.rm-catslider-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px; background: var(--primair); color: #fff; font-weight: 500; font-size: var(--fs-medium); border-radius: 0 0 10px 10px; }
.rm-catslider-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.rm-catslider-link { text-decoration: none; color: var(--antraciet, #2d2d2f); font-weight: 500; transition: color .3s; }
.rm-catslider-link:hover { color: var(--primair, #13415c); }
.rm-catslider-nav { display: flex; gap: 8px; }
.rm-catslider-nav button { width: 30px; height: 30px; border-radius: 100%; background: var(--primair); cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: .3s; color: #fff; }
.rm-catslider-nav button:hover:not(:disabled) { background: var(--primair, #13415c); color: var(--signaal-licht, #fff); border-color: var(--primair, #13415c); }
.rm-catslider-nav button:disabled { opacity: .3; cursor: default; }
/* Template parts - Einde */





/* Pagina blokken - Begin */
.rm-container { margin: 0 auto; padding: clamp(24px,3vw,48px) 16px; }
.rm-container .knop { display:  inline-block; }
.rm-container h2.titel { font-size: 1.5rem; line-height: 2rem; letter-spacing: 0.1rem; font-optical-sizing: auto; font-weight: 700; }
.rm-grid { display: grid; gap: clamp(16px,2vw,32px); max-width: calc(100vw - 40px); padding: 20px; width: 100%; margin: 0 auto; position: relative; }
.rm-grid .rm-grid { padding: 0; }
.has-bg-photo { position: relative; color: var(--signaal-licht); }
.has-bg-photo::before { content: ''; position: absolute; background: rgba(0, 0, 0, .5); top: 0; left: 0; width: 100%; height: 100%; }

.rm-col {  }
.rm-col img { border-radius: 10px; width: 100%; }
.rm-col .blok-video { width: 100%; border-radius: 5px; }
.rm-2col { grid-template-columns: repeat(2,minmax(0,1fr)); }
.rm-responsive { align-items: center; }
.rm-auto-cols { grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); }
.rm-center {  }

.rm-wysiwyg :where(p,ul,ol) { margin: 0 0 10px; }
.rm-wysiwyg.intro { font-size: 13px; }

.rm-hero-over-image { position:relative; color: #111; }
.rm-hero-over-image .rm-hero-inner { background: rgba(255,255,255,0.7); backdrop-filter: saturate(120%) blur(4px); border-radius: 16px; padding: clamp(16px,2vw,32px); }

.rm-card,
.rm-product-card { background: #fff; border: 1px solid var(--border-color); border-radius: 10px; padding: 20px; box-shadow: 0 0 20px -10px rgba(0, 0, 0, .1); transition: .4s; }
.rm-card:hover,
.rm-product-card:hover { box-shadow: 0 0 20px -10px rgba(0, 0, 0, .4); margin: -5px 0 5px 0; }

.rm-card-media img,
.rm-logos img,
.rm-product-media img { display: block; max-width: 100%; height: auto; border-radius: 5px; }
.rm-logos-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 24px; align-items: center; }

.rm-products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 2vw, 32px); padding: 0; width: 100%; margin: 0 auto; position: relative; }
.rm-product-title { font-size: 1.1rem; margin: .5rem 0; }
.rm-product-price del{opacity:.7;margin-right:.35em;}
.rm-product-price ins{text-decoration:none;}

/* Vormscheiding (asymmetrische boog) */
.rm-shape-sep { position: relative; height: 40px; overflow: hidden; }
.rm-shape-sep--top svg{ top: -1px; bottom: auto; transform: scaleY(-1); }
.rm-shape-sep svg {  position: absolute;  left: 0; right: 0; bottom: -1px; width: 100%; height: 100%; }
.rm-shape-sep path { fill: var(--signaal-licht); }


/* Sectie spacing */
.rm-blok { position: relative; }
.rm-blok + .rm-blok { margin-top: 40px; }

.rm-blok.margin-top-min-100 { margin-top: -100px; z-index: 9; }
.rm-blok.margin-top-min-200 { margin-top: -200px; z-index: 9; }
.rm-blok.margin-top-min-100 .rm-container,
.rm-blok.margin-top-min-200 .rm-container { padding-top: 0; }
/* Pagina blokken - Einde */

/* Content - Begin */
.content-container { flex: 1 1 70%; }

.pagina-hero { height: calc(20vh - 40px); min-height: 200px; padding: 40px 0; display: flex ; flex-direction: column; justify-content: center; background: var(--quartair); position: relative; }
.pagina-hero .kruimelpad { padding: 0; }
//.pagina-hero::before { content: ''; position: absolute; background: rgba(0, 0, 0, .5); top: 0; left: 0; width: 100%; height: 100%; }
.pagina-hero::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 5vh; background: #ffffff; clip-path: ellipse(80% 80% at 27% 100%); }
.pagina-hero .content { color: var(--signaal-licht); z-index: 9;  margin: 0 0 20px; display: flex ; justify-content: space-between; flex-direction: column; align-items: flex-start; flex-wrap: wrap; gap: 0; position: relative; }
.pagina-hero .content h1 { line-height: 3rem; letter-spacing: 0.1rem; font-optical-sizing: auto; font-weight: 700; margin: 0; color: var(--primair); }
.pagina-hero .header-spaarpunten { background: #fcfcfcd9; padding: 10px; border-radius: 5px; color: var(--antraciet); font-weight: 600; }
/* Content - Einde */


/* Footer - Begin */
.vds-footer a:hover { color: var(--secundair); }
.vds-footer__nieuwsbrief { background: var(--quartair); }
.vds-footer__contact { background: var(--primair) }
.vds-footer__menu,
.vds-footer__betaling,
.vds-footer__copyright { background: #2a4455; }

.vds-footer__nieuwsbrief-cta { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.vds-footer__nieuwsbrief-cta img { max-width: 150px; height: auto; }

.vds-footer__cta-banner .rm-grid { align-items: center; padding-top: 0px; padding-bottom: 0px; }
.vds-footer__cta-banner-afbeelding img { max-width: 100%; }

.vds-footer__contact .rm-grid { padding-top: 0px; padding-bottom: 0px; gap: 10px; }
.vds-footer__contact-item { display: flex; gap: 10px; padding: 40px 0; align-items: center; position: relative; }
.vds-footer__contact-label { color: var(--quartair); line-height: normal; }
.vds-footer__contact-tekst { display: flex; flex-direction: column; }
.vds-footer__contact-tekst [class*=" kop-"] { margin: 0; }
.vds-footer__contact-extra { font-size: .7rem; font-weight: 300; }
.vds-footer__contact-item a { color: #fff; text-decoration: none; }
.vds-footer__contact-item .open-gesloten { background: #999; width: 15px; height: 15px; position: absolute; top: 0; right: 0; border-radius: 50%; }
.vds-footer__contact-item .open-gesloten.actief { background: var(--signaal-groen); }
.vds-footer__contact-item .open-gesloten.inactief { background: var(--signaal-rood); }
.vds-footer__contact-icoon { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; position: relative; }
.vds-footer__contact-icoon i { color: var(--primair); font-size: 1.5rem; }
.vds-footer__contact-foto { display: flex; flex-direction: row; align-content: flex-end; justify-content: flex-end; flex-wrap: wrap; }
.vds-footer__contact-foto img { max-height: 120px; width: auto; }

.vds-footer__betaling { padding-top: 20px; padding-bottom: 20px; }
.vds-footer__betaling .rm-grid { background: var(--signaal-donker); border-radius: 10px; align-items: center; padding: 20px; }
.vds-footer__betaling-titel { text-align: center; margin: 0; }
.vds-footer__betaling-iconen .vds-payment-icons { justify-content: space-between; }
.vds-footer__betaling-iconen .vds-payment-icons img { height: 40px; }

.vds-footer__copyright { padding: 10px 0; border-top: .5px solid var(--quartair); font-size: .8rem; }
.vds-footer__copyright a { color: #fff; text-decoration: none; }
.vds-footer__copyright .rm-grid { padding-top: 0; padding-bottom: 0; }

.vds-footer__menu .rm-grid { grid-template-columns: repeat(4, 1fr); }
.vds-footer__menu-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.vds-footer__menu-item a {
  color: inherit; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}

/* --- Footer responsive --- */
@media (max-width: 1024px) {
  .vds-footer__contact .grid-view > [class*="col-"] { grid-column: span 6; }
  .vds-footer__menu .rm-grid { grid-template-columns: repeat(2, 1fr); }
  .vds-footer__contact-item .kop-1-2 { font-size: var(--fs-medium); }
}
@media (max-width: 768px) {
  .vds-usps .vds-usps__list { gap: 20px;  }
  .vds-usps .vds-usps__list .col-3 { grid-column: span 6; }
  .vds-footer__nieuwsbrief .grid-view > [class*="col-"],
  .vds-footer__cta-banner .grid-view > [class*="col-"],
  .vds-footer__betaling .grid-view > [class*="col-"] { grid-column: 1 / -1; }
  .vds-footer__betaling-iconen .vds-payment-icons { justify-content: center; }
  .vds-footer__copyright-tekst { text-align: center; }
}
@media (max-width: 600px) {
  .vds-footer__contact-item { padding: 20px 0; }
  .vds-footer__contact .grid-view > .vds-footer__contact-item.col-3,
  .vds-footer__contact .grid-view > .vds-footer__contact-item.col-5 { grid-column: 1 / -1; }
  .vds-footer__contact .grid-view > .vds-footer__contact-item.col-2 { grid-column: span 8; }
  .vds-footer__contact .grid-view > .vds-footer__contact-foto.col-2 { grid-column: span 4; }
  .vds-footer__contact-foto { align-items: center; justify-content: flex-end; }
  .vds-footer__contact-foto img { max-width: 100%; }
  /* Menu: 2 -> 1 kolom */
  .vds-footer__menu .rm-grid { grid-template-columns: 1fr; }
}
/* Footer - Einde */

/* FAQ - Begin */
.faq { margin: 0; }
.faq .single-faq { background: #eee; padding: 20px; border-radius: 10px; margin: 0 0 20px; }
.faq .faq-vraag a { color: var(--antraciet); text-decoration: none; font-weight: 500; display: flex; align-items: center; }
.faq .faq-vraag a:before { content: "\f13a"; font-weight: 200; font-family: "Font Awesome 7 PRO"; margin-right: 10px; transition: .3s; }
.faq .faq-vraag.active a:before { content: "\f139"; }
.faq .faq-antwoord { margin: 10px 0 0 0; }
.faq .faq-antwoord p:nth-last-child(-n+1) { margin: 0; }
.faq .subtitel { font-weight: 600; }
.rm-faq .faq-categorie { margin: 0 0 40px; }
.rm-faq .faq-categorie:last-child { margin-bottom: 0; }
.rm-faq .faq-categorie__titel { margin: 0 0 20px; }
/* FAQ - Einde */


/* Custom classes */
.bg-repeat { background-size: auto !important; background-repeat: repeat; color: #fff !important; }

@media(min-width: 1480px) {
  main,
  .inner-container,
  .rm-grid,
  .single-product .entry-content,
  .woocommerce-cart .entry-content,
  .woocommerce-checkout .entry-content { max-width: var(--site-box-width); }
}
@media(max-width: 1366px) {
  .header-usps { display: block; position: relative; overflow: hidden; }
  .header-usps-inner { position: relative; height: 100%; }
  .woocommerce ul.products.columns-4 { grid-template-columns: repeat(3,1fr); }
  .aws-container .aws-search-field { min-width: 300px; }
}
@media(max-width: 1200px) {
  .woocommerce ul.products.columns-4,.woocommerce ul.products.columns-5{grid-template-columns:repeat(3,1fr)}
  .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2,1fr); }
  #mega-menu-wrap-main-menu .mega-menu-toggle + #mega-menu-main-menu { padding: 10px; }
  .rm-catslider-item { flex: 0 0 calc((100% - (3 * 20px)) / 4); }
  .aws-container .aws-search-field { min-width: 200px; }
}
@media(max-width: 1024px) {
  .primair-header .header-branding .website-logo { width: 150px; }
  .secundair-header .secundair-menu { display: none; }
  .header-menu #mega-menu-wrap-main-menu #mega-menu-main-menu li.mega-assortiment > .mega-sub-menu { display: block !important; }
  .header-menu #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-tabbed > ul.mega-sub-menu { width: 100%; padding: 0; background: #fff; }
  .header-menu #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item > ul.mega-sub-menu { padding-left: 0; }
  .header-menu .mega-menu-item.assortiment > .mega-menu-link { display: none !important; }
  .header-menu .mega-menu-item.assortiment > .mega-sub-menu { margin: 0 0 20px !important; max-width: 100% !important; }
  .primair-header .header-icons .account,
  .primair-header .header-trustpilot { display: none; }
}
@media (max-width: 1023.98px) {
  /* Zoekbalk niet meer inline: te openen via het zoek-icoon in .header-icons.
     De .header-zoekbalk zelf wordt via JS naar #header-zoek-mobiel verplaatst. */
  .primair-header .header-icons .header-zoek-toggle { display: inline-flex; }
  /* Branding en menu van plek wisselen: het menu (hamburger) komt vóór het logo */
  .primair-header > .inner-container > .header-menu { order: -1; }
}
@media(max-width: 900px) {
  .rm-2col { grid-template-columns:1fr; }
  .woocommerce ul.products.columns-3,.woocommerce ul.products.columns-4,.woocommerce ul.products.columns-5{grid-template-columns:repeat(2,1fr)}
  .rm-catslider-item { flex: 0 0 calc((100% - (2 * 20px)) / 3); }
}
@media(max-width: 768px) {
  .primair-header .inner-container { padding: 0 20px; max-width: calc(100vw - 40px); }
  .primair-header .zoekbalk { display: none; }
  #mega-menu-wrap-main-menu .mega-menu-toggle { line-height: inherit; height: auto; }
  #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block { margin: 0; padding: 5px 0; }
}
@media (max-width: 767.98px) {
  /* Header-USP's: 1 tegelijk tonen + automatisch doorschuiven.
     .header-usps is de viewport (overflow hidden), .header-usps-inner de track
     die JS met translateX verschuift (een kloon van de 1e USP maakt het naadloos). */
  .secundair-header .header-usps { overflow: hidden; width: 100%; flex: 1 1 100%; }
  .secundair-header .header-usps-inner { flex-wrap: nowrap; gap: 0; overflow: visible; will-change: transform; }
  .secundair-header .header-usps-inner .single-usp { flex: 0 0 100%; justify-content: center; }
}
@media(max-width: 600px) {
  .woocommerce ul.products[class*="columns-"]{grid-template-columns:1fr}
  .home-hero .content { max-width: 100%; }
  .home-hero .content h1 { font-size: 40px; line-height: 45px; }
  .rm-masonry { columns: 1; }
  .rm-catslider-item { flex: 0 0 calc((100% - 20px) / 2); }
  .actiebanner-header .inner-container { flex-direction: column; gap: 8px; }
  .actiebanner-header .actie-tekst { text-align: center; font-size: var(--fs-medium); }
  .actiebanner-header .timer-getal { font-size: var(--fs-normal); }
  .actiebanner-header__close { position: absolute; top: 0; right: 0; }
  .faq .faq-vraag a,
  .faq .faq-antwoord { font-size: var(--fs-medium); }
  :root { --vds-grid-gap: 20px; }
}
@media (max-width: 768px) {
  .rm-banner-blokken .grid-view > [class*="col-"],
  .rm-blokken-naast-elkaar .grid-view > [class*="col-"],
  .rm-tekst-met-media .rm-grid.rm-2col > [class*="col-"] { grid-column: 1 / -1; width: calc(100vw - 40px); }
  .pagina-hero .content h1 { font-size: 1.8rem; line-height: 2.2rem; }
}
