:root{
  /* LEGO palette */
  --lego-yellow: #FFD500;
  --lego-red:    #DA291C;
  --lego-black:  #1E2D2F;
  --lego-white:  #FFFFFF;
  --lego-blue:   #447de3;
  --text-body:   #111111;
  --card-bg:     #fff7b8; /* zachte variatie op geel voor leesbaarheid */
}

/* basis layout */
html, body{ height:100% }
body{
  background: var(--lego-yellow);
  color: var(--text-body);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  text-decoration: none;
}

.lego-btn {
  background-color: var(--lego-red);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 0 #a0100b; /* diepte */
}

.lego-btn:hover {
  background-color: var(--lego-blue);
  color: #1E2D2F;
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.lego-btn-secondary {
  background-color: var(--lego-yellow);
  color: #1E2D2F;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 0 #a0100b; /* diepte */
}

.lego-btn-secondary:hover {
  background-color: var(--lego-blue);
  color: #000;
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.navbar-lego {
  background: var(--lego-yellow);
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(17,17,17,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  --bs-navbar-toggler-border-color: rgba(17,17,17,.35);
}

/* Footer-minifiguurtjes (optioneel) */
footer a:hover {
  text-decoration: underline;
}

.lego-card { border: none; border-radius: 1rem; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.08); }

.lego-card img { object-fit: contain; width: 100%; height: 140px; background:#f8f9fa; border-radius:.5rem; }
.lego-card .price { font-weight: 600; }
.lego-card .colors { font-size: .9rem; color:#6c757d; }
.filterbar { gap: .5rem; flex-wrap: wrap; }

/* Brede dropdowns */
.dropdown-wide .dropdown-menu {
  min-width: 480px;       /* was ~260px */
  max-height: 420px;
  overflow: auto;
  padding: .75rem .75rem;
}

/* 2 kolommen met checkboxes (alleen voor categorie-lijst) */
.dropdown-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .25rem .75rem;
}

/* Ruimte tussen navigatiebuttons */
.navbar .nav-link.lego-btn {
  margin: 0 0.4rem; /* 0.4rem = ±6px */
  color: #fff
}

/* site.css */
.page-title { font-weight: 800; }

.badge {
  border-radius: 999px;
  padding: 0.35em 0.55em;
  font-weight: 700;
}
  .set-lookup .input-group-lg .form-control { font-weight: 600; }
  .set-lookup .example-chip { border-radius: 999px; }
  .set-lookup .step { background: var(--bs-light); position: relative; }
  .set-lookup .step-badge {
    position: absolute; top: -12px; left: -12px;
    width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--bs-primary); color: #fff; font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
  }
  .set-lookup .preview { min-height: 260px; background: repeating-linear-gradient(45deg, #f8f9fa, #f8f9fa 10px, #fff 10px, #fff 20px);}
  .set-lookup .border-dashed { border-style: dashed !important; }
  .set-lookup .preview-icon { font-size: 2.25rem; }

  .set-detail .table-wrapper { overflow: hidden; }
  .set-detail .sticky-top { top: 64px; z-index: 2; }
  .set-detail .color-dot {
    width: 10px; height: 10px; border-radius: 50%;
    display: inline-block; border: 1px solid rgba(0,0,0,.15);
    background: #ddd; /* fallback */
  }
  /*
   * Je kunt later echte kleurcodes mappen. Voor nu houden we een neutrale dot.
   * Wil je mappen? Gebruik een CSS-klasse per color_id, of data-attrs + JS.
   */

  /* Highlight de rij zodra er >0 is ingevuld */
.set-detail tr.marked {
  background: #dff4e8 !important;
  box-shadow: inset 4px 0 0 #16a34a;
}

.set-detail tr.marked td {
  background: #dff4e8 !important;
  color: #111827 !important;
}

.set-detail tr.marked .fw-semibold {
  color: #0f172a !important;
}

.set-detail tr.marked td {
  color: #111827;
}

  /* Sticky actiebar onderin */
.set-detail .actionbar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  background: #f8f9fb;
  border-top: 1px solid #d6dbe3;
  box-shadow: 0 -10px 24px rgba(15, 23, 42, .12);
}

.set-detail .actionbar .container,
.set-detail .actionbar .container-fluid {
  background: #f8f9fb;
}

.set-detail .actionbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f8f9fb;
  z-index: -1;
}

.set-detail .table-scroll {
  max-height: 70vh;
  overflow: auto;
  padding-bottom: 88px;
}

/* Mobiel: volle breedte */
@media (max-width: 576px) {
  .dropdown-wide .dropdown-menu { min-width: 100vw; }

  .navbar .nav-link.lego-btn {
    display: block;
    margin: 0.4rem 0; /* op mobiel onder elkaar met verticale ruimte */
  }

  .set-lookup .preview { min-height: 200px; }
}

  .color-label.active{
    background:#f8f9fa;
    border-color:#6c757d;
    box-shadow: inset 0 0 0 1px #6c757d;
  }

.image-spot > img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* netjes vullen, zonder uitrekken */
  object-position: center;  /* focus in het midden */
  display: block;           /* geen extra witruimte */
}


 /* Mini LEGO look & feel zonder opdringerig te worden */
  .highlight-tile .card-body .btn {
    transform: translateZ(0);
    transition: transform .15s ease;
  }
  .highlight-tile:hover .card-body .btn {
    transform: translateY(-2px);
  }
  /* Zorg dat images altijd netjes vullen */
  .object-fit-cover {
    object-fit: cover;
  }
  /* Subtiele gele accenten passend bij LEGO */
  .bg-dark-subtle {
    background-color: rgba(0,0,0,.06);
  }

  /* Ratio helper voor 21:9 */
  .ratio-21x9 {
    --bs-aspect-ratio: calc(9 / 21 * 100%);
  }

  .hero-usp { overflow: hidden; }
  .hero-usp .hero-img{
    position:absolute; inset:0; width:100%; height:100%;
    object-fit:cover; object-position:center 35%;
    transform: scale(1.05);
  }
  .hero-usp::after{
    content:""; position:absolute; inset:0;
    /* Donkere overlay zoals op splicta.nl */
    background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35));
  }
  .hero-usp .hero-content{ position:relative; z-index:1; color:#fff; }
  .hero-usp h1, .hero-usp p{ text-shadow:0 2px 8px rgba(0,0,0,.45); }

  .full-bleed{
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.cta-missing-img{overflow:hidden; border-top:6px solid #ffd500;}
.cta-missing-img .cta-bg{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover;             /* snijdt boven/onder af waar nodig */
  object-position:center 35%;   /* verschuif focuspunt naar wens */
}
.cta-missing-img::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.25)); /* leesbaarheid */
}
.cta-missing-img .text-shadow{ text-shadow: 0 2px 8px rgba(0,0,0,.45); }

