/*
 * ElboMotors — components.
 * Each block below is one component from the fase 2 brief. They are all
 * shown side by side on /styleguide.
 */

/* ============================================================ section head */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-kicker);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-kicker);
  text-transform: uppercase;
  color: var(--c-accent-text);
  margin-bottom: var(--sp-3);
}
.kicker::before {
  content: '';
  width: 2rem; height: 2px;
  background: var(--c-accent);
  flex: none;
}

.section-head { position: relative; margin-bottom: var(--sp-7); }
.section-head__title { margin-bottom: var(--sp-3); }
.section-head__intro { max-width: 52ch; color: var(--c-muted); font-size: var(--fs-lg); }


/* ================================================================= buttons */

.btn {
  --btn-bg: var(--c-accent);
  --btn-fg: var(--c-accent-ink);
  --btn-bd: var(--c-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.9rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn:hover { background: transparent; color: var(--c-accent-text); border-color: var(--c-accent); }
.btn:active { transform: translateY(1px); }

.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--c-text); --btn-bd: var(--c-line-strong); }
.btn--ghost:hover { background: var(--c-text); color: var(--c-bg); border-color: var(--c-text); }

.btn--quiet   { --btn-bg: transparent; --btn-fg: var(--c-muted); --btn-bd: transparent; padding-inline: 0; }
.btn--quiet:hover { background: transparent; color: var(--c-text); border-color: transparent; }

.btn--lg { padding: 1.1rem 2.5rem; font-size: var(--fs-base); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: var(--fs-kicker); }
.btn--block { display: flex; width: 100%; }

.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.45; pointer-events: none; }

/* ================================================================== header */

.site-header {
  position: sticky; top: 0;
  z-index: var(--z-header);
  background: rgb(14 14 16 / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--sp-5);
  min-height: 4.5rem;
}

.site-header__top-inner {
  display: flex; align-items: center; gap: var(--sp-5);
  min-height: 4.5rem;
}
.site-header__bar { border-top: 1px solid var(--c-line); }
@media (max-width: 63.99em) { .site-header__bar { display: none; } }

.brand {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: var(--fw-display);
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--c-text); text-decoration: none;
  margin-right: auto;
}
.brand__mark { color: var(--c-accent); }
.brand img { display: block; height: 2.75rem; width: auto; max-width: 100%; }
.brand--footer img { height: 3.25rem; }
/* The logo is 6.4:1; at 44px it is 283px wide. On a phone that has to share
   the row with three 44px buttons, so it drops to 34px (218px wide). */
/* On phones the logo is the only thing allowed to shrink; it fills what the buttons leave over, capped at 30px high. */
@media (max-width: 47.99em) { .brand { flex: 1 1 0; min-width: 0; overflow: hidden; } .brand img { flex: 1 1 0; min-width: 0; height: auto; width: 100%; max-width: 12rem; } }
/* Four 44px buttons on a phone: they never shrink, the logo gives way. */
.site-header__actions > * { flex: none; }
@media (max-width: 47.99em) { .site-header__top-inner { gap: var(--sp-3); } .site-header__actions { gap: var(--sp-2); } }

.site-header__actions { display: flex; align-items: center; gap: var(--sp-3); }

/* Icon-only phone button for small screens; the full number shows from 64em. */
.header-call {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--c-line-strong); border-radius: var(--radius);
  color: var(--c-text);
}
@media (min-width: 64em) { .header-call { display: none; } }
/* WhatsApp stays on every size: on desktop it sits left of the phone number. */
.header-call--wa { color: var(--c-text); }
.header-call--wa:hover { color: #25D366; border-color: #25D366; }
@media (min-width: 64em) { .header-call--wa { display: inline-flex; } }

.header-phone {
  display: none;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  color: var(--c-text);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--c-accent-text); }
@media (min-width: 64em) { .header-phone { display: inline-flex; gap: var(--sp-2); align-items: center; } }

.cart-link { position: relative; display: inline-flex; color: var(--c-text); text-decoration: none; }
.cart-link__count {
  position: absolute; top: -0.4rem; right: -0.6rem;
  min-width: 1.15rem; height: 1.15rem;
  display: grid; place-items: center;
  padding: 0 0.25rem;
  background: var(--c-accent); color: var(--c-accent-ink);
  border-radius: 999px;
  font-size: 0.6875rem; font-weight: var(--fw-semibold); line-height: 1;
}

/* ------------------------------------------------------ nav and dropdown */

.nav { display: none; }
@media (min-width: 64em) { .nav { display: block; } }

.nav__list { display: flex; flex-wrap: wrap; gap: var(--sp-6); list-style: none; margin: 0; padding: 0.65rem 0; }
.nav__list li { margin: 0; }

.nav a {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text);
  text-decoration: none;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--c-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover::after,
.nav .current-menu-item > a::after,
.nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.nav .current-menu-item > a { color: var(--c-accent-text); }

