/* ==========================================================
   Studio Margriet — LAYER 3: components
   Buttons, header, hero, USPs, cards, story, reviews, footer.
   ========================================================== */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px;
  padding: 12px 28px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn--primary { background: var(--sage); color: var(--white); }
.btn--primary:hover { background: var(--sage-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--sage); border-color: var(--sage); }
.btn--ghost:hover { background: var(--sage); color: var(--white); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.link-arrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sage);
  border-bottom: 1.5px solid var(--sage);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease);
}
.link-arrow:hover { color: var(--sage-deep); }

/* ---------- Topbar ---------- */
.topbar { background: var(--sage); color: var(--white); font-size: 12.5px; }
.topbar__inner { padding: 9px 28px; text-align: center; letter-spacing: 0.02em; }
.topbar__msg .hand { color: var(--sage-pale); }

/* ---------- Header (utility row + nav row) ---------- */
.header {
  background: var(--cream);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px 28px;
}
.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1;
  display: inline-block;
}
.logo em { font-style: italic; color: var(--sage); }
.logo img { max-height: 44px; width: auto; }

/* Inline search (desktop) */
.header-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 11px 18px;
  max-width: 520px; width: 100%;
  justify-self: center;
  color: var(--ink-mute);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.header-search:focus-within { border-color: var(--sage); background: var(--white); }
.header-search__icon { display: inline-grid; place-items: center; color: var(--sage); flex-shrink: 0; }
.header-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: 0;
  font-family: var(--font); font-size: 14px; color: var(--ink);
}
.header-search input::placeholder { color: var(--ink-mute); }
.header-search__hint {
  flex-shrink: 0; font-size: 11px; letter-spacing: 0.04em; color: var(--ink-mute);
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; background: var(--white);
}

/* Actions (desktop) */
.header__actions { display: flex; align-items: center; gap: 18px; justify-self: end; }
.header-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink);
  transition: color 0.2s var(--ease);
}
.header-link:hover { color: var(--sage); }
.header-cart {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sage); color: var(--white);
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.header-cart:hover { background: var(--sage-deep); transform: translateY(-1px); }
.header-cart .cart-count {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--white); color: var(--sage);
  font-size: 11px; font-weight: 700; line-height: 1;
}
.header-cart .cart-count.is-empty { opacity: 0.55; }

/* ---------- Nav row ---------- */
.nav-bar { background: var(--cream); border-bottom: 1px solid var(--line); position: relative; z-index: 49; }
.nav-bar .container { display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 13px 0; }
.nav__list > li { position: relative; }
.nav-bar a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink);
  padding: 6px 0; position: relative; display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s var(--ease);
}
.nav-bar a:hover { color: var(--sage); }
.nav__list > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--sage);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.25s var(--ease);
}
.nav__list > li > a:hover::after,
.nav__list > li.current-menu-item > a::after { transform: scaleX(1); }
.nav__list > li.current-menu-item > a { color: var(--sage); }

/* Parent caret */
.nav__list > li.menu-item-has-children > a { padding-right: 16px; }
.nav__list > li.menu-item-has-children > a::before {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 6px; height: 6px; margin-top: -4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform 0.2s var(--ease); pointer-events: none;
}
.nav__list > li.menu-item-has-children:hover > a::before { transform: rotate(-135deg); margin-top: -1px; }

/* Dropdown */
.nav-bar .sub-menu {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px -20px rgba(45,59,55,0.35);
  display: block;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 60;
}
.nav__list > li:hover > .sub-menu,
.nav__list > li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-bar .sub-menu li { display: block; }
.nav-bar .sub-menu a { display: block; white-space: nowrap; padding: 8px 18px; font-size: 13px; letter-spacing: 0.02em; }
.nav-bar .sub-menu a::after { display: none; }
.nav-bar .sub-menu a:hover { background: var(--sage-pale); color: var(--sage); }

/* ---------- Mobile burger + icon bar ---------- */
.sm-burger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  color: var(--ink); border-radius: 50%;
  transition: background 0.15s var(--ease);
}
.sm-burger span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.sm-burger:hover { background: var(--sage-pale); }
.sm-mh-actions { display: none; align-items: center; gap: 2px; justify-self: end; }
.sm-mh-iconbtn {
  position: relative;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); border-radius: 50%;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.sm-mh-iconbtn:hover { background: var(--sage-pale); color: var(--sage); }
