/* ============================================================
   INTERACTIVITEIT · toast, cart drawer
   ============================================================ */

.toast {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--ink);
  color: var(--bg);
  padding: 14px 22px;
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
  border: 1px solid rgba(196, 162, 109, 0.5);
  box-shadow: 0 20px 44px -14px rgba(13,12,10,0.4);
  opacity: 0;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  z-index: 300;
  pointer-events: none;
  max-width: 90vw;
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
}

/* Cart drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: var(--bg);
  z-index: 250;
  transform: translateX(100%);
  transition: transform .45s var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: -24px 0 56px -16px rgba(13,12,10,0.3);
}

body.cart-open .cart-drawer { transform: translateX(0); }

.cart-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 12, 10, 0.55);
  z-index: 240;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}

body.cart-open .cart-drawer__overlay {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-5) var(--s-6);
  background: var(--wine-ink);
  color: var(--pink);
  border-bottom: 1px solid color-mix(in oklab, var(--pink) 20%, transparent);
}

.cart-drawer__head span {
  font-family: var(--display);

  font-size: var(--t-lg);
  color: var(--pink);
  letter-spacing: -0.005em;
}

.cart-drawer__head button {
  background: transparent;
  border: none;
  color: color-mix(in oklab, var(--pink) 78%, transparent);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 var(--s-2);
  transition: color .2s var(--ease);
}

.cart-drawer__head button:hover { color: #fff; }

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 0 var(--s-6);
}

.cart-empty {
  text-align: center;
  padding: var(--s-9) var(--s-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-5);
}

.cart-empty p {
  font-family: var(--display);

  font-size: var(--t-lg);
  color: var(--ink-soft);
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: var(--s-4);
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--rule-soft);
}

.cart-item:last-child { border-bottom: none; }

.cart-item__media {
  width: 60px;
  height: 75px;
  background: var(--bg-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item__media img {
  max-width: 70%;
  max-height: 90%;
  object-fit: contain;
}

.cart-item__body { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }

.cart-item__name {
  font-family: var(--display);
  font-size: var(--t-sm);
  color: var(--ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Wishlist items link through to the product */
a.cart-item__name { transition: color .2s var(--ease); cursor: pointer; }
a.cart-item__name:hover { color: var(--gold); }
a.cart-item__media { transition: opacity .2s var(--ease); cursor: pointer; }
a.cart-item__media:hover { opacity: 0.82; }

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-2);
}

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
}

.cart-item__qty button {
  width: 26px;
  height: 26px;
  background: transparent;
  border: none;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}

.cart-item__qty button:hover { color: var(--gold-text); }

.cart-item__qty span {
  display: inline-block;
  min-width: 22px;
  text-align: center;
  font-size: var(--t-xs);
  font-weight: 500;
}

.cart-item__remove {
  background: transparent;
  border: none;
  color: var(--ink-mute);
  font-size: var(--t-xxs);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.04em;
}

.cart-item__remove:hover { color: var(--wine); }

.cart-item__total {
  font-family: var(--display);
  font-weight: 500;
  color: var(--wine);
  font-size: var(--t-sm);
  text-align: right;
  align-self: start;
  white-space: nowrap;
}

.cart-drawer__foot {
  padding: var(--s-6);
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--s-5);
}

