/*
Theme Name: Tweedekansproduct Light
Theme URI: https://tweedekansproduct.nl/
Author: Vincent
Description: Lightweight custom theme for tweedekansproduct.nl (directory of aanbieders). Built for speed and clean SEO templates.
Version: 0.2.0
License: GNU General Public License v2 or later
Text Domain: tweedekansproduct
*/
:root{
  /* Lovable-inspired tokens (lightweight, no framework) */
  --primary: hsl(142 76% 36%);
  --primary-foreground: #fff;

  --background: hsl(60 20% 98%);
  --foreground: hsl(220 25% 12%);

  --card: #fff;
  --muted: hsl(142 20% 95%);
  --muted-foreground: hsl(220 15% 40%);

  --border: hsl(220 20% 88%);

  --tweedekans: hsl(142 70% 38%);
  --refurbished: hsl(205 85% 48%);
  --outlet: hsl(32 95% 52%);

  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(2,6,23,.06);
  --shadow-md: 0 10px 25px rgba(2,6,23,.07);

  --container: 1120px;

  /* Spacing scale */
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--foreground);
  background:var(--background);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 18px}
.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:18px;top:18px;width:auto;height:auto;padding:10px 12px;background:#fff;border:1px solid var(--border);border-radius:10px;z-index:9999}

.screen-reader-text{
  border:0;
  clip:rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height:1px;
  margin:-1px;
  overflow:hidden;
  padding:0;
  position:absolute;
  width:1px;
  white-space:nowrap;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
}

