/* CardPrime — componentstijlen bovenop Bootstrap 5. Verwijst enkel naar theme-tokens. */

body{
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3{
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: .2px;
}
.container{ max-width: var(--container-max); }
.section-block{ padding-top: 4.5rem; padding-bottom: 4.5rem; }
.section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1.35rem;
}
.section-heading h2{
  margin:0;
  font-size:clamp(1.45rem, 2.2vw, 2.1rem);
}
.section-kicker{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  color:var(--color-primary-hover);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:.55rem;
}
.section-kicker::before{
  content:"";
  width:1.8rem;
  height:1px;
  background:var(--color-primary);
}
.section-heading-invert h2,
.section-heading-invert .section-kicker{ color:var(--color-footer-text); }

/* Knoppen */
.btn-primary{
  --bs-btn-bg: var(--color-primary);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-color: var(--cp-black);
  --bs-btn-hover-bg: var(--color-primary-hover);
  --bs-btn-hover-border-color: var(--color-primary-hover);
  --bs-btn-hover-color: var(--cp-white);
  --bs-btn-active-bg: var(--color-primary-hover);
  --bs-btn-active-border-color: var(--color-primary-hover);
  font-weight: 600;
}
.btn-outline-primary{
  --bs-btn-color: var(--color-primary-hover);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-bg: var(--color-primary);
  --bs-btn-hover-color: var(--cp-black);
  --bs-btn-hover-border-color: var(--color-primary);
}

/* Header */
.site-header{
  background: var(--color-white-soft);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}
.site-header .navbar{ padding-top:.85rem; padding-bottom:.85rem; }
.site-header .logo img{ height: 46px; width:auto; border-radius: var(--radius-sm); }
.nav-link{ color: var(--color-text); font-weight: 500; }
.nav-link:hover{ color: var(--color-primary-hover); }
.site-header .form-control{
  border-radius: 999px;
  min-width: 210px;
  background: var(--color-bg-alt);
}
.cart-badge{
  background: var(--color-primary);
  color: var(--cp-black);
  font-size:.72rem;
  font-weight:700;
}

/* Hero */
.hero-modern{
  position:relative;
  overflow:hidden;
  min-height: min(760px, calc(100vh - 78px));
  display:flex;
  align-items:center;
  background:var(--color-dark-surface);
  color:var(--color-footer-text);
}
.hero-backdrop{
  position:absolute;
  inset:0;
  opacity:.18;
}
.hero-backdrop img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter: blur(16px) saturate(1.15);
  transform:scale(1.06);
}
.hero-modern::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 72% 28%, var(--color-overlay-mid), transparent 32%),
    linear-gradient(90deg, var(--color-overlay-strong), var(--color-overlay-mid));
}
.hero-modern .container{ position:relative; z-index:1; }
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(320px, 520px);
  align-items:center;
  gap:clamp(2rem, 5vw, 5rem);
  padding:clamp(4.5rem, 8vw, 7.5rem) 0;
}
.hero-copy{ max-width:720px; }
.hero-copy h1{
  font-size:clamp(2.4rem, 6vw, 5.6rem);
  line-height:.98;
  margin:0 0 1.35rem;
}
.hero-copy .lead{
  color:var(--color-white-soft);
  max-width:620px;
  font-size:clamp(1.05rem, 1.5vw, 1.25rem);
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
  margin-top:1.75rem;
}
.btn-ghost{
  color:var(--color-footer-text);
  border:1px solid var(--color-white-soft);
  background:transparent;
  font-weight:700;
}
.btn-ghost:hover{
  color:var(--color-text);
  background:var(--color-footer-text);
  border-color:var(--color-footer-text);
}
.hero-trust{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
  margin-top:1.7rem;
  color:var(--color-white-soft);
  font-size:.9rem;
}
.hero-trust span{
  border:1px solid var(--color-overlay-soft);
  background:var(--color-overlay-mid);
  border-radius:999px;
  padding:.5rem .75rem;
}
.hero-showcase{
  position:relative;
  min-height:520px;
}
.hero-card{
  position:absolute;
  overflow:hidden;
  border-radius:var(--radius);
  background:var(--color-surface);
  box-shadow:var(--shadow-lg);
  border:1px solid var(--color-overlay-soft);
}
.hero-card img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  padding:.8rem;
}
.hero-card-1{
  width:62%;
  aspect-ratio: .72;
  right:18%;
  top:0;
  z-index:3;
}
.hero-card-2{
  width:42%;
  aspect-ratio:.72;
  left:0;
  top:20%;
  z-index:2;
  opacity:.92;
}
.hero-card-3{
  width:38%;
  aspect-ratio:.72;
  right:0;
  bottom:4%;
  z-index:1;
  opacity:.86;
}
.hero-logo-card{
  display:grid;
  place-items:center;
  padding:2rem;
}
.hero-logo-card img{ object-fit:contain; }