.cart-drawer__total span:first-child {
  font-size: var(--t-xxs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.cart-drawer__total span:last-child {
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--t-2xl);
  color: var(--wine);
  letter-spacing: -0.015em;
}

.cart-drawer__foot button {
  width: 100%;
  height: 54px;
  background: var(--wine);
  color: #fff;
  border: none;
  font-family: var(--body);
  font-weight: 500;
  font-size: var(--t-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
}

.cart-drawer__foot button:hover { background: var(--wine-deep); color: #fff; }

/* ============================================================
   PREVIEW NAV
   ============================================================ */

.preview-nav {
  position: fixed;
  bottom: var(--s-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: color-mix(in oklab, var(--bg) 80%, #fff);
  border: 1px solid var(--rule);
  padding: 5px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  box-shadow: 0 16px 36px -16px rgba(58,22,34,0.4);
}

.preview-nav__label {
  padding: 0 var(--s-3);
  color: var(--ink-mute);
  font-family: var(--display);

  letter-spacing: 0.1em;
  font-size: 11px;
  text-transform: none;
}

.preview-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-mute);
  transition: background .2s var(--ease), color .2s var(--ease);
}

.preview-nav a:hover { color: var(--wine); }

.preview-nav a.is-current {
  background: var(--wine);
  color: #fff;
}

/* ============================================================
   MARBLE BAND · thin decorative divider between sections
   ============================================================ */

.marble-band {
  height: clamp(46px, 5.5vw, 70px);
  background:
    radial-gradient(72% 170% at 24% 50%, var(--wash-rose), transparent 72%),
    radial-gradient(60% 150% at 78% 50%, var(--wash-mauve), transparent 74%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

.marble-band::before,
.marble-band::after {
  content: '';
  position: absolute;
  left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wine-soft) 50%, transparent);
  opacity: 0.22;
  pointer-events: none;
}
.marble-band::before { top: 38%; }
.marble-band::after  { bottom: 38%; }

/* ============================================================
   LOGO SHOWCASE · new mark introduction
   ============================================================ */

.logo-showcase {
  padding-block: clamp(4rem, 8vw, 7.5rem);
  background:
    radial-gradient(900px 540px at 84% 6%, var(--wash-rose), transparent 68%),
    radial-gradient(820px 640px at 2% 94%, var(--wash-blush), transparent 72%),
    var(--bg);
  border-block: 1px solid var(--rule-soft);
  position: relative;
  overflow: hidden;
}

.logo-showcase::before,
.logo-showcase::after {
  content: '';
  position: absolute;
  width: 1px;
  top: 10%;
  bottom: 10%;
  background: linear-gradient(180deg, transparent, var(--wine-soft) 50%, transparent);
  opacity: 0.16;
  pointer-events: none;
}
.logo-showcase::before { left: var(--gutter); }
.logo-showcase::after  { right: var(--gutter); }

.logo-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}

.logo-showcase__copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  max-width: 38ch;
}

.logo-showcase__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--t-2xl);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: var(--s-2);
}
.logo-showcase__title em { color: var(--gold-text); font-weight: 500; }

.logo-showcase__text {
  font-size: var(--t-md);
  color: var(--ink-soft);
  line-height: 1.65;
}
.logo-showcase__text em { color: var(--gold-text); }

.logo-showcase__meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-4);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}