.sm-mh-iconbtn .cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--sage); color: var(--white);
  font-size: 10px; font-weight: 700; line-height: 1; text-align: center;
  border-radius: 999px; border: 1.5px solid var(--cream);
  display: grid; place-items: center; pointer-events: none;
}
.sm-mh-iconbtn .cart-count.is-empty { display: none; }

@media (max-width: 980px) {
  .header__inner { gap: 12px; padding: 12px 28px; }
  .logo { justify-self: center; }
  .header-search, .header__actions, .nav-bar { display: none !important; }
  .sm-burger { display: flex; }
  .sm-mh-actions { display: inline-flex; }
}

/* ---------- Mobile drawer (slides from left) ---------- */
.sm-drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 110; width: min(86vw, 360px);
  background: var(--cream); color: var(--ink);
  transform: translateX(-105%);
  transition: transform 0.32s var(--ease);
  display: flex; flex-direction: column; overflow: hidden;
}
.sm-drawer.is-open { transform: translateX(0); box-shadow: 24px 0 60px -20px rgba(45,59,55,0.35); }
.sm-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; background: var(--sage); color: var(--white);
}
.sm-drawer__eyebrow { font-family: var(--font); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-pale); }
.sm-drawer__close { width: 38px; height: 38px; display: inline-grid; place-items: center; color: var(--white); font-size: 26px; line-height: 1; border-radius: 50%; }
.sm-drawer__close:hover { background: rgba(255,255,255,0.12); }
.sm-drawer__body { flex: 1; overflow-y: auto; padding: 6px 0; }
.sm-drawer__body ul { list-style: none; margin: 0; padding: 0; }
.sm-drawer__body li { display: block; }
.sm-drawer__body a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 22px;
  font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.sm-drawer__body a:hover, .sm-drawer__body .current-menu-item > a { color: var(--sage); background: var(--sage-mist); }
.sm-drawer__body .sub-menu a { padding-left: 38px; font-family: var(--font); font-style: normal; font-size: 14px; color: var(--ink-soft); background: var(--warm); }
.sm-drawer__foot { border-top: 1px solid var(--line); background: var(--warm); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sm-drawer__shortcut {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 6px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink); text-align: center;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.sm-drawer__shortcut:hover { color: var(--sage); border-color: var(--sage); }
.sm-drawer__shortcut--cart { background: var(--sage); color: var(--white); border-color: var(--sage); }
.sm-drawer__shortcut--cart:hover { background: var(--sage-deep); color: var(--white); }
.sm-drawer__shortcut .cart-count {
  position: absolute; top: 8px; right: 8px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: var(--white);
  font-size: 10px; font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.sm-drawer__shortcut .cart-count.is-empty { display: none; }
.sm-drawer-scrim {
  position: fixed; inset: 0; z-index: 105;
  background: rgba(45,59,55,0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0s linear 0.28s;
}
.sm-drawer-scrim.is-open { opacity: 1; visibility: visible; transition: opacity 0.28s var(--ease), visibility 0s linear 0s; }
body.sm-drawer-open { overflow: hidden; }
@media (min-width: 981px) { .sm-drawer, .sm-drawer-scrim { display: none !important; } }
/* ---------- Hero ---------- */
.hero { padding: 14px 0 0; background: var(--cream); }
.hero__wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: clamp(460px, 70vh, 680px);
  background: var(--warm);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(32px, 6vw, 72px) clamp(28px, 6vw, 80px);
  min-height: clamp(460px, 70vh, 680px);
  max-width: 620px;
  color: #fff;
}
.hero__overlay h1 {
  color: #fff; margin-bottom: 16px; font-weight: 400;
  letter-spacing: -0.015em; text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.hero__overlay h1 em { color: var(--sage-pale); font-style: italic; }
.hero__lede {
  font-size: 15.5px; color: rgba(255,255,255,0.92);
  max-width: 46ch; line-height: 1.65; margin-bottom: 28px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .hero__wrap { min-height: 520px; border-radius: 0; }
  .hero { padding: 0; }
  .hero__overlay { padding: 40px 24px; min-height: 520px; }
}

/* ---------- USPs ---------- */
.usps { padding: 36px 0; background: var(--cream); border-bottom: 1px solid var(--line); }
.usps--bordered { border-top: 1px solid var(--line); }
.usps__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; justify-items: center; }
.usp { display: flex; align-items: center; gap: 14px; }
.usp__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sage-pale); color: var(--sage); flex-shrink: 0;
}
.usp__icon svg { width: 20px; height: 20px; display: block; }
.usp div strong { display: block; font-family: var(--font); font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.usp div span { display: block; font-size: 12.5px; color: var(--ink-soft); }

@media (max-width: 880px) { .usps__row { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 480px) { .usps__row { grid-template-columns: 1fr; } }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat {
  display: block; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.cat__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--warm); }
.cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat:hover .cat__media img { transform: scale(1.04); }
.cat__foot { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; }
.cat__name { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--ink); font-weight: 400; letter-spacing: -0.01em; }
.cat__arrow {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sage-pale); color: var(--sage); font-size: 14px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.cat:hover .cat__arrow { background: var(--sage); color: var(--white); }
@media (max-width: 860px) { .cats { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.product__media {
  position: relative; aspect-ratio: 1 / 1; background: var(--white);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 10px;
}
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product:hover .product__media img { transform: scale(1.04); }

.product__quick {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.product:hover .product__quick { opacity: 1; transform: translateY(0); }
.product__quick a, .product__quick button {
  display: block; width: 100%; min-width: 100%;
  text-align: center; padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--sage); color: var(--white);
  font-size: 12px; font-weight: 600; letter-spacing: 0.03em;
  transition: background 0.2s var(--ease);
}
.product__quick a:hover, .product__quick button:hover { background: var(--sage-deep); }

.product__tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--sage); color: var(--white);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-pill);
}
.product__tag--alt { background: var(--white); color: var(--sage); }
.product__tag--accent { background: var(--accent); color: var(--white); }