/* verberg honeypot voor screenreaders ook */
input[name="website"] { display:none !important; }

.home-page-card .card { height: 100%; }
.home-page-card .card-body { display: flex; flex-direction: column; }
.home-page-card .card-footer { margin-top: auto; }

/* 2-koloms hero met gelijke hoogte */
.hero-grid{
  display:grid;
  gap:1rem;              /* dezelfde spacing als je cards */
}
.navbar-brand img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px){
  .hero-grid{
    grid-template-columns: 2fr 1fr; /* tekst 2/3, plaatje 1/3 */
    align-items: stretch;           /* GELIJKE HOOGTE */
  }
}

/* Panels exact zoals je kaarten */
.hero-card{
  border-radius: 1rem;
  overflow: hidden;      /* zodat de img de ronde hoeken volgt */
  display: flex;
  flex-direction: column;
  padding: 1.25rem;      /* p-3; kun je p-4 doen als je wilt */
}
.hero-card--white{ background:#fff; }
.hero-card--accent{
  background: rgba(255,214,0,.65);
  backdrop-filter: blur(1px);
  padding: 0;            /* geen binnenmarge bij de image */
}

/* Afbeelding volledig laten vullen (zonder uitrekken) */
.hero-cover-img{
  width: 100%;
  height: 100%;
  object-fit: cover;     /* centreert & snijdt netjes bij */
  display: block;
}

.status-badge{ font-size:.9rem; }
.order-number{ font-family: ui-monospace,Consolas,Menlo,monospace; }
.muted{ color:#6c757d; }

.blog-content img { max-width: 100%; height: auto; }
.blog-content table { width: 100%; }

/* ===== LEGO dropdown styling ===== */
.lego-dropdown-menu {
  padding: .85rem;
  border-radius: 16px;
  border: none;
  background: var(--lego-red) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,.25);
}

/* Dropdown items als LEGO tiles */
.lego-dropdown-btn {
  display: block;
  width: 100%;
  margin: .25rem 0;
  padding: .55rem 1rem;

  background: var(--lego-yellow);
  color: var(--lego-black);

  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;

  box-shadow: 0 3px 0 #c9aa00; /* subtiele “stud” diepte */
  transition: transform .12s ease, filter .12s ease, background-color .12s ease;
}

/* Hover / focus */
.lego-dropdown-btn:hover,
.lego-dropdown-btn:focus {
  background: var(--lego-blue);
  color: var(--lego-black);
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Actieve pagina (optioneel) */
.lego-dropdown-btn.active {
  background: var(--lego-red);
  color: #fff;
  box-shadow: 0 3px 0 #a0100b;
}

/* Divider iets luchtiger */
.lego-dropdown-menu .dropdown-divider {
  margin: .6rem 0;
  border-top: 1px dashed rgba(255,255,255,.35);
}

/* Mobiel: grotere tappable area */
@media (max-width: 576px) {
  .lego-dropdown-btn {
    padding: .7rem 1.1rem;
  }
}
/* CKEditor visueel beter laten aansluiten */
.ck-editor__editable {
  min-height: 280px;
  border-radius: 8px;
}

/* =========================
   CKEditor frontend layout
   ========================= */

/* Basis figure reset */
.blog-content figure.image {
  display: block;
  margin: 0;
}

/* Side image: tekst loopt ernaast */
.blog-content figure.image.image-style-side {
  float: right;
  max-width: 48%;
  margin: .5rem 0 1.5rem 2rem; /* ⬅️ HIER zit de echte spacing */
}

/* Zorg dat paragrafen niet tegen de image plakken */
.blog-content p {
  margin-bottom: 1rem;
}

/* Afbeelding zelf */
.blog-content figure.image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Caption */
.blog-content figcaption {
  font-size: .9rem;
  color: rgba(0,0,0,.65);
  margin-top: .5rem;
}

/* Float correct afsluiten */
.blog-content::after {
  content: "";
  display: block;
  clear: both;
}

/* Mobiel: geen float */
@media (max-width: 768px) {
  .blog-content figure.image.image-style-side {
    float: none;
    max-width: 100%;
    margin: 1rem 0;
  }
}

/* ===== 404 page (Cornerbrick) ===== */
.cb-404-wrap{
  min-height: 75vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.cb-404-card{
  width: min(980px, 100%);
  background: var(--card-bg); /* jij hebt al een zachte kaartkleur */
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
  padding: 1.5rem;
}

.cb-404-badge{
  display: inline-block;
  background: rgba(218, 41, 28, .12); /* lego-red transparant */
  color: var(--lego-red);
  border-radius: 999px;
  padding: .35rem .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2px;
}

.cb-404-title{
  margin: .9rem 0 .35rem;
  font-weight: 900;
  color: var(--lego-black);
}

.cb-404-lead{
  margin: 0 0 1rem;
}

.cb-404-search{
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin: .9rem 0 1rem;
}

.cb-404-search input{
  flex: 1;
  min-width: 260px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  padding: .75rem .9rem;
  font-weight: 600;
  outline: none;
  background: #fff;
}

.cb-404-search input:focus{
  border-color: rgba(68,125,227,.55); /* lego-blue */
  box-shadow: 0 0 0 4px rgba(68,125,227,.18);
}

.cb-404-actions{
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* Tiles: lijken op je LEGO dropdown tiles */
.cb-404-links{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .6rem;
  margin: 1rem 0;
}

.cb-404-tile{
  display: block;
  background: var(--lego-yellow);
  color: var(--lego-black);
  border-radius: 14px;
  padding: .9rem 1rem;
  text-decoration: none;
  box-shadow: 0 4px 0 #c9aa00;
  transition: transform .12s ease, filter .12s ease, background-color .12s ease;
}

.cb-404-tile:hover{
  background: var(--lego-blue);
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.cb-404-tile strong{ display:block; font-weight: 900; text-transform: uppercase; }
.cb-404-tile span{ display:block; opacity: .85; margin-top: .15rem; font-weight: 600; }

.cb-404-meta{
  margin-top: .6rem;
  background: rgba(0,0,0,.06);
  border-radius: 12px;
  padding: .75rem .9rem;
}

.cb-404-meta-title{
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: .25rem;
}

.cb-404-meta-code{
  font-family: ui-monospace,Consolas,Menlo,monospace;
  font-size: .9rem;
  opacity: .85;
  overflow: auto;
}

/* Mobile */
@media (max-width: 768px){
  .cb-404-links{ grid-template-columns: 1fr; }
}

/* ===== 404 grid layout ===== */

.cb-404-grid{
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.cb-404-visual{
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.cb-404-img{
  width: min(300px, 100%);
  height: auto;
  object-fit: contain;
  transition: transform .2s ease;
  border-radius: 1rem;
}

/* Zorg dat beide children even hoog worden */
.cb-404-card,
.cb-404-visual{
  height: 100%;
}

.cb-404-img:hover{
  transform: scale(1.03);
}

.cb-404-quote{
  font-weight: 600;
  font-size: .95rem;
  opacity: .8;
  text-align: center;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 992px){
  .cb-404-grid{
    grid-template-columns: 1fr;
  }

  .cb-404-visual{
    margin-top: 1rem;
  }
}

/* ===== Review card homepage ===== */
.review-card{
  background: #ffffff;
  border-radius: 16px;
  padding: .25rem;
  box-shadow:
      0 10px 25px rgba(0,0,0,.25),
      0 2px 6px rgba(0,0,0,.12);
}

.review-card .card-body{
  padding: 1.3rem 1.4rem;
}

/* Header */
.review-card .fw-semibold{
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* rating rechts */
.review-card .fw-bold{
  background: var(--lego-yellow);
  color: var(--lego-black);
  padding: .25rem .6rem;
  border-radius: 8px;
  font-size: .9rem;
}

/* reviews */
.review-card .text-muted.small{
  font-size: .95rem;
  line-height: 1.5;
  color: #4a5568;
}

/* subtielere divider */
.review-card hr{
  border-top: 1px dashed rgba(0,0,0,.2);
}

.cb-admin-table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.cb-admin-table .table {
  --bs-table-bg: #fff;
  --bs-table-striped-bg: #f8f9fa;
  --bs-table-hover-bg: #f3f4f6;
  margin-bottom: 0;
}

.cb-admin-table .table thead th,
.cb-admin-table .table tbody td {
  background: #fff;
}

.legal-content h2{
  margin-top:30px;
}

.legal-content h3{
  margin-top:25px;
  font-weight:600;
}

.legal-content ol,
.legal-content ul{
  margin-left:20px;
}

.stocklevel-card {
  border-radius: 14px;
}

.stocklevel-section + .stocklevel-section {
  border-top: 1px solid #e9ecef;
  padding-top: 1.25rem;
}

.stocklevel-section-title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #6c757d;
  margin-bottom: .85rem;
}

.stocklevel-check {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem .85rem;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  background: #f8f9fa;
}

.stocklevel-check .form-check-input {
  margin-top: 0;
  flex: 0 0 auto;
}

.stocklevel-check .form-check-label {
  margin-bottom: 0;
  font-weight: 500;
}

.cart-set-meta {
  margin-top: .35rem;
}

.cart-set-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .25rem;
}

.cart-set-tag {
  display: inline-flex;
  align-items: center;
  padding: .28rem .58rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
}

.cart-set-tag-danger {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

.cart-set-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
}

.cart-set-old-price {
  color: #6b7280;
  text-decoration: line-through;
}

.cart-set-new-price {
  color: #111827;
  font-weight: 700;
}

/* =========================================
   PRODUCT DETAIL PAGE — SETS / MINIFIGS
========================================= */
  .product-title {
    font-size: clamp(2rem, 2.8vw, 2.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: #111827;
  }

  .product-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: .8rem;
  }

  .meta-pill {
    display: inline-flex;
    align-items: center;
    padding: .5rem .85rem;
    border-radius: 999px;
    background: #fff7cc;
    color: #5c4700;
    font-size: .92rem;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,.08);
  }

  .meta-pill-theme {
    background: #fff1b8;
  }

  .meta-pill-stock {
    background: #e7f7eb;
    color: #17653a;
  }

  .product-media-card,
  .purchase-card {
    border-radius: 24px;
    overflow: hidden;
  }

  .product-media-wrap {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 18px;
  }

  .product-main-image {
    max-height: 420px;
    width: auto;
    object-fit: contain;
  }

  .product-image-fallback {
    min-height: 320px;
    width: 100%;
    background: #fff;
  }

  .seo-copy {
    color: #1f2937;
    line-height: 1.7;
    font-size: 1rem;
  }

  .benefit-row {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
  }

  .shop-badge {
    display: inline-flex;
    align-items: center;
    padding: .45rem .75rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #dbe2ea;
    color: #334155;
    font-size: .86rem;
    font-weight: 600;
  }

  .condition-info-box {
    background: #f8fafc;
    border: 1px solid #dbe2ea;
    border-radius: 18px;
    padding: 1rem 1.1rem;
  }

  .condition-info-title {
    font-size: .82rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 800;
    margin-bottom: .8rem;
  }

  .condition-info-grid {
    display: grid;
    gap: .9rem;
  }

  .condition-info-item {
    display: grid;
    gap: .25rem;
    color: #334155;
    font-size: .96rem;
    line-height: 1.5;
  }

  .form-label-strong {
    font-weight: 700;
    color: #111827;
  }

  .variant-summary-card {
    margin-top: 1rem;
    padding: 1.2rem 1.2rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid #d9dee5;
    border-radius: 22px;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
  }

  .variant-summary-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: .55rem;
  }

  .variant-summary-label {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: .25rem;
  }

  .variant-summary-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.15;
  }

  .variant-stock-line {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
    color: #166534;
    font-weight: 600;
    font-size: .95rem;
  }

  .stock-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,.15);
  }

  .variant-sale-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .48rem .78rem;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .variant-price-row {
    display: flex;
    align-items: baseline;
    gap: .7rem;
    margin-bottom: .85rem;
  }

  .variant-price-current {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
  }

  .variant-price-old {
    font-size: 1rem;
    color: #7a7f87;
    text-decoration: line-through;
  }

  .variant-summary-description {
    color: #475569;
    font-size: .98rem;
    line-height: 1.55;
    margin-bottom: .95rem;
  }

  .variant-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
  }

  .variant-chip {
    display: inline-flex;
    align-items: center;
    padding: .52rem .8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
  }

  .variant-chip-success {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
  }

  .variant-chip-warning {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
  }

  .variant-chip-danger {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
  }

  .variant-chip-info {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #bfdbfe;
  }

  .variant-chip-neutral {
    background: #f3f4f6;
    color: #374151;
    border-color: #e5e7eb;
  }

  .qty-total-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.2rem;
    align-items: end;
  }

  .qty-input-group {
    max-width: 260px;
  }

  .qty-btn {
    min-width: 52px;
    font-size: 1.2rem;
    font-weight: 700;
  }

  .qty-input {
    font-size: 1.05rem;
    font-weight: 700;
  }

  .total-block {
    text-align: right;
  }

  .total-label {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6b7280;
    font-weight: 800;
  }

  .total-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
  }

  .total-subtext {
    color: #64748b;
    font-size: .9rem;
  }

  .purchase-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
  }

  .purchase-btn-primary,
  .purchase-btn-secondary {
    min-height: 58px;
    font-weight: 800;
  }

  @media (max-width: 991.98px) {
    .product-main-image {
      max-height: 340px;
    }
  }

  @media (max-width: 767.98px) {
    .variant-summary-head,
    .qty-total-wrap,
    .purchase-actions {
      grid-template-columns: 1fr;
      display: grid;
    }

    .variant-summary-head {
      gap: .8rem;
    }

    .total-block {
      text-align: left;
    }

    .product-media-wrap {
      min-height: 280px;
    }

    .product-main-image {
      max-height: 280px;
    }
  }