.logo-showcase__meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logo-showcase__label {
  font-size: var(--t-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.logo-showcase__value {
  font-family: var(--display);

  font-size: var(--t-md);
  color: var(--ink);
  letter-spacing: -0.005em;
}

.logo-showcase__frame {
  margin: 0;
  position: relative;
  aspect-ratio: 27 / 44;
  background:
    radial-gradient(120% 100% at 50% 0%, #fff, transparent 62%),
    linear-gradient(180deg, #fffdfb 0%, var(--wash-blush) 100%);
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 34px 70px -34px rgba(58,22,34,0.22),
    0 6px 16px -10px rgba(58,22,34,0.12);
  overflow: hidden;
}

.logo-showcase__frame::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid color-mix(in oklab, var(--wine) 16%, transparent);
  border-radius: 2px;
  pointer-events: none;
}

.logo-showcase__art {
  width: 100%;
  height: auto;
  max-width: 420px;
  display: block;
}

.logo-showcase__caption {
  margin-top: var(--s-4);
  font-size: var(--t-xxs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .wines { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "menu brand actions"
      "search search search";
    row-gap: var(--s-3);
  }
  .nav-toggle { display: inline-flex; grid-area: menu; }
  .brand { grid-area: brand; }
  .actions { grid-area: actions; gap: var(--s-4); }
  .searchbar { grid-area: search; width: 100%; }
  .action span:not(.action__count) { display: none; }
  /* Labels are hidden on mobile, so keep the badge snug to the icon */
  .action__count { top: -8px; right: -8px; }

  /* Nav collapses behind the hamburger */
  .subnav { display: none; }
  body.nav-open .subnav { display: block; }
  .subnav__row {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: var(--s-2);
  }
  .subnav__row a {
    padding: var(--s-3) var(--s-1);
    border-bottom: 1px solid var(--rule-soft);
  }
  .subnav__row a:last-child { border-bottom: none; }

  /* Hide the USP strip on the product page (saves space on mobile) */
  .page-product .usp { display: none; }

  .usp__row { grid-template-columns: 1fr 1fr; }
  .usp__item + .usp__item::before { display: none; }
  .usp__item { border-bottom: 1px solid var(--rule-soft); }
  .usp__item:nth-child(3), .usp__item:nth-child(4) { border-bottom: none; }

  .hero__frame { grid-template-columns: 1fr; gap: var(--s-5); }
  .hero__index, .hero__scroll { display: none; }

  .wines { grid-template-columns: repeat(2, 1fr); }
  .wines--3 { grid-template-columns: repeat(2, 1fr); }

  .section-head { grid-template-columns: 1fr; }
  .section-head__meta { align-items: flex-start; text-align: left; }

  .story { grid-template-columns: 1fr; }

  .boutique-banner__frame { grid-template-columns: 1fr; gap: var(--s-6); }

  .cat-hero__inner { grid-template-columns: 1fr; align-items: start; gap: var(--s-5); }
  .cat-layout { grid-template-columns: 1fr; }

  /* Webshop filters become an off-canvas drawer behind a Filter button */
  .filter-toggle { display: inline-flex; }
  .sidebar__close { display: flex; }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(88vw, 360px);
    z-index: 250;
    background: var(--surface);
    padding: var(--s-6) var(--s-5);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .32s var(--ease-out);
    box-shadow: 24px 0 56px -16px rgba(13, 12, 10, 0.3);
  }
  body.filters-open .sidebar { transform: translateX(0); }
  body.filters-open .cart-drawer__overlay { opacity: 1; pointer-events: auto; }

  .product { grid-template-columns: 1fr; }
  .product__attrs { grid-template-columns: repeat(2, 1fr); }

  .opinie { grid-template-columns: 1fr; justify-items: center; text-align: center; }

  .detail-grid { grid-template-columns: 1fr; }

  .boutique-info { grid-template-columns: 1fr; }
  .gallery__cell--tall,
  .gallery__cell--wide,
  .gallery__cell--med { grid-column: span 6; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
}

@media (max-width: 540px) {
  /* Grape becomes a smaller top-right accent so it clears the wordmark */
  .hero__bg::after { width: clamp(150px, 42vw, 210px); top: -1%; right: -4%; }
  .hero__brand { width: clamp(220px, 62vw, 300px); }

  .usp__row { grid-template-columns: 1fr; }
  .usp__item { border-bottom: 1px solid var(--rule-soft); }
  .usp__item:last-child { border-bottom: none; }

  .wines, .wines--3 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--s-3); text-align: center; }

  .newsletter__form { grid-template-columns: 1fr; }
  .newsletter__form button { padding: var(--s-4); }

  .preview-nav { font-size: 9px; padding: 4px; }
  .preview-nav__label { display: none; }
  .preview-nav a { padding: 6px 10px; }

  .toast { font-size: var(--t-xxs); padding: 10px 16px; bottom: 4.5rem; }
}

/* ============================================================
   WATERCOLOR MOTION · first-load hero choreography
   ============================================================ */
@keyframes jjRise  { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes jjBleed { from { opacity: 0; transform: rotate(3deg) scale(1.06); } to { opacity: 0.92; transform: rotate(3deg) scale(1); } }

html.js .hero__brand     { animation: jjRise .9s var(--ease-expo) both .06s; }
html.js .hero__eyebrow   { animation: jjRise .9s var(--ease-expo) both .12s; }
html.js .hero__title     { animation: jjRise 1s  var(--ease-expo) both .24s; }
html.js .hero__lede      { animation: jjRise .9s var(--ease-expo) both .42s; }
html.js .hero__meta .btn { animation: jjRise .9s var(--ease-expo) both .54s; }
html.js .hero__bg::after { animation: jjBleed 1.8s var(--ease-expo) both .15s; }

/* Cards settle up as a group; each one lifts on hover. */
.card { transition: transform .5s var(--ease-expo); }
.card:hover { transform: translateY(-4px); }
html.js .wines.is-visible .card { animation: jjRise .8s var(--ease-expo) both; }
html.js .wines.is-visible .card:nth-child(2) { animation-delay: .08s; }
html.js .wines.is-visible .card:nth-child(3) { animation-delay: .16s; }
html.js .wines.is-visible .card:nth-child(4) { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html.js .hero__brand, html.js .hero__eyebrow, html.js .hero__title, html.js .hero__lede,
  html.js .hero__meta .btn, html.js .hero__bg::after,
  html.js .wines.is-visible .card { animation: none; }
  .card:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* Sticky header gains a soft wine-tinted lift once you scroll past the hero. */
.site-header { transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.site-header.is-scrolled {
  box-shadow: 0 10px 30px -22px rgba(58,22,34,0.55);
  background: color-mix(in oklab, var(--bg) 92%, #fff);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 2vw, 2rem);
  overflow: hidden;
}
.contact-hero__grape {
  position: absolute; top: -14%; right: -1%;
  width: clamp(170px, 25vw, 360px); aspect-ratio: 1100 / 1972;
  background: url('https://cdn.webshopapp.com/shops/336242/files/499898716/grape-wash.webp') no-repeat center / contain;
  opacity: 0.42; transform: rotate(8deg); pointer-events: none;
}
.contact-hero__title {
  font-family: var(--display); font-weight: 400;
  font-size: var(--t-4xl); line-height: 0.98; letter-spacing: -0.025em;
  color: var(--ink); margin-top: var(--s-4);
}
.contact-hero__title em { color: var(--wine); }
.contact-hero__intro {
  margin-top: var(--s-5); font-size: var(--t-lg);
  color: var(--ink-soft); line-height: 1.6; max-width: 54ch;
}

.contact-section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}

.contact-form-wrap {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  box-shadow: 0 34px 66px -44px rgba(58,22,34,0.32);
}
.contact-form { display: flex; flex-direction: column; gap: var(--s-5); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field label { font-size: var(--t-xs); font-weight: 600; color: var(--ink-soft); letter-spacing: 0.01em; }
.field input, .field textarea, .select-wrap select {
  font: inherit; font-size: var(--t-sm); color: var(--ink);
  background: var(--bg); border: 1px solid var(--rule); border-radius: 4px;
  padding: 13px 15px; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field textarea:focus, .select-wrap select:focus {
  outline: none; border-color: var(--wine);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--wine) 16%, transparent);
  background: var(--surface);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--wine-soft); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.select-wrap svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--wine); pointer-events: none; }

.field-check { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; font-size: var(--t-sm); color: var(--ink-soft); cursor: pointer; line-height: 1.5; }
.field-check > input { position: absolute; opacity: 0; width: 0; height: 0; }
.field-check__box { width: 20px; height: 20px; border: 1px solid var(--rule); border-radius: 4px; background: var(--bg); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background .15s var(--ease), border-color .15s var(--ease); margin-top: 1px; }
.field-check__box svg { width: 12px; height: 12px; opacity: 0; transition: opacity .15s var(--ease); }
.field-check > input:checked + .field-check__box { background: var(--wine); border-color: var(--wine); }
.field-check > input:checked + .field-check__box svg { opacity: 1; }
.field-check > input:focus-visible + .field-check__box { box-shadow: 0 0 0 3px color-mix(in oklab, var(--wine) 18%, transparent); }

.contact-form__submit { align-self: flex-start; margin-top: var(--s-2); }
.form-error { color: var(--wine); font-size: var(--t-sm); }

.contact-success { text-align: center; padding: clamp(1.5rem, 4vw, 3rem) var(--s-4); display: flex; flex-direction: column; align-items: center; gap: var(--s-3); }
.contact-success__mark { width: 62px; height: 62px; border-radius: 999px; background: color-mix(in oklab, var(--wine) 12%, transparent); color: var(--wine); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s-2); }
.contact-success__mark svg { width: 27px; height: 27px; }
.contact-success__title { font-family: var(--display); font-size: var(--t-2xl); color: var(--ink); line-height: 1.1; }
.contact-success__text { color: var(--ink-soft); max-width: 44ch; line-height: 1.65; }

.contact-aside { display: flex; flex-direction: column; gap: var(--s-5); }
.contact-card {
  background: radial-gradient(130% 120% at 100% 0%, var(--wash-blush), transparent 62%), var(--surface);
  border: 1px solid var(--rule-soft); border-radius: 6px;
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.contact-list { display: flex; flex-direction: column; }
.contact-list li { display: grid; grid-template-columns: 88px 1fr; gap: var(--s-3); align-items: baseline; padding-block: var(--s-3); border-bottom: 1px solid var(--rule-soft); }
.contact-list li:last-child { border-bottom: none; }
.contact-list__label { font-size: var(--t-xxs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }
.contact-list__value { font-family: var(--display); font-size: var(--t-md); color: var(--ink); }
.contact-list__value--link { color: var(--wine); border-bottom: 1px solid color-mix(in oklab, var(--wine) 40%, transparent); padding-bottom: 1px; width: fit-content; }
.contact-list__soon { color: var(--ink-mute); }
.contact-card__note { font-size: var(--t-sm); color: var(--ink-soft); line-height: 1.65; }
.contact-socials { display: flex; gap: var(--s-2); margin-top: var(--s-2); }
.contact-socials a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); color: var(--wine); border-radius: 999px; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.contact-socials a:hover { background: var(--wine); color: #fff; border-color: var(--wine); }
.contact-socials svg { width: 15px; height: 15px; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Plain functional card title (replaces decorative eyebrow on contact aside) */
.contact-card__title {
  font-family: var(--body);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--wine);
  letter-spacing: 0.01em;
  margin-bottom: var(--s-1);
}

/* ============================================================
   AUTH MODAL · login + register (Joli Jus branding)
   ============================================================ */

body.no-scroll { overflow: hidden; }

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.auth-modal__overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--wine-ink) 62%, transparent);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.auth-modal.is-open .auth-modal__overlay { opacity: 1; }

.auth-modal__card {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 8px;
  box-shadow: 0 44px 90px -34px rgba(58, 22, 34, 0.5);
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity .32s var(--ease-out), transform .32s var(--ease-expo);
}
.auth-modal.is-open .auth-modal__card { opacity: 1; transform: none; }

.auth-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.auth-modal__close:hover { background: var(--wine); color: #fff; border-color: var(--wine); }
.auth-modal__close svg { width: 16px; height: 16px; }

.auth-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-col {
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.auth-col + .auth-col { border-left: 1px solid var(--rule-soft); }

/* Register side carries the brand watercolour wash. */
.auth-col--register {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, var(--wash-blush), transparent 66%),
    var(--surface);
}
.auth-col--register::before {
  content: '';
  position: absolute;
  right: -20%;
  bottom: -24%;
  width: 78%;
  aspect-ratio: 1400 / 1043;
  background: url("https://cdn.webshopapp.com/shops/336242/files/499898715/brand-wash.webp") no-repeat center / contain;
  opacity: 0.5;
  pointer-events: none;
}
.auth-col--register > * { position: relative; z-index: 1; }

.auth-col__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--t-2xl);
  line-height: 1.05;
  color: var(--wine);
  letter-spacing: -0.015em;
}
.auth-col__intro {
  font-size: var(--t-sm);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 34ch;
}

.auth-form { display: flex; flex-direction: column; gap: var(--s-4); }
.auth-form__submit { align-self: flex-start; margin-top: var(--s-2); }

.auth-link {
  font-size: var(--t-sm);
  color: var(--wine);
  width: fit-content;
  border-bottom: 1px solid color-mix(in oklab, var(--wine) 34%, transparent);
  padding-bottom: 1px;
  transition: border-color .2s var(--ease);
}
.auth-link:hover { border-color: var(--wine); }

.auth-note {
  font-size: var(--t-sm);
  color: var(--ink-soft);
  line-height: 1.6;
  padding: var(--s-3) var(--s-4);
  background: color-mix(in oklab, var(--wine) 8%, transparent);
  border-radius: 5px;
}

.auth-col--register .btn { align-self: flex-start; }

@media (max-width: 680px) {
  .auth-modal__grid { grid-template-columns: 1fr; }
  .auth-col + .auth-col { border-left: none; border-top: 1px solid var(--rule-soft); }
}

/* ============================================================
   REGISTER PAGE · modern account creation
   ============================================================ */

.reg {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 8vw, 6rem);
  background:
    radial-gradient(90% 60% at 12% 0%, var(--wash-blush), transparent 60%),
    var(--bg);
}

