:root {
  --bg: #f9f9f9; --card-bg: #ffffff; --text: #667079; --text-muted: #667079; --border: #e6e2da;
  --accent: #b5471b; --hero-panel: #d9d2c4;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #16140f; --card-bg: #201d19; --text: #f0ede7; --text-muted: #a9a49b; --border: #35312a; --hero-panel: #2c2820;
  }
}
:root[data-theme="dark"] {
  --bg: #16140f; --card-bg: #201d19; --text: #f0ede7; --text-muted: #a9a49b; --border: #35312a; --hero-panel: #2c2820;
}
* { box-sizing: border-box; }
body { margin: 0; background: #ffffff; color: var(--text); font-family: 'Muli', Arial, Helvetica, sans-serif; font-weight: 100; font-size: 15px; }
.lower-bg { background: var(--bg); width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; padding-bottom: 64px; }
h1, h2, h3, .section-title { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 700; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1314px; margin: 0 auto; padding: 0 32px; }
.breadcrumb { font-size: 15px; color: var(--text-muted); padding: 20px 32px 0; max-width: 1314px; margin: 0 auto; }
.breadcrumb a { color: var(--text-muted) !important; text-decoration: none; }
.breadcrumb a:hover, .breadcrumb a:active, .breadcrumb a:focus, .breadcrumb a:visited { color: var(--text-muted) !important; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 24px; width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.hero-text { padding: 64px 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 100%; }
.eyebrow { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.hero-text h1 { font-size: 34px; line-height: 1.2; margin: 0 0 18px; font-weight: 700; max-width: 20ch; }
.hero-text p { font-size: 15px; line-height: 1.6; max-width: 40ch; margin: 0 auto; }
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img { min-width: 100%; min-height: 100%; width: auto; height: auto; object-fit: cover; display: block; }

/* intro */
.intro { text-align: center; padding: 64px 32px 40px; max-width: 720px; margin: 0 auto; }
.intro h2 { font-size: 24px; margin: 0 0 16px; }
.intro p { font-size: 15px; line-height: 1.7; color: var(--text-muted); }

/* featured pair */
.featured-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 32px; max-width: 1314px; margin: 0 auto; }
.featured-photo { position: relative; }
.featured-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.featured-photo:nth-child(2) img { object-position: center bottom; }

/* used + matching color */
.section-title { font-size: 20px; font-weight: 700; padding: 56px 32px 8px; max-width: 1314px; margin: 0 auto; }
.section-sub { font-size: 15px; color: var(--text-muted); padding: 0 32px 20px; max-width: 1314px; margin: 0 auto; }
.color-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 0 32px; max-width: 1314px; margin: 0 auto; }
.color-item.placeholder { opacity: .65; }
.color-item { text-align: center; }
.color-swatch { width: 100%; aspect-ratio: 3/4; position: relative; overflow: hidden; cursor: default; }
.color-swatch .reveal-photo { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: auto; height: auto; min-width: 100%; min-height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.color-swatch:hover .reveal-photo { opacity: 1; }
.color-swatch.placeholder-swatch { background: repeating-linear-gradient(45deg, var(--border), var(--border) 6px, transparent 6px, transparent 12px); }
.color-tag { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: #667079; margin-top: 12px; }
.color-code { font-size: 15px; font-weight: 700; margin-top: 3px; }
.color-name { font-size: 15px; color: var(--text-muted); }
.color-catalog { font-size: 15px; color: var(--text-muted); opacity: .75; margin-top: 2px; }

/* meer inspiratiekleuren -- Inno's eigen verfpotje-stijl */
.pot-row { display: flex; flex-wrap: wrap; gap: 20px; padding: 0 32px; max-width: 1314px; margin: 0 auto; }
.pot-item { width: 130px; text-align: center; }
.pot-swatch { width: 130px; height: 130px; position: relative; }
.pot-swatch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.pot-code { font-size: 15px; font-weight: 700; margin-top: 8px; }
.pot-name { font-size: 15px; color: var(--text-muted); }
.catalog-link { padding: 18px 32px 0; max-width: 1314px; margin: 0 auto; }
.catalog-link a { font-size: 15px; color: #667079 !important; text-decoration: none; font-weight: 600; }
.catalog-link a:hover, .catalog-link a:active, .catalog-link a:focus, .catalog-link a:visited { color: #667079 !important; }

/* meer-inspiratiekleuren block: gecentreerd */
.more-colors-section { text-align: center; margin-bottom: 90px; }
.more-colors-section .pot-row { justify-content: center; }
.more-colors-section .catalog-link { text-align: center; }

/* aanbevolen product */
.product-wrap { max-width: 1314px; margin: 0 auto 56px; padding: 0 32px; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; }
.product-card { display: flex; flex-direction: column; flex: 0 0 303.5px; width: 303.5px; background: #ffffff; border: 1px solid var(--border); overflow: hidden; }
.product-image { background: #dfdfdf; display: flex; align-items: center; justify-content: center; padding: 28px; }
.product-image img { width: 210px; height: 210px; object-fit: contain; }
.product-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-body .color-tag { margin-top: 0; }
.product-body h3 { font-size: 19px; margin: 6px 0 8px; }
.product-body p.tagline { font-size: 15px; color: var(--text-muted); margin: 0 0 14px; }
.product-body ul { margin: 0 0 16px; padding-left: 18px; font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.product-body .price { font-size: 15px; font-weight: 700; margin-right: 18px; display: block; margin-bottom: 12px; }
.product-footer { display: flex; flex-direction: column; align-items: stretch; margin-top: auto; }
.product-footer a { text-align: center; }
.product-footer a { background: #0199ff !important; color: #fff !important; text-decoration: none; font-size: 13px; line-height: 1.2; font-weight: 700; padding: 10px 20px; text-transform: uppercase; letter-spacing: .2px; }
.product-footer a:hover, .product-footer a:active, .product-footer a:focus, .product-footer a:visited { background: #0199ff !important; color: #fff !important; }

/* grid */
.photo-grid { column-count: 4; column-gap: 12px; padding: 0 32px; max-width: 1314px; margin: 0 auto; }
@media (max-width: 900px) { .photo-grid { column-count: 3; } }
.grid-photo { position: relative; break-inside: avoid; margin-bottom: 12px; }
.grid-photo img { width: 100%; }

/* pin + popover */
.pin { position: absolute !important; bottom: 14px !important; left: 14px !important; width: 28px !important; height: 28px !important; min-width: 28px !important; max-width: 28px !important; padding: 0 !important; margin: 0 !important; appearance: none !important; -webkit-appearance: none !important; border-radius: 50% !important; background: rgba(255,255,255,.94) !important; border: none !important; color: #667079 !important; font-size: 16px !important; line-height: 28px !important; cursor: pointer !important; box-shadow: 0 2px 8px rgba(0,0,0,.3) !important; }
.pin::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { opacity: .8; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.5); } }
.pin-popover { position: absolute; bottom: 50px; left: 14px; background: var(--card-bg); border: 1px solid var(--border); box-shadow: 0 10px 28px rgba(0,0,0,.22); padding: 10px 12px; display: none; align-items: center; gap: 9px; z-index: 5; white-space: nowrap; }
/* vervangen door klik-lightbox, zie onderaan dit bestand en balkon-verven-kleurpagina-test.js */
.pin-popover .sw { width: 26px; height: 26px; flex-shrink: 0; border: 1px solid rgba(0,0,0,.1); }
.pin-popover .code { font-size: 15px; font-weight: 700; }
.pin-popover .name { font-size: 15px; color: var(--text-muted); }

/* CTA */
.cta { margin: 64px auto; max-width: 1250px; background: #ffffff; border: 1px solid #dfdfdf; padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h3 { font-size: 20px; margin: 0 0 6px; color: #667079; }
.cta p { font-size: 15px; color: #667079; margin: 0; }
.cta a { background: #0199ff !important; color: #fff !important; text-decoration: none; font-size: 15px; font-weight: 700; padding: 13px 22px; white-space: nowrap; text-transform: uppercase; letter-spacing: .2px; }
.cta a:hover, .cta a:active, .cta a:focus, .cta a:visited { background: #0199ff !important; color: #fff !important; }

/* related */
.related-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 32px 64px; max-width: 1314px; margin: 0 auto; }
.related-card { display: block; background: #ffffff; border: 1px solid var(--border); overflow: hidden; }
.related-card a { text-decoration: none; color: var(--text) !important; display: block; }
.related-card a:hover, .related-card a:active, .related-card a:focus, .related-card a:visited { color: var(--text) !important; }
.related-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.related-body { padding: 16px 20px 20px; }
.related-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.related-label { font-size: 17px; font-weight: 600; color: var(--text); }
.related-arrow { font-size: 18px; line-height: 1; color: var(--text); flex-shrink: 0; }
.related-sub { font-size: 14px; color: var(--text-muted); margin-top: 6px; }

/* bottom text */
.bottom-text { max-width: 720px; margin: 0 auto; padding: 0 32px 80px; }
.bottom-text h2 { font-size: 20px; line-height: 1.6; margin: 0 0 12px; }
.bottom-text p { font-size: 15px; line-height: 1.7; color: var(--text-muted); }

main#content > article > h1:first-child { display: none; }

/* eigen tekstselectiekleur voor deze testpagina (i.p.v. sitebrede oranje --accent) */
::selection { background: #2f6fed; color: #ffffff; text-shadow: none; }
::-moz-selection { background: #2f6fed; color: #ffffff; text-shadow: none; }

/* mobiel (<=760px) -- staat bewust helemaal onderaan het bestand, zodat deze regels altijd
   winnen van de losstaande desktop-regels hierboven (gelijke specificiteit + latere bron-volgorde) */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4/3; order: -1; }
  .hero-text { padding: 40px 24px; }
  .hero-text h1 { font-size: 26px; }
  .wrap, .breadcrumb { padding-left: 20px; padding-right: 20px; }
  .photo-grid { column-count: 2; padding-left: 20px; padding-right: 20px; }
  .section-title { padding-left: 20px; padding-right: 20px; padding-bottom: 20px; }
  .cta { margin-left: 20px; margin-right: 20px; padding: 28px; }
  .catalog-link { padding-left: 20px; padding-right: 20px; }
  .finish-row { flex-direction: column; }

  /* horizontaal scrollen op mobiel (zoals Jotun): kleurgebruik, meer inspiratiekleuren, gebruikt product, andere ruimtes */
  .color-row, .pot-row, .product-wrap, .related-row, .featured-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-left: 20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
  }
  .color-row::-webkit-scrollbar, .pot-row::-webkit-scrollbar, .product-wrap::-webkit-scrollbar, .related-row::-webkit-scrollbar, .featured-row::-webkit-scrollbar { display: none; }
  .color-row { gap: 16px; }
  .pot-row { gap: 16px; }
  .related-row { gap: 12px; }
  .more-colors-section .pot-row { justify-content: flex-start; }
  .color-row .color-item { flex: 0 0 130px; scroll-snap-align: start; }
  .pot-row .pot-item { flex: 0 0 130px; scroll-snap-align: start; }
  .product-wrap .product-card { flex: 0 0 280px; width: 280px; scroll-snap-align: start; }
  .related-row .related-card { flex: 0 0 240px; scroll-snap-align: start; }
  .featured-row { gap: 16px; }
  .featured-row .featured-photo { flex: 0 0 260px; scroll-snap-align: start; }

  /* mobiel-uitlijning: .section-sub en .bottom-text hadden nog de desktop-padding (32px) i.p.v. de
     20px die de rest van de pagina op mobiel gebruikt -- daardoor liep tekst niet gelijk met titels/rijen */
  .section-sub { padding-left: 20px; padding-right: 20px; }
  .bottom-text { padding-left: 20px; padding-right: 20px; }

  /* mobiel-uitlijning: .lower-bg is full-bleed (100vw, negatieve marges) en "reset" daardoor de 20px
     padding die <main> normaal geeft -- kinderen binnen .lower-bg kwamen zo maar 20px uit i.p.v. 40px.
     Hier expliciet gecompenseerd voor de secties die er last van hadden. */
  .lower-bg .section-title, .lower-bg .photo-grid, .lower-bg .related-row {
    padding-left: 40px;
    padding-right: 40px;
  }
  .lower-bg .related-row { scroll-padding-left: 40px; }

  /* mobiel: .product-wrap had nog de desktop margin-bottom (56px, bedoeld als ruimte vóór de CTA/volgende
     sectie op desktop) en .related-row had nog de desktop padding-bottom (64px, idem vóór "Balkonvloer
     verven..."). Op mobiel komen de balletjes er nu net na -- die desktop-marges/padding zaten dus TUSSEN
     de laatste foto/kaart en de balletjes in, waardoor de balletjes veel te ver weg leken te staan. De
     eropvolgende secties hebben zelf al genoeg eigen ruimte (section-title's padding-top, en de bestaande
     afstand vóór .bottom-text), dus simpelweg op nul zetten volstaat. */
  .product-wrap { margin-bottom: 0; }
  .related-row { padding-bottom: 0; }

  /* mobiel: het grijze .lower-bg-vlak hing strak tegen de balletjes aan -- zowel ervoor (product-wrap's
     balletjes raakten bijna direct de grijze achtergrond) als erna (de balletjes van related-row zijn het
     laatste kind vóór .lower-bg sluit, dus het grijze vlak eindigde exact op de balletjes, 0px ruimte). */
  .lower-bg { margin-top: 20px; padding-bottom: 20px; }

  /* scroll-dots (balletjes) onder de horizontaal scrollende secties, zoals bij de Google-reviews */
  .scroll-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 14px 0 4px; padding: 0 20px; }
  .scroll-dot { width: 7px; height: 7px; border-radius: 50%; background: #d9d9d9; border: none; padding: 0; cursor: pointer; }
  .scroll-dot.active { background: #0199ff; }
}

/* Foto-lightbox (klik op "+") -- vervangt de oude hover-popover */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(20,18,14,.78); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 24px; }
.lightbox-overlay.open { display: flex; }
.lightbox-card { background: var(--card-bg); border-radius: 6px; overflow: hidden; max-width: 720px; width: 100%; max-height: 90vh; display: flex; flex-direction: column; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.lightbox-close { position: absolute !important; top: 12px !important; right: 12px !important; width: 36px !important; height: 36px !important; min-width: 36px !important; max-width: 36px !important; padding: 0 !important; margin: 0 !important; appearance: none !important; -webkit-appearance: none !important; border-radius: 50% !important; border: none !important; background: rgba(255,255,255,.92) !important; color: #333 !important; font-size: 22px !important; line-height: 1 !important; cursor: pointer !important; z-index: 2 !important; display: flex !important; align-items: center !important; justify-content: center !important; box-shadow: 0 2px 8px rgba(0,0,0,.25) !important; }
.lightbox-img-wrap { background: #ffffff; display: flex; align-items: center; justify-content: center; max-height: 70vh; overflow: hidden; padding: 28px; box-sizing: border-box; }
.lightbox-img { width: 100%; height: auto; max-height: calc(70vh - 56px); object-fit: contain; display: block; }
.lightbox-info { background: var(--card-bg); padding: 18px 24px; display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--border); }
.lightbox-swatch { width: 40px; height: 40px; border-radius: 6px; flex-shrink: 0; border: 1px solid rgba(0,0,0,.1); }
.lightbox-text { display: flex; flex-direction: column; gap: 2px; }
.lightbox-code { font-size: 15px; font-weight: 700; color: var(--text); }
.lightbox-name { font-size: 15px; color: var(--text-muted); }
@media (max-width: 640px) { .lightbox-overlay { padding: 12px; } .lightbox-info { padding: 14px 18px; } .lightbox-img-wrap { padding: 16px; } .lightbox-img { max-height: calc(70vh - 32px); } }

/* Titel + subtekst van "Meer inspiratiekleuren" in dezelfde breedte als de 
   "Balkon verven voor het creeren van sfeer"-tekstsectie (max-width 720px, gecentreerd).
   Bewust als CSS-regel i.p.v. inline stijl in de category content: een inline style op deze
   divs bleek niet TinyMCE-save-bestendig (werd stilletjes weggehaald bij een volgende save
   vanuit de Inhoud-editor). De potjes-rij (.pot-row) blijft bewust op volle breedte. */
.more-colors-section .section-title,
.more-colors-section .section-sub {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.finish-row { display: flex; gap: 20px; padding-left: 32px; }
.finish-item { flex: 0 0 234px; width: 234px; text-align: center; }
.finish-photo { width: 234px; height: 312px; overflow: hidden; position: relative; }
.finish-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.finish-name { margin-top: 3px; font-size: 15px; font-weight: 100; color: #667079; }