/*
Theme Name: Altena
Theme URI: https://altenahandelsonderneming.nl
Author: Altena Handelsonderneming
Description: Webshop-thema voor Altena Handelsonderneming: truss, podium, rigging en theatertechniek. Licht en strak, met eigen header, hero-carrousel en productrasters.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: altena
Tags: e-commerce, woocommerce, custom-colors, custom-menu, custom-logo, featured-images, translation-ready
*/

:root {
  /* Merkkleuren */
  --navy-900: #01223d;
  --navy: #013059;
  --navy-600: #0a3e6b;
  --accent: #0072f2;
  --accent-hover: #005fd0;
  --accent-soft: #e6f1fe;
  --btn-navy: #0b5dae;
  --btn-navy-hover: #094a8b;
  --search-btn: #155c96;
  --red: #cd1633;
  --red-hover: #b01229;
  --green: #2e9e4f;

  /* Neutralen */
  --ink: #0e1b28;
  --body: #33424f;
  --muted: #5b6b7a;
  --line: #e6eaef;
  --line-strong: #d7dee6;
  --soft: #f4f7fa;
  --topbar: #f2f6f9;
  --white: #fff;

  /* Vorm */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(1, 34, 61, .06);
  --shadow-md: 0 6px 18px rgba(1, 34, 61, .08);
  --shadow-lg: 0 18px 40px rgba(1, 34, 61, .14);
  --container: 1280px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
svg { display: block; }

a { color: inherit; text-decoration: none; }

button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------- knoppen -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(0, 114, 242, .25); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0, 114, 242, .3); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-900); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); }
.btn--lg { padding: 15px 26px; font-size: 15.5px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  transition: gap .18s var(--ease), color .18s;
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 12px; color: var(--accent-hover); }

/* --------------------------------------------------------------- topbar -- */

.topbar {
  background: var(--topbar);
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px solid #e9eff4;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
}
.usps-mini { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.usps-mini li { display: flex; align-items: center; gap: 7px; font-weight: 500; }
.usps-mini svg { width: 15px; height: 15px; color: var(--green); flex: none; }

.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar__links a { color: var(--ink); transition: color .15s; }
.topbar__links a:hover { color: var(--accent); }
.lang {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 20px;
  border-left: 1px solid #d9e1e8;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .02em;
}
.lang svg { width: 14px; height: 14px; color: var(--muted); }
.flag {
  width: 20px; height: 14px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(1, 34, 61, .12);
  flex: none;
}

/* --------------------------------------------------------------- header -- */

.site-header { position: relative; z-index: 40; background: #fff; }

.header-main { border-bottom: 1px solid var(--line); }
.header-main__inner {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 106px;
}

/* logo */
.logo { flex: none; display: block; line-height: 1; }
.logo__word {
  display: block;
  font-size: 39px;
  font-weight: 800;
  letter-spacing: -.038em;
  color: var(--navy);
  line-height: .92;
}
.logo__word .a { position: relative; display: inline-block; }
.logo__word .a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 21%;
  width: 27%;
  height: 33%;
  background: var(--accent);
  transform: translateX(-50%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.logo__sub {
  display: block;
  margin-top: 3px;
  font-size: 12.4px;
  font-weight: 700;
  letter-spacing: .125em;
  color: var(--navy);
}

/* zoeken */
.search {
  flex: 1;
  display: flex;
  max-width: 600px;
  margin-inline: auto;
}
.search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  background: #fff;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.search input::placeholder { color: #8d9aa7; }
.search input:focus {
  outline: none;
  border-color: var(--search-btn);
  box-shadow: inset 0 0 0 1px var(--search-btn);
}
.search button {
  width: 58px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--search-btn);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .18s;
}
.search button:hover { background: #124c7d; }
.search button svg { width: 20px; height: 20px; }

/* acties */
.actions { display: flex; align-items: center; gap: 26px; flex: none; }
.actions a, .actions button { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 14px; }
.actions svg { width: 22px; height: 22px; stroke-width: 1.6; }
.actions .icon-btn { padding: 4px; transition: color .15s; }
.actions .icon-btn:hover { color: var(--accent); }
.account span { font-weight: 500; }

.cart { position: relative; gap: 10px; }
.cart__icon { position: relative; }
.cart__badge {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}
.cart__amount { font-weight: 700; font-size: 14.5px; }

.actions .burger { display: none; }

/* ----------------------------------------------------------------- nav -- */

.mainnav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04);
}
.mainnav.is-stuck { box-shadow: 0 8px 24px rgba(1, 22, 40, .22); }
.mainnav__inner { display: flex; align-items: stretch; }

.nav-list { display: flex; align-items: stretch; flex: 1; }
.nav-list > li { display: flex; }
.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 17px;
  height: 58px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .005em;
  transition: background .15s, color .15s;
}
.nav-list > li > a:hover { background: rgba(255, 255, 255, .08); }
.nav-list > li > a svg { width: 13px; height: 13px; opacity: .75; transition: transform .2s; }
.nav-list > li:hover > a svg { transform: rotate(180deg); }