.reg__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

/* ---- Brand aside ---- */
.reg-aside { position: sticky; top: 120px; }
.reg-aside__inner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 100% 0%, var(--wash-blush), transparent 62%),
    var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: 0 34px 70px -46px rgba(58, 22, 34, 0.4);
}
.reg-aside__inner::before {
  content: '';
  position: absolute;
  right: -22%;
  bottom: -26%;
  width: 82%;
  aspect-ratio: 1400 / 1043;
  background: url("https://cdn.webshopapp.com/shops/336242/files/499898715/brand-wash.webp") no-repeat center / contain;
  opacity: 0.5;
  pointer-events: none;
}
.reg-aside__inner > * { position: relative; z-index: 1; }

.reg-aside__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--t-2xl);
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-top: var(--s-3);
}
.reg-aside__title em { color: var(--wine); }
.reg-aside__intro {
  font-size: var(--t-sm);
  color: var(--ink-soft);
  line-height: 1.65;
  margin-top: var(--s-4);
  max-width: 34ch;
}
.reg-benefits {
  list-style: none;
  margin: var(--s-5) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.reg-benefits li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  align-items: start;
  font-size: var(--t-sm);
  color: var(--ink-soft);
  line-height: 1.5;
}
.reg-benefits__mark {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--wine) 12%, transparent);
  color: var(--wine);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.reg-benefits__mark svg { width: 12px; height: 12px; }