.product h3 { font-weight: 500; font-size: 14.5px; color: var(--ink); margin-top: 2px; }
.product__meta { font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.01em; }
.product__price {
  font-family: var(--font-display); font-style: italic; font-size: 18px;
  font-weight: 400; color: var(--sage); margin-top: 6px; letter-spacing: -0.01em;
}
.product__price del { color: var(--ink-mute); font-size: 0.8em; margin-right: 6px; }
.product__price ins { text-decoration: none; }
.product a { display: block; }

@media (max-width: 960px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .products { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 480px) { .products { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }

/* ---------- Story ---------- */
.story { padding: 88px 0; background: var(--cream); }
.story__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.story__media { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--warm); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__title {
  font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 42px); font-weight: 400;
  line-height: 1.14; color: var(--ink); margin-bottom: 22px; max-width: 20ch; letter-spacing: -0.01em;
}
.story__title em { font-style: italic; color: var(--sage); }
.story__body { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 14px; max-width: 48ch; }
.story__body strong { color: var(--ink); font-weight: 600; }
.story__signature { margin: 26px 0 28px; font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--sage); }
.story__usps { display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.story__usp { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.story__usp svg { color: var(--sage); flex-shrink: 0; }
@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; gap: 36px; }
  .story__media { max-width: 460px; margin: 0 auto; }
}

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--white); border-radius: var(--radius-lg); padding: 30px;
  display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line);
}
.review__stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; }
.review__text { font-family: var(--font-display); font-style: italic; font-size: 16.5px; line-height: 1.6; color: var(--ink); font-weight: 400; }
.review footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--sage-pale); color: var(--sage);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1; flex-shrink: 0;
}
.review footer strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.review footer span { display: block; font-size: 12px; color: var(--ink-soft); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- Newsletter ---------- */
.newsletter { padding: 88px 0; background: var(--sage); color: var(--white); text-align: center; }
.newsletter__inner { max-width: 560px; margin: 0 auto; padding: 0 28px; }
.newsletter__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); color: #fff; margin: 8px 0 12px; letter-spacing: -0.01em; }
.newsletter__title em { font-style: italic; color: var(--sage-pale); }
.newsletter__body { font-size: 14.5px; color: rgba(255,255,255,0.78); max-width: 44ch; margin: 0 auto 24px; line-height: 1.65; }
.newsletter__form { display: flex; gap: 6px; background: rgba(255,255,255,0.12); border-radius: var(--radius-pill); padding: 5px; max-width: 440px; margin: 0 auto 14px; }
.newsletter__form input { flex: 1; background: transparent; border: 0; padding: 12px 18px; font: inherit; font-size: 14px; color: #fff; outline: none; }
.newsletter__form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter__form button { padding: 10px 24px; border-radius: var(--radius-pill); background: var(--white); color: var(--sage); font-family: var(--font); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.newsletter__form button:hover { background: var(--sage-pale); color: var(--sage-deep); }
.newsletter__small { display: block; font-size: 11.5px; color: rgba(255,255,255,0.5); }
@media (max-width: 540px) {
  .newsletter__form { flex-direction: column; border-radius: var(--radius); padding: 8px; gap: 8px; }
  .newsletter__form button { width: 100%; padding: 14px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--cream); padding: 72px 0 24px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; margin-bottom: 40px; }
.footer__brand p { margin-top: 16px; font-size: 14px; color: var(--ink-soft); max-width: 36ch; line-height: 1.65; }
.footer__socials { display: flex; gap: 10px; margin-top: 18px; }
.footer__socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--sage-pale); color: var(--sage);
  display: grid; place-items: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.footer__socials a:hover { background: var(--sage); color: var(--white); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer h4 { margin-bottom: 14px; font-size: 11px; letter-spacing: 0.14em; }
.footer ul li { font-size: 13.5px; margin-bottom: 8px; }
.footer ul li a { color: var(--ink-soft); transition: color 0.2s var(--ease); }
.footer ul li a:hover { color: var(--sage); }
.footer__contact li { color: var(--ink-soft); }
.footer__block p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 8px; line-height: 1.6; }
.footer__block a { color: var(--ink-soft); transition: color 0.2s var(--ease); }
.footer__block a:hover { color: var(--sage); }
.footer__bottom {
  padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--ink-mute); flex-wrap: wrap; gap: 8px;
}
@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) { .footer__cols { grid-template-columns: 1fr; } }

