/* NexoraPCs — webshop-componenten in Coolblue-opzet (kleuren uit styles.css).
   Nieuwe class-namen (cbh-, trust-, cat-, pcard-, rev-, cbf-) zodat de bestaande
   pagina's ongemoeid blijven. */

/* ===== Header (3 lagen: topbalk, hoofdbalk met zoek, categorienav) ===== */
.cbh { position: sticky; top: 0; z-index: 60; background: var(--bg-soft);
  border-bottom: 1px solid var(--line); }
.cbh-top { background: rgba(0,0,0,.18); border-bottom: 1px solid var(--line); font-size: .8rem; }
.cbh-top .container { display: flex; justify-content: space-between; align-items: center;
  padding: .35rem 0; color: var(--muted); }
.cbh-top a { color: var(--muted); }
.cbh-top a:hover { color: var(--text); }
.cbh-top .tp { display: flex; gap: 1.2rem; align-items: center; }
.cbh-top .tp span { display: inline-flex; align-items: center; gap: .35rem; }

.cbh-main .container { display: flex; align-items: center; gap: 1.2rem; padding: .8rem 0; }
.cbh-logo { display: flex; align-items: center; gap: .55rem; font-size: 1.3rem; font-weight: 800;
  color: var(--text); letter-spacing: -.02em; white-space: nowrap; }
.cbh-logo .b { width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #0b1220; font-weight: 900; }
.cbh-logo em { font-style: normal; color: var(--accent); }

.searchbar { flex: 1; display: flex; align-items: center; background: var(--card);
  border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; max-width: 640px; }
.searchbar:focus-within { border-color: var(--accent); }
.searchbar input { flex: 1; background: transparent; border: none; outline: none; color: var(--text);
  padding: .7rem .9rem; font-size: .95rem; }
.searchbar input::placeholder { color: var(--muted); }
.searchbar button { background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none; color: #0b1220; font-weight: 800; padding: 0 1.1rem; align-self: stretch;
  cursor: pointer; font-size: 1rem; }
.cbh-actions { display: flex; align-items: center; gap: .6rem; white-space: nowrap; }
.cbh-icon { display: inline-flex; flex-direction: column; align-items: center; gap: .1rem;
  color: var(--muted); font-size: .72rem; }
.cbh-icon b { font-size: 1.15rem; line-height: 1; color: var(--text); }
.cbh-icon:hover { color: var(--text); }

.cbh-cats { border-top: 1px solid var(--line); }
.cbh-cats .container { display: flex; gap: 1.5rem; align-items: center; overflow-x: auto;
  padding: .6rem 0; }
.cbh-cats a { color: var(--muted); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.cbh-cats a:hover, .cbh-cats a.active { color: var(--accent); }
.cbh-cats a.strong { color: var(--text); }

.menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ===== Trust/USP-balk ===== */
.trustbar { background: var(--card); border-bottom: 1px solid var(--line); }
.trustbar .container { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; justify-content: center;
  padding: .7rem 0; }
.trust { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--text); }
.trust .ic { color: var(--green); font-weight: 900; }
.trust small { color: var(--muted); }

/* ===== Hero ===== */
.shero { background: linear-gradient(135deg, var(--bg-soft), var(--card)); border-bottom: 1px solid var(--line); }
.shero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center;
  padding: 2.6rem 0; }
.shero .eyebrow { color: var(--accent); font-weight: 700; font-size: .82rem; text-transform: uppercase;
  letter-spacing: .08em; }
.shero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; margin: .5rem 0 .8rem;
  letter-spacing: -.02em; }
.shero p { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.shero .cta { display: flex; gap: .8rem; margin-top: 1.3rem; flex-wrap: wrap; }
.shero-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.shero-card .big { font-size: 2.4rem; font-weight: 800; }
.shero-card .row { display: flex; align-items: center; gap: .6rem; padding: .55rem 0;
  border-bottom: 1px solid var(--line); font-size: .92rem; }
.shero-card .row:last-child { border: 0; }
.shero-card .row .g { color: var(--green); font-weight: 900; }

/* ===== Sectiekop ===== */
.sec { padding: 2.4rem 0; }
.sec.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.3rem; flex-wrap: wrap; }
.sec-h h2 { font-size: 1.5rem; letter-spacing: -.01em; }
.sec-h a { font-weight: 700; font-size: .9rem; }
.sec-sub { color: var(--muted); margin-top: .2rem; font-size: .95rem; }