.reg-aside__login {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule-soft);
  font-size: var(--t-sm);
  color: var(--ink-soft);
}

/* ---- Form blocks ---- */
.reg-form { display: flex; flex-direction: column; gap: clamp(1.2rem, 2.4vw, 1.8rem); }

.reg-block {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  box-shadow: 0 24px 54px -46px rgba(58, 22, 34, 0.34);
}
.reg-block__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  align-items: center;
  margin-bottom: var(--s-5);
}
.reg-block__step {
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-family: var(--display);
  font-size: var(--t-md);
  display: inline-flex; align-items: center; justify-content: center;
}
.reg-block__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--t-lg);
  color: var(--ink);
  line-height: 1;
}
.reg-block__hint { font-size: var(--t-xs); color: var(--ink-mute); margin-top: 3px; }
.reg-block__body { display: flex; flex-direction: column; gap: var(--s-4); }
.reg-block__body--flush { gap: var(--s-4); }

.req { color: var(--wine); font-weight: 600; }
.opt { color: var(--ink-mute); font-weight: 400; font-size: 0.85em; }

/* street row: straat / nr / bus */
.reg-row-street { grid-template-columns: 2.4fr 1fr 1fr; }

/* phone with country code */
.field-phone {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--bg);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field-phone:focus-within {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--wine) 16%, transparent);
  background: var(--surface);
}
.field-phone__cc {
  display: inline-flex; align-items: center;
  padding: 0 12px;
  font-size: var(--t-sm);
  color: var(--ink-soft);
  background: color-mix(in oklab, var(--wine) 6%, transparent);
  border-right: 1px solid var(--rule);
  white-space: nowrap;
}
.field-phone input { border: none; background: transparent; box-shadow: none; }
.field-phone input:focus { box-shadow: none; background: transparent; }

