/* =========================================================================
   Assortimentpagina (template-producten.php)
   ========================================================================= */

.page-hero {
  padding: 120px 5% 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: linear-gradient(160deg, var(--green-light), transparent);
  border-radius: 0 0 0 60%;
  z-index: 0;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 640px; }

/* ── FILTER ── */
.filter-bar { padding: 0 5% 3rem; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.filter-label { font-size: 0.82rem; color: var(--gray); font-weight: 500; margin-right: 0.5rem; }
.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem; font-weight: 500;
  color: var(--gray); cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--green); color: var(--white); border-color: var(--green); }

/* ── PRODUCTKAARTEN ── */
.products-section { padding: 0 5% 100px; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.product-card {
  border-radius: 20px;
  overflow: hidden;
  background: #FDFAF2;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.13); }

/* Uitgelicht product ("Meest gekozen") — laat één kaart bewust opvallen. */
.product-card.featured {
  border: 2px solid var(--gold);
  transform: scale(1.03);
  box-shadow: 0 16px 40px rgba(168,130,26,0.25);
  position: relative;
  z-index: 1;
}
.product-card.featured:hover { transform: scale(1.03) translateY(-8px); box-shadow: 0 24px 55px rgba(168,130,26,0.3); }
.product-card.featured .product-badge {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}

.product-visual { height: 260px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product-visual-pure { background: linear-gradient(145deg, #1C3A12 0%, #2E5520 60%, #3D6E28 100%); }
.product-visual-sunpro { background: linear-gradient(145deg, #1A1200 0%, #3D2E00 60%, #6B5000 100%); }
.product-visual-sunproplus { background: linear-gradient(145deg, #2A0A10 0%, #6B1A28 60%, #8B2A3A 100%); }
.product-visual::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,0.05);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.product-pack-label { text-align: center; color: white; z-index: 1; position: relative; }
.pack-brand { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; margin-bottom: 0.5rem; }
.pack-name { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 900; line-height: 1; margin-bottom: 0.3rem; }
.pack-sub { font-size: 0.7rem; letter-spacing: 0.12em; opacity: 0.7; text-transform: uppercase; }
.pack-size { margin-top: 1rem; display: inline-block; border: 1px solid rgba(255,255,255,0.3); border-radius: 100px; padding: 4px 14px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }

.product-badge {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.68rem; color: white;
  font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.product-name { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: 0.3rem; }
.product-tagline { font-size: 0.82rem; color: var(--gray); margin-bottom: 1.2rem; }
.product-specs { background: var(--gold-pale); border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; }
.spec-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green); margin-bottom: 0.5rem; }
.spec-value { font-size: 0.88rem; color: var(--dark); line-height: 1.5; }
.product-features { list-style: none; margin-bottom: 1.6rem; flex: 1; }
.product-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--gray); padding: 0.35rem 0; border-bottom: 1px solid rgba(74,124,63,0.08); }
.product-features li:last-child { border: none; }
.feat-check { color: var(--green); font-weight: 700; font-size: 0.8rem; margin-top: 2px; flex-shrink: 0; }
.product-price { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--gold); margin-bottom: 1rem; }

.btn-product { display: block; width: 100%; text-align: center; padding: 13px; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 700; text-decoration: none; cursor: pointer; border: none; transition: all 0.2s; }
.btn-product-primary { background: var(--green); color: var(--white); box-shadow: 0 4px 16px rgba(74,124,63,0.25); }
.btn-product-primary:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(74,124,63,0.35); }

/* ── VERGELIJKINGSTABEL ── */
.compare-section { padding: 80px 5%; background: #2C3A1E; }
.compare-section .section-label { color: var(--gold-light); }
.compare-section h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 700; color: white; margin-bottom: 0.75rem; }
.compare-section p { color: rgba(255,255,255,0.82); font-size: 0.95rem; margin-bottom: 3rem; }

.compare-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.compare-table th { padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.82); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.compare-table th:first-child { width: 30%; }
.compare-table th.col-pure { color: #6DB865; }
.compare-table th.col-sunpro { color: var(--gold-light); }
.compare-table th.col-sunproplus { color: #E8909A; }
.compare-table td { padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); vertical-align: middle; }
.compare-table tr:last-child td { border: none; }
.compare-table td:first-child { color: rgba(255,255,255,0.78); font-size: 0.82rem; }
.compare-table tr:hover td { background: rgba(255,255,255,0.03); }

/* Horizontaal scrollbaar op smalle schermen zonder de tabelstructuur te breken. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .compare-table { min-width: 640px; }

/* ── USP STRIP ── */
.usp-strip { background: #4F6E2E; padding: 50px 5%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.usp-item { color: white; }
.usp-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.usp-item strong { display: block; font-size: 1rem; margin-bottom: 0.25rem; }
.usp-item span { font-size: 0.8rem; opacity: 0.7; }

/* ── CTA (producten) ── */
.cta-section { padding: 100px 5%; text-align: center; background: var(--gold-pale); }
.cta-section h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 700; color: var(--dark); margin-bottom: 1rem; max-width: 520px; margin-inline: auto; }
.cta-section p { color: var(--gray); margin-bottom: 2.5rem; font-size: 0.95rem; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .products-grid { grid-template-columns: 1fr; }
  .usp-strip { grid-template-columns: 1fr 1fr; }
  .compare-table { font-size: 0.78rem; }
  .compare-table th, .compare-table td { padding: 0.75rem 0.8rem; }
}
