/* BuyThis.nl shared stylesheet — one file for header/nav/footer/buttons/
   cards/badges used on every page, so this stops living as five
   near-identical <style> blocks that drift out of sync. Page-specific
   layout (category hero, product article body, contact form, legal
   text) stays in that page's own <style> block. */

:root{
  /* 2026-09-15 repaint: the original teal/muted-coral pair (still a fine
     editorial palette) read as too quiet for a site whose job is to move
     people toward a purchase. Re-grounded in what actually-high-converting
     NL retail sites use — Coolblue's header is #0090e3 on a white search
     bar, checkmark trust strip right under the nav; blue-for-trust +
     orange-for-action is the standard complementary pair (also bol.com,
     Amazon) for exactly that reason, not an aesthetic accident. */
  --brand: #0072E5;
  --brand-soft: #0058B3;
  --brand-line: rgba(255,255,255,0.18);
  --coral: #FF5A36;
  --coral-dark: #E6431E;
  --bg: #F7F6F2;
  --panel: #EDEAE1;
  --ink: #14181C;
  --ink-soft: #565F5C;
  --line: #E1DED3;
  --white: #FFFFFF;
  --radius: 8px;
  --radius-pill: 999px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto;} *{animation-duration:0.01ms !important; transition-duration:0.01ms !important;}}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Inter', system-ui, sans-serif;font-size:16px;line-height:1.6;}
h1,h2,h3,.disp{font-family:'Inter', system-ui, sans-serif;font-weight:800;letter-spacing:-0.02em;margin:0;}
.mono{font-family:'IBM Plex Mono', monospace;}
a{color:inherit;} img{max-width:100%;display:block;}
:focus-visible{outline:2px solid var(--coral);outline-offset:3px;}

.wrap{max-width:1200px;margin:0 auto;padding:0 28px;}
@media (max-width:480px){ .wrap{padding:0 20px;} }

/* Header/nav/trust-strip -- migrated to DaisyUI (navbar, dropdown, menu,
   badge) in includes/header.php; see architecture.md Sec.5d. .logo/.dot
   kept here since footer.php still uses them independently. */