/* =========================================
   PRODUCT DETAIL PAGE — MINIFIG TUNING
========================================= */

.product-detail-page .product-main-image {
  object-fit: contain;
}

.product-detail-page .variant-summary-card .variant-chip-info {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
/* =========================================
   PRODUCT DETAIL PAGE — INSTRUCTIONS TUNING
========================================= */

.product-detail-page .product-meta-list .meta-pill-theme {
  background: #eef2ff;
  color: #3730a3;
}

.product-detail-page .variant-feature-list .variant-chip-info {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
/* =========================================
   PRODUCT DETAIL PAGE — PARTS TUNING
========================================= */

.product-detail-page .part-color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.product-detail-page .part-color-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 64px;
  padding: .85rem .95rem;
  border: 1px solid #d5dbe3;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: .15s ease;
}

.product-detail-page .part-color-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

.product-detail-page .part-color-card.active {
  border-color: #64748b;
  box-shadow: 0 0 0 3px rgba(100,116,139,.12);
}

.product-detail-page .part-color-card .color-radio {
  margin: 0;
  flex: 0 0 auto;
}

.product-detail-page .part-color-name {
  flex: 1 1 auto;
  font-weight: 600;
  color: #111827;
}

.product-detail-page .part-color-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .3rem .55rem;
  border-radius: 999px;
  background: #15803d;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .product-detail-page .part-color-grid {
    grid-template-columns: 1fr;
  }
}/* =========================================
   PRODUCT DETAIL PAGE — BULK TUNING
========================================= */