/* ---------- Leaf divider ---------- */
.leaf-divider {
  text-align: center; padding: 0; margin: -1px 0; line-height: 0;
  color: var(--sage-light); font-size: 18px; letter-spacing: 14px;
  background: var(--cream); position: relative; z-index: 1;
}
.leaf-divider span { display: inline-block; background: var(--cream); padding: 0 20px; position: relative; line-height: 1; top: -1px; }

/* ---------- Page header (shop / archive) ---------- */
.page-header { background: var(--sage-mist); padding: 56px 0 48px; text-align: center; border-bottom: 1px solid var(--line); }
.page-header__breadcrumb { font-size: 12.5px; color: var(--ink-mute); margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.page-header__breadcrumb a { color: var(--ink-soft); transition: color 0.2s var(--ease); }
.page-header__breadcrumb a:hover { color: var(--sage); }
.page-header__breadcrumb svg { width: 14px; height: 14px; color: var(--ink-mute); }
.page-header h1 { margin-bottom: 12px; }
.page-header h1 em { color: var(--sage); font-style: italic; }
.page-header__sub { font-size: 15px; color: var(--ink-soft); max-width: 52ch; margin: 0 auto; line-height: 1.65; }

/* ---------- Category SEO text (below products) ---------- */
.cat-seo { padding: 64px 0 96px; background: var(--cream); }
.cat-seo__prose { max-width: none; text-align: left; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; }
.cat-seo__prose h4 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 28px 0 12px; }
.cat-seo__prose h4:first-child { margin-top: 0; }
.cat-seo__prose p { margin-bottom: 14px; }
.cat-seo__prose strong { color: var(--ink); font-weight: 600; }
.cat-seo__prose ul { margin: 14px 0 14px 24px; }
.cat-seo__prose li { margin-bottom: 10px; }
.cat-seo__prose li p { margin-bottom: 0; }