/* Productkaart */
.product-card{
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.product-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--color-primary); }
.product-media{
  position:relative;
  aspect-ratio: 4 / 5;
  background: var(--color-bg-alt);
  overflow:hidden;
}
.product-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:.7rem;
  transition: transform .25s ease;
}
.product-card:hover .product-media img{ transform:scale(1.035); }
.media-pill{
  position:absolute;
  left:.65rem;
  top:.65rem;
  background:var(--color-primary);
  color:var(--cp-black);
  font-size:.72rem;
  font-weight:800;
  border-radius:999px;
  padding:.25rem .55rem;
}
.product-card .body{ padding: .9rem 1rem 1.1rem; }
.product-card .price{ font-weight: 700; color: var(--color-text); }
.product-title{
  font-weight:700;
  line-height:1.25;
  min-height:2.5em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin-bottom:.35rem;
}
.product-card-compact{
  background:var(--color-white-soft);
}
.product-card-compact .product-media{ aspect-ratio: 1 / 1; }
.product-card-compact .body{ padding:.75rem; }
.product-card-compact .product-title{
  font-size:.9rem;
  min-height:2.25em;
}

/* Badges conditie/grading */
.badge-grade{
  background: var(--cp-black);
  color: var(--cp-gold-light);
  border:1px solid var(--cp-gold);
}
.badge-unique{
  background: var(--cp-gold-light);
  color: var(--cp-black);
}

/* Categorie-tegels */
.category-tile{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 190px;
  display:flex; align-items:flex-end;
  color: var(--cp-white);
  background: var(--cp-charcoal);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.category-tile:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.category-tile .label{
  position: relative; z-index:2;
  padding: 1rem 1.2rem; font-family: var(--font-heading); font-weight:700;
  font-size:clamp(1rem, 1.7vw, 1.3rem);
}
.category-tile::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 30%, var(--color-overlay-strong));
  z-index:1;
}

/* Highlight carousel */
.highlight-band{
  background:var(--color-footer-bg);
  color:var(--color-footer-text);
  padding:4.5rem 0;
}
.highlight-carousel{
  border:1px solid var(--color-overlay-soft);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-lg);
  background:var(--color-dark-surface);
}
.highlight-slide{
  display:grid;
  grid-template-columns:minmax(240px, .8fr) minmax(0, 1fr);
  min-height:440px;
}
.highlight-image{
  background:var(--color-bg-alt);
  min-height:320px;
}
.highlight-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:1rem;
}
.highlight-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(2rem, 5vw, 4.5rem);
}
.highlight-copy h3{
  font-size:clamp(1.8rem, 4vw, 3.6rem);
  line-height:1;
  max-width:760px;
}
.highlight-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  margin:1rem 0 1.6rem;
}
.highlight-meta span{
  border:1px solid var(--color-overlay-soft);
  background:var(--color-overlay-mid);
  border-radius:999px;
  padding:.45rem .7rem;
  color:var(--color-white-soft);
  font-size:.9rem;
}
.highlight-carousel .carousel-control-prev,
.highlight-carousel .carousel-control-next{
  width:3.5rem;
}
.highlight-carousel .carousel-indicators{ margin-bottom:1rem; }
.highlight-strip{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:1rem;
  margin-top:1.2rem;
}

/* Footer */
.site-footer{
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  margin-top: 4rem;
}
.site-footer a{ color: var(--cp-gold-light); text-decoration:none; }
.site-footer a:hover{ color: var(--cp-white); }
.site-footer .footer-brand img{ height: 40px; filter: brightness(0) invert(1) opacity(.9); }

/* Flash */
.flash-stack{ position: sticky; top: 0; z-index: 1080; }

/* Admin shell */
.admin-sidebar{
  background: var(--cp-black);
  color: var(--cp-offwhite);
  min-height: 100vh;
}
.admin-sidebar a{ color: var(--cp-offwhite); text-decoration:none; display:block; padding:.6rem 1rem; border-radius: var(--radius-sm); }
.admin-sidebar a:hover, .admin-sidebar a.active{ background: var(--cp-charcoal); color: var(--cp-gold-light); }
.admin-content{ background: var(--color-bg-alt); min-height:100vh; }

@media (max-width: 991.98px){
  .site-header .navbar-collapse{
    padding-top:1rem;
  }
  .site-header .form-control{
    min-width:0;
    width:100%;
  }
  .hero-modern{
    min-height:auto;
  }
  .hero-grid{
    grid-template-columns:1fr;
    padding:4rem 0 3rem;
  }
  .hero-showcase{
    min-height:360px;
    max-width:520px;
    width:100%;
    margin:0 auto;
  }
  .highlight-slide{
    grid-template-columns:1fr;
    min-height:0;
  }
  .highlight-image{
    aspect-ratio: 16 / 10;
    min-height:0;
  }
  .highlight-copy{
    padding:2rem 1.25rem 4rem;
  }
  .highlight-strip{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:.25rem;
  }
  .highlight-strip-item{
    flex:0 0 42%;
    min-width:170px;
    scroll-snap-align:start;
  }
}

@media (max-width: 575.98px){
  .section-block{ padding-top:3rem; padding-bottom:3rem; }
  .section-heading{
    align-items:flex-start;
    flex-direction:column;
  }
  .hero-copy h1{
    font-size:2.55rem;
  }
  .hero-actions .btn{
    width:100%;
  }
  .hero-trust{
    gap:.45rem;
  }
  .hero-trust span{
    font-size:.78rem;
    padding:.42rem .58rem;
  }
  .hero-showcase{
    min-height:300px;
  }
  .category-tile{
    min-height:132px;
  }
  .product-card .body{
    padding:.75rem;
  }
  .product-title{
    font-size:.9rem;
  }
  .product-card .price{
    font-size:.95rem;
  }
  .highlight-band{
    padding:3rem 0;
  }
  .highlight-strip-item{
    flex-basis:58%;
  }
}