.logo{display:flex;align-items:center;gap:2px;font-family:'Inter';font-weight:800;font-size:21px;text-decoration:none;color:#fff;flex:none;}
.logo .dot{color:#FFC533;}

/* .btn-legacy -- renamed from the old bare .btn/.btn-primary so it no
   longer collides with DaisyUI's own .btn/.btn-primary classes (unlayered
   CSS here always wins over Tailwind's @layer components regardless of
   source order, so a shared name would have silently broken every real
   DaisyUI button). Still used by contact.php, product.php, footer.php and
   cookie-banner.php, which weren't part of this redesign's scope --
   .btn-ghost/.btn-pill were dropped outright as genuinely dead code
   (nothing in the old markup used them). */
.btn-legacy{
  font-family:'Inter';font-size:14px;font-weight:600;
  padding:13px 22px;text-decoration:none;border-radius:var(--radius);
  display:inline-flex;align-items:center;gap:8px;border:none;cursor:pointer;
}
.btn-legacy-primary{background:var(--coral);color:#fff;}
.btn-legacy-primary:hover{background:var(--coral-dark);}

.eyebrow{
  font-family:'Inter'; font-size:12.5px; font-weight:700; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--coral); margin-bottom:14px;
  display:flex; align-items:center; gap:10px;
}

.crumb{padding:16px 0; font-size:13px; color:var(--ink-soft); border-bottom:1px solid var(--line);}
.crumb a{text-decoration:none;} .crumb a:hover{color:var(--coral);}

.section{padding:64px 0; border-bottom:1px solid var(--line);}
@media (max-width:760px){ .section{padding:44px 0;} }
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:24px; margin-bottom:32px; flex-wrap:wrap;
}
.section-head .eyebrow{margin-bottom:8px;}
.section-head h2{font-size:clamp(22px,2.8vw,30px);}
.section-head p{color:var(--ink-soft); font-size:14px; max-width:40ch; margin-top:6px;}

/* Trust bar */
.trust-bar{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  display:grid; grid-template-columns:repeat(4,1fr); margin-top:-40px; position:relative; z-index:3;
  box-shadow:0 8px 24px rgba(0,114,229,0.08);
}
@media (max-width:820px){ .trust-bar{grid-template-columns:1fr 1fr;} }
@media (max-width:480px){ .trust-bar{grid-template-columns:1fr; margin-top:-24px;} }
.trust-item{padding:22px 20px; display:flex; gap:12px; align-items:flex-start; border-right:1px solid var(--line);}
.trust-item:last-child{border-right:none;}
@media (max-width:820px){ .trust-item:nth-child(2){border-right:none;} .trust-item{border-bottom:1px solid var(--line);} .trust-item:nth-child(3),.trust-item:nth-child(4){border-bottom:none;} }
.trust-item .icon{
  width:36px; height:36px; border-radius:50%; background:rgba(0,114,229,0.08); color:var(--brand);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.trust-item .icon svg{width:18px; height:18px;}
.trust-item h4{font-size:14px; font-weight:700; margin:0 0 3px;}
.trust-item p{font-size:12.5px; color:var(--ink-soft); margin:0; line-height:1.4;}

/* Product cards -- migrated to DaisyUI's card component (see includes/cards.php
   and architecture.md Sec.5d); .card/.card-media/.card-badge/.card-top/.score/
   .meterbar/.card-foot/.card-cta were the old custom implementation, removed
   here since DaisyUI ships its own layered .card/.card-body/.badge/.progress
   styles under the same class names -- keeping both would have silently
   fought (unlayered CSS here always wins over Tailwind's @layer components,
   regardless of source order, so leaving the old rules in would have broken
   the new cards). .grid-cards (layout only, no name collision) and .tag
   (still used standalone by product.php) are kept. */
.grid-cards{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
@media (max-width:960px){.grid-cards{grid-template-columns:repeat(2,1fr);}}
@media (max-width:620px){.grid-cards{grid-template-columns:1fr;}}
.tag{
  font-family:'Inter'; font-size:11px; font-weight:600; text-transform:uppercase;
  letter-spacing:0.05em; color:var(--ink-soft);
  border:1px solid var(--line); padding:4px 9px; border-radius:var(--radius-pill);
}
.price{font-family:'Inter'; font-size:14px; font-weight:700;}
.price small{color:var(--ink-soft); font-weight:400;}

/* Category icon grid */
.cat-row{display:grid; grid-template-columns:repeat(4,1fr); gap:16px;}
@media (max-width:760px){.cat-row{grid-template-columns:repeat(2,1fr);}}
.cat{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  text-decoration:none; color:var(--ink); padding:26px 20px;
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:12px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.cat:hover{border-color:var(--brand); box-shadow:0 8px 20px rgba(0,114,229,0.08);}
.cat .cat-icon{
  width:52px; height:52px; border-radius:50%; background:rgba(0,114,229,0.08); color:var(--brand);
  display:flex; align-items:center; justify-content:center;
}
.cat .cat-icon svg{width:24px; height:24px;}
.cat .name{font-family:'Inter'; font-weight:700; font-size:14.5px;}
.cat .meta{font-family:'Inter'; font-size:12px; color:var(--ink-soft);}
.cat.is-empty{opacity:0.6; cursor:default;}

/* Empty state */
.empty-state{border:1px dashed var(--line); border-radius:var(--radius); padding:48px 32px; text-align:center; color:var(--ink-soft); background:var(--white);}
.empty-state p{margin:0 0 6px; font-size:15px;}
.empty-state .mono{font-size:12.5px;}

/* Footer */
footer{background:var(--brand-soft); color:rgba(255,255,255,0.85); margin-top:0;}
.foot-newsletter{border-bottom:1px solid var(--brand-line); padding:32px 0;}
.foot-newsletter .wrap{display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap;}
.foot-newsletter h3{color:#fff; font-size:19px; margin-bottom:4px;}
.foot-newsletter p{margin:0; font-size:13.5px; color:rgba(255,255,255,0.75); max-width:44ch;}
.newsletter-form{display:flex; gap:0; flex:none;}
.newsletter-form input{
  border:none; background:rgba(255,255,255,0.12); color:#fff; padding:12px 16px;
  border-radius:var(--radius) 0 0 var(--radius); font-family:'Inter'; font-size:14px; width:220px;
}
.newsletter-form input::placeholder{color:rgba(255,255,255,0.55);}
.newsletter-form button{border-radius:0 var(--radius) var(--radius) 0;}
@media (max-width:640px){ .newsletter-form{width:100%;} .newsletter-form input{width:100%;} }

footer .wrap{padding-top:48px; padding-bottom:40px;}
.foot-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px;
  padding-bottom:32px; border-bottom:1px solid var(--brand-line);
}
@media (max-width:760px){.foot-grid{grid-template-columns:1fr 1fr;}}
.foot-col .logo{color:#fff; margin-bottom:12px;}
.foot-col > p{font-size:13.5px; color:rgba(255,255,255,0.7); max-width:32ch;}
.foot-col h5{
  font-family:'Inter'; font-size:12.5px; font-weight:700; text-transform:uppercase;
  letter-spacing:0.05em; color:rgba(255,255,255,0.55); margin-bottom:14px;
}
.foot-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:14px;}
.foot-col a{text-decoration:none; color:rgba(255,255,255,0.85);}
.foot-col a:hover{color:#fff;}
.foot-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:24px; font-size:12.5px; color:rgba(255,255,255,0.6); flex-wrap:wrap; gap:12px;
}
.foot-bottom a{color:rgba(255,255,255,0.6); text-decoration:none;}
.foot-bottom a:hover{color:#fff;}

/* Cookiemelding */
.cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:200;background:var(--ink);padding:18px 0;display:none;box-shadow:0 -6px 20px rgba(0,0,0,.15);}
.cookie-banner.is-visible{display:block;}
.cookie-banner-inner{max-width:1200px;margin:0 auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;}
.cookie-banner p{margin:0;font-size:13.5px;color:#fff;max-width:68ch;}
.cookie-banner a{color:#fff;text-decoration:underline;}
.cookie-banner-actions{display:flex;gap:10px;flex:none;flex-wrap:wrap;}
.cookie-banner .btn-legacy{font-weight:500;font-size:13px;padding:11px 18px;}
.cookie-banner .btn-accept{background:var(--coral);color:#fff;}
.cookie-banner .btn-decline{border:1px solid rgba(255,255,255,.4);color:#fff;background:none;}
.cookie-banner .btn-decline:hover{background:rgba(255,255,255,.12);}
@media (max-width:680px){.cookie-banner-inner{flex-direction:column;align-items:flex-start;}}