.product-detail-page .bulk-unit-text {
  font-size: 1.05rem;
  color: #64748b;
  font-weight: 600;
}

.product-detail-page .bulk-unit-chip {
  white-space: nowrap;
}

.product-detail-page .variant-summary-card .variant-chip-info.bulk-unit-chip {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

/* =========================================
   PRODUCT LIST PAGES
========================================= */

.list-page .list-page-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1.05;
  color: #111827;
  margin-bottom: 0;
}

.list-page .list-hero-card,
.list-page .list-filter-card,
.list-page .list-grid-card {
  border-radius: 24px;
  overflow: hidden;
}

.list-page .list-hero-copy {
  color: #1f2937;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 900px;
}

.list-page .list-toggle-text .when-expanded {
  display: none;
}

.list-page .list-toggle-text[aria-expanded="true"] .when-expanded {
  display: inline;
}

.list-page .list-toggle-text[aria-expanded="true"] .when-collapsed {
  display: none;
}

.list-page .list-filter-card .form-label {
  font-weight: 700;
  color: #111827;
}

.list-page .list-filter-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.list-page .list-results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.list-page .list-results-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.list-page .list-results-meta {
  color: #64748b;
  font-size: .95rem;
  white-space: nowrap;
}

.list-page .list-grid-card {
  height: 100%;
  border: 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
  transition: transform .16s ease, box-shadow .16s ease;
}