/*
 * Dropdown. Opens on hover AND on focus-within, so it is reachable by
 * keyboard without any JavaScript. site.js only layers aria-expanded and
 * Escape-to-close on top.
 */
.nav__item--sub { position: relative; }

.subnav {
  position: absolute;
  left: 0; top: 100%;
  z-index: var(--z-menu);
  min-width: 15rem;
  margin: 0; padding: var(--sp-3) 0;
  list-style: none;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-top: 2px solid var(--c-accent);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(-0.4rem);
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              visibility var(--dur);
}
.nav__item--sub:hover > .subnav,
.nav__item--sub:focus-within > .subnav,
.subnav[data-open='true'] { opacity: 1; visibility: visible; transform: translateY(0); }

.subnav li { margin: 0; }

.subnav a {
  display: block;
  padding: 0.55rem var(--sp-5);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-body);
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-muted);
  white-space: nowrap;
}
.subnav a::after { display: none; }
.subnav a:hover { color: var(--c-text); background: var(--c-surface-2); }

/* --------------------------------------------------------- mobile drawer */

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  background: transparent; border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  color: var(--c-text); cursor: pointer;
}
@media (min-width: 64em) { .nav-toggle { display: none; } }

/*
 * top is set by site.js to the real bottom edge of the header, because the
 * announcement bar above it means the header is not at 0 until you scroll.
 * The fallback covers a page without JavaScript.
 */
.drawer {
  position: fixed; inset: var(--drawer-top, 4.5rem) 0 0;
  z-index: var(--z-menu);
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  padding: var(--sp-5) 0 var(--sp-8);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
}
.drawer[data-open='true'] { transform: translateX(0); }
@media (min-width: 64em) { .drawer { display: none; } }

.drawer__search {
  display: flex; align-items: stretch;
  margin-bottom: var(--sp-4);
  border: 1px solid var(--c-line-strong); border-radius: var(--radius);
  background: var(--c-surface-2); overflow: hidden;
}
.drawer__search input[type='search'] { border: 0; border-radius: 0; background: transparent; min-height: 3rem; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer > .wrap > ul > li { border-bottom: 1px solid var(--c-line); }
.drawer a {
  display: block; padding: var(--sp-4) 0;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text); text-decoration: none;
}
.drawer .sub-menu { padding: 0 0 var(--sp-4) var(--sp-4); }
.drawer .sub-menu a {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  text-transform: none;
  letter-spacing: 0;
  padding: var(--sp-2) 0;
  color: var(--c-muted);
}

body.is-locked { overflow: hidden; }

/* =================================================================== cards */

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.card:hover { border-color: var(--c-line-strong); transform: translateY(-3px); }

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-surface-2);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }

.card__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-5); gap: var(--sp-3); }

.card__title {
  font-size: var(--fs-h4);
  margin: 0;
  text-transform: none;      /* product names are not shouted */
  letter-spacing: 0;
}
.card__title a { color: var(--c-text); text-decoration: none; }
.card__title a:hover { color: var(--c-accent-text); }

/*
 * The whole card is clickable, but only the title is a real link — so the
 * accessible name stays correct and there is exactly one tab stop per card.
 */
.card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card :is(a, button):not(.card__link) { position: relative; z-index: 2; }

.card__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3);
  font-size: var(--fs-sm); color: var(--c-muted);
  margin: 0; padding: 0; list-style: none;
}
.card__meta li { margin: 0; }
.card__meta li + li::before { content: '·'; margin-right: var(--sp-3); color: var(--c-faint); }

.card__footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-3);
  margin-top: auto; padding-top: var(--sp-3);
  border-top: 1px solid var(--c-line);
}