.deal {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 30px;
  background: var(--red);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  transition: background .18s;
}
.deal:hover { background: var(--red-hover); }
.deal svg { width: 14px; height: 14px; }

/* mobiel menu */
.mobile-nav { display: none; }

/* ---------------------------------------------------------------- hero -- */

.hero { position: relative; isolation: isolate; background: #04101d; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 11, 22, .90) 0%, rgba(2, 11, 22, .74) 30%, rgba(2, 11, 22, .18) 58%, rgba(2, 11, 22, .30) 100%),
    linear-gradient(0deg, rgba(2, 11, 22, .45) 0%, rgba(2, 11, 22, 0) 50%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(380px, 32vw, 470px);
  padding-block: 56px 62px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #2c93ff;
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 16px;
  max-width: 15ch;
  color: #fff;
  font-size: clamp(38px, 4.7vw, 66px);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -.028em;
  text-transform: uppercase;
}
.hero__sub {
  max-width: 46ch;
  margin: 0 0 30px;
  color: #e7eef6;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.5;
}

.hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.hero__dots button {
  width: 8px; height: 8px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  transition: background .2s, width .25s var(--ease);
}
.hero__dots button.is-active { background: #fff; width: 8px; }
.hero__dots button:hover { background: #fff; }

/* ------------------------------------------------------------- usp-balk -- */

.uspbar { background: var(--soft); border-bottom: 1px solid #e9eff4; }
.uspbar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 17px;
}
.usp { display: flex; align-items: center; gap: 14px; }
.usp svg { width: 30px; height: 30px; color: var(--navy); flex: none; stroke-width: 1.4; }
.usp b { display: block; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.35; }
.usp span { color: var(--muted); font-size: 12.8px; }

/* --------------------------------------------------------------- secties -- */

.section { padding-block: 40px 8px; }
.section + .section { padding-top: 34px; }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.section__head h2 {
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -.024em;
}

/* ------------------------------------------------------------ categorie -- */

.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s, box-shadow .22s var(--ease), transform .22s var(--ease);
}
.cat-card:hover {
  border-color: #c8d6e4;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.cat-card__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / .84;
  padding: 2px;
}
.cat-card__thumb img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  transform: scale(1.08);
  transition: transform .35s var(--ease);
}
.cat-card:hover .cat-card__thumb img { transform: scale(1.14); }
.cat-card h3 { padding-right: 18px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.cat-card p { padding-right: 18px; color: var(--muted); font-size: 12.6px; line-height: 1.4; }
.cat-card__chev {
  position: absolute;
  right: 12px;
  bottom: 16px;
  color: var(--accent);
}
.cat-card__chev svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------- product -- */

.prod-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

.prod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s, box-shadow .22s var(--ease), transform .22s var(--ease);
}
.prod-card:hover {
  border-color: #c8d6e4;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.prod-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
}
.prod-card__thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 12px;
  overflow: hidden;
}
.prod-card__thumb img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  transform: scale(1.16);
  transition: transform .35s var(--ease);
}
.prod-card:hover .prod-card__thumb img { transform: scale(1.22); }

.prod-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15.4px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 10px;
  min-height: 4.05em;
}
.prod-card__title a:hover { color: var(--accent); }