.list-page .list-grid-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
}

.list-page .list-grid-media {
  position: relative;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.list-page .list-grid-media img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

.list-page .list-grid-placeholder {
  height: 220px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: #fff;
}

.list-page .list-grid-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
  margin-bottom: .45rem;
}

.list-page .list-grid-meta {
  display: grid;
  gap: .25rem;
  margin-bottom: .8rem;
  color: #64748b;
  font-size: .95rem;
}

.list-page .list-grid-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .9rem;
}

.list-page .list-badge {
  display: inline-flex;
  align-items: center;
  padding: .38rem .65rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
}

.list-page .list-badge-theme {
  background: #fff7cc;
  color: #5c4700;
  border-color: rgba(92, 71, 0, .12);
}

.list-page .list-badge-stock {
  background: #e7f7eb;
  color: #17653a;
  border-color: rgba(23, 101, 58, .14);
}

.list-page .list-badge-sale {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

.list-page .list-badge-sale-prominent {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: .55rem .85rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(220, 38, 38, .28);
}

.list-page .list-grid-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.list-page .list-grid-price-sub {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: #64748b;
  margin-top: .2rem;
}

.list-page .list-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.list-page .list-card-body .btn {
  margin-top: auto;
}

.list-page .list-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.list-page .list-pagination .pagination {
  flex-wrap: wrap;
  gap: .35rem;
}

.list-page .list-pagination .page-link {
  border-radius: 12px;
  border: 1px solid #d6dbe3;
  color: #1f2937;
  font-weight: 600;
}

.list-page .list-pagination .page-item.active .page-link {
  background: #e6291a;
  border-color: #e6291a;
  color: #fff;
}

.list-page .list-empty {
  border-radius: 20px;
  padding: 1rem 1.1rem;
}

.list-page .dropdown-menu {
  border-radius: 18px;
  border: 1px solid #d6dbe3;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
}

.list-page .dropdown-item.form-check {
  border-radius: 10px;
}

.list-page .dropdown-item.form-check:hover {
  background: #f8fafc;
}

.list-page .badge.bg-secondary {
  background: #64748b !important;
}

@media (max-width: 991.98px) {
  .list-page .list-grid-media,
  .list-page .list-grid-media img,
  .list-page .list-grid-placeholder {
    min-height: 200px;
    height: 200px;
  }
}

@media (max-width: 767.98px) {
  .list-page .list-results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .list-page .list-results-meta {
    white-space: normal;
  }

  .list-page .list-grid-media,
  .list-page .list-grid-media img,
  .list-page .list-grid-placeholder {
    min-height: 190px;
    height: 190px;
  }

  .list-page .list-filter-actions {
    flex-direction: column;
  }
}

.list-page .list-filter-card,
.list-page .list-filter-card .card-body {
  overflow: visible;
}

.list-page .dropdown {
  position: relative;
}

.list-page .dropdown-menu {
  z-index: 1080;
}

/* =========================================
   Completeer set LIST PAGE
========================================= */
/* Rijen */
.set-detail tr.row-out {
  background: #f3f4f6 !important;
}

.set-detail tr.row-out td {
  color: #6b7280;
}

.set-detail tr.row-out .fw-semibold,
.set-detail tr.row-out .badge,
.set-detail tr.row-out .small,
.set-detail tr.row-out span,
.set-detail tr.row-out div {
  color: inherit !important;
}

.set-detail tr.marked {
  background: rgba(40, 167, 69, .12) !important;
  border-left: 4px solid #28a745;
}

/* Hover */
.set-detail tbody tr:hover {
  background: rgba(0,0,0,.03);
}

/* Input groter */
.set-detail .missing-input {
  text-align: center;
  font-weight: 600;
}

#submitAll {
  font-size: 1rem;
  padding: 0.6rem 1.4rem;
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
}