.price {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: var(--fw-display);
  color: var(--c-accent-text);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.price del { color: var(--c-faint); font-size: 0.7em; margin-right: var(--sp-2); }
.price--ask { font-size: var(--fs-base); color: var(--c-muted); text-transform: none; }

.badge {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.6rem;
  font-family: var(--font-display);
  font-size: 0.6875rem; font-weight: var(--fw-semibold);
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  color: var(--c-text);
  /*
   * A solid ground, not a transparent one. A neutral badge sits on top of a
   * photo, and grey text on whatever the photo happens to be doing there is
   * unreadable on exactly the cards where it matters.
   */
  background: rgb(14 14 16 / 0.82);
  backdrop-filter: blur(4px);
}
.badge--accent { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
.badge--ok     { border-color: var(--c-ok); color: var(--c-ok); }
.badge--warn   { border-color: var(--c-warn); color: var(--c-warn); }
/* Footer-koppeling naar NU Motorrijden: rood, en vult zich bij hover. */
.badge--nu     { border-color: var(--c-accent); color: var(--c-accent-text); text-decoration: none; }
.badge--nu:hover, .badge--nu:focus-visible { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
.badge--sold   { background: var(--c-danger); border-color: var(--c-danger); color: var(--c-bg); }
.badge--light  { background: var(--c-text); border-color: var(--c-text); color: var(--c-bg); }

.card__badges {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  z-index: 2;
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
}

/* Occasion card: same shell, richer spec row. */
.card--occasion .card__media { aspect-ratio: 16 / 10; }
.card--occasion .card__specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
  gap: var(--sp-2) var(--sp-3);
  margin: 0; padding: 0;
  font-size: var(--fs-sm);
}
.card__line {
  display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3);
  margin: 0; padding: 0; list-style: none;
  font-size: var(--fs-sm); color: var(--c-text); font-weight: var(--fw-medium);
}
.card__line li { margin: 0; white-space: nowrap; }
.card__line li + li::before { content: '·'; margin-right: var(--sp-3); color: var(--c-faint); font-weight: var(--fw-body); }
.card--occasion .card__title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; font-size: var(--fs-h4); line-height: 1.15; }
.card--occasion .card__meta { margin-top: calc(var(--sp-2) * -1); }
.card--occasion .card__specs > div { display: flex; flex-direction: column; gap: 2px; }
/* Five narrow carousel columns: keep price and button on one line. */
.card--occasion .price { font-size: 1.25rem; }
.card__footer .btn--sm { padding-inline: 0.9rem; }
.card--occasion .card__specs dt { color: var(--c-faint); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.card--occasion .card__specs dd { margin: 0; color: var(--c-text); font-weight: var(--fw-medium); }

/* ================================================================== footer */

.site-footer {
  background: #0A0A0C;
  border-top: 1px solid var(--c-line);
  padding-block: var(--sp-8) var(--sp-5);
  margin-top: var(--sp-9);
}
.site-footer__grid {
  display: grid; gap: var(--sp-6);
  grid-template-columns: 1fr;
  /* Kolommen bovenaan uitlijnen, zodat het merk en de drie kopjes op een lijn
     beginnen en de footer per kopje gebalanceerd oogt. */
  align-items: start;
}
@media (min-width: 40em) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
/* Desktop: vier even brede kolommen, kopjes op een lijn. */
@media (min-width: 64em) { .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.site-footer h2, .site-footer h3 {
  font-size: var(--fs-kicker);
  letter-spacing: var(--ls-kicker);
  color: var(--c-accent-text);
  margin-bottom: var(--sp-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: var(--sp-2); }
.site-footer a { color: var(--c-muted); text-decoration: none; font-size: var(--fs-sm); }
.site-footer a:hover { color: var(--c-text); text-decoration: underline; }

.site-footer address { font-style: normal; color: var(--c-muted); font-size: var(--fs-sm); }

.hours { font-size: var(--fs-sm); color: var(--c-muted); }
.hours__row { display: flex; justify-content: space-between; gap: var(--sp-4); padding: 2px 0; }
.hours__row--closed { color: var(--c-faint); }
.hours__row--today { color: var(--c-text); font-weight: var(--fw-medium); }

/* In de footer staan de tijden dicht bij de dag: geen space-between die de tijd
   naar de rand duwt, maar de dag op een vaste breedte met de tijd er strak
   achter, netjes onder elkaar uitgelijnd. Op de contact- en afspraakpagina
   blijft de bredere space-between staan. */
.site-footer .hours__row { justify-content: flex-start; gap: var(--sp-3); }
.site-footer .hours__row > span:first-child { min-width: 6em; }

.site-footer__legal {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5);
  align-items: center; justify-content: space-between;
  margin-top: var(--sp-7); padding-top: var(--sp-5);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-sm); color: var(--c-faint);
}
/* The legal links run horizontally; the vertical list spacing above must not touch them. */
.site-footer__legal ul, .site-footer__legal .menu { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); align-items: baseline; }
.site-footer__legal li, .site-footer__legal li + li { margin: 0; }

/* ================================================================== forms */

.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--c-text); }
.field .hint { font-size: var(--fs-sm); color: var(--c-muted); }

input[type='text'], input[type='email'], input[type='tel'], input[type='number'],
input[type='search'], input[type='url'], input[type='date'], select, textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--c-surface-2);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  color: var(--c-text);
}
input::placeholder, textarea::placeholder { color: var(--c-faint); }
input:focus, select:focus, textarea:focus { border-color: var(--c-accent); }
textarea { min-height: 8rem; resize: vertical; }

/* Honeypot: hidden from people, present for bots. Never display:none — some
   bots skip those — and always aria-hidden + tabindex -1 for real users. */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.notice {
  padding: var(--sp-4);
  border-left: 3px solid var(--c-accent);
  background: var(--c-surface-2);
  font-size: var(--fs-sm);
}
.notice--ok    { border-color: var(--c-ok); }
.notice--error { border-color: var(--c-danger); }

/* ================================================================== misc */

.breadcrumbs { font-size: var(--fs-sm); color: var(--c-muted); padding-block: var(--sp-4); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: '/'; margin-right: var(--sp-2); color: var(--c-faint); }
.breadcrumbs a { color: var(--c-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-accent-text); }