/* ===== Categorie-tegels ===== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.cat-tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.2rem 1rem; text-align: center; color: var(--text); transition: border-color .15s, transform .15s; }
.cat-tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-tile .ic { font-size: 2rem; }
.cat-tile b { display: block; margin-top: .5rem; font-size: .95rem; }
.cat-tile small { color: var(--muted); font-size: .78rem; }

/* ===== Productkaart (Coolblue-stijl) ===== */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .15s, transform .15s, box-shadow .15s; position: relative; }
.pcard:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.pcard-badge { position: absolute; top: .7rem; left: .7rem; background: var(--green); color: #062018;
  font-size: .68rem; font-weight: 800; padding: .18rem .5rem; border-radius: 999px; }
.pcard-img { aspect-ratio: 4/3; display: grid; place-items: center; font-size: 3.2rem;
  background: linear-gradient(160deg, var(--bg-soft), var(--bg)); border-bottom: 1px solid var(--line); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: .85rem .95rem 1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pcard-title { font-size: .98rem; font-weight: 700; line-height: 1.25; }
.pcard-rating { display: flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--muted); }
.pcard-rating .stars { color: #fbbf24; letter-spacing: 1px; }
.pcard-specs { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; }
.pcard-specs li { background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted);
  font-size: .72rem; padding: .12rem .45rem; border-radius: 6px; }
.pcard-foot { margin-top: auto; }
.pcard-price { display: flex; align-items: baseline; gap: .5rem; }
.pcard-price .now { font-size: 1.35rem; font-weight: 800; }
.pcard-price .was { color: var(--muted); text-decoration: line-through; font-size: .85rem; }
.pcard-deliv { display: flex; align-items: center; gap: .35rem; color: var(--green); font-size: .78rem; margin: .35rem 0 .6rem; }
.pcard-btn { display: block; text-align: center; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b1220; font-weight: 800; padding: .6rem; border-radius: 10px; font-size: .9rem; }
.pcard-btn:hover { filter: brightness(1.06); }

/* ===== Stappen / inruil ===== */
.steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.step3 { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem; }
.step3 .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0b1220; font-weight: 900; margin-bottom: .7rem; }
.step3 h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.step3 p { color: var(--muted); font-size: .9rem; }

/* ===== Waarom-wij / reassurance ===== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.why { display: flex; gap: .8rem; align-items: flex-start; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem; }
.why .ic { font-size: 1.6rem; }
.why b { display: block; margin-bottom: .2rem; }
.why small { color: var(--muted); font-size: .88rem; line-height: 1.5; }

/* ===== Reviews-strip ===== */
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.rev { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem; }
.rev .stars { color: #fbbf24; letter-spacing: 1px; }
.rev p { margin: .5rem 0; font-size: .92rem; }
.rev .who { color: var(--muted); font-size: .82rem; }

/* ===== Grote footer ===== */
.cbf { background: var(--bg-soft); border-top: 1px solid var(--line); margin-top: 2rem; }
.cbf .container { padding: 2.2rem 0 1.4rem; }
.cbf-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.6rem; }
.cbf-col h4 { font-size: .95rem; margin-bottom: .7rem; }
.cbf-col a, .cbf-col p { display: block; color: var(--muted); font-size: .88rem; margin-bottom: .45rem; }
.cbf-col a:hover { color: var(--text); }
.cbf-bar { border-top: 1px solid var(--line); margin-top: 1.6rem; padding-top: 1rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; color: var(--muted); font-size: .82rem; }

/* ===== Catalogus (categoriepagina met filters) ===== */
.catalog { display: grid; grid-template-columns: 230px 1fr; gap: 1.6rem; align-items: start; }
.filters { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem; position: sticky; top: 130px; }
.filters h4 { font-size: .9rem; margin: .9rem 0 .5rem; }
.filters h4:first-child { margin-top: 0; }
.filters label { display: flex; align-items: center; gap: .5rem; font-size: .86rem; color: var(--muted);
  padding: .25rem 0; cursor: pointer; }
.filters label:hover { color: var(--text); }
.crumbs { color: var(--muted); font-size: .82rem; margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }

@media (max-width: 860px) {
  .shero .container { grid-template-columns: 1fr; }
  .shero-card { display: none; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .cbh-cats { display: none; }
  .cbh-search-wrap { order: 3; flex-basis: 100%; }
}
@media (max-width: 620px) {
  .cbh-main .container { flex-wrap: wrap; }
  .searchbar { order: 3; flex-basis: 100%; max-width: none; }
}