.set-detail .badge-stock-out {
  background: #fff3cd;
  color: #8a5a00;
  border: 1px solid #f3d98b;
  font-weight: 700;
}

.set-detail .set-parts-header {
  align-items: center;
}

.set-detail .set-parts-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  color: #111827;
}

.set-detail .set-parts-subtitle {
  font-size: 1.15rem;
  color: #475569;
  font-weight: 600;
}

.set-detail .set-parts-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.set-detail .set-parts-pill {
  display: inline-flex;
  align-items: center;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: #fff7cc;
  color: #5c4700;
  border: 1px solid rgba(92, 71, 0, .12);
  font-size: .92rem;
  font-weight: 700;
}

.set-detail .set-parts-pill-success {
  background: #e7f7eb;
  color: #17653a;
  border-color: rgba(23, 101, 58, .14);
}

.set-detail .set-parts-image-card {
  width: 220px;
  border-radius: 22px;
  overflow: hidden;
}

.set-detail .set-parts-image {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
}

.set-detail .cb-admin-table {
  background: #fff;
}

.set-detail .cb-admin-table thead th {
  background: #f8fafc;
  color: #374151;
  font-weight: 800;
  border-bottom: 1px solid #d6dbe3;
}

.set-detail .cb-admin-table tbody td {
  color: #111827;
  vertical-align: middle;
}

.set-detail .cb-admin-table .small {
  color: #4b5563;
}

.set-detail .cb-admin-table .badge.bg-light {
  background: #f3f4f6 !important;
  color: #111827 !important;
  border: 1px solid #d6dbe3;
}

.set-detail .missing-input {
  width: 64px !important;
  text-align: center;
  font-weight: 700;
}

.set-detail .minus-btn,
.set-detail .plus-btn,
.set-detail .max-btn {
  min-width: 38px;
  height: 34px;
  padding: 0 .6rem;
}

.set-detail .max-btn {
  font-size: .82rem;
  font-weight: 700;
}

.set-detail .selected-total-wrap {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #111827;
}

.set-detail .selected-total-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  padding: 0 .7rem;
  border-radius: 999px;
  background: #1d4ed8 !important;
  color: #ffffff !important;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(29, 78, 216, .22);
}