.pagination { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-7); }
.pagination .page-numbers {
  display: inline-grid; place-items: center;
  min-width: 2.5rem; height: 2.5rem; padding: 0 var(--sp-2);
  border: 1px solid var(--c-line);
  color: var(--c-muted); text-decoration: none;
  font-family: var(--font-display); font-weight: var(--fw-semibold);
}
.pagination .page-numbers:hover { border-color: var(--c-accent); color: var(--c-text); }
.pagination .page-numbers.current { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }

.spec-table { border: 1px solid var(--c-line); }
.spec-table tr:nth-child(odd) { background: var(--c-surface-2); }
.spec-table th { width: 40%; color: var(--c-muted); font-weight: var(--fw-medium); }
.spec-table td { color: var(--c-text); font-weight: var(--fw-medium); }

/* ============================================================= styleguide */

.sg-section { padding-block: var(--sp-7); border-top: 1px solid var(--c-line); }
.sg-section:first-of-type { border-top: 0; }
.sg-label {
  font-family: ui-monospace, monospace; font-size: 0.75rem;
  color: var(--c-faint); margin-bottom: var(--sp-3);
}
.sg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: var(--sp-3); }
.sg-swatch { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.sg-swatch__chip { height: 4.5rem; }
.sg-swatch__meta { padding: var(--sp-2) var(--sp-3); font-size: 0.75rem; font-family: ui-monospace, monospace; color: var(--c-muted); }
.sg-swatch__meta strong { display: block; color: var(--c-text); font-family: var(--font-body); }

/* ============================================================== occasions */

.filters {
  position: sticky; top: 6rem;
  align-self: start;
  display: flex; flex-direction: column; gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}
.filters__title {
  font-size: var(--fs-kicker);
  letter-spacing: var(--ls-kicker);
  color: var(--c-accent-text);
  margin: 0;
}
.filters__actions { display: flex; flex-direction: column; gap: var(--sp-2); margin: var(--sp-2) 0 0; }
@media (max-width: 52em) { .filters { position: static; } }

.listing-bar {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-line);
}
.listing-bar__sort select { width: auto; min-width: 14rem; }

.occasion__layout { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 56em) {
  .occasion__layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--sp-7); }
}

.occasion__hero { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); }
.occasion__hero img { width: 100%; }
.occasion__sold { position: absolute; top: var(--sp-4); left: var(--sp-4); }

.occasion__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: var(--sp-2);
  margin: var(--sp-3) 0 0; padding: 0; list-style: none;
}
.occasion__thumbs li { margin: 0; }
.occasion__thumbs img {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3; object-fit: cover;
  transition: border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
  opacity: 0.75;
}
.occasion__thumbs a:hover img, .occasion__thumbs a:focus-visible img { opacity: 1; border-color: var(--c-accent); }

.occasion__title { font-size: var(--fs-h2); text-transform: none; letter-spacing: 0; margin-bottom: var(--sp-4); }

.occasion__price {
  display: flex; align-items: baseline; gap: var(--sp-3); flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: var(--fs-h2); font-weight: var(--fw-display);
  color: var(--c-accent-text);
  margin: 0 0 var(--sp-5);
}
.occasion__vat {
  font-family: var(--font-body); font-size: var(--fs-sm);
  font-weight: var(--fw-body); color: var(--c-muted); letter-spacing: 0;
}

.occasion__highlights {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: var(--sp-3);
  margin: 0 0 var(--sp-5); padding: var(--sp-4) 0;
  list-style: none;
  border-block: 1px solid var(--c-line);
}
.occasion__highlights li { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.occasion__highlight-label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-faint); }
.occasion__highlight-value { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: var(--fw-semibold); }

.occasion__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-5); }

/* The decision panel: everything needed to act, in one box, sticky on desktop. */
.occasion__summary {
  padding: var(--sp-6);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}
@media (min-width: 56em) { .occasion__summary { position: sticky; top: 6rem; align-self: start; } }
.occasion__summary .occasion__title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; font-size: var(--fs-h2); line-height: 1.05; margin-bottom: var(--sp-2); }
.occasion__subtitle { color: var(--c-muted); font-size: var(--fs-sm); margin: 0 0 var(--sp-5); }
.occasion__summary .occasion__price { flex-direction: column; align-items: flex-start; gap: var(--sp-1); }
.occasion__summary .occasion__highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); border: 0; padding: 0; }
.occasion__summary .occasion__highlights li { padding: var(--sp-3) var(--sp-4); background: var(--c-surface-2); border-radius: var(--radius); }
.occasion__summary .occasion__cta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.occasion__summary .occasion__cta > :first-child { grid-column: 1 / -1; }
.occasion__summary .occasion__cta .btn { width: 100%; padding-inline: var(--sp-3); }
.occasion__visit { font-size: var(--fs-sm); color: var(--c-faint); margin: var(--sp-4) 0 0; }

