/* ============================================================
   styles.css — Janne Keramiek
   Terracotta & Aarde palet · Cormorant Garamond · DM Sans
   v20260310
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

:root {
  --brand:        hsl(18, 65%, 50%);
  --brand-deep:   hsl(13, 60%, 32%);
  --brand-light:  hsl(22, 72%, 62%);
  --brand-soft:   hsla(18, 65%, 50%, 0.13);
  --brand-pale:   #F7EDE4;
  --ink:          #1E1008;
  --ink-soft:     #3D2010;
  --muted:        #7A5C48;
  --muted-light:  #A8896F;
  --paper:        #FAF7F3;
  --paper-warm:   #F5EDE2;
  --paper-sand:   #EDE0CF;
  --border:       rgba(160, 100, 60, 0.18);
  --border-light: rgba(160, 100, 60, 0.10);
  --shadow:       0 4px 16px rgba(80, 35, 10, 0.08);
  --shadow-md:    0 8px 28px rgba(80, 35, 10, 0.10);
  --shadow-lg:    0 16px 48px rgba(80, 35, 10, 0.15);
  --shadow-card:  0 2px 8px rgba(80, 35, 10, 0.06), 0 8px 24px rgba(80, 35, 10, 0.05);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --r-xl: 24px; --r-lg: 18px; --r-md: 14px; --r-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
p { color: var(--ink-soft); margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: hsla(18, 65%, 50%, 0.22); color: var(--brand-deep); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
section[id] { scroll-margin-top: 90px; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: rgba(160,100,60,0.28); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 28px;
  background: rgba(245, 237, 226, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.compact {
  padding: 10px 28px;
  background: rgba(245, 237, 226, 0.97);
  border-bottom-color: var(--border-light);
  box-shadow: 0 1px 0 var(--border-light), 0 4px 20px rgba(80,35,10,0.07);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand:hover .brand__mark { transform: rotate(-5deg) scale(1.05); }
.brand__mark { width: 48px; height: 48px; display: block; border-radius: 50%; transition: transform 0.3s; }
.brand__stack { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.brand__sub  { font-weight: 500; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 1px; }

.site-nav { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav-list a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); padding: 7px 14px; border-radius: 50px; transition: background 0.18s, color 0.18s; }
.nav-list a:hover, .nav-list a.active { background: var(--brand-soft); color: var(--brand-deep); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .site-nav.nav-open {
    display: block; position: absolute; right: 16px; top: 70px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 12px 14px; box-shadow: var(--shadow-md); min-width: 180px;
  }
  .site-nav.nav-open .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 24px; border-radius: 50px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.92rem;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s, color 0.18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

/* FIX: beide klassen (btn-primary en btn.primary) werken */
.btn-primary, .btn.primary {
  background: var(--brand-deep); color: #FAF7F3; border-color: var(--brand-deep);
  box-shadow: 0 4px 16px hsla(13,60%,32%,0.26);
}
.btn-primary:hover, .btn.primary:hover {
  background: var(--brand); border-color: var(--brand); color: white;
  box-shadow: 0 8px 24px hsla(18,65%,50%,0.32);
}

.btn-secondary, .btn.secondary {
  background: transparent; color: var(--brand-deep); border-color: var(--border);
}
.btn-secondary:hover, .btn.secondary:hover {
  background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); box-shadow: none;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero--shop {
  padding: 60px 0 40px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, hsla(22,70%,72%,0.30) 0%, transparent 62%),
    radial-gradient(ellipse 60% 80% at 8%  80%, hsla(13,60%,55%,0.20) 0%, transparent 55%),
    linear-gradient(148deg, #F2E4D2 0%, #ECD9C0 45%, #E2C9AA 100%);
  position: relative; overflow: hidden;
}
.hero--shop::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(120,70,30,0.04) 1px, transparent 0);
  background-size: 28px 28px; pointer-events: none;
}

.hero-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; position: relative; }

.hero-copy { position: relative; isolation: isolate; }
.hero-copy::before {
  content: ''; position: absolute; inset: -24px -10px -24px -24px;
  background: url('/assets/janne-keramiek-logo-mark-512.png') no-repeat;
  background-size: 480px; background-position: 90% 40%;
  opacity: 0.05; pointer-events: none; z-index: -1;
}