/* ---------- Search overlay (slides under sticky header) ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 9998; }
.search-overlay[hidden] { display: none; }
.search-overlay__backdrop {
  position: absolute; inset: 0;
  background: rgba(45, 59, 55, 0.42);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.search-overlay.is-open .search-overlay__backdrop { opacity: 1; }
.search-overlay__panel {
  position: absolute; left: 0; right: 0;
  top: var(--sm-search-top, 0);
  z-index: 10000;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transform: translateY(-16px); opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.search-overlay.is-open .search-overlay__panel { transform: translateY(0); opacity: 1; }
.search-overlay__inner { padding: 26px 28px 24px; }
.search-overlay__form {
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1.5px solid var(--line); padding-bottom: 12px;
}
.search-overlay__icon { color: var(--sage); display: inline-grid; place-items: center; flex-shrink: 0; }
.search-overlay__input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font-family: var(--font-display); font-size: clamp(16px, 2vw, 22px);
  color: var(--ink); outline: none; padding: 4px 0;
}
.search-overlay__input::placeholder { color: var(--ink-mute); }
.search-overlay__submit { flex-shrink: 0; }
.search-overlay__close {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 22px;
  color: var(--ink-soft); background: var(--sage-pale);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.search-overlay__close:hover { background: var(--sage); color: var(--white); }
.search-overlay__hint { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }
.search-overlay__hint a { color: var(--sage); border-bottom: 1px solid var(--sage-pale); }
.search-overlay__hint a:hover { border-color: var(--sage); }
/* Header stays above the panel while search is open. */
body.sm-search-open .header { z-index: 10001; }
@media (max-width: 600px) {
  .search-overlay__submit { display: none; }
  .search-overlay__inner { padding: 18px 20px 18px; }
}

/* ---------- Pagination ---------- */
.sm-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.sm-pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 12px;
  display: inline-grid; place-items: center;
  border-radius: var(--radius-pill); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  background: var(--white);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.sm-pagination a.page-numbers:hover { border-color: var(--sage); color: var(--sage); }
.sm-pagination .page-numbers.current { background: var(--sage); color: var(--white); border-color: var(--sage); }
.sm-pagination .page-numbers.dots { border: 0; background: transparent; }

/* ---------- Search empty state ---------- */
.sm-search-empty { text-align: center; padding: 48px 0; }
.sm-search-empty p { font-size: 16px; color: var(--ink-soft); margin-bottom: 22px; }


/* ==========================================================
   Contact page (page-contact.php) — info block + message form
   ========================================================== */
.contact { padding: 72px 0 96px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}

/* ---- Info column ---- */
.contact-info {
  background: var(--sage-mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.contact-info__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 22px;
}
.contact-info__list { display: grid; gap: 20px; }
.contact-info__list li { display: grid; gap: 4px; }
.contact-info__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-info__list a { color: var(--sage-deep); font-weight: 600; }
.contact-info__list a:hover { text-decoration: underline; }
.contact-info__socials { display: flex; gap: 18px; }

/* ---- Form ---- */
.contact-form__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.contact-form__note { color: var(--ink-soft); margin-bottom: 26px; }
.contact-form__form { display: grid; gap: 20px; }
.contact-form .field { display: grid; gap: 7px; }
.contact-form .field--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form .field--half > div { display: grid; gap: 7px; }
.contact-form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form .req { color: var(--accent); }
.contact-form input,
.contact-form textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink-mute);
  border-radius: 0;
  padding: 15px;
  width: 100%;
  transition: border-color 0.25s var(--ease);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--ink-mute); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sage);
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form .btn--primary { justify-self: start; margin-top: 4px; }

/* ---- Notices ---- */
.contact-notice {
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.92rem;
}
.contact-notice--success {
  background: var(--sage-pale);
  border: 1px solid var(--sage-light);
  color: var(--sage-deep);
}
.contact-notice--error {
  background: #FBEDE9;
  border: 1px solid #E0A89A;
  color: #9A3B26;
}
.contact-notice ul { margin: 8px 0 0; padding-left: 18px; list-style: disc; }

/* ---- Honeypot (hidden from humans) ---- */
.sm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form .field--half { grid-template-columns: 1fr; }
}

/* ==========================================================
   Over ons (page-over-ons.php) — gestapelde opbouw (ref-parity)
   ========================================================== */
.page-header--center { text-align: center; }
.page-header--center .sm-breadcrumb,
.page-header--center .breadcrumb { justify-content: center; }
.page-header--center .page-header__sub { margin-left: auto; margin-right: auto; max-width: 680px; }

.about { padding: 8px 0 96px; }
.about__inner { max-width: 860px; }
.about__media {
  margin: 0 0 44px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.about__media img { width: 100%; height: auto; display: block; }
.about__content.sm-prose { font-size: 1.02rem; }
.about__content.sm-prose p { margin-bottom: 1.1em; }