.spec-grid { display: grid; gap: 0 var(--sp-7); grid-template-columns: 1fr; }
@media (min-width: 40em) { .spec-grid { grid-template-columns: 1fr 1fr; } }
.spec-grid > div { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); }
.spec-grid dt { color: var(--c-muted); margin: 0; }
.spec-grid dd { color: var(--c-text); font-weight: var(--fw-medium); margin: 0; text-align: right; }

/*
 * One form, three tabs. Radio inputs drive it, so it works without
 * JavaScript; site.js only makes #proefrit links pick the right tab.
 */
.tabs { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: var(--sp-6); }
.tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tabs__bar { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--c-line); margin-bottom: var(--sp-5); }
.tabs__bar label {
  padding: var(--sp-3) var(--sp-5);
  margin-bottom: -1px;
  font-family: var(--font-display); font-size: var(--fs-sm);
  font-weight: var(--fw-semibold); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-muted); cursor: pointer;
  border-bottom: 3px solid transparent;
}
.tabs__bar label:hover { color: var(--c-text); }
.tabs__panel { display: none; }
.tabs__panel .enquiry h2 { font-size: var(--fs-h3); }
#tab-proefrit:checked ~ .tabs__bar [for='tab-proefrit'],
#tab-inruil:checked ~ .tabs__bar [for='tab-inruil'],
#tab-vraag:checked ~ .tabs__bar [for='tab-vraag'] { color: var(--c-text); border-bottom-color: var(--c-accent); }
#tab-proefrit:checked ~ .tabs__panel--proefrit,
#tab-inruil:checked ~ .tabs__panel--inruil,
#tab-vraag:checked ~ .tabs__panel--vraag { display: block; }
.tabs > input:focus-visible + .tabs__bar label { outline: 3px solid var(--c-accent-text); outline-offset: 2px; }

/* ========================================================== mobile bar */

.mobile-bar {
  position: sticky; bottom: 0; z-index: var(--z-header);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2);
  padding: var(--sp-2) var(--gutter);
  background: rgb(14 14 16 / 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-line);
}
.mobile-bar .btn { width: 100%; padding-inline: var(--sp-3); }
@media (min-width: 64em) { .mobile-bar { display: none; } }


.occasion__block { margin-top: var(--sp-8); }
.occasion__block > h2 { font-size: var(--fs-h3); }

.occasion__columns { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 56em) { .occasion__columns { grid-template-columns: repeat(2, 1fr); gap: var(--sp-7); } }

.feature-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: var(--sp-1) var(--sp-4);
  margin: 0; padding: 0; list-style: none;
  font-size: var(--fs-sm);
}
.feature-list li { position: relative; margin: 0; padding-left: 1.15rem; color: var(--c-muted); }
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; background: var(--c-accent);
}

.enquiry { max-width: 44rem; }

/* ================================================================== hero */

.hero {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: min(78vh, 46rem);
  padding-block: var(--sp-9) var(--sp-8);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: var(--c-overlay); }
.hero__inner { position: relative; z-index: 1; }

/*
 * Split hero. Text on solid ground left, the photo right behind a diagonal
 * cut with the accent stripe on the seam. The photo no longer needs a scrim
 * to make the text readable, so it can actually be seen. Below 56em the
 * photo goes back to full width with a bottom fade, because a 40% column
 * on a phone is a sliver.
 */
