/* The Brand Supplier · catalogus.css — bovenop site.css. Plat, geen schaduwen. */

.cat-main { min-height: 60vh; }
.cat-hero { padding-bottom: 56px; }
.cat-hero h1 { margin-bottom: 18px; }
.cat-head { padding: 40px var(--gutter) 32px; border-bottom: 1px solid var(--border); }
.cat-head .display { margin: 8px 0 12px; }
.cat-head .lead { margin-bottom: 4px; }
.cat-wrap { padding: 40px var(--gutter) 72px; }
.cat-wrap + .cat-wrap { padding-top: 0; }

/* kruimelpad */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.crumbs a:hover { color: var(--black); }
.crumbs [aria-current] { color: var(--black); font-weight: 600; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* zoeken */
.cat-search { position: relative; max-width: 560px; margin-top: 28px; }
.cat-search input {
  width: 100%; font: inherit; font-size: 1rem; padding: 15px 56px 15px 22px;
  border: 1.5px solid var(--border); border-radius: 100px; background: #fff; color: var(--black);
  -webkit-appearance: none; appearance: none;
}
.cat-search input:focus { outline: none; border-color: var(--black); }
.cat-search button {
  position: absolute; right: 6px; top: 6px; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: var(--yellow); color: var(--black); cursor: pointer; display: grid; place-items: center;
}
.cat-search button svg { width: 18px; height: 18px; }
.cs-res {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; background: #fff;
  border: 1px solid var(--border); border-radius: 18px; padding: 6px; max-height: 70vh; overflow: auto;
}
.cs-res a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; }
.cs-res a:hover, .cs-res a.is-on { background: var(--cream-3); }
.cs-res img, .cs-res .ph { width: 44px; height: 44px; flex: none; border-radius: 8px; object-fit: contain; background: var(--cream); }
.cs-res .ph b { font-size: .5rem; }
.cs-res .ph span { display: none; }
.cs-res strong { display: block; font-size: .9rem; line-height: 1.3; }
.cs-res small { color: var(--muted); font-size: .76rem; }
.cs-res .cs-alle { justify-content: center; font-weight: 700; font-size: .85rem; }
.cs-res p { padding: 10px 12px; color: var(--muted); font-size: .9rem; }