.price {
  margin-top: auto;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.price .cur { font-size: 15px; font-weight: 700; margin-right: 1px; }
.price small { font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.prod-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}
.stock { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 12.6px; font-weight: 500; }
.stock svg { width: 14px; height: 14px; }
.stock--out { color: var(--muted); }

.add-btn {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 8px;
  background: var(--btn-navy);
  color: #fff;
  transition: background .18s, transform .18s var(--ease);
}
.add-btn svg { width: 19px; height: 19px; }
.add-btn:hover { background: var(--btn-navy-hover); transform: translateY(-1px); }

/* ------------------------------------------------------------- adviesband -- */

.advice {
  margin-top: 48px;
  border-radius: 16px;
  background: linear-gradient(105deg, var(--navy-900) 0%, var(--navy) 58%, #0a4272 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.advice::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -60px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 114, 242, .45) 0%, rgba(0, 114, 242, 0) 68%);
}
.advice__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 36px;
}
.advice h2 { color: #fff; font-size: clamp(20px, 1.9vw, 26px); font-weight: 800; letter-spacing: -.02em; }
.advice p { margin-top: 6px; color: #cfe0f2; font-size: 14.5px; max-width: 60ch; }

/* ---------------------------------------------------------------- footer -- */

.site-footer { margin-top: 64px; background: var(--navy-900); color: #c9d8e6; font-size: 14px; }
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-block: 52px 44px;
}
.footer-brand .logo__word { color: #fff; }
.footer-brand .logo__sub { color: #9fb8d0; }
.footer-brand p { margin-top: 16px; max-width: 34ch; color: #9fb8d0; font-size: 13.5px; line-height: 1.6; }

.footer-col h3,
.footer-news h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-col li + li { margin-top: 9px; }
.footer-col a { color: #b9cbdd; font-size: 13.8px; transition: color .15s; }
.footer-col a:hover { color: #fff; }

.footer-news p { color: #9fb8d0; font-size: 13.4px; line-height: 1.55; margin-bottom: 14px; }
.news-form { display: flex; }
.news-form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #1c3d5d;
  border-right: 0;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  background: #0a2740;
  color: #fff;
  font-size: 13.5px;
}
.news-form input::placeholder { color: #7d94aa; }
.news-form input:focus { outline: none; border-color: var(--accent); }
.news-form button {
  height: 44px;
  padding: 0 18px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  transition: background .18s;
}
.news-form button:hover { background: var(--accent-hover); }

.footer-contact { margin-top: 18px; display: grid; gap: 6px; font-size: 13.4px; color: #b9cbdd; }
.footer-contact a { color: #fff; font-weight: 600; }

.footer-bottom {
  border-top: 1px solid #12324e;
  padding-block: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12.7px;
  color: #8fa7bd;
}
.pay { display: flex; align-items: center; gap: 8px; }
.pay span {
  display: inline-grid;
  place-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  background: #fff;
  color: #0b2a45;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: #fff; }

/* ------------------------------------------------------------ productpagina -- */

.crumbs { display: flex; align-items: center; gap: 8px; padding-block: 18px; color: var(--muted); font-size: 12.8px; }
.crumbs a:hover { color: var(--accent); }
.crumbs svg { width: 12px; height: 12px; opacity: .6; }

.pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; padding-bottom: 8px; }

.gallery__main {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / .92;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 24px;
}
.gallery__main img { height: 100%; width: 100%; object-fit: contain;  }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 12px; }
.gallery__thumbs button {
  width: 78px; height: 78px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  transition: border-color .15s;
}
.gallery__thumbs button:hover, .gallery__thumbs button.is-active { border-color: var(--accent); }
.gallery__thumbs img { max-height: 100%; object-fit: contain;  }

.pdp__title { font-size: clamp(24px, 2.3vw, 32px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.pdp__meta { display: flex; align-items: center; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.pdp__meta .sku { color: var(--ink); font-weight: 600; }
.rating { display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; }
.rating svg { width: 15px; height: 15px; color: #f5a623; }

.pdp__price { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.pdp__price .price { font-size: 34px; margin: 0; }
.pdp__price .vat { color: var(--muted); font-size: 12.8px; }

.pdp__desc { margin-top: 16px; color: var(--body); font-size: 14.6px; line-height: 1.65; max-width: 58ch; }
.pdp__desc ul { margin-top: 10px; display: grid; gap: 6px; }
.pdp__desc li { position: relative; padding-left: 18px; font-size: 14.2px; }
.pdp__desc li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.pdp__buy {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.qty { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; height: 50px; overflow: hidden; }
.qty button { width: 40px; height: 100%; color: var(--ink); font-size: 17px; display: grid; place-items: center; transition: background .15s; }
.qty button:hover { background: var(--soft); }
.qty input {
  width: 46px;
  height: 100%;
  border: 0;
  border-inline: 1px solid var(--line);
  text-align: center;
  font-weight: 600;
  font-size: 14.5px;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp__buy .btn { flex: 1; height: 50px; }

.pdp__assure { display: grid; gap: 10px; margin-top: 22px; }
.pdp__assure li { display: flex; align-items: center; gap: 10px; font-size: 13.4px; color: var(--body); }
.pdp__assure svg { width: 17px; height: 17px; color: var(--green); flex: none; }

/* tabs */
.tabs { margin-top: 48px; border-top: 1px solid var(--line); }
.tabs__nav { display: flex; gap: 30px; }
.tabs__nav button {
  position: relative;
  padding: 18px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color .15s;
}
.tabs__nav button[aria-selected="true"] { color: var(--ink); }
.tabs__nav button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
}
.tabs__panel { padding-block: 24px 8px; max-width: 78ch; font-size: 14.6px; line-height: 1.7; color: var(--body); }
.tabs__panel[hidden] { display: none; }
.tabs__panel h3 { margin-bottom: 8px; font-size: 16px; }
.tabs__panel p + p { margin-top: 12px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { width: 40%; color: var(--muted); font-weight: 500; }
.spec-table td { color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------- responsief -- */

@media (max-width: 1180px) {
  .nav-list > li > a { padding: 0 12px; font-size: 13.6px; }
  .cat-grid, .prod-grid { grid-template-columns: repeat(4, 1fr); }
  .header-main__inner { gap: 24px; }
  .logo__word { font-size: 30px; }
  .pdp { gap: 36px; }
}

@media (max-width: 980px) {
  .topbar__links { display: none; }
  .usps-mini { gap: 18px; }
  .header-main__inner { flex-wrap: wrap; gap: 16px; padding-block: 16px; min-height: 0; }
  .search { order: 3; max-width: none; flex-basis: 100%; margin: 0; }
  .actions { margin-left: auto; gap: 18px; }
  .account span { display: none; }
  .cat-grid, .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .uspbar__inner { grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
  .advice__inner { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 860px) {
  .actions .burger {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    margin-right: -6px;
    border-radius: 8px;
    color: var(--navy);
  }
  .burger:hover { background: var(--soft); }
  .burger svg { width: 24px; height: 24px; }

  .mainnav { display: none; }

  .mobile-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(86vw, 360px);
    background: #fff;
    z-index: 90;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(-102%);
    transition: transform .3s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .mobile-nav.is-open { transform: none; display: block; }
  .mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
  .mobile-nav__head h2 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .mobile-nav__close { padding: 8px; color: var(--ink); }
  .mobile-nav ul a { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
  .mobile-nav .deal { display: flex; justify-content: center; margin-top: 16px; border-radius: 8px; height: 46px; }

  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(1, 22, 40, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
  }
  .nav-scrim.is-open { opacity: 1; pointer-events: auto; }
}

@media (max-width: 760px) {
  .container { padding-inline: 18px; }
  .topbar { display: none; }
  .hero__inner { min-height: 340px; padding-block: 40px 52px; }
  .hero h1 { max-width: none; font-size: clamp(26px, 8.3vw, 34px); }
  .hero__sub { font-size: 15px; }
  .eyebrow { font-size: 13.5px; }
  .section { padding-block: 32px 4px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card, .prod-card { padding: 12px; }
  .prod-card__title { font-size: 14.2px; }
  .price { font-size: 17.5px; }
  .add-btn { width: 36px; height: 36px; }
  .advice__inner { padding: 24px; }
  .usp b { font-size: 13.6px; }
  .usp span { font-size: 12px; }
  .usp svg { width: 26px; height: 26px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pdp__buy { flex-wrap: wrap; }
  .pdp__buy .btn { flex-basis: 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* -------------------------------------------------- productpagina extra -- */

.pdp__brand {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12.4px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pdp__stock { margin-top: 18px; }
.pdp__stock .stock { font-size: 13.6px; }

/* ==========================================================================
   WordPress-basis
   ========================================================================== */

.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 !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
  clip: auto !important;
  clip-path: none;
  color: var(--navy);
  display: block;
  font-size: .875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

img.alignleft, .alignleft { float: left; margin: 0 1.5rem 1rem 0; }
img.alignright, .alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* content */
.content-area { padding-block: 32px 8px; }
.content-area--narrow { max-width: 820px; }
.page-head { margin-bottom: 22px; }
.page-title { font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.025em; }
.archive-description { margin-top: 8px; color: var(--muted); max-width: 70ch; }

.entry-content { font-size: 15.5px; line-height: 1.75; color: var(--body); }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 24px; margin-top: 1.8em; }
.entry-content h3 { font-size: 19px; margin-top: 1.5em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .35em; }
.entry-content blockquote {
  margin: 1.5em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  color: var(--ink);
  font-size: 17px;
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content img { height: auto; border-radius: 8px; }

.post-list { display: grid; gap: 22px; }
.post-item {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.post-item:last-child { border-bottom: 0; }
.post-item__thumb img { width: 100%; border-radius: var(--r-md); }
.post-item__meta { font-size: 12.6px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.post-item__title { font-size: 21px; margin: 4px 0 8px; }
.post-item__title a:hover { color: var(--accent); }
.post-item__excerpt { color: var(--body); font-size: 14.5px; margin-bottom: 10px; }
.post-hero { margin: 0 0 24px; }
.post-hero img { border-radius: var(--r-lg); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.entry-footer { margin-top: 24px; font-size: 13px; color: var(--muted); }

.notfound { text-align: center; padding-block: 60px 40px; }
.notfound__code { font-size: 64px; font-weight: 800; color: var(--line-strong); letter-spacing: -.04em; line-height: 1; }
.notfound .btn { margin-top: 18px; }
.notfound form { margin: 18px auto 0; max-width: 420px; }

/* paginering */
.pagination, .woocommerce-pagination { margin-top: 32px; }
.pagination .nav-links, .woocommerce-pagination ul.page-numbers {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; list-style: none;
}
.pagination .page-numbers, .woocommerce-pagination .page-numbers {
  display: grid; place-items: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink); background: #fff;
}
.pagination .page-numbers.current, .woocommerce-pagination .page-numbers.current {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.pagination .page-numbers:hover, .woocommerce-pagination .page-numbers:hover { border-color: var(--navy); }

/* ==========================================================================
   Header: menu-uitvoer van WordPress
   ========================================================================== */

.topbar-menu { display: flex; align-items: center; gap: 22px; }
.topbar-menu li { list-style: none; }
.topbar-menu a { color: var(--ink); }
.topbar-menu a:hover { color: var(--accent); }

.nav-list { display: flex; align-items: stretch; flex: 1; gap: 30px; list-style: none; margin: 0; padding: 0; }
.mainnav .deal { margin-left: auto; }
.nav-list > li { display: flex; position: relative; }
.nav-list > li > a { padding: 0 10px; }

/* chevron bij items met submenu */
.nav-list > li.menu-item-has-children > a::after {
  content: "";
  width: 10px; height: 10px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .7;
  transition: transform .25s var(--ease);
}
.nav-list > li.menu-item-has-children:hover > a::after { transform: rotate(225deg) translateY(-2px); }

/* dropdowns */
.nav-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  z-index: 70;
}
.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-list .sub-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.nav-list .sub-menu a:hover { background: var(--soft); color: var(--accent); }

.mobile-nav__list { list-style: none; margin: 0 0 8px; padding: 0; }
.mobile-nav__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-weight: 600; color: var(--ink);
}
.mobile-nav__list--secondary a { font-weight: 500; font-size: 14px; color: var(--body); }

/* ==========================================================================
   WooCommerce
   ========================================================================== */

.woocommerce .site-main, .woocommerce-page .site-main { padding-bottom: 8px; }

/* raster */
ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.products.columns-6, ul.products.altena-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* WooCommerce zet breedte en float op de kaarten; dat vechten we hier weg. */
html body.woocommerce ul.products li.product,
html body.woocommerce-page ul.products li.product {
  margin: 0;
  width: 100%;
  float: none;
  clear: none;
}
html body.woocommerce ul.products li.product img,
html body.woocommerce-page ul.products li.product img { width: 100%; height: auto; }

/* prijzen die WooCommerce zelf uitprint (archief, detail, winkelwagen) */
.woocommerce-Price-amount { font-weight: 800; color: var(--navy); }
.price del { color: var(--muted); font-weight: 400; font-size: .8em; margin-right: 6px; }
.price ins { text-decoration: none; }

/* sterren */
.star-rating {
  display: inline-block;
  overflow: hidden;
  position: relative;
  height: 1em;
  line-height: 1;
  width: 5.4em;
  font-family: star, sans-serif;
  color: #f5a623;
}
.star-rating::before { content: "sssss"; opacity: .25; position: absolute; top: 0; left: 0; }
.star-rating span { overflow: hidden; float: left; top: 0; left: 0; position: absolute; padding-top: 1.5em; }
.star-rating span::before { content: "SSSSS"; top: 0; position: absolute; left: 0; }

/* notities */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 0 0 20px; padding: 14px 18px;
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--r-md); background: var(--soft);
  color: var(--ink); font-size: 14px; list-style: none;
}
.woocommerce-error { border-left-color: var(--red); }
.woocommerce-message { border-left-color: var(--green); }
.woocommerce-message .button, .woocommerce-info .button { margin-left: auto; }

/* archiefkop */
.woocommerce-products-header__title { font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 6px; }
.woocommerce-result-count { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.woocommerce-ordering select {
  height: 42px; padding: 0 34px 0 14px;
  border: 1px solid var(--line-strong); border-radius: 8px; background: #fff;
  font-size: 13.5px; color: var(--ink);
}

.crumbs { display: flex; align-items: center; gap: 8px; padding-block: 18px; color: var(--muted); font-size: 12.8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs__sep svg { width: 12px; height: 12px; opacity: .5; }

/* detailpagina */
.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.single-product div.product .woocommerce-product-gallery { width: 100%; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image img {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
}
.single-product div.product .flex-control-thumbs { display: flex; gap: 12px; margin-top: 12px; }
.single-product div.product .flex-control-thumbs li { width: 78px; margin: 0; }
.single-product div.product .flex-control-thumbs img {
  border: 1px solid var(--line); border-radius: 8px; padding: 8px; opacity: 1; background: #fff;
}
.single-product div.product .flex-control-thumbs img.flex-active { border-color: var(--accent); }

.single-product div.summary { float: none; width: 100%; margin: 0; }
.single-product .product_title { font-size: clamp(24px, 2.3vw, 32px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.single-product .summary .price {
  font-size: 32px; font-weight: 800; color: var(--navy);
  margin: 18px 0 14px; letter-spacing: -.02em;
}
.single-product .summary .price .woocommerce-Price-currencySymbol { font-size: .6em; vertical-align: .18em; margin-right: 2px; }
.single-product .summary .price small,
.single-product .summary .woocommerce-price-suffix { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.single-product .woocommerce-product-details__short-description { font-size: 14.8px; line-height: 1.65; color: var(--body); }
.single-product .woocommerce-product-details__short-description ul { padding-left: 1.1em; list-style: disc; }
.single-product .product_meta { margin-top: 18px; font-size: 12.8px; color: var(--muted); }

.single-product .stock { margin: 14px 0; font-size: 13.6px; }
.single-product .stock.in-stock { color: var(--green); }
.single-product .stock.out-of-stock { color: var(--red); }

.single-product form.cart {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 22px 0 0; padding-top: 22px; border-top: 1px solid var(--line);
}
.single-product form.cart .quantity {
  display: flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: 8px; height: 50px; overflow: hidden;
}
.single-product form.cart .quantity input.qty {
  width: 52px; height: 100%; border: 0; text-align: center; font-weight: 600;
  -moz-appearance: textfield;
}
.single-product form.cart .quantity input.qty::-webkit-outer-spin-button,
.single-product form.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button,
.single-product .single_add_to_cart_button.button.alt {
  flex: 1; height: 50px;
  background: var(--accent); color: #fff; border-radius: 8px;
  font-size: 15px; font-weight: 600; border: 0;
}
.single-product .single_add_to_cart_button:hover { background: var(--accent-hover); }

.single-product .variations { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.single-product .variations th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 6px 0; }
.single-product .variations td { padding: 6px 0; }
.single-product .variations select { height: 42px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 12px; background: #fff; }

.woocommerce-tabs { margin-top: 46px; border-top: 1px solid var(--line); }
.woocommerce-tabs ul.tabs {
  display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; border: 0;
}
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce-tabs ul.tabs li {
  margin: 0; padding: 0; border: 0; background: none; border-radius: 0;
}
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce-tabs ul.tabs li a {
  display: block; padding: 18px 0; font-size: 14.5px; font-weight: 600;
  color: var(--muted); border-bottom: 2px solid transparent;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--accent); }
.woocommerce-tabs .panel { margin: 0; padding: 24px 0 8px; max-width: 78ch; font-size: 14.6px; line-height: 1.7; }
.woocommerce-tabs .panel h2 { font-size: 16px; margin-bottom: 8px; }

.related.products, .upsells.products { margin-top: 48px; }
.related.products > h2, .upsells.products > h2 { font-size: clamp(22px, 2.1vw, 28px); font-weight: 800; margin-bottom: 18px; }

/* winkelwagen en afrekenen */
.woocommerce table.shop_table {
  border: 1px solid var(--line); border-radius: var(--r-md); border-collapse: separate; border-spacing: 0;
  font-size: 14px;
}
.woocommerce table.shop_table th {
  background: var(--soft); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); font-weight: 700; padding: 12px 14px;
}
.woocommerce table.shop_table td { padding: 14px; border-top: 1px solid var(--line); }
.woocommerce table.shop_table img { width: 64px; border-radius: 6px; }
.woocommerce .cart_totals h2, .woocommerce #order_review_heading { font-size: 20px; margin-bottom: 14px; }
.woocommerce .cart_totals table.shop_table { border: 1px solid var(--line); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .wc-block-components-button {
  background: var(--accent); color: #fff; border-radius: 8px; padding: 12px 20px;
  font-size: 14.5px; font-weight: 600; border: 0; line-height: 1.2;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--accent-hover); color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--navy); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--navy-900); }
.woocommerce .coupon .input-text { height: 44px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 12px; }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  height: 46px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 14px;
  background: #fff; font-size: 14px;
}
.woocommerce form .form-row textarea { height: auto; padding: 12px 14px; }
.woocommerce form .form-row label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.woocommerce form .form-row .required { color: var(--red); }

.woocommerce-info, .woocommerce form.login, .woocommerce form.register {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; background: #fff;
}

/* account */
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 240px; float: left; margin-right: 32px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block; padding: 11px 14px; border-radius: 8px; font-size: 14px; color: var(--ink);
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--soft); color: var(--accent); }
.woocommerce-account .woocommerce-MyAccount-content { float: right; width: calc(100% - 272px); }

/* ==========================================================================
   Responsief voor de winkel
   ========================================================================== */

@media (max-width: 1180px) {
  ul.products, ul.products.columns-6, ul.products.altena-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .single-product div.product { gap: 36px; }
}

@media (max-width: 980px) {
  ul.products, ul.products.columns-6, ul.products.altena-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; margin: 0 0 24px; }
  .post-item { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  ul.products, ul.products.columns-6, ul.products.altena-grid,
  ul.products.columns-4, ul.products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .woocommerce-tabs ul.tabs { gap: 20px; overflow-x: auto; }
  .single-product .summary .price { font-size: 26px; }
}

/* ==========================================================================
   Correcties op de standaard WooCommerce-opmaak
   ========================================================================== */

/* clearfix-pseudo's worden anders rastercellen */
ul.products::before, ul.products::after { content: none; display: none; }

/* prijskleur van WooCommerce overrulen */
html body.woocommerce ul.products li.product .price,
html body.woocommerce-page ul.products li.product .price { color: var(--navy); }
html body.woocommerce ul.products li.product .price .woocommerce-Price-amount,
html body.woocommerce-page ul.products li.product .price .woocommerce-Price-amount { color: inherit; }

/* resultaatentelling en sortering netjes naast elkaar */
.woocommerce-result-count { float: left; margin: 14px 0 0; }
.woocommerce-ordering { float: right; margin: 0 0 16px; }
ul.products { clear: both; }

/* paginering van WooCommerce staat al in een ul */
.woocommerce nav.woocommerce-pagination { margin-top: 32px; }

/* WooCommerce-clearfix wegwerken (specificiteit van het thema moet hoger zijn) */
html body.woocommerce ul.products::before,
html body.woocommerce ul.products::after,
html body.woocommerce-page ul.products::before,
html body.woocommerce-page ul.products::after { content: none; display: none; }

/* prijs in de kaart op maat van het ontwerp */
html body.woocommerce ul.products li.product .price,
html body.woocommerce-page ul.products li.product .price {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--navy);
}

/* ==========================================================================
   Detailpagina: tabbladen en gerelateerde producten over de volle breedte
   ========================================================================== */

html body.single-product div.product .woocommerce-tabs,
html body.single-product div.product .related,
html body.single-product div.product .upsells {
  grid-column: 1 / -1;
  width: 100%;
}

/* voorraadtekst en prijs van WooCommerce overschrijven */
html body.woocommerce div.product p.price,
html body.woocommerce div.product span.price {
  color: var(--navy);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.02em;
}
html body.woocommerce div.product .stock.in-stock { color: var(--green); }
html body.woocommerce div.product .stock.out-of-stock { color: var(--red); }

/* tabbladen zonder kaders */
html body.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0;
  border: 0;
  display: flex;
  gap: 30px;
  overflow: visible;
}
html body.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
}
html body.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
html body.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; border: 0; box-shadow: none; }
html body.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 18px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
html body.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--accent); }
html body.woocommerce div.product .woocommerce-tabs .panel { margin: 0; padding: 24px 0 8px; }

/* gerelateerde producten: eigen raster */
html body.woocommerce div.product .related > h2,
html body.woocommerce div.product .upsells > h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 48px 0 18px; }
html body.woocommerce div.product .related ul.products,
html body.woocommerce div.product .upsells ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* valutasymbool netjes op de regel */
html body .woocommerce-Price-currencySymbol {
  font-size: .62em;
  font-weight: 700;
  vertical-align: .14em;
  margin-right: .08em;
}

/* ==========================================================================
   WooCommerce-blokken (winkelwagen, afrekenen, productrasters)
   ========================================================================== */

.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { padding-block: 8px 40px; }

/* knoppen in blokken */
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover { background: var(--accent-hover); color: #fff; }

.wc-block-components-notice-banner { border-radius: var(--r-md); font-size: 14px; }

/* productraster in blokken (lege winkelwagen, "nieuw in de winkel") */
.wc-block-grid__products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wc-block-grid__product {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
  background: #fff;
  margin: 0;
  text-align: left;
}
.wc-block-grid__product-image { margin-bottom: 12px; overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; }
.wc-block-grid__product-image img { max-height: 100%; width: auto; object-fit: contain;  }
.wc-block-grid__product-title { font-size: 15.4px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.wc-block-grid__product-title a { color: inherit; }
.wc-block-grid__product-price { margin-top: 8px; font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.wc-block-grid__product-add-to-cart { margin-top: auto; padding-top: 10px; }
.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wc-block-grid__product-add-to-cart .add_to_cart_button {
  background: var(--btn-navy);
  color: #fff;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 16px;
  text-decoration: none;
  display: inline-block;
}
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover { background: var(--btn-navy-hover); }

/* winkelwagen en afrekenen: tekst en velden */
.wc-block-cart__main, .wc-block-components-sidebar { font-size: 14.5px; }
.wc-block-cart-items__header { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.wc-block-cart-item__product { font-weight: 600; }
.wc-block-components-totals-item__label { color: var(--muted); }

@media (max-width: 980px) {
  .wc-block-grid__products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* blokraster: WooCommerce zet breedtes per kaart, dat overschrijven we */
.wc-block-grid .wc-block-grid__products {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  display: grid !important;
  gap: 16px !important;
}
.wc-block-grid .wc-block-grid__product {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
}

/* knoppen in blokken (o.a. "Verder winkelen" bij lege winkelwagen) */
.wp-block-button__link {
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 20px;
  text-decoration: none;
  display: inline-block;
}
.wp-block-button__link:hover { background: var(--accent-hover); color: #fff; }

@media (max-width: 980px) {
  .wc-block-grid .wc-block-grid__products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* knoppen uit de blok-editor: WP-global-styles winnen anders van het thema */
html body .wp-block-button__link.wp-element-button,
html body .wp-element-button.wp-block-button__link {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  padding: 12px 20px !important;
  text-decoration: none !important;
}
html body .wp-block-button__link.wp-element-button:hover { background: var(--accent-hover) !important; }

/* winkelwagen- en afrekenblokken de volle breedte geven */
html body .wp-block-woocommerce-cart,
html body .wp-block-woocommerce-checkout { max-width: none !important; }

/* ==========================================================================
   Kaartopmaak met voorrang boven de WooCommerce-regels
   ========================================================================== */

html body.woocommerce ul.products li.product.prod-card,
html body.woocommerce-page ul.products li.product.prod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  float: none;
  clear: none;
  margin: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
html body.woocommerce ul.products li.product.prod-card:hover,
html body.woocommerce-page ul.products li.product.prod-card:hover {
  border-color: #c8d6e4;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
html body.woocommerce ul.products li.product.prod-card .prod-card__title,
html body.woocommerce-page ul.products li.product.prod-card .prod-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15.4px;
  line-height: 1.35;
  margin: 0 0 10px;
  min-height: 4.05em;
}
html body.woocommerce ul.products li.product.prod-card .prod-card__thumb,
html body.woocommerce-page ul.products li.product.prod-card .prod-card__thumb {
  margin-bottom: 12px;
}

@media (max-width: 760px) {
  html body.woocommerce ul.products li.product.prod-card,
  html body.woocommerce-page ul.products li.product.prod-card { padding: 12px; }
}

@media (max-width: 760px) {
  .woocommerce-result-count { float: none; margin: 0 0 10px; }
  .woocommerce-ordering { float: none; margin: 0 0 16px; width: 100%; }
  .woocommerce-ordering select { width: 100%; }
}

.crumbs__sep { color: #b9c4cf; margin: 0 2px; font-size: 15px; line-height: 1; }

/* navigatie: labels op één regel */
.nav-list > li > a { white-space: nowrap; }
@media (max-width: 1280px) {
  .nav-list { gap: 16px; }
  .nav-list > li > a { font-size: 13.6px; padding: 0 6px; }
}

/* categorie zonder afbeelding */
.cat-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: var(--soft);
  color: #b6c4d2;
  font-size: 40px;
  font-weight: 800;
}

/* categoriekaart: neutraal vlak terwijl de afbeelding laadt */
.cat-card__thumb { background: var(--soft); border-radius: 8px; }

/* navigatie: iets compacter zodat alle items naast elkaar passen */
.nav-list { gap: 22px; }
@media (max-width: 1400px) {
  .nav-list { gap: 14px; }
  .nav-list > li > a { font-size: 13.4px; padding: 0 4px; }
}

/* echt logo in de header en footer */
.logo--image { display: block; }
.logo--image .custom-logo-link { display: block; }
.logo--image img,
.custom-logo-link .custom-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 74px;
  height: auto;
}
.logo--footer { display: block; }
.footer-logo {
  display: block;
  width: auto;
  max-height: 54px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .96;
}
@media (max-width: 980px) {
  .logo--image img, .custom-logo-link .custom-logo { max-height: 48px; }
}

/* ==========================================================================
   Contactpagina
   ========================================================================== */

.contact-intro { max-width: 62ch; margin-bottom: 28px; }
.contact-intro p { margin-top: 10px; font-size: 15.5px; color: var(--body); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 8px;
}

.contact-form-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.contact-aside { display: grid; gap: 16px; }
.contact-card {
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.contact-card h2 { font-size: 17px; margin-bottom: 14px; }
.contact-card p { font-size: 14px; color: var(--body); margin-bottom: 16px; }
.contact-card--dark {
  background: linear-gradient(150deg, var(--navy-900), var(--navy) 70%);
  border-color: transparent;
  color: #cfe0f2;
}
.contact-card--dark h2 { color: #fff; }
.contact-card--dark p { color: #b9cde0; }

.contact-list { display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.contact-list b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 3px; }
.contact-list a { color: var(--ink); font-weight: 600; }
.contact-list a:hover { color: var(--accent); }
.contact-list__ico {
  display: grid; place-items: center;
  width: 34px; height: 34px; flex: none;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
}
.contact-list__ico svg { width: 17px; height: 17px; }

/* Contact Form 7 in de huisstijl */
.wpcf7-form p { margin: 0 0 16px; }
.wpcf7-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.wpcf7-form textarea { min-height: 140px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 114, 242, .14);
}
.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
  width: auto;
  min-height: 0;
  padding: 14px 26px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, transform .18s;
}
.wpcf7-form input[type="submit"]:hover { background: var(--accent-hover); transform: translateY(-1px); }
.wpcf7-form .wpcf7-acceptance { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; color: var(--body); }
.wpcf7-form .wpcf7-acceptance input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7-form .wpcf7-list-item-label { font-weight: 400; }

/* twee velden naast elkaar */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row p { margin-bottom: 16px; }

.wpcf7 form .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-size: 14px;
  color: var(--ink);
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #bfe6cb; background: #eefaf1; color: #1f6b36; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: #f0c2ca; background: #fdf0f2; color: #a11228; }
.wpcf7-not-valid-tip { color: var(--red); font-size: 12.5px; margin-top: 4px; }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* contactformulier (eigen formulier, zonder plugin) */
.contact-form p { margin: 0 0 16px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.contact-form label span[aria-hidden] { color: var(--accent); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 114, 242, .14);
}
.contact-form__privacy label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 13px;
  color: var(--body);
  line-height: 1.5;
}
.contact-form__privacy input[type="checkbox"] {
  width: 18px; height: 18px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--accent);
}
.contact-form__submit { margin-top: 22px; margin-bottom: 0; }
.contact-form__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-notice {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
}
.form-notice--ok { border-color: #bfe6cb; background: #eefaf1; color: #1f6b36; }
.form-notice--err { border-color: #f0c2ca; background: #fdf0f2; color: #a11228; }

/* contactpagina: breder dan een gewone pagina */
.contact-page .content-area--narrow { max-width: none; }
.contact-page .entry-content { font-size: 15px; }

/* knoppen binnen paginacontent */
.entry-content a.btn,
.entry-content a.btn:hover { color: #fff; text-decoration: none; }
.entry-content a.btn--ghost { color: var(--ink); }