.hero--split {
  align-items: center;
  min-height: min(72vh, 42rem);
  background: var(--c-bg);
  /*
   * One axis for everything. The wrap is centred, so the text column, the
   * photo edge and the stripe are all placed from the wrap's left edge,
   * never from the viewport. Percent padding would resolve against the
   * hero, and at 1920px that squeezed the title to one word per line.
   */
  --wrap-w: min(100% - var(--gutter) * 2, var(--wrap));
  --split-x: calc((100% - var(--wrap-w)) / 2 + var(--wrap-w) * 0.47);
  --split-cut: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
/*
 * The Mobilox photos carry a watermark in the top right corner. Cropping it
 * out fails at some aspect ratio whatever you pick, so a dark corner fade
 * covers it instead. Same corner at every size, so it always lands.
 */
.hero--split .hero__media img { object-position: 35% 55%; }
.hero--split .hero__media::after {
  background:
    radial-gradient(ellipse 34% 30% at 100% 0%, rgb(14 14 16 / 0.96) 0%, rgb(14 14 16 / 0.9) 55%, rgb(14 14 16 / 0) 100%),
    linear-gradient(to top, rgb(14 14 16 / 0.97) 0%, rgb(14 14 16 / 0.85) 45%, rgb(14 14 16 / 0.25) 100%);
}
.hero__stripe { display: none; }
@media (min-width: 56em) {
  .hero--split { min-height: min(78vh, 46rem); }
  /* The photo ends on the wrap's right edge, in line with everything below it, not on the screen edge. */
  .hero--split .hero__media { left: var(--split-x); right: calc((100% - var(--wrap-w)) / 2); clip-path: var(--split-cut); }
  .hero--split .hero__media::after {
    background:
      radial-gradient(ellipse 34% 30% at 100% 0%, rgb(14 14 16 / 0.96) 0%, rgb(14 14 16 / 0.9) 55%, rgb(14 14 16 / 0) 100%),
      linear-gradient(to right, rgb(14 14 16 / 0.55) 0%, rgb(14 14 16 / 0) 45%);
  }
  /* Same shape as the photo, 8px further left, painted underneath: a stripe that is always parallel to the cut. */
  .hero__stripe {
    display: block;
    position: absolute; z-index: 0;
    top: 0; bottom: 0; right: calc((100% - var(--wrap-w)) / 2);
    left: calc(var(--split-x) - 8px);
    background: var(--c-accent);
    clip-path: var(--split-cut);
  }
  .hero--split .hero__inner { display: grid; grid-template-columns: minmax(0, 44%); }
  .hero--split .hero__title { font-size: clamp(3rem, 1rem + 4.6vw, 5.125rem); line-height: 0.98; }
  .hero--split .hero__intro { max-width: 40ch; }
}
.hero--split .hero__intro { color: var(--c-muted); }

/* ================================================================ facts */

.facts {
  background: var(--c-surface);
  border-block: 1px solid var(--c-line);
}
.facts__list {
  display: grid; gap: 0;
  grid-template-columns: repeat(2, 1fr);
  margin-block: 0; padding: 0; list-style: none;
}
@media (min-width: 52em) { .facts__list { grid-template-columns: repeat(4, 1fr); } }
.facts__list li {
  display: flex; flex-direction: column; gap: 2px;
  margin: 0; padding: var(--sp-4) var(--sp-5);
  border-left: 1px solid var(--c-line);
}
.facts__list li:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 51.99em) { .facts__list li:nth-child(3) { border-left: 0; padding-left: 0; } }
.facts__list strong {
  font-family: var(--font-display); font-size: var(--fs-h4);
  font-weight: var(--fw-semibold); text-transform: uppercase; line-height: 1.1;
}
.facts__list span { font-size: var(--fs-sm); color: var(--c-muted); }

/* ====================================================== inverse section */