/* categorie-overzicht */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { display: block; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: #fff; transition: border-color .15s; }
.cat-card:hover { border-color: var(--black); }
.cat-card-body { padding: 14px 18px 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cat-card-naam { font-weight: 700; line-height: 1.25; }
.cat-card-n { font-size: .78rem; color: var(--muted); white-space: nowrap; }

/* placeholder zonder foto */
.ph {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; background: var(--cream-3); color: rgba(17,17,17,.42); text-align: center; padding: 12px;
}
.ph span { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ph b { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; color: rgba(17,17,17,.55); word-break: break-word; }
.ph small { font-size: .75rem; margin-top: 6px; }
.ph-cat b { font-size: 1.2rem; color: rgba(17,17,17,.5); }

/* productkaarten */
.cc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cc { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #fff; transition: border-color .15s; }
.cc:hover { border-color: var(--black); }
.cc-img { aspect-ratio: 1; background: #fff; display: flex; overflow: hidden; }
.cc-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; margin: auto; object-fit: contain; }
.cc-img img.cc-sfeer { width: 100%; height: 100%; object-fit: cover; }
.cc-body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; border-top: 1px solid var(--cream-2); }
.cc-merk { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); min-height: 1em; }
.cc-naam { font-weight: 700; font-size: .93rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-meta { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--muted); }
.cc-dots { display: flex; }
.cc-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 1px solid rgba(17,17,17,.15); margin-right: -3px; }
.cc-dots i:last-child { margin-right: 0; }
.cc-prijs { font-size: .82rem; font-weight: 700; }

.cat-count { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.cat-more { display: flex; margin: 32px auto 0; }

/* filters */
.fbar { margin-bottom: 20px; }
.ftoggle {
  display: none; align-items: center; gap: 8px; font: inherit; font-size: .9rem; font-weight: 700;
  padding: 11px 20px; border-radius: 100px; border: 1.5px solid var(--black); background: #fff; color: var(--black); cursor: pointer;
}
.ftoggle svg { width: 16px; height: 16px; }
.fcount { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 100px; background: var(--yellow); font-size: .72rem; display: inline-flex; align-items: center; justify-content: center; }
.fcount[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.fsel, .fcol { display: flex; flex-direction: column; gap: 6px; }
.fsel > span, .fcol > span { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fsel select {
  font: inherit; font-size: .88rem; font-weight: 600; padding: 10px 36px 10px 16px; border-radius: 100px;
  border: 1.5px solid var(--border); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 11px;
  -webkit-appearance: none; appearance: none; color: var(--black); max-width: 230px; cursor: pointer;
}
.fsel select:focus { outline: none; border-color: var(--black); }
.fstalen { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0; }
.fs, .sw { width: 28px; height: 28px; border-radius: 50%; background: var(--c); border: 1px solid rgba(17,17,17,.18); cursor: pointer; padding: 0; position: relative; }
.fs[aria-pressed="true"], .sw.is-on { outline: 2px solid var(--black); outline-offset: 2px; }
.freset { font: inherit; font-size: .85rem; font-weight: 700; background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 10px 4px; }

/* paginering */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 40px; font-weight: 700; font-size: .9rem; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 100px; border: 1.5px solid var(--border); }
.pager a:hover { border-color: var(--black); }
.pager .pg-cur { background: var(--black); color: #fff; border-color: var(--black); }
.pager .pg-gap { border: 0; min-width: 0; padding: 0 4px; }

/* CTA-band */
.cat-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--black); color: #fff; border-radius: 24px; padding: 36px 40px; }
.cat-cta h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.cat-cta p { color: rgba(255,255,255,.6); }

/* productpagina */
.p-wrap { padding: 28px var(--gutter) 64px; }
.p-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; margin-top: 20px; align-items: start; }
.p-main { aspect-ratio: 1; background: #fff; border: 1px solid var(--border); border-radius: 24px; overflow: hidden; display: flex; }
.p-main img { max-width: 100%; max-height: 100%; width: auto; height: auto; margin: auto; object-fit: contain; }
.p-main .ph b { font-size: 1.6rem; }
.p-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pt { width: 72px; height: 72px; padding: 0; display: flex; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; overflow: hidden; cursor: pointer; }
.pt img { max-width: 100%; max-height: 100%; width: auto; height: auto; margin: auto; object-fit: contain; }
.pt.is-on { border-color: var(--black); }
.p-info { position: sticky; top: calc(var(--header-h) + 24px); }
.p-merk { display: flex; gap: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.p-merk span { color: rgba(17,17,17,.35); }
.p-naam { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin: 10px 0 18px; }
.p-prijs { font-size: 1rem; margin-bottom: 20px; }
.p-prijs strong { font-size: 1.35rem; font-weight: 800; }
.p-prijs small { display: block; color: var(--muted); font-size: .8rem; }
.p-blok { padding: 18px 0; border-top: 1px solid var(--border); }
.p-label { font-size: .88rem; margin-bottom: 12px; }
.p-sub { color: var(--muted); margin-left: 10px; font-size: .8rem; }
.p-stalen { display: flex; flex-wrap: wrap; gap: 8px; }
.p-maten { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.p-maten li { font-size: .82rem; font-weight: 600; padding: 6px 12px; border: 1px solid var(--border); border-radius: 100px; background: #fff; }
.p-maten li small { margin-left: 6px; font-size: .72rem; font-weight: 700; color: #2e7d32; }
.p-maten li[data-v="niet"] small { color: inherit; }
.p-main { position: relative; }
.p-andere { position: absolute; left: 12px; bottom: 12px; font-size: .72rem; font-weight: 600; background: var(--cream-3); color: var(--muted); padding: 4px 10px; border-radius: 100px; }
.p-maten li[data-v="niet"] { color: rgba(17,17,17,.35); text-decoration: line-through; }
.p-voorraad { margin-top: 12px; font-size: .8rem; color: var(--muted); }
.p-cta { padding-top: 22px; border-top: 1px solid var(--border); }
.p-cta p { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.p-details { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.p-details h2, .p-h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.p-tekst p, .p-tekst li { color: var(--muted); line-height: 1.75; font-size: .95rem; }
.p-tekst ul { padding-left: 18px; }
.p-tekst li { margin-bottom: 4px; }
.p-specs table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.p-specs th, .p-specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.p-specs th { font-weight: 600; color: var(--muted); width: 38%; padding-right: 16px; }
.p-verwant { padding-top: 8px; }

@media (max-width: 1024px) {
  .cc-grid, .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .p-grid, .p-details { grid-template-columns: 1fr; gap: 28px; }
  .p-info { position: static; }
  .p-details { margin-top: 40px; }
  .cat-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}
@media (max-width: 640px) {
  .cc-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cc-body { padding: 10px 12px 12px; }
  .cc-naam { font-size: .86rem; }
  .cat-card-body { flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
  .ftoggle { display: inline-flex; }
  .filters { gap: 10px; display: none; margin-top: 16px; }
  .filters.is-open { display: flex; }
  .fsel { flex: 1 1 calc(50% - 5px); }
  .fsel select { max-width: none; width: 100%; }
  .p-wrap { padding-top: 20px; }
  .crumbs [aria-current] { max-width: 22ch; }
}
