/* Collectiepagina's (overzicht + detail): page-specifieke styles bovenop shop.css.
   Design: Collecties Overzicht.dc.html en Collectiepagina.dc.html */

[x-cloak] { display: none !important; }

/* ===== Overzicht: uitgelicht ===== */
.cl-featured { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; padding: 0 56px 48px; }
/* Artwork volledig in verhouding tonen (contain op content-box), geen cover-crop */
.cl-featured-tile { position: relative; display: flex; min-height: 340px; background-color: var(--creme-light); background-size: contain; background-repeat: no-repeat; background-position: center; background-origin: content-box; align-items: flex-end; padding: 24px; color: var(--navy); }
.cl-featured-tile.big { padding: 28px; }
.cl-featured-badge { position: absolute; top: 20px; left: 28px; background: var(--navy); color: #fff; font: 800 11px 'Nunito Sans', sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; }
.cl-featured-card { background: #fff; padding: 12px 18px; display: block; }
.cl-featured-tile.big .cl-featured-card { padding: 16px 22px; }
.cl-featured-card .name { display: block; font-family: Lora, serif; font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
.cl-featured-tile.big .cl-featured-card .name { font-size: 24px; }
.cl-featured-card .meta { display: block; font-size: 13px; color: var(--sage); margin-top: 2px; }
.cl-featured-tile.big .cl-featured-card { max-width: 60ch; }

/* ===== Overzicht: tabs ===== */
.cl-tabs { display: flex; gap: 10px; padding: 8px 56px 24px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.cl-tab { border: 1px solid var(--border-input); background: #fff; color: var(--navy); font-family: inherit; font-weight: 700; font-size: 14px; padding: 10px 22px; border-radius: 999px; cursor: pointer; min-height: 44px; transition: border-color .2s, background .2s, color .2s; }
.cl-tab:hover { border-color: var(--navy); }
.cl-tab.active { border: 2px solid var(--navy); background: var(--navy); color: #fff; padding: 9px 21px; }
.cl-tab-panel { padding: 36px 56px 56px; }
/* Pills Alle | Bestsellers | Nieuw boven het rooster van Kunstwerken, Bestsellers en Nieuw (18-09-2026, optie C). */
/* Tabbladen zoals in een browser (Rob 21-09-2026, waren losse pillen), BOVEN de blauwe banner: een
   strook in creme, het actieve tabblad in het navy van de banner zodat het erin overloopt, de
   andere vlak in de strook. */
.browse-tabs { display: flex; gap: 4px; padding: 14px 56px 0; background: var(--creme-light); }
.browse-tab { border-radius: 10px 10px 0 0; background: transparent; color: var(--text-2); font-weight: 700; font-size: 14px; padding: 12px 28px; min-height: 46px; display: inline-flex; align-items: center; text-decoration: none; transition: background .2s, color .2s; }
.browse-tab:hover { background: rgba(73,87,110,.10); color: var(--navy); }
.browse-tab.active, .browse-tab.active:hover { background: var(--navy); color: #fff; }

/* ===== Overzicht: thema- en kamertegels ===== */
/* minmax(0, 1fr): een collectienaam zonder spaties (underscores) mag de kolom niet oprekken */
.cl-tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.cl-tile-grid.rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cl-tile { display: block; color: var(--navy); min-width: 0; }
.cl-tile .img { display: block; height: 180px; background-color: var(--creme-light); background-size: contain; background-repeat: no-repeat; background-position: center; background-origin: content-box; padding: 14px; box-sizing: border-box; margin-bottom: 10px; }
.cl-tile .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cl-tile .name { font-family: Lora, serif; font-size: 18px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.cl-tile .count { font-size: 12.5px; color: var(--sage); flex: none; }

/* ===== Overzicht: kleurfamilie-swatchtegels ===== */
/* v3: zes kolommen, elke familie als egale swatch (tint 4 van 7). */
.cl-color-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.cl-color-tile { display: block; color: var(--navy); text-align: left; min-width: 0; }
/* width en border-radius expliciet: shop.css heeft een generieke .swatch (26px rond) voor de productpagina */
.cl-color-tile .swatch { display: block; width: 100%; height: 110px; border-radius: 0; box-sizing: border-box; margin-bottom: 10px; border: 1px solid rgba(73, 87, 110, .1); transition: transform .15s; }
.cl-color-tile:hover .swatch { transform: translateY(-3px); }
.cl-color-tile .name { display: block; font-weight: 700; font-size: 14px; }
.cl-color-tile .count { display: block; font-size: 12.5px; color: var(--sage); }

/* ===== Overzicht: sfeer-band ===== */
.cl-mood-intro { font-size: 15px; color: var(--text-2); margin: 0 0 24px; max-width: 56ch; }
.cl-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cl-chip { display: inline-flex; align-items: center; background: #fff; font-weight: 700; font-size: 14px; padding: 11px 22px; border-radius: 999px; color: var(--navy); min-height: 44px; transition: background .2s, color .2s; }
.cl-chip:hover { background: var(--navy); color: #fff; }

/* ===== Detail: hero op navy ===== */
.cl-hero { background: var(--navy); color: #fff; padding: 48px 56px; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.cl-hero .crumbs { font-size: 13px; color: var(--footer-text); margin-bottom: 10px; }
.cl-hero .crumbs a { color: var(--footer-text); }
.cl-hero .crumbs a:hover { color: #fff; }
.cl-hero h1 { font-family: Lora, serif; font-weight: 500; font-size: 44px; margin: 0 0 10px; }
.cl-hero p { font-size: 16px; line-height: 1.6; color: var(--footer-text); margin: 0; max-width: 60ch; }
.cl-hero .count { font-size: 14px; color: var(--footer-text); flex: none; }

/* ===== Detail: filterbalk ===== */
/* Filterbalk (Collectiepagina.dc.html): pills met uitklaplijst, kleurstippen, sortering rechts */
.cl-filterbar { position: relative; display: flex; gap: 10px; align-items: center; padding: 18px 56px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.cl-filterbar .lbl { font-size: 13px; font-weight: 700; color: var(--sage); }
.cl-filters-label { display: none; }
.cl-pill-wrap { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.cl-pill { display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid #e2ddd2; border-radius: 999px; padding: 8px 18px; min-height: 40px; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s, color .15s; }
.cl-pill .caret { font-size: 11px; }
.cl-pill:hover { border-color: var(--navy); }
.cl-pill.active, .cl-pill.open { background: var(--navy); border-color: var(--navy); color: #fff; }
.cl-pill-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; min-width: 220px; max-width: 320px; max-height: 360px; overflow-y: auto; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 12px 36px rgba(73, 87, 110, .16); padding: 8px; }
.cl-pill-menu.right { left: auto; right: 0; }
.cl-pill-menu-head { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); padding: 8px 12px 6px; }
.cl-pill-menu a { display: block; font-size: 14px; font-weight: 600; color: var(--navy); padding: 9px 12px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-pill-menu a:hover { background: var(--creme-light, #f7f1e6); }
.cl-pill-menu a.active { background: var(--navy); color: #fff; }
.cl-swatch-group { display: flex; align-items: center; gap: 2px; margin-left: 8px; flex-wrap: wrap; }
.cl-swatch-group .lbl { margin-right: 6px; }
.cl-swatch-link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; }
.cl-swatch-link .dot { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(73, 87, 110, .15); transition: box-shadow .2s; }
.cl-swatch-link:hover .dot { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--sage); }
.cl-swatch-link.active .dot { box-shadow: 0 0 0 2.5px #fff, 0 0 0 4.5px var(--navy); }
.cl-sort { margin-left: auto; }
.cl-sort .lbl { color: var(--navy); font-size: 13.5px; }

/* ===== Detail: actieve filters ===== */
.cl-active-note { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 56px; background: var(--creme-light); font-size: 13.5px; }
.cl-active-chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border-input); font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 999px; color: var(--navy); min-height: 38px; }
.cl-active-chip:hover { border-color: var(--rose); color: var(--rose); }
.cl-clear { font-weight: 800; color: var(--rose); }
.cl-result-count { margin-left: auto; color: var(--sage); }

/* ===== Detail: lege staat ===== */
.cl-empty { padding: 72px 56px; text-align: center; }
.cl-empty .t { font-family: Lora, serif; font-size: 24px; font-weight: 600; margin: 0 0 8px; }
.cl-empty .s { font-size: 15px; color: var(--text-2); margin: 0 0 24px; }

/* ===== Mobiel ===== */
@media (max-width: 900px) {
    .cl-featured { grid-template-columns: 1fr; padding: 0 18px 28px; }
    .cl-featured-tile { min-height: 190px; padding: 14px; }
    .cl-featured-tile.big { padding: 14px; }
    .cl-featured-badge { top: 12px; left: 14px; font-size: 10px; padding: 4px 10px; }
    .cl-featured-card, .cl-featured-tile.big .cl-featured-card { padding: 10px 14px; }
    .cl-featured-card .name, .cl-featured-tile.big .cl-featured-card .name { font-size: 17px; }
    .cl-tabs { padding: 8px 18px 14px; gap: 8px; overflow-x: auto; flex-wrap: nowrap; }
    .cl-tab { flex: none; font-size: 13px; padding: 9px 16px; }
    .cl-tab.active { padding: 8px 15px; }
    .cl-tab-panel { padding: 20px 18px 32px; }
    .browse-tabs { padding: 10px 18px 0; gap: 2px; overflow-x: auto; flex-wrap: nowrap; }
    .browse-tab { flex: none; font-size: 13px; padding: 10px 18px; min-height: 44px; }
    .cl-tile-grid, .cl-tile-grid.rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
    .cl-tile .img { height: 110px; margin-bottom: 6px; }
    .cl-tile .name { font-size: 14.5px; }
    .cl-tile .count { font-size: 11.5px; }
    .cl-color-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .cl-color-tile .swatch { height: 70px; margin-bottom: 6px; }
    .cl-color-tile .name { font-size: 12px; }
    .cl-chip { font-size: 12.5px; padding: 9px 16px; }
    .cl-hero { padding: 28px 18px; flex-direction: column; align-items: flex-start; gap: 10px; }
    .cl-hero h1 { font-size: 28px; }
    .cl-hero p { font-size: 14px; }
    /* Ontwerp mobiel 390: een horizontaal scrollende rij met "Filters" en de pills; lijst als onderpaneel */
    .cl-filterbar { padding: 14px 18px; gap: 8px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .cl-filterbar::-webkit-scrollbar { display: none; }
    .cl-filters-label { display: inline-flex; align-items: center; flex: none; border: 1px solid var(--navy); font-weight: 800; font-size: 13px; padding: 8px 16px; border-radius: 999px; color: var(--navy); white-space: nowrap; }
    .cl-pill-wrap { flex: none; position: static; }
    .cl-pill { font-size: 13px; padding: 8px 14px; min-height: 38px; }
    .cl-pill-menu, .cl-pill-menu.right { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; max-width: none; max-height: 60vh; z-index: 90; }
    .cl-swatch-group { flex: none; flex-wrap: nowrap; margin-left: 4px; }
    .cl-swatch-group .lbl { display: none; }
    .cl-swatch-link { width: 34px; height: 34px; }
    .cl-sort { margin-left: 4px; }
    .cl-sort .lbl { display: none; }
    .cl-active-note { padding: 12px 18px; }
    .cl-active-chip { min-height: 44px; }
    .cl-result-count { margin-left: 0; width: 100%; }
    .cl-empty { padding: 48px 18px; }
}

/* Ruimte tussen de navy hero en de uitgelichte tegels op het overzicht */
.cl-hero-gap { height: 40px; }
@media (max-width: 900px) { .cl-hero-gap { height: 24px; } }

/* Lijst 2, item 10 (17-09-2026): acht themategels plus "Alle thema's", en de A-Z-lijst. */
.cl-more-row { display: flex; justify-content: center; padding: 22px 0 4px; }
.cl-more-btn { min-height: 44px; }
.cl-az { padding-top: 8px; }
.cl-az-cols { columns: 4; column-gap: 32px; }
.cl-az-group { break-inside: avoid; margin-bottom: 18px; }
.cl-az-letter { font-family: Lora, serif; font-size: 20px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--border); margin-bottom: 6px; padding-bottom: 2px; }
.cl-az-link { display: flex; justify-content: space-between; gap: 8px; color: var(--navy); font-size: 14.5px; padding: 3px 0; min-width: 0; }
.cl-az-link span { color: var(--sage); font-size: 12.5px; flex: none; }
@media (max-width: 900px) { .cl-az-cols { columns: 2; } }
@media (max-width: 560px) { .cl-az-cols { columns: 1; } }
/* Tabbladen schuiven op de telefoon opzij; de schuifbalk zelf blijft uit beeld. */
.browse-tabs { scrollbar-width: none; }
.browse-tabs::-webkit-scrollbar { display: none; }