/* shipping block reveal */
.reg-ship {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: var(--s-4);
  border: 1px dashed var(--rule);
  border-radius: 8px;
  background: color-mix(in oklab, var(--wash-blush) 40%, transparent);
}
.reg-ship__label {
  font-size: var(--t-xxs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.reg-check-inline { margin-top: var(--s-1); }

/* password field */
.field-pass { position: relative; }
.field-pass input { padding-right: 46px; }
.field-pass__toggle {
  position: absolute;
  top: 50%; right: 8px;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; background: transparent;
  color: var(--ink-mute);
  cursor: pointer;
  border-radius: 6px;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.field-pass__toggle:hover { color: var(--wine); background: color-mix(in oklab, var(--wine) 8%, transparent); }
.field-pass__toggle svg { width: 18px; height: 18px; }
.field-pass__toggle.is-on { color: var(--wine); }

.pass-meter {
  height: 5px;
  border-radius: 999px;
  background: var(--rule-soft);
  overflow: hidden;
  margin-top: 2px;
}
.pass-meter > span {
  display: block; height: 100%; width: 0;
  border-radius: 999px;
  background: var(--wine-soft);
  transition: width .25s var(--ease), background .25s var(--ease);
}
.pass-meter[data-level="1"] > span { width: 33%; background: #c9736f; }
.pass-meter[data-level="2"] > span { width: 66%; background: #d9a05b; }
.pass-meter[data-level="3"] > span { width: 100%; background: var(--leaf); }

.field-help { font-size: var(--t-xs); color: var(--ink-mute); line-height: 1.5; }
.field-help--match.is-ok { color: var(--leaf); }
.field-help--match.is-bad { color: var(--wine); }

.reg-actions {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
  margin-top: var(--s-2);
}
.reg-req-note { font-size: var(--t-xs); color: var(--ink-mute); }

.reg-success { max-width: 520px; margin: clamp(2rem,6vw,4rem) auto 0; }

@media (max-width: 900px) {
  .reg__grid { grid-template-columns: 1fr; }
  .reg-aside { position: static; }
}
@media (max-width: 560px) {
  .reg-row-street { grid-template-columns: 1fr; }
}

.field-phone__cc { gap: 7px; }
.field-phone__flag { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.06); display: inline-block; }

/* ============================================================
   JJ-02 · KEYBOARD FOCUS · consistent, visible, keyboard-only
   One brand ring for every interactive element. :focus-visible
   keeps it off mouse/touch focus so the design stays clean.
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Controls that intentionally strip the default outline still need a
   keyboard ring. These match at equal specificity and win by source order. */
.searchbar input:focus-visible,
.newsletter__form input:focus-visible,
.price-slider input[type="range"]:focus-visible,
.qty input:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}

/* On dark/wine surfaces a wine ring can disappear; use a light ring there. */
.btn--primary:focus-visible,
.newsletter__form button:focus-visible,
.preview-nav a.is-current:focus-visible,
.card__quickadd:focus-visible {
  outline-color: var(--surface);
}

@media (prefers-reduced-motion: reduce) {
  :focus-visible { transition: none; }
}

/* ============================================================
   JJ-10 · SKIP LINK · visible only on keyboard focus
   ============================================================ */
.skip-link {
  position: absolute;
  left: var(--s-4);
  top: var(--s-4);
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--wine);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: var(--body);
  font-size: var(--t-sm);
  text-decoration: none;
  box-shadow: 0 12px 30px -12px rgba(58,22,34,0.5);
  transition: transform .2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* Programmatic focus target shouldn't show a ring */
#main:focus { outline: none; }

/* JJ-13 · qty is type=number for mobile keypad; hide native spinners (custom +/- used) */
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

/* ============================================================
   EMPTY CATEGORY · shown when a category has no wines yet
   ============================================================ */
.empty-cat {
  text-align: center;
  max-width: 44rem;
  margin: clamp(2.5rem, 7vw, 6rem) auto;
  padding: 0 var(--s-4);
}
.empty-cat__icon {
  width: 46px; height: 46px;
  color: var(--wine-soft);
  margin: 0 auto var(--s-5);
}
.empty-cat__title {
  font-family: var(--display);
  font-size: var(--t-xl);
  color: var(--ink);
  margin-bottom: var(--s-4);
}
.empty-cat__text {
  color: var(--ink-mute);
  font-size: var(--t-md);
  line-height: 1.7;
  margin-bottom: var(--s-6);
}
.empty-cat__actions { display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap; }

/* Empty-category mode: hide product filters, keep the Categorieën nav */
body.cat-empty .sidebar .filter-block:not(:first-child) { display: none; }

/* ============================================================
   INFO / LEGAL PAGES · placeholder content pages
   ============================================================ */
.legal { max-width: 46rem; margin: clamp(2rem, 5vw, 4rem) auto clamp(3rem, 7vw, 6rem); }
.legal__note {
  background: var(--pink-soft);
  color: var(--wine-deep);
  border-radius: 8px;
  padding: var(--s-3) var(--s-4);
  font-size: var(--t-sm);
  margin-bottom: var(--s-6);
}
.legal h2 { font-family: var(--display); font-size: var(--t-lg); color: var(--ink); margin: var(--s-7) 0 var(--s-3); }
.legal p { color: var(--ink-soft); font-size: var(--t-md); line-height: 1.8; margin-bottom: var(--s-4); }

/* ============================================================
   WISHLIST DRAWER · same visual language as the cart drawer
   ============================================================ */
.wish-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  background: var(--bg);
  z-index: 250;
  transform: translateX(100%);
  transition: transform .45s var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: -24px 0 56px -16px rgba(13,12,10,0.3);
}
body.wish-open .wish-drawer { transform: translateX(0); }
body.wish-open .cart-drawer__overlay { opacity: 1; pointer-events: auto; }

/* Product stock + delivery indicators */
.product__avail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-6);
  margin: var(--s-4) 0 var(--s-5);
}
.product__stock,
.product__delivery {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--stock-green);
}
.product__stock svg,
.product__delivery svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ============================================================
   Lightspeed structural overrides (Joli Jus)
   ============================================================ */
.card__link { position: absolute; inset: 0; z-index: 1; }
.card__quickadd-form { display: contents; }
.card__heart, .card__quickadd { z-index: 2; }
a.card__heart { text-decoration: none; }
.card__body, .card__media { position: relative; }
.cat-tree__sub { padding-left: var(--s-4); opacity: .8; }
.pagination { display: flex; gap: var(--s-2); justify-content: center; padding-block: var(--s-7); flex-wrap: wrap; }
.pagination a { padding: 8px 14px; border: 1px solid var(--rule-soft); text-decoration: none; color: inherit; }
.pagination a.is-current { background: var(--ink); color: var(--bg); }
.cat-empty { padding-block: var(--s-9); text-align: center; }
.messages { padding: var(--s-4); margin-block: var(--s-4); border: 1px solid var(--rule-soft); }
.messages--error { border-color: var(--wine); color: var(--wine); }
.textpage-prose { padding-block: var(--s-7); max-width: 78ch; }
.prose img { max-width: 100%; height: auto; }