.subnav{border-bottom:1px solid rgba(15,23,42,.06);background:#fff}
.subnav-inner{padding:12px 0}
.header-inner{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:10px;font-weight:600}
.brand img{width:42px;height:42px}
.nav{display:flex;align-items:center;gap:18px}
.nav ul{display:flex;align-items:center;gap:18px;list-style:none;margin:0;padding:0}
.nav li{margin:0;padding:0}
.nav a{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  font-weight:400;
  color:var(--muted-foreground);
  transition: background .15s ease, color .15s ease;
}
.nav a:hover{color:var(--foreground);text-decoration:none;background:rgba(2,6,23,.04)}
.nav .current-menu-item > a,
.nav .current-menu-ancestor > a{
  color:var(--foreground);
  background:rgba(34,164,84,.10);
}

.search-wrap{display:flex;align-items:center;gap:10px}
.search-form{display:flex;gap:10px;align-items:center}
.search-form input[type="search"]{
  width:240px;max-width:46vw;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
}
.search-form button{
  width:42px;height:42px;
  display:inline-flex;align-items:center;justify-content:center;
  padding:0;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.search-form button:hover{border-color:rgba(34,164,84,.35);transform: translateY(-1px)}
.search-icon{width:18px;height:18px;display:block}

.hero{
  padding: 44px 0 22px;
  border-bottom: 1px solid rgba(15,23,42,.06);
  background: transparent;
}
.hero h1{margin:0 0 10px;font-size:36px;line-height:1.12;letter-spacing:-.02em}
.hero p{margin:0 0 14px;color:var(--muted-foreground);max-width:72ch}
.hero p:last-child{margin-bottom:0}
.hero-content{display:flex;flex-direction:column;gap:0}
.kicker{color:var(--muted-foreground);font-weight:800;margin:0 0 6px;font-size:14px;letter-spacing:.02em}
.lead{font-size:18px;color:var(--muted-foreground);max-width:72ch;margin:0 0 26px;}

.grid{display:grid;gap:16px}
.grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width: 920px){
  .grid.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 620px){
  .nav{display:none;}
  .nav-toggle{display:inline-flex;}

  .nav.is-open{
    display:block;
    grid-column: 1 / -1;
    margin-top: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow-sm);
  }
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  padding:20px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover{
  border-color: rgba(34,164,84,.30);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card h2,.card h3{margin:0 0 8px}
.badges{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}
.badge{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid transparent;
  color:#fff;
  font-size:12px;
  font-weight:600;
  border-color: rgba(0,0,0,.08);
}
/* Tweedekans */
.badge.tweedekans{
  background: color-mix(in srgb, var(--tweedekans) 14%, white);
  color: color-mix(in srgb, var(--tweedekans) 88%, #111);
  border-color: color-mix(in srgb, var(--tweedekans) 22%, white);
}

/* Refurbished */
.badge.refurbished{
  background: color-mix(in srgb, var(--refurbished) 14%, white);
  color: color-mix(in srgb, var(--refurbished) 88%, #111);
  border-color: color-mix(in srgb, var(--refurbished) 22%, white);
}

/* Outlet */
.badge.outlet{
  background: color-mix(in srgb, var(--outlet) 14%, white);
  color: color-mix(in srgb, var(--outlet) 88%, #111);
  border-color: color-mix(in srgb, var(--outlet) 22%, white);
}
.badge.ghost{
  color: var(--muted-foreground);
  background: #fff;
  border-color: var(--border);
}
.badge.ghost:hover{border-color: rgba(34,164,84,.30);text-decoration:none}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 16px;
  border-radius:12px;
  border:1px solid transparent;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight:650;
  text-decoration:none;
  box-shadow: 0 10px 18px rgba(34,164,84,.16);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover{
  text-decoration:none;
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(34,164,84,.18);
  filter: brightness(.98);
}
.btn.secondary{
  border-color: var(--border);
  background:#fff;
  color: var(--foreground);
  font-weight:650;
  box-shadow:none;
}

.section{padding:28px 0}
.section h2{margin:0 0 12px;font-size:22px;letter-spacing:-.01em}

.section-alt{background: linear-gradient(180deg, rgba(34,164,84,.03), rgba(255,255,255,0));}

.content p{margin: 0 0 12px}
.content p:last-child{margin-bottom:0}

.tkp-list{margin:0;padding-left:18px}
.tkp-list li{margin:8px 0;color: var(--muted-foreground)}

.trust{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 10px;
}
.trust-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color: var(--muted-foreground);
  font-size:13px;
  font-weight:600;
  border-color: rgba(15,23,42,.10);
}
.trust-dot{width:8px;height:8px;border-radius:999px;background: rgba(34,164,84,.45)}

.site-footer{border-top:1px solid var(--border);margin-top:44px}
.footer-inner{padding:26px 0;color:var(--muted-foreground);font-size:14px}
.footer-grid{display:grid;gap:18px;grid-template-columns:2fr 1fr 1fr}
@media (max-width: 820px){.footer-grid{grid-template-columns:1fr}}
.footer-title{font-weight:800;color:var(--foreground);margin:0 0 8px}
.footer-links{display:grid;gap:8px}
.footer-menu{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.footer-menu li{margin:0;padding:0}
.footer-copy{margin:0}
.footer-links a{color:var(--muted-foreground)}
.footer-links a:hover{color:var(--foreground);text-decoration:none}

.listing{display:grid;gap:14px}
.listing.grid-view{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width: 920px){.listing.grid-view{grid-template-columns:1fr}}
/* Aanbieder card (rustig, hele card klikbaar) */
.card.aanbieder-card{
  padding: 0;
}

.aanbieder-card-link{
  display: block;
  padding: 18px;
  color: inherit;
  text-decoration: none;
  border-radius: 14px;
  height: 100%;
}

.aanbieder-card-head{
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  align-items: start;
}

.aanbieder-logo{
  width: 62px;
  height: 62px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.aanbieder-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 10px;
}

.aanbieder-logo-fallback{
  font-weight: 800;
  color: #3b4a43;
}

.aanbieder-card-body{
  min-width: 0;
}

.aanbieder-title{
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.aanbieder-intro{
  margin: 10px 0 0;
  color: var(--muted-foreground);
  overflow: hidden;
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.35;
  margin-top: 8px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card.aanbieder-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.aanbieder-card-link:hover{
  text-decoration: none;
}

.aanbieder-card-link:hover *{
  text-decoration: none;
}

.aanbieder-card-link:hover .aanbieder-title{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aanbieder-card-link:focus-visible{
  outline: 3px solid rgba(55, 139, 87, .35);
  outline-offset: 3px;
  border-radius: 16px;
}

.meta{color:var(--muted-foreground);font-size:14px}
hr.sep{border:none;border-top:1px solid var(--border);margin:20px 0}

/* Simple utilities */
.mt-4{margin-top: var(--space-4)}
.mt-5{margin-top: var(--space-5)}
.mt-6{margin-top: var(--space-6)}
.mb-0{margin-bottom:0}
.m-0{margin:0}

/* Type cards */
.type-card{position:relative;overflow:hidden}
.type-card .type-title{display:flex;align-items:center;gap:12px}
.type-icon{
  width:44px;height:44px;
  border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  color:#fff;
  font-weight:900;
}
.type-card.type-tweedekans .type-icon{background: var(--tweedekans)}
.type-card.type-refurbished .type-icon{background: var(--refurbished)}
.type-card.type-outlet .type-icon{background: var(--outlet)}
.type-card:hover{text-decoration:none}

/* Single layout */
.layout{display:grid;gap:24px}
@media (min-width: 980px){
  .layout{grid-template-columns: 2fr 1fr; gap: 32px; align-items:start}
  .sidebar{position: sticky; top: 92px}
}

/* Pagination */
.pagination{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:40px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  color: var(--muted-foreground);
  font-weight:800;
  text-decoration:none;
}
.pagination .page-numbers.current{background: rgba(34,164,84,.12);border-color: rgba(34,164,84,.28);color: var(--foreground)}
.pagination .page-numbers:hover{border-color: rgba(34,164,84,.28);color: var(--foreground)}

/* Header layout: center menu like Lovable */
.header-inner{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  gap: 14px;
}

.nav{
  justify-self:center;
}

.search-wrap{
  justify-self:end;
}

/* Hero home: bigger, softer, more Lovable */
.hero.hero-home{
  padding: 75px 0 50px;
  background:
    radial-gradient(900px 500px at 12% 18%, rgba(34,164,84,.18), rgba(34,164,84,0) 60%),
    radial-gradient(700px 460px at 68% 22%, rgba(14,165,233,.12), rgba(14,165,233,0) 62%),
    linear-gradient(180deg, rgba(34,164,84,.06), rgba(255,255,255,0));
}

.hero-inner{display:block}
.hero-title{
  margin:0 0 22px;
  font-size: 52px;
  line-height:1.06;
  letter-spacing:-.03em;
  max-width: 30ch;
}
.hero-title .accent{color: var(--primary)}
.kicker{margin:0 0 20px}
.kicker-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(34,164,84,.22);
  background: rgba(34,164,84,.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 400;
}

.kicker-ico{opacity:.65}

.hero-actions{margin: 0}

/* Mobile menu toggle */
.nav-toggle{
  display:none;
  width:42px;
  height:42px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  align-items:center;
  justify-content:center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content:"";
  display:block;
  width:18px;
  height:2px;
  background: var(--foreground);
  position:relative;
}

.nav-toggle-bars::before{position:absolute; top:-6px; left:0;}
.nav-toggle-bars::after{position:absolute; top:6px; left:0;}

/* Hard guarantee: never show toggle on desktop */
@media (min-width: 621px){
  .nav-toggle{display:none !important;}
}