.hero-kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.hero-kicker::before {
  content: ''; display: inline-block; width: 28px; height: 2px;
  background: var(--brand); border-radius: 2px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500; color: var(--ink); line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero-lead { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.7; max-width: 420px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 0.88rem; color: var(--muted); font-style: italic; }

/* Slider */
.hero-slider {
  position: relative; border: 1px solid rgba(180,120,70,0.22);
  border-radius: var(--r-xl); overflow: hidden; background: var(--paper-sand);
  box-shadow: 0 0 0 6px rgba(200,150,100,0.07), 0 24px 64px rgba(80,35,10,0.14);
}
.hero-slider .slide { display: none; padding: 16px; }
.hero-slider .slide.current { display: block; }
.slide-figure { display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; }
.slide-figure img { width: 100%; height: auto; display: block; }
.slide-caption {
  position: relative; margin: 10px 0 0; padding: 10px 14px; border-radius: var(--r-sm);
  color: var(--ink); background: rgba(255,255,255,0.92);
  border: 1px solid var(--border-light); backdrop-filter: blur(6px);
}
.slide-caption strong { display: block; font-size: 1rem; }
.slide-caption span { display: block; font-size: 0.88rem; color: var(--muted); margin-top: 2px; }

.hero-slider-controls {
  position: absolute; inset: auto 12px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none;
}
.hero-slider-controls button {
  pointer-events: auto; border: 1px solid var(--border);
  background: rgba(245,237,226,0.9); backdrop-filter: blur(6px);
  border-radius: var(--r-sm); padding: 9px 12px; cursor: pointer;
  font-weight: 700; color: var(--ink-soft);
  transition: background 0.18s, color 0.18s, transform 0.15s;
}
.hero-slider-controls button:hover { background: var(--brand); color: white; border-color: var(--brand); transform: scale(1.05); }
.hero-slider-controls .dots { display: flex; gap: 8px; }
.hero-slider-controls .dot {
  width: 10px; height: 10px; border-radius: 999px;
  border: 1px solid rgba(160,100,60,0.35); background: rgba(200,150,100,0.2);
  cursor: pointer; padding: 0; transition: background 0.2s, transform 0.2s;
}
.hero-slider-controls .dot.active { background: var(--brand-deep); border-color: var(--brand-deep); transform: scale(1.3); }

/* ── SECTIONS ────────────────────────────────────────────── */
#shop    { background: var(--paper); }
#about   { background: var(--paper-warm); }
#contact { background: var(--paper); }

.section-title { font-family: var(--font-display); font-size: clamp(1.9rem,3.5vw,2.8rem); font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.section-lead { color: var(--muted); font-size: 0.97rem; margin-bottom: 28px; }

/* ── PRODUCT GRID ────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.product-card {
  border: 1px solid var(--border-light); border-radius: var(--r-lg);
  overflow: hidden; background: #fff; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.28s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 4px 12px rgba(80,35,10,0.06), 0 20px 48px rgba(80,35,10,0.13); }

.product-card .media {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: linear-gradient(180deg, var(--paper-warm), var(--paper-sand));
}
.product-card .media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s; }
.product-card:hover .media img { transform: scale(1.05); }

.product-card .content { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.product-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.product-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--ink); margin: 0; }
.price { font-weight: 700; font-size: 1rem; color: var(--brand-deep); white-space: nowrap; }
.product-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; margin: 0; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
  background: var(--brand-pale); color: var(--brand-deep);
  border: 1px solid rgba(180,110,60,0.22);
}

.stock-label { font-size: 0.78rem; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; color: var(--muted-light); }
.stock-label.in-stock { color: #2E7D32; }
.stock-label.in-stock::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4CAF50; flex-shrink: 0; }
.stock-label.out-of-stock { color: #aaa; font-style: italic; }
.stock-label.out-of-stock::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ddd; flex-shrink: 0; }

/* ── ABOUT ───────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

.about-card { border: 1px solid var(--border-light); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 32px 36px; background: #fff; }
.about-card h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; margin-bottom: 16px; }
.about-card p { font-size: 0.97rem; line-height: 1.75; color: var(--ink-soft); }

.about-list { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.about-list li { padding: 10px 14px; background: var(--brand-pale); border-radius: var(--r-sm); border-left: 3px solid var(--brand); font-size: 0.93rem; color: var(--ink-soft); }
.about-list li strong { color: var(--brand-deep); }

.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

.about-photo {
  border-radius: var(--r-xl); overflow: hidden;
  border: 3px solid rgba(180,120,70,0.18);
  box-shadow: var(--shadow-lg); background: var(--paper-sand);
  transition: transform 0.4s;
}
.about-photo:hover { transform: scale(1.015) rotate(0.3deg); }
.about-photo img { width: 100%; height: auto; display: block; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0 0 28px; }

.contact-tile {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  border-radius: var(--r-md); background: #fff; border: 1px solid var(--border-light);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-card);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.contact-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(80,35,10,0.11); border-color: var(--border); text-decoration: none; color: var(--ink); }

.contact-icon { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--brand-pale); border: 1px solid rgba(180,110,60,0.18); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; color: var(--brand); }
.contact-label { font-size: 0.72rem; color: var(--muted); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.contact-value { font-size: 0.95rem; font-weight: 600; color: var(--ink); }

.contact-form { margin-top: 6px; display: grid; gap: 14px; max-width: 680px; }
.form-row { display: grid; gap: 7px; }
.form-row label { font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.06em; text-transform: uppercase; }

.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--r-md);
  border: 1.5px solid var(--border); background: #fff;
  font-family: var(--font-body); font-size: 0.97rem; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px hsla(18,65%,50%,0.12); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted-light); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .btn-primary { width: 100%; padding: 15px; font-size: 0.97rem; }

.form-status { margin: 6px 0 0; font-size: 0.9rem; font-weight: 600; color: var(--muted); min-height: 1.4em; }
.form-status.ok    { color: #2E7D32; }
.form-status.error { color: #C62828; }

.footer-note { margin-top: 40px; font-size: 0.82rem; color: var(--muted-light); }

/* ── PRODUCT DETAIL ──────────────────────────────────────── */
.product-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; }

.product-img-wrap { border: 1px solid var(--border-light); border-radius: var(--r-xl); background: var(--paper-warm); overflow: hidden; box-shadow: var(--shadow-md); }
.product-img-wrap img { width: 100%; height: auto; display: block; object-fit: contain; }

.product-info-panel { border: 1px solid var(--border-light); border-radius: var(--r-xl); padding: 28px 32px; background: #fff; box-shadow: var(--shadow-card); }
.product-info-panel h1 { font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: 4px; }

.product-info-price { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--brand-deep); margin-bottom: 12px; }

.product-info-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; padding: 5px 14px; border-radius: 50px; background: #E8F5E9; color: #2E7D32; margin-bottom: 20px; }
.product-info-stock.out-of-stock { background: #F5F5F5; color: #9E9E9E; }

.product-info-desc { font-size: 0.97rem; line-height: 1.75; color: var(--ink-soft); margin-bottom: 24px; }

.product-add-form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.product-add-form label { font-size: 0.82rem; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.product-add-form input[type="number"] { width: 80px; padding: 11px 14px; border-radius: var(--r-md); border: 1.5px solid var(--border); font-family: var(--font-body); font-size: 1rem; font-weight: 600; text-align: center; color: var(--ink); background: #fff; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.product-add-form input[type="number"]:focus { border-color: var(--brand); box-shadow: 0 0 0 4px hsla(18,65%,50%,0.12); }

.btn-cart {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #FAF7F3; border: none;
  padding: 13px 28px; border-radius: 50px; font-family: var(--font-body); font-weight: 600; font-size: 0.97rem;
  cursor: pointer; letter-spacing: 0.02em; box-shadow: 0 6px 22px hsla(13,60%,32%,0.26);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cart:hover { transform: translateY(-2px); box-shadow: 0 12px 32px hsla(18,65%,50%,0.33); }
.btn-cart:disabled { background: #ccc; box-shadow: none; cursor: not-allowed; transform: none; }

/* Beheerder-tip: VERBORGEN voor bezoekers */
.admin-tip { display: none !important; }

/* ── WINKELMAND ──────────────────────────────────────────── */
.cart-wrap { max-width: 860px; margin: 40px auto; padding: 0 24px 64px; }
.cart-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.cart-card { border: 1px solid var(--border-light); border-radius: var(--r-xl); padding: 28px 32px; background: #fff; box-shadow: var(--shadow-card); }
.cart-card h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 20px; }
.cart-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.cart-row:last-of-type { border-bottom: 0; }
.cart-qty { width: 80px; padding: 9px 12px; border-radius: var(--r-sm); border: 1.5px solid var(--border); font-family: var(--font-body); font-size: 0.97rem; font-weight: 600; text-align: center; color: var(--ink); outline: none; }
.cart-qty:focus { border-color: var(--brand); box-shadow: 0 0 0 3px hsla(18,65%,50%,0.12); }
.cart-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.cart-total { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--brand-deep); }
.cart-empty-state { text-align: center; padding: 64px 24px; }
.cart-empty-state .empty-icon { font-size: 3rem; opacity: 0.3; margin-bottom: 16px; }
.cart-empty-state p { font-size: 1.05rem; color: var(--muted); margin-bottom: 24px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: #1E1008; padding: 52px 0 28px; position: relative; color: rgba(250,247,243,0.55); }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand-deep), var(--brand), var(--brand-light)); }

.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand .footer-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: rgba(250,247,243,0.92); margin-bottom: 6px; }
.footer-brand .footer-tagline { font-size: 0.84rem; color: rgba(250,247,243,0.38); font-style: italic; margin-bottom: 16px; }
.footer-brand a { display: inline-flex; align-items: center; gap: 7px; font-size: 0.88rem; color: rgba(250,247,243,0.6); text-decoration: none; transition: color 0.18s; }
.footer-brand a:hover { color: var(--brand-light); }

.footer-links { display: flex; gap: 52px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250,247,243,0.3); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col li a, .footer-col li span { font-size: 0.9rem; color: rgba(250,247,243,0.58); text-decoration: none; transition: color 0.18s; }
.footer-col li a:hover { color: var(--brand-light); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 0.8rem; color: rgba(250,247,243,0.28); }
.footer-slogan { font-size: 0.8rem; color: rgba(250,247,243,0.2); font-style: italic; }

/* ── BACK-TO-TOP ─────────────────────────────────────────── */
#back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 9000;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-deep); color: white; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(80,35,10,0.28);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s; pointer-events: none;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#back-to-top:hover { background: var(--brand); transform: translateY(-2px); }

/* ── ANIMATIES ───────────────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.anim-fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.anim-fade-up.in-view { opacity: 1; transform: translateY(0); }

.hero-copy > * { animation: fadeInUp 0.6s ease both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.25s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.35s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.42s; }

/* ── HELPERS ─────────────────────────────────────────────── */
.muted { color: var(--muted); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-split          { grid-template-columns: 1fr; }
  .product-grid        { grid-template-columns: repeat(2, 1fr); }
  .about-grid          { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .footer-inner        { flex-direction: column; gap: 32px; }
  .footer-links        { gap: 32px; }
  .section             { padding: 52px 0; }
}
@media (max-width: 640px) {
  .product-grid  { grid-template-columns: 1fr; }
  .hero--shop    { padding: 44px 0 28px; }
  .hero-ctas     { flex-direction: column; align-items: flex-start; }
  .contact-grid  { grid-template-columns: 1fr; }
  .cart-card     { padding: 20px 18px; }
  .about-card    { padding: 24px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  #back-to-top   { bottom: 20px; right: 16px; }
}

/* ============================================================
   SHOP FILTER UITBREIDINGEN
   ============================================================ */
.shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.shop-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 8px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-group--right {
  margin-left: auto;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--paper-warm);
  color: var(--ink-soft);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.filter-btn:hover {
  background: var(--brand-pale);
  color: var(--brand-deep);
  border-color: var(--border);
  text-decoration: none;
}
.filter-btn.active {
  background: var(--brand-deep);
  color: #FAF7F3;
  border-color: var(--brand-deep);
  box-shadow: 0 3px 12px hsla(13,60%,32%,0.22);
}

.filter-btn--toggle.active {
  background: #E8F5E9;
  color: #2E7D32;
  border-color: #A5D6A7;
}
.filter-btn--toggle.active:hover {
  background: #C8E6C9;
}

.filter-btn--reset {
  background: transparent;
  color: var(--muted-light);
  border-color: transparent;
  font-size: 0.80rem;
  padding: 8px 12px;
}
.filter-btn--reset:hover {
  background: #FFF3F3;
  color: #C62828;
  border-color: #FFCDD2;
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  font-size: 0.70rem;
  font-weight: 700;
  background: rgba(0,0,0,0.08);
  color: inherit;
  line-height: 1;
}
.filter-btn.active .filter-count {
  background: rgba(255,255,255,0.25);
}

/* Uitverkochte product cards */
.product-card--soldout .media {
  position: relative;
}
.product-card--soldout .media img {
  filter: saturate(0.5) brightness(0.95);
}

.soldout-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(30,16,8,0.65);
  color: rgba(250,247,243,0.9);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.product-card .media { position: relative; }

/* Responsive filters */
@media (max-width: 700px) {
  .shop-filter-bar { flex-direction: column; align-items: flex-start; }
  .filter-group--right { margin-left: 0; }
}

/* Header dual-CTA (homepage) */
.header-cta-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Cart badge in header */
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border-radius: 50px;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0 5px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1;
}