.section--inverse { background: var(--c-inverse-bg); color: var(--c-inverse-text); }
.section--inverse .kicker { color: var(--c-accent-dim); }
.section--inverse .section-head__intro { color: #3A3A45; }
.section--inverse .usp li { color: #3A3A45; border-left-color: #C9C9C4; padding-left: 0; border-left: 0; border-top: 1px solid #C9C9C4; padding-top: var(--sp-3); }
.section--inverse .usp strong { color: var(--c-inverse-text); }
.section--inverse .hero__accent, .section--inverse .accent { color: var(--c-accent); }

.split { display: grid; grid-template-columns: 1fr; }
.split__media { position: relative; min-height: 16rem; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body { padding: var(--section-y) var(--gutter); }
@media (min-width: 56em) {
  .split { grid-template-columns: 1fr 1fr; }
  .split__media { min-height: 34rem; }
  .split__media img { clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
  .split__body { padding: var(--section-y) max(var(--gutter), calc((100vw - var(--wrap)) / 2)) var(--section-y) var(--sp-7); }
}

/* ======================================================= accent section */

.section--accent { background: var(--c-accent); color: var(--c-accent-ink); }
.section--accent .kicker { color: var(--c-accent-ink); }
.section--accent .kicker::before { background: var(--c-accent-ink); }
.section--accent .section-head__intro { color: var(--c-accent-ink); }
.section--accent .btn { --btn-bg: var(--c-accent-ink); --btn-fg: var(--c-ink-text); --btn-bd: var(--c-accent-ink); }
.section--accent .btn:hover { background: transparent; color: var(--c-accent-ink); border-color: var(--c-accent-ink); }
.section--accent .btn--ghost { --btn-bg: transparent; --btn-fg: var(--c-accent-ink); --btn-bd: var(--c-accent-ink); }
.section--accent .btn--ghost:hover { background: var(--c-accent-ink); color: var(--c-ink-text); }
.cta-band { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 56em) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band .section-head { margin-bottom: 0; }

.hero__title {
  font-size: var(--fs-hero);
  line-height: 0.95;
  margin-bottom: var(--sp-4);
}
.hero__accent { color: var(--c-accent); }
.hero__intro { max-width: 46ch; font-size: var(--fs-lg); color: var(--c-text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

/* ================================================================== usp */

.usp { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.usp li {
  margin: 0; padding-left: var(--sp-5);
  border-left: 2px solid var(--c-accent);
  color: var(--c-muted); font-size: var(--fs-sm);
}
.usp strong {
  display: block; margin-bottom: var(--sp-1);
  font-family: var(--font-display); font-size: var(--fs-h4);
  font-weight: var(--fw-semibold); text-transform: uppercase;
  letter-spacing: 0.02em; color: var(--c-text);
}

.service-card {
  padding: var(--sp-5);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service-card:hover { border-color: var(--c-accent); transform: translateY(-3px); }
.service-card { display: flex; flex-direction: column; gap: var(--sp-2); border-top: 3px solid var(--c-accent); background: var(--c-surface); }
.service-card__index { font-family: var(--font-display); font-size: 2.5rem; font-weight: 200; color: var(--c-faint); line-height: 1; }
.service-card h3 { font-size: var(--fs-h4); margin-bottom: 0; }
.service-card h3 a { color: var(--c-text); text-decoration: none; }
.service-card h3 a::after { content: ''; position: absolute; inset: 0; }
.service-card { position: relative; }
.service-card p { font-size: var(--fs-sm); margin: 0; }
.service-card__more {
  margin-top: auto; padding-top: var(--sp-2);
  font-family: var(--font-display); font-size: var(--fs-kicker);
  font-weight: var(--fw-semibold); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-accent-text);
}

/* ======================================================= cookie consent */

.consent {
  position: fixed; left: 0; right: 0; bottom: 0;
  /* Op telefoons zit de bel-balk onderaan; de melding gaat daarboven staan. */
  z-index: var(--z-modal);
  background: var(--c-surface);
  border-top: 2px solid var(--c-accent);
  box-shadow: var(--shadow-lg);
  padding-block: var(--sp-5);
}
.consent__inner {
  display: grid; gap: var(--sp-5);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 52em) { .consent__inner { grid-template-columns: 1fr auto; } }

@media (max-width: 63.99em) { .consent { bottom: 4.5rem; } }
.consent__title { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.consent__text { font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: var(--sp-2); }
.consent__list { margin: 0 0 var(--sp-2); padding-left: 1.1rem; font-size: var(--fs-sm); color: var(--c-muted); }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.price-suffix {
  display: inline-block; margin-left: var(--sp-2);
  font-family: var(--font-body); font-size: 0.75rem;
  font-weight: var(--fw-body); letter-spacing: 0;
  color: var(--c-muted); text-transform: none;
}

/* ========================================================= announcement */

.announce {
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font-family: var(--font-display);
  font-size: var(--fs-kicker);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55rem 0;
}
.announce a { color: inherit; text-decoration: none; }
.announce a:hover { text-decoration: underline; }

/* ======================================================= header search */

.header-search {
  display: none;
  flex: 1 1 20rem;
  max-width: 40rem;
  margin-inline: auto;
  align-items: stretch;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  background: var(--c-surface-2);
  overflow: hidden;
}
@media (min-width: 48em) { .header-search { display: flex; } }

.header-search__scope {
  width: auto;
  border: 0;
  border-right: 1px solid var(--c-line-strong);
  border-radius: 0;
  background: transparent;
  font-size: var(--fs-sm);
  color: var(--c-muted);
  padding-inline: 0.75rem;
}
.header-search input[type='search'] {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.6rem 0.8rem;
}
.header-search__go {
  display: grid;
  place-items: center;
  width: 3rem;
  border: 0;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  cursor: pointer;
}
.header-search__go:hover { background: var(--c-accent-text); }

/* ============================================================= carousel */

.carousel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-5);
}
.carousel-head .section-head { flex: 1 1 auto; margin-bottom: var(--sp-5); }

.carousel-nav { display: none; gap: var(--sp-2); flex: none; padding-top: var(--sp-5); }
@media (min-width: 52em) { .carousel-nav { display: flex; } }

.carousel-btn {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  background: transparent;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  color: var(--c-text);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.carousel-btn:hover { border-color: var(--c-accent); color: var(--c-accent-text); }
.carousel-btn[disabled] { opacity: 0.3; cursor: default; }

/*
 * A plain scrollable list. Snap points keep it tidy, but nothing here
 * depends on JavaScript: swipe, trackpad, arrow keys and the tab key all
 * work on their own. The buttons are an extra, not the mechanism.
 */
.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 78vw);
  gap: var(--sp-5);
  margin: 0;
  padding: 0 0 var(--sp-3);
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--c-line-strong) transparent;
}
@media (min-width: 40em) { .carousel { grid-auto-columns: minmax(15rem, 42%); } }
@media (min-width: 64em) { .carousel { grid-auto-columns: minmax(15rem, 30%); } }
@media (min-width: 90em) { .carousel { grid-auto-columns: minmax(15rem, 23%); } }

.carousel:focus-visible { outline: 3px solid var(--c-accent-text); outline-offset: 4px; }
.carousel__item { margin: 0; scroll-snap-align: start; display: flex; }
.carousel__item > * { width: 100%; }

.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-thumb { background: var(--c-line-strong); border-radius: 999px; }

/* ============================================================== brands */

.brandstrip {
  display: flex; flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  align-items: center; justify-content: center;
  margin: 0; padding: 0; list-style: none;
}
.brandstrip li { margin: 0; }
.brandstrip a, .brandstrip span {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.85rem + 0.6vw, 1.5rem);
  font-weight: var(--fw-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-faint);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.brandstrip a:hover { color: var(--c-text); }

/* ========================================================== shop doors */

.shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-5); }
.shop-head .section-head { flex: 1 1 30rem; }

.segmented {
  display: inline-flex; flex: none;
  border: 1px solid var(--c-line-strong); border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--sp-7);
}
.segmented a {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-width: 9rem; height: 3rem; padding: 0 var(--sp-5);
  justify-content: center;
  font-family: var(--font-display); font-size: var(--fs-sm);
  font-weight: var(--fw-semibold); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-muted); text-decoration: none;
}
.segmented a span { font-family: var(--font-body); font-size: 0.75rem; font-weight: var(--fw-body); letter-spacing: 0; color: var(--c-faint); }
.segmented a:hover { color: var(--c-text); }
.segmented a[aria-current='page'] { background: var(--c-accent); color: var(--c-accent-ink); }
.segmented a[aria-current='page'] span { color: var(--c-accent-ink); }

