/* =========================================================
   Ashley·Design — COMPONENTS
   header / topbar / subnav / footer / btn / hero / cards / sections
   Ported verbatim from the concept's style.css.
   ========================================================= */

/* ---------- 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-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  text-align: center;
  justify-content: center;
}
.btn--primary { background: var(--terra); color: #fff; }
.btn--primary:hover { background: var(--terra-deep); transform: translateY(-1px); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }

/* Full-width helper — robust against flex-shrink */
.btn--block,
.card__add {
  display: block;
  width: 100%;
  min-width: 100%;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--dark);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.02em;
  position: relative; z-index: 40;
}
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 28px;
  gap: 16px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.topbar__msg { flex: 1; text-align: center; }
.topbar__icons { display: flex; gap: 14px; }
.topbar__icons a {
  color: rgba(255,255,255,0.85);
  display: inline-flex; align-items: center;
  transition: color 0.2s var(--ease);
}
.topbar__icons a:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  background: var(--surface);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease);
}
.header.is-scrolled { box-shadow: 0 6px 18px rgba(42, 38, 32, 0.04); }
body.ad-search-open .header { z-index: 10001; }

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px 28px;
}
.logo {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo__mark {}
.logo__sub { color: var(--terra); font-weight: 500; }

.header__search {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 13px;
  color: var(--ink-mute);
  max-width: 480px;
  width: 100%;
  justify-self: center;
  transition: border-color 0.2s var(--ease);
}
.header__search:hover { border-color: var(--line-strong, var(--line)); }
.header__search:focus-within { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(181,119,78,0.12); }
.header__search input[type="search"] {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font: inherit; color: var(--ink);
  font-size: 13px; line-height: 1.2;
  padding: 0;
}
.header__search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.header__search input[type="search"]::placeholder { color: var(--ink-mute); }
.header__suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(42,38,32,0.10);
  max-height: 380px; overflow-y: auto;
  z-index: 200;
  padding: 6px;
}
.header__suggest[hidden] { display: none; }
.header__suggest .ad-search-suggest {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px;
  align-items: center;
  padding: 8px 10px; border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: background 0.15s var(--ease);
}
.header__suggest .ad-search-suggest:hover { background: var(--soft); }
.header__suggest .ad-search-suggest img {
  width: 44px; height: 44px; object-fit: cover;
  border-radius: 8px; background: var(--soft);
}
.header__suggest .ad-search-suggest__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.header__suggest .ad-search-suggest__meta strong { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header__suggest .ad-search-suggest__price { font-size: 12px; color: var(--ink-soft); }
.header__suggest .ad-search-suggest__empty { padding: 14px 10px; color: var(--ink-mute); font-size: 13px; text-align: center; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__actions a, .header__actions button {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.2s var(--ease);
  position: relative;
}
.header__actions a:hover, .header__actions button:hover { background: var(--soft); }
.cart-link__count {
  position: absolute; top: 4px; right: 4px;
  background: var(--terra);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-feature-settings: "tnum";
}

/* Subnav */
.subnav {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.subnav__row {
  display: flex; justify-content: center; align-items: center;
  gap: 32px;
  padding: 12px 28px;
  flex-wrap: wrap;
  max-width: var(--container-max);
  margin: 0 auto;
}
.subnav__row a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.subnav__row a:hover { color: var(--terra); }
.subnav__sale { color: var(--terra) !important; }
.subnav__row a.current-menu-item,
.subnav__row a.current-menu-parent { color: var(--terra); }

/* Subnav with nested <ul class="subnav__menu"> — flex row + base dropdown styling for non-mega items */
.subnav__row > ul.subnav__menu {
	list-style: none; margin: 0; padding: 0;
	display: flex; justify-content: center; align-items: center;
	gap: 32px; flex-wrap: wrap; width: 100%;
}
.subnav__row > ul.subnav__menu > li { position: relative; }
.subnav__row > ul.subnav__menu > li > a { display: inline-block; padding: 0; }

/* Default (non-mega) dropdown for menu-item-has-children */
.subnav__row > ul.subnav__menu > li > ul.sub-menu {
	display: none;
	position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
	min-width: 220px; background: #fff;
	border: 1px solid var(--line, #e6e0d6);
	box-shadow: 0 16px 40px rgba(0,0,0,0.10);
	border-radius: 12px;
	padding: 12px 0; margin: 0; list-style: none;
	z-index: 9000;
}
.subnav__row > ul.subnav__menu > li:hover > ul.sub-menu,
.subnav__row > ul.subnav__menu > li:focus-within > ul.sub-menu { display: block; }
.subnav__row > ul.subnav__menu > li > ul.sub-menu li { list-style: none; margin: 0; }
.subnav__row > ul.subnav__menu > li > ul.sub-menu a {
	display: block; padding: 8px 18px;
	font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none;
	color: var(--ink, #2a2620); white-space: nowrap;
}
.subnav__row > ul.subnav__menu > li > ul.sub-menu a:hover { color: var(--terra, #b5774e); background: var(--soft, #f0e8dd); }


@media (max-width: 880px) {
  .header__search span { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 14px 0 24px;
  background: var(--surface);
}
.hero__wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: clamp(420px, 56vh, 560px);
  max-width: var(--container-max);
  margin: 0 auto;
  width: calc(100% - calc(var(--container-pad) * 2));
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: relative;
  z-index: 1;
  padding: 64px clamp(28px, 5vw, 80px);
  max-width: 540px;
  color: #fff;
}
.hero__overlay h1 {
  color: #fff;
  margin-bottom: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.2);
}
.hero__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  font-size: 22px;
  display: grid; place-items: center;
  transition: background 0.2s var(--ease);
  z-index: 2;
}
.hero__arrow:hover { background: #fff; }
.hero__arrow--prev { left: 18px; }
.hero__arrow--next { right: 18px; }
@media (max-width: 720px) {
  .hero__wrap { min-height: 460px; }
  .hero__overlay { padding: 36px 24px; }
}

/* ---------- Card badges (used by product card) ---------- */
.card__badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 1;
}
.badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.badge--sale { background: var(--terra); color: #fff; }
.badge--new  { background: var(--ink);   color: var(--surface); }
.badge--oos  { background: #1f3530; color: #fff; letter-spacing: .04em; }

/* Dim the card when out of stock */
.prod.is-oos .prod__media img,
.mand.is-oos .mand__media img { opacity: .55; filter: grayscale(.25); transition: opacity .2s var(--ease); }
.prod.is-oos .prod__price,
.mand.is-oos .mand__price { color: #8e8580; }
.prod.is-oos h3,
.mand.is-oos h3 { color: #6b645c; }

/* OOS replacement for the ATC slot on the card */
.card__add--oos {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 100%;
	padding: 10px 14px;
	border-radius: 999px;
	background: #f0e8dd;
	color: #6b645c;
	font-weight: 600;
	text-transform: none;
	cursor: not-allowed;
	border: 1px solid #e1d6c6;
}

/* ---------- Product card (.prod variant) ---------- */
.prods, .ad-shop-loop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.prod {
  display: flex; flex-direction: column;
  gap: 6px;
  text-align: center;
  position: relative;
}
.prod__link {
  display: flex; flex-direction: column; gap: 6px;
  color: inherit;
}
.prod__media {
  aspect-ratio: 1 / 1;
  background: var(--soft);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}
.prod__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.prod:hover .prod__media img { transform: scale(1.04); }
.prod h3 {
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink);
}
.prod__price {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 2px 0 4px;
}
.prod__price .amount,
.prod__price strong {
  color: var(--ink);
  font-weight: 600;
  margin-left: 2px;
}
.prod__price del { color: var(--ink-mute); margin-right: 6px; }
.prod__price ins { text-decoration: none; }
.prod__swatches {
  display: inline-flex; justify-content: center;
  gap: 6px;
}
.dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c, #ccc);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

/* Quick-add button on cards */
.prod .card__add,
.mand .card__add {
  margin-top: 10px;
  background: var(--terra);
  color: #fff;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s var(--ease);
  text-align: center;
  text-decoration: none;
  display: block;
  width: 100%;
  min-width: 100%;
}
.prod .card__add:hover,
.mand .card__add:hover { background: var(--terra-deep); color: #fff; }
.prod .card__add.loading { opacity: 0.6; pointer-events: none; }
.prod .card__add.added::after { content: " ✓"; }

@media (max-width: 1080px) { .prods, .ad-shop-loop { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px)  { .prods, .ad-shop-loop { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .prods, .ad-shop-loop { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- Shop per categorie ---------- */
.shop-cat {
  background: var(--soft);
  padding: 72px 0;
}
.shop-cat__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}
.shop-cat__copy h2 { margin-bottom: 18px; }
.shop-cat__body {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 44ch;
}
.shop-cat__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.big-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 5;
  display: block;
}
.big-card__media { position: absolute; inset: 0; }
.big-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.big-card:hover .big-card__media img { transform: scale(1.04); }
.big-card__foot {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(252, 250, 246, 0.96);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px;
  font-weight: 500;
}
.big-card__arrow {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  font-size: 14px;
}
@media (max-width: 880px) {
  .shop-cat__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Featured (Boris de knuffel style) ---------- */
.featured { padding: 72px 0; background: var(--surface); }
.featured__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.featured__media {
  aspect-ratio: 4 / 5;
  background: var(--soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.featured__media img { width: 100%; height: 100%; object-fit: cover; }

.featured__copy h2 { text-align: center; margin: 6px 0 24px; }
.featured__copy .eyebrow { display: block; text-align: center; margin-bottom: 6px; }

.featured__list {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 28px;
}
.featured__list li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.featured__thumb {
  aspect-ratio: 1 / 1;
  background: var(--soft);
  border-radius: 10px;
  overflow: hidden;
}
.featured__thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured__info h4 {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.featured__pmeta {
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.featured__pprice {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.featured__cta { display: flex; margin: 0 auto; width: fit-content; }
@media (max-width: 880px) {
  .featured__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Sage Giftsets ---------- */
.giftsets { padding: 12px 0 72px; background: var(--surface); }
.giftsets__card {
  background: var(--sage);
  border-radius: var(--radius-xl);
  padding: 56px clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  overflow: hidden;
}
.giftsets__copy h2 { margin-bottom: 18px; max-width: 18ch; }
.giftsets__body {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 50ch;
}
.giftsets__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--surface);
}
.giftsets__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) {
  .giftsets__card { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; }
}

/* ---------- USPs ---------- */
.usps { padding: 64px 0; background: var(--surface); }
.usps__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.usp h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.usp p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 36ch;
}
@media (max-width: 880px) {
  .usps__row { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Baby Manden ---------- */
.manden {
  background: var(--cream);
  padding: 72px 0;
}
.manden .section__overline { color: var(--ink-soft); }
.manden__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mand {
  text-align: center;
  display: flex; flex-direction: column;
  gap: 4px;
  position: relative;
}
.mand__link {
  display: flex; flex-direction: column; gap: 4px;
  color: inherit;
}
.mand__media {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}
.mand__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.mand:hover .mand__media img { transform: scale(1.04); }
.mand h3 { font-size: 14px; font-weight: 500; color: var(--ink); }
.mand__price { font-size: 14px; font-weight: 600; color: var(--ink); }
.mand__price .amount { color: var(--ink); }
.mand__price del { color: var(--ink-mute); margin-right: 6px; }
.mand__price ins { text-decoration: none; }
@media (max-width: 880px) { .manden__grid { grid-template-columns: 1fr; } }

/* ---------- Lifestyle (Badcapes) ---------- */
.lifestyle { padding: 72px 0; background: var(--surface); }
.lifestyle__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 28px;
  align-items: center;
}
.life-card {
  border-radius: 999px / 220px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--soft);
  display: block;
}
.life-card--alt { background: var(--terra-soft); }
.life-card__media { width: 100%; height: 100%; }
.life-card__media img { width: 100%; height: 100%; object-fit: cover; }
.life-card__copy { text-align: center; padding: 0 8px; }
.life-card__copy h2 { margin: 6px 0 18px; }
.life-card__body {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 42ch;
  margin-left: auto; margin-right: auto;
}
@media (max-width: 880px) {
  .lifestyle__grid { grid-template-columns: 1fr; }
  .life-card { aspect-ratio: 4 / 5; max-width: 360px; margin: 0 auto; }
}

/* ---------- Reviews ---------- */
.reviews-section { padding: 72px 0 56px; background: var(--surface); }
.reviews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.review__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.review__head strong { font-size: 13.5px; font-weight: 600; }
.review__stars { color: #d6a44a; font-size: 12px; letter-spacing: 1px; }
.review__text { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 22px 10px 12px;
  margin: 0 auto;
  position: relative;
  left: 50%; transform: translateX(-50%);
}
.trust-badge__seal {
  display: flex; flex-direction: column; align-items: center;
  background: var(--terra);
  color: #fff;
  border-radius: 50%;
  width: 42px; height: 42px;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.trust-badge__logo { line-height: 1; }
.trust-badge__stars { font-size: 8px; letter-spacing: 0.5px; margin-top: 2px; color: #fff; }
.trust-badge__score { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.trust-badge__count { font-size: 12.5px; color: var(--ink-soft); }
@media (max-width: 880px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 24px;
}
.footer .logo { color: #fff; margin-bottom: 22px; }
.footer .logo__sub { color: var(--terra-soft); }

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}
.footer ul li { font-size: 13px; margin-bottom: 6px; }
.footer ul li a { color: rgba(255,255,255,0.7); transition: color 0.2s var(--ease); }
.footer ul li a:hover { color: var(--terra-soft); }
.footer__address li {
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}
.footer__socials {
  display: flex; gap: 8px;
  margin-top: 16px;
}
.footer__socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: grid; place-items: center;
  transition: background 0.2s var(--ease);
}
.footer__socials a:hover { background: var(--terra); }
.footer__bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.footer .wysiwyg p,
.footer .wysiwyg li { color: rgba(255,255,255,0.7); font-size: 13px; }
.footer .wysiwyg a { color: rgba(255,255,255,0.85); border-bottom-color: transparent; }
.footer .wysiwyg a:hover { color: var(--terra-soft); }
@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 540px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* ---------- Personalisation section (wraps WAPF fields on PDP) ---------- */
.pdp__pers {
  background: var(--cream, var(--soft));
  border: 1px solid var(--line);
  border-left: 3px solid var(--terra);
  border-radius: var(--radius);
  padding: 20px 22px 22px;
  margin: 4px 0 18px;
  width: 100%;
}
.pdp__pers-hd {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.pdp__pers-icon {
  color: var(--terra);
  flex: 0 0 auto;
}
.pdp__pers-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
}
.pdp__pers-intro {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 14px;
}
.pdp__pers-fields {
  display: block;
}
/* Reset WAPF's own wrapper inside our section — we provide the chrome */
.pdp__pers-fields .wapf-wrapper {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}
.pdp__pers-fields .wapf-field-container {
  margin-bottom: 14px;
}
.pdp__pers-fields .wapf-field-container:last-child {
  margin-bottom: 0;
}
.pdp__pers-fields .wapf-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
}
.pdp__pers-fields input[type="text"],
.pdp__pers-fields input[type="number"],
.pdp__pers-fields textarea,
.pdp__pers-fields select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.pdp__pers-fields input[type="text"]:focus,
.pdp__pers-fields input[type="number"]:focus,
.pdp__pers-fields textarea:focus,
.pdp__pers-fields select:focus {
  outline: 0;
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(181, 119, 78, 0.12);
}
/* TEXT/COLOR swatches: flex pill chips */
.pdp__pers-fields .wapf-swatch-wrapper:not(.wapf-image-swatch-wrapper) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* IMAGE swatches: respect WAPF's --wapf-cols grid */
.pdp__pers-fields .wapf-image-swatch-wrapper {
  display: grid;
  grid-template-columns: repeat(var(--wapf-cols, 7), 1fr);
  gap: 8px;
}
@media (max-width: 900px) {
  .pdp__pers-fields .wapf-image-swatch-wrapper {
    grid-template-columns: repeat(var(--wapf-cols-t, 5), 1fr);
  }
}
@media (max-width: 540px) {
  .pdp__pers-fields .wapf-image-swatch-wrapper {
    grid-template-columns: repeat(var(--wapf-cols-m, 4), 1fr);
  }
}
/* IMAGE swatch tile: square, framed */
.pdp__pers-fields .wapf-swatch--image {
  position: relative;
  margin: 0;
}
.pdp__pers-fields .wapf-swatch--image label {
  display: block;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.pdp__pers-fields .wapf-swatch--image label > div:first-of-type {
  width: 100%;
  height: 100%;
}
.pdp__pers-fields .wapf-swatch--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdp__pers-fields .wapf-swatch--image label:hover {
  border-color: var(--ink);
}
.pdp__pers-fields .wapf-swatch--image.wapf-checked label,
.pdp__pers-fields .wapf-swatch--image:has(input:checked) label {
  border-color: var(--terra);
  box-shadow: 0 0 0 2px rgba(181, 119, 78, 0.2);
}
.pdp__pers-fields .wapf-swatch:not(.wapf-swatch--image) label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.pdp__pers-fields .wapf-swatch:not(.wapf-swatch--image) label:hover { border-color: var(--ink); }
.pdp__pers-fields .wapf-swatch input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pdp__pers-fields .wapf-swatch input[type="radio"]:checked + span,
.pdp__pers-fields .wapf-swatch:has(input:checked) label {
  /* fallback handled below */
}
.pdp__pers-fields .wapf-swatch:not(.wapf-swatch--image).wapf-active label,
.pdp__pers-fields .wapf-swatch:not(.wapf-swatch--image):has(input:checked) label {
  background: var(--terra);
  color: #fff;
  border-color: var(--terra);
}
.pdp__pers-fields .wapf-field-description {
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-top: 4px;
  display: block;
}

/* ========== Contact page ========== */
.ad-page.ad-contact-page {
  background: var(--surface);
}
.ad-contact-section {
  padding: 80px 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.ad-contact-head {
  text-align: center;
  margin-bottom: 56px;
}
.ad-contact-head .ad-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 600;
  margin-bottom: 14px;
}
.ad-contact-head h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 56px);
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.ad-contact-head h1 em {
  color: var(--terra);
  font-style: italic;
  font-weight: 700;
}
.ad-contact-intro {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto;
}
.ad-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}
.ad-contact-info,
.ad-contact-form-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-xs);
}
.ad-contact-info h2,
.ad-contact-form-card h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 22px;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.ad-contact-form-sub {
  color: var(--ink-soft);
  font-size: 13.5px;
  margin: -12px 0 22px;
}
.ad-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.ad-contact-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.ad-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--terra-soft);
  color: var(--terra-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-contact-icon svg { display: block; }
.ad-contact-label {
  display: block;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 3px;
}
.ad-contact-item a,
.ad-contact-item > div > span {
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.ad-contact-item a:hover {
  color: var(--terra);
}
.ad-contact-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--line);
  transition: all .25s var(--ease);
}
.ad-contact-ig:hover {
  background: var(--terra);
  color: #fff;
  border-color: var(--terra);
}
.ad-contact-ig-icon { display: inline-flex; }

/* Form */
.ad-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.ad-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ad-field-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .02em;
}
.ad-field-label .req { color: var(--terra); margin-left: 2px; }
.ad-field input,
.ad-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 14.5px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.ad-field input:focus,
.ad-field textarea:focus {
  outline: none;
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(181, 119, 78, .15);
}
.ad-field textarea {
  resize: vertical;
  min-height: 148px;
  font-family: var(--font);
}
.ad-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ad-contact-form .ad-btn {
  align-self: flex-start;
  margin-top: 6px;
}
.ad-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--terra);
  color: #fff;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  border: 0;
  cursor: pointer;
  transition: background .25s var(--ease), transform .15s var(--ease);
  min-width: 100%;
  justify-content: center;
}
@media (min-width: 640px) {
  .ad-btn-primary { min-width: auto; }
}
.ad-btn-primary:hover {
  background: var(--terra-deep);
  transform: translateY(-1px);
}
.ad-btn-primary .arr {
  transition: transform .2s var(--ease);
}
.ad-btn-primary:hover .arr {
  transform: translateX(4px);
}

.ad-contact-form-footer {
  font-size: 11.5px;
  color: var(--ink-mute);
  margin-top: 10px;
  line-height: 1.55;
}
.ad-contact-form-footer a { color: var(--terra); text-decoration: underline; }

.ad-contact-success {
  background: #e7f3ec;
  border: 1px solid #b9e2c5;
  color: #2d6f3f;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.ad-contact-success strong { display: block; margin-bottom: 2px; font-weight: 700; }
.ad-contact-error {
  background: #fbecec;
  border: 1px solid #f2bfbf;
  color: #a03535;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .ad-contact-section { padding: 56px 20px; }
  .ad-contact-head { margin-bottom: 40px; }
  .ad-contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .ad-contact-info,
  .ad-contact-form-card { padding: 28px 22px; }
}
@media (max-width: 540px) {
  .ad-field-row { grid-template-columns: 1fr; }
}
/* ========== /Contact page ========== */

/* =========================================================
   Favorieten (wishlist) — card heart, header teller, pagina
   ========================================================= */

/* Favorite heart on product cards */
.ad-fav {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: rgba(252, 250, 246, 0.92);
  color: var(--ink);
  border: 0; padding: 0; cursor: pointer;
  box-shadow: 0 2px 8px rgba(42,38,32,0.12);
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.ad-fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: fill .18s var(--ease), stroke .18s var(--ease); }
.ad-fav:hover { background: #fff; transform: scale(1.08); }
.ad-fav.is-active { color: var(--terra); }
.ad-fav.is-active svg { fill: var(--terra); stroke: var(--terra); }
.ad-fav.is-bump { animation: adFavBump .32s var(--ease); }
@keyframes adFavBump { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 100% { transform: scale(1); } }

/* PDP .btn-wish filled heart when active */
.btn-wish.is-active svg { fill: currentColor; }

/* Header favorites counter — hide when empty */
.header__actions .fav-link__count[hidden] { display: none; }

/* Favorites page */
.ad-fav-grid[hidden] { display: none; }
.ad-fav-empty { text-align: center; padding: 48px 20px 72px; }
.ad-fav-empty__inner { max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ad-fav-empty svg { color: var(--terra); opacity: .9; }
.ad-fav-empty h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.ad-fav-empty p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; max-width: 40ch; }
.ad-fav-empty .btn { margin-top: 6px; }