.shop-doors { margin-bottom: var(--sp-8); }
.shop-door {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sp-3);
  min-height: 20rem; padding: var(--sp-6);
  background: var(--c-surface);
  border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  color: var(--c-text); text-decoration: none;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.shop-door::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 60%;
  background: repeating-linear-gradient(135deg, var(--c-surface-2) 0 12px, var(--c-surface) 12px 24px);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}
.shop-door:hover { border-color: var(--c-accent); transform: translateY(-3px); color: var(--c-text); }
.shop-door > * { position: relative; }
.shop-door .badge { position: absolute; top: var(--sp-5); left: var(--sp-6); }
.shop-door__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: var(--fw-display); text-transform: uppercase; line-height: 1.1; margin-top: auto; }
.shop-door__intro { font-size: var(--fs-sm); color: var(--c-muted); max-width: 44ch; }
.shop-door__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); margin-top: var(--sp-2); }
.shop-door__foot .muted { font-size: var(--fs-sm); }

.shop-cats { margin-bottom: var(--sp-8); }
.shop-cats__list { list-style: none; margin: 0; padding: 0; gap: var(--sp-3); }
.shop-cats__list li { margin: 0; }
.shop-cats__list a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  font-family: var(--font-display); font-size: var(--fs-base); font-weight: var(--fw-semibold);
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-text); text-decoration: none;
}
.shop-cats__list a span { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: var(--fw-body); letter-spacing: 0; text-transform: none; color: var(--c-muted); }
.shop-cats__list a:hover { border-color: var(--c-accent); }

.shop-ask {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-5);
  margin-top: var(--sp-8); padding: var(--sp-6);
  border-left-width: 4px;
}
.shop-ask strong { display: block; font-family: var(--font-display); font-size: var(--fs-h4); text-transform: uppercase; margin-bottom: var(--sp-1); }
.shop-ask > div { flex: 1 1 28rem; color: var(--c-muted); }
.shop-ask .cluster { margin: 0; }

/* ------------------------------------------------------------- lightbox */
/* Built by site.js on first use, so nothing below exists without JS.
   The markup is a dialog holding three buttons, a figure and a counter. */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: none;
  align-items: center; justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: rgb(0 0 0 / 0.92);
}
.lightbox.is-open { display: flex; }

.lightbox__figure {
  margin: 0;
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: center;
  min-width: 0; max-height: 100%;
}
.lightbox__figure img {
  max-width: 100%;
  /* Room for the counter under the photo and the padding around it. */
  max-height: calc(100vh - var(--sp-9));
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__btn {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  /* 44px, the smallest target that still works with a thumb. */
  width: 2.75rem; height: 2.75rem;
  padding: 0;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1;
  cursor: pointer;
}
.lightbox__btn:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
.lightbox__btn:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.lightbox__close { position: absolute; top: var(--sp-4); right: var(--sp-4); }

.lightbox__counter {
  position: absolute; left: 0; right: 0; bottom: var(--sp-4);
  margin: 0;
  text-align: center;
  color: rgb(255 255 255 / 0.72);
  font-size: var(--fs-sm);
}

/* On a narrow screen the arrows would squeeze the photo into a sliver, so
   they move on top of it at the edges instead. Hiding them is not an option:
   the overlay covers the strip of thumbnails, so they are the only way to
   reach the second photo. */
@media (max-width: 47.99em) {
  .lightbox { padding: var(--sp-3); }
  .lightbox__prev, .lightbox__next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgb(0 0 0 / 0.55);
  }
  .lightbox__prev { left: var(--sp-2); }
  .lightbox__next { right: var(--sp-2); }
  .lightbox__figure img { max-height: calc(100vh - var(--sp-8)); }
}

.occasion__zoom { display: block; cursor: zoom-in; }
.occasion__hero .occasion__zoom img { display: block; }
