/* Basisvariabelen; per winkel overschreven via .shop-hub of [data-shop]. */
body.page-shop {
  --header-a: #5a4f46;
  --header-b: #c4bbb3;
  --accent: #5a4f46;
  --accent-muted: #3d3530;
  --accent-soft: #e0d8d0;
  --topnav-bg: #f4f1ed;
  --topnav-border: #ddd5cc;
  --page-bg: #ffffff;
  --card-bg: #fafaf8;
  --card-border: #e8e4df;
  --rule-bg: #f7f5f2;
  --rule-border: #e0d8d0;
  --input-border: #d5cfc8;
  --form-bg: #fafaf8;
  --form-border: #e0d8d0;
}

/* Shop-home, checkout, disclaimer: neutraal taupe (niet bio-groen). */
body.page-shop.shop-hub,
body.page-shop.checkout-page,
body.page-shop.page-disclaimer {
  --header-a: #5a4f46;
  --header-b: #c4bbb3;
  --accent: #5a4f46;
  --accent-muted: #3d3530;
  --accent-soft: #e0d8d0;
  --topnav-bg: #f4f1ed;
  --topnav-border: #ddd5cc;
  --card-bg: #fafaf8;
  --card-border: #e8e4df;
  --rule-bg: #f7f5f2;
  --rule-border: #e0d8d0;
  --input-border: #d5cfc8;
  --form-bg: #fafaf8;
  --form-border: #e0d8d0;
}

/* Uitgebreid zoeken: grijs-blauw. */
body.page-shop.page-zoek {
  --header-a: #4a5568;
  --header-b: #a0aec0;
  --accent: #4a5568;
  --accent-muted: #2d3748;
  --accent-soft: #cbd5e0;
  --topnav-bg: #edf2f7;
  --topnav-border: #cbd5e0;
  --card-bg: #f8fafc;
  --card-border: #e2e8f0;
  --rule-bg: #f1f5f9;
  --rule-border: #cbd5e0;
  --input-border: #cbd5e0;
  --form-bg: #f8fafc;
  --form-border: #e2e8f0;
}

body.page-shop[data-shop="biologisch"] {
  --header-a: #2f6b3a;
  --header-b: #98c98b;
  --accent: #2f6b3a;
  --accent-muted: #244f2c;
  --accent-soft: #b8dcb0;
  --topnav-bg: #edf5ea;
  --topnav-border: #d7e4d3;
  --card-bg: #fafdfa;
  --card-border: #e5eee3;
  --rule-bg: #f8fcf7;
  --rule-border: #d6e7d1;
  --input-border: #c8d5c4;
  --form-bg: #fafdfa;
  --form-border: #d8e1d5;
}

body.page-shop[data-shop="benelux"] {
  --header-a: #6b3d2f;
  --header-b: #d5b4a7;
  --accent: #6b3d2f;
  --accent-muted: #4f2b20;
  --accent-soft: #e4c6bc;
  --topnav-bg: #f6ebe7;
  --topnav-border: #e4d0c8;
  --card-bg: #fffaf8;
  --card-border: #ecd9d2;
  --rule-bg: #fdf8f6;
  --rule-border: #e4d0c8;
  --input-border: #dcc8c0;
  --form-bg: #fffaf8;
  --form-border: #e4d0c8;
}

body.page-shop[data-shop="mousserend"] {
  --header-a: #415c8a;
  --header-b: #a7bedf;
  --accent: #415c8a;
  --accent-muted: #314568;
  --accent-soft: #c7d5ea;
  --topnav-bg: #ecf1f8;
  --topnav-border: #c7d5ea;
  --card-bg: #f8fafd;
  --card-border: #d4dfeb;
  --rule-bg: #f3f7fc;
  --rule-border: #c7d5ea;
  --input-border: #b8c8de;
  --form-bg: #f8fafd;
  --form-border: #d4dfeb;
}

body.page-shop[data-shop="streekproducten"] {
  --header-a: #7a5427;
  --header-b: #d6bd96;
  --accent: #7a5427;
  --accent-muted: #5b3f1d;
  --accent-soft: #e5d0b2;
  --topnav-bg: #f7f0e6;
  --topnav-border: #e5d0b2;
  --card-bg: #fffbf6;
  --card-border: #e8dcc8;
  --rule-bg: #faf5ed;
  --rule-border: #e5d0b2;
  --input-border: #dcc8a8;
  --form-bg: #fffbf6;
  --form-border: #e8dcc8;
}

body.page-shop[data-shop="alcoholvrij"] {
  --header-a: #3a6c74;
  --header-b: #9dc8cf;
  --accent: #3a6c74;
  --accent-muted: #2a5055;
  --accent-soft: #bfdee2;
  --topnav-bg: #e9f4f6;
  --topnav-border: #bfdee2;
  --card-bg: #f6fcfd;
  --card-border: #c5e0e4;
  --rule-bg: #eff9fa;
  --rule-border: #bfdee2;
  --input-border: #a8cdd2;
  --form-bg: #f6fcfd;
  --form-border: #c5e0e4;
}

body.page-shop[data-shop="drankenhandel"] {
  --header-a: #4d3d58;
  --header-b: #c4b4cc;
  --accent: #4d3d58;
  --accent-muted: #3a2e43;
  --accent-soft: #d9cedf;
  --topnav-bg: #f1edf4;
  --topnav-border: #d9cedf;
  --card-bg: #faf8fb;
  --card-border: #ddd4e4;
  --rule-bg: #f6f3f8;
  --rule-border: #d9cedf;
  --input-border: #c8bdd0;
  --form-bg: #faf8fb;
  --form-border: #ddd4e4;
}

/* Shop Wöhrwag: wijnrood (niet hetzelfde bruin als wijnorg/wijnhuizen/wohrwag.html). */
body.page-shop[data-shop="wohrwag"] {
  --header-a: #5c1f24;
  --header-b: #c9a082;
  --accent: #5c1f24;
  --accent-muted: #42151a;
  --accent-soft: #e8d4c8;
  --topnav-bg: #f5ebe8;
  --topnav-border: #e8d4c8;
  --card-bg: #fffaf8;
  --card-border: #ecd9d0;
  --rule-bg: #fdf6f3;
  --rule-border: #e8d4c8;
  --input-border: #dcc8be;
  --form-bg: #fffaf8;
  --form-border: #ecd9d0;
}

/* Shop Krier-Welbes: Luxemburgs blauwgrijs (zelfde palet als wijnorg/wijnhuizen/krier-welbes). */
body.page-shop[data-shop="krier-welbes"] {
  --header-a: #4a6b8a;
  --header-b: #a7c4d9;
  --accent: #4a6b8a;
  --accent-muted: #354f66;
  --accent-soft: #c7d5ea;
  --topnav-bg: #ecf1f8;
  --topnav-border: #c7d5ea;
  --card-bg: #f8fafd;
  --card-border: #d4dfeb;
  --rule-bg: #f3f7fc;
  --rule-border: #c7d5ea;
  --input-border: #b8c8de;
  --form-bg: #f8fafd;
  --form-border: #d4dfeb;
}

/* Shop Klein Rijselhoek: Heuvelland groen (zelfde palet als wijnorg/wijnhuizen/klein-rijselhoek). */
body.page-shop[data-shop="klein-rijselhoek"] {
  --header-a: #3d5c3a;
  --header-b: #a8b86a;
  --accent: #3d5c3a;
  --accent-muted: #2a4028;
  --accent-soft: #d4ddb8;
  --topnav-bg: #eef2e4;
  --topnav-border: #d4ddb8;
  --card-bg: #f9faf5;
  --card-border: #dde5c8;
  --rule-bg: #f5f7ed;
  --rule-border: #d4ddb8;
  --input-border: #c5cfb0;
  --form-bg: #f9faf5;
  --form-border: #dde5c8;
}

body.page-shop {
  font-family: Georgia, serif;
  margin: 0;
  color: #333;
  line-height: 1.55;
  background: var(--page-bg);
  padding-bottom: 56px;
}

.top-nav { background: var(--topnav-bg); padding: 6px 16px; font-size: 0.9em; border-bottom: 1px solid var(--topnav-border, #ddd5cc); }
.top-nav table { border: 0; border-collapse: collapse; width: 100%; }
.top-nav td { border: none; padding: 6px 0 6px 16px; vertical-align: middle; }
.top-nav td.menu-spacer { width: 100%; }
/* Hamburger altijd zichtbaar (zelfde patroon als home/index): smalle schermen verbergen alleen de tekstlinks. */
.top-nav td.top-nav__burger-cell {
  display: table-cell;
  width: 1%;
  padding: 8px 12px 8px 16px;
  vertical-align: middle;
}
.top-nav .top-nav__link a {
  color: var(--accent-muted);
  font-weight: 600;
  text-decoration: none;
}
.top-nav .top-nav__link a:hover { text-decoration: underline; }

.header {
  background: linear-gradient(to right, var(--header-a), var(--header-b));
  color: #fff;
  padding: 32px 20px;
  text-align: center;
}

.embed-table { border-collapse: collapse; width: 100%; }
.embed-table td { border: none; vertical-align: middle; padding: 0 8px; }
.header .logo:not(.logo--wijnhuis) {
  display: block;
  margin: 0 auto 10px;
  max-width: min(100%, 220px);
  width: auto;
  height: auto;
}

.header .wijnhuis-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min(100%, 220px);
  height: 72px;
  min-height: 72px;
  margin: 0 auto 12px;
  padding: 0.35rem 0.75rem;
  line-height: 0;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
}

.header .wijnhuis-logo-wrap .logo--wijnhuis,
.header img.logo--wijnhuis {
  display: block;
  max-width: min(100%, 220px);
  max-height: 72px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  object-position: center center;
}

body.page-shop[data-shop="krier-welbes"] .header,
body.page-shop[data-shop="klein-rijselhoek"] .header,
body.page-shop[data-shop="wohrwag"] .header {
  padding: 36px 20px;
}

body.page-shop[data-shop="krier-welbes"] .header h1,
body.page-shop[data-shop="klein-rijselhoek"] .header h1,
body.page-shop[data-shop="wohrwag"] .header h1 {
  margin: 0;
  font-size: 1.76em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
}

body.page-shop[data-shop="krier-welbes"] .header .wijnhuis-logo-wrap + h1,
body.page-shop[data-shop="klein-rijselhoek"] .header h1,
body.page-shop[data-shop="wohrwag"] .header .wijnhuis-logo-wrap + h1 {
  margin-top: 0;
}

body.page-shop[data-shop="krier-welbes"] .header p,
body.page-shop[data-shop="klein-rijselhoek"] .header p,
body.page-shop[data-shop="wohrwag"] .header p {
  margin: 10px 0 0;
  font-size: 1.1em;
}

.header h1 { margin: 0; font-size: 1.9em; text-shadow: 1px 1px 2px rgba(0,0,0,0.25); }
.header p { margin: 10px 0 0 0; font-size: 1.05em; }
.shop-header-actions {
  margin: 1.15rem 0 0;
}
a.shop-wijnhuis-info-btn {
  display: inline-block;
  box-sizing: border-box;
  min-width: 7.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.6rem;
  margin: 0;
  border: 2px solid #fff;
  border-radius: 8px;
  background: #fff;
  color: var(--accent-muted) !important;
  text-decoration: none !important;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 6px 18px rgba(0, 0, 0, 0.22);
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}
a.shop-wijnhuis-info-btn:hover,
a.shop-wijnhuis-info-btn:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-muted) !important;
  text-decoration: none !important;
  transform: translateY(-1px);
  outline: 2px solid #fff;
  outline-offset: 2px;
}
a.shop-wijnhuis-info-btn:visited {
  color: var(--accent-muted) !important;
}

.menu-toggle { display: none; }
.hamburger { width: 28px; height: 20px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; }
.hamburger span { display: block; height: 3px; background: #333; border-radius: 2px; }
.menu { display: none; background: #fff4e6; padding: 10px 15px; text-align: left; }
.menu a { display: block; padding: 8px 0; text-decoration: none; color: #333; }
.menu-toggle:checked ~ .menu { display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 28px 16px; }
h2 { color: var(--accent); border-bottom: 2px solid var(--accent-soft); padding-bottom: 8px; margin-top: 0; }
body.checkout-page .container > h1 {
  color: var(--accent);
  border-bottom: 2px solid var(--accent-soft);
  padding-bottom: 8px;
  margin-top: 0;
  font-size: 1.75em;
  font-weight: 600;
}
.shop-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem 1rem; margin-bottom: 1rem; font-size: 0.92em; }
.shop-nav a { color: var(--accent); font-weight: bold; text-decoration: none; }
.shop-nav a:hover { text-decoration: underline; }
.shop-nav .btn { text-decoration: none; }
.shop-nav .btn:hover { text-decoration: none; }
.shop-nav--footer { margin-top: 1.25rem; }

.rule-box, .disclaimer-box {
  background: var(--rule-bg, #f7f5f2);
  border: 1px solid var(--rule-border, #e0d8d0);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

/* disclaimer.html: Dutch + English columns (stack below 900px) */
.disclaimer-bilingual-block {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.disclaimer-bilingual-block .lang-en {
  padding-top: 1rem;
  border-top: 1px solid var(--rule-border, #e0d8d0);
}
@media (min-width: 900px) {
  .disclaimer-bilingual-block {
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
    align-items: start;
  }
  .disclaimer-bilingual-block .lang-en {
    padding-top: 0;
    border-top: none;
    border-left: 1px solid var(--rule-border, #e0d8d0);
    padding-left: 1.25rem;
  }
}
.disclaimer-lang-h {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-muted, #244f2c);
  margin: 0 0 0.5rem;
}
.disclaimer-bilingual-block p {
  margin: 0 0 0.65rem;
}
.disclaimer-bilingual-block p:last-child {
  margin-bottom: 0;
}
.disclaimer-herroep-row {
  margin: 0.5rem 0 0;
}
.disclaimer-herroep-row .herroep-btn {
  display: inline-block;
}
.shop-site-footer {
  background: #f8f8f8;
  padding: 1.1rem 1.25rem 1.25rem;
  margin-top: 2rem;
  text-align: center;
  color: #666;
  font-size: 0.9em;
}
.shop-site-footer p {
  margin: 0 0 0.5rem;
}
.shop-site-footer p:last-child {
  margin-bottom: 0;
}

.shop-spelregel p {
  margin: 0 0 0.65rem;
}
.shop-spelregel p:last-child {
  margin-bottom: 0;
}

.tools-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: 1rem; }
.tools-row input[type="search"],
.tools-row input[type="text"],
.tools-row input[type="email"],
.tools-row input[type="date"],
.tools-row select {
  padding: 0.5rem 0.65rem;
  min-width: 260px;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--input-border, #d5cfc8);
  border-radius: 6px;
}
.checkout-form .tools-row input,
.checkout-form .tools-row select {
  width: min(680px, 100%);
}
.checkout-form .tools-row input,
.checkout-form .tools-row select,
.checkout-form .tools-row button {
  min-height: 46px;
  box-sizing: border-box;
  font-size: 1.06rem;
  line-height: 1.35;
}
.checkout-form .tools-row label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-muted, #244f2c);
}
.tools-row .btn, .herroep-btn {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}
.tools-row .btn.secondary, .herroep-btn.secondary {
  background: #fff;
  color: var(--accent-muted);
}

/* Herroeping (herroepen.html, bedankt.html) */
.withdraw-panel {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--rule-border, #e0d8d0);
  background: var(--rule-bg, #f7f5f2);
  border-radius: 10px;
}
.withdraw-panel label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--accent-muted, #3d3530);
}
.withdraw-panel textarea {
  width: 100%;
  max-width: min(680px, 100%);
  min-height: 84px;
  padding: 0.5rem 0.65rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--input-border, #d5cfc8);
  border-radius: 6px;
  box-sizing: border-box;
}
.withdraw-status-line { margin: 0 0 0.75rem; min-height: 1.5rem; line-height: 1.55; }
.withdraw-status-line a { font-weight: 700; }
.withdraw-msg { margin-top: 0.5rem; font-weight: 700; }
.withdraw-msg.ok { color: #1f6a2a; }
.withdraw-msg.err { color: #8f1717; }
.withdraw-refund-note { margin-top: 0.35rem; color: #555; font-size: 0.95em; }
.status-chip {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}
.status-chip.st-ok { background: #e6f5e8; color: #1f6a2a; }
.status-chip.st-warn { background: #fff4da; color: #8a5a00; }
.status-chip.st-bad { background: #fde7e7; color: #8f1717; }

/* Uitgebreid-zoeken formulier op shop/zoek.html */
.zoek-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--form-bg, #fafaf8);
  border: 1px solid var(--form-border, #e0d8d0);
  border-radius: 10px;
  padding: 1rem 1.1rem 1.05rem;
  margin-bottom: 1rem;
}
.zoek-form__row {
  display: grid;
  gap: 0.65rem 0.85rem;
  align-items: end;
}
.zoek-form__row--primary {
  grid-template-columns: minmax(10rem, 12rem) minmax(0, 1fr);
}
.zoek-form__row--filters {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.zoek-form__row--actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  align-items: center;
  margin-top: 0.15rem;
}
.zoek-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.zoek-field > span {
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-muted, #2d3748);
  text-transform: uppercase;
}
.zoek-field > input,
.zoek-field > select {
  box-sizing: border-box;
  width: 100%;
  padding: 0.5rem 0.6rem;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.25;
  border: 1px solid var(--input-border, #d5cfc8);
  border-radius: 6px;
  background: #fff;
  min-height: 2.5rem;
  height: 2.5rem;
}
.zoek-field > select {
  padding-right: 1.75rem;
}
.zoek-field > input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.zoek-field > input[type="number"]::-webkit-inner-spin-button,
.zoek-field > input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.zoek-form .btn {
  border: 1px solid var(--accent, #2f6b3a);
  background: var(--accent, #2f6b3a);
  color: #fff;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}
.zoek-form .btn.secondary {
  background: #fff;
  color: var(--accent-muted, #244f2c);
}
@media (max-width: 960px) {
  .zoek-form__row--filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .zoek-form__row--primary,
  .zoek-form__row--filters {
    grid-template-columns: 1fr;
  }
}

.shop-list { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 760px) { .shop-list { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1160px) { .shop-list { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* Winkelkiezer op shop/index.html — klikbare kaart-tegels, compacter dan productkaarten zodat meerdere shops passen. */
.shop-tile-grid {
  list-style: none;
  margin: 0 0 1.25rem 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.shop-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 110px;
  padding: 1rem 1.1rem;
  background: var(--card-bg, #fff);
  border: 1px solid var(--card-border, #e8e4df);
  border-left: 4px solid var(--tile-accent, var(--accent, #5a4f46));
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.shop-tile:hover,
.shop-tile:focus-visible {
  border-color: var(--tile-accent, var(--accent, #5a4f46));
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  transform: translateY(-2px);
  outline: none;
}
.shop-tile h3 {
  margin: 0;
  font-size: 1.08em;
  color: var(--tile-accent, var(--accent, #5a4f46));
}
.shop-tile p {
  margin: 0;
  font-size: 0.9em;
  color: #555;
  line-height: 1.35;
}
.shop-tile::after {
  content: "→";
  margin-top: auto;
  align-self: flex-end;
  font-size: 1.1em;
  color: var(--tile-muted, var(--accent-muted, #3d3530));
  opacity: 0.65;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.shop-tile:hover::after,
.shop-tile:focus-visible::after {
  transform: translateX(2px);
  opacity: 1;
}

/* Tegels op shop/index.html: kleur per winkel */
.shop-tile--biologisch { --tile-accent: #2f6b3a; --tile-muted: #244f2c; }
.shop-tile--benelux { --tile-accent: #6b3d2f; --tile-muted: #4f2b20; }
.shop-tile--mousserend { --tile-accent: #415c8a; --tile-muted: #314568; }
.shop-tile--streekproducten { --tile-accent: #7a5427; --tile-muted: #5b3f1d; }
.shop-tile--alcoholvrij { --tile-accent: #3a6c74; --tile-muted: #2a5055; }
.shop-tile--drankenhandel { --tile-accent: #4d3d58; --tile-muted: #3a2e43; }
.shop-tile--wohrwag { --tile-accent: #5c1f24; --tile-muted: #42151a; }
.shop-tile--krier-welbes { --tile-accent: #4a6b8a; --tile-muted: #354f66; }
.shop-tile--klein-rijselhoek { --tile-accent: #3d5c3a; --tile-muted: #2a4028; }

.shop-list--text { display: block; }
.shop-text-group { margin-bottom: 1.75rem; }
.shop-text-group__title {
  margin: 0 0 0.65rem 0;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--accent-soft, #b8dcb0);
  color: var(--accent);
  font-size: 1.15em;
}
.shop-text-group__list { display: flex; flex-direction: column; gap: 0.65rem; }
.shop-card--text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 0.25rem 1rem;
  align-items: start;
}
.shop-card--text h3 { margin: 0 0 0.2rem 0; font-size: 1.05em; grid-column: 1; }
.shop-card--text .shop-card__text-main { grid-column: 1; grid-row: 1; }
.shop-card--text .shop-card__text-side { grid-column: 2; grid-row: 1; text-align: right; white-space: nowrap; }
.shop-card--text .shop-card__price { margin: 0; font-size: 1.15em; font-weight: bold; color: var(--accent-muted); }
.shop-card--text .shop-card__note { color: #444; font-size: 0.92em; }
.shop-card--text .shop-card__order { color: #666; font-size: 0.88em; margin-bottom: 0; }
.shop-card--text .shop-card__actions { grid-column: 1 / -1; grid-row: 2; }

.shop-card { border: 1px solid var(--card-border, #e8e4df); border-radius: 10px; padding: 1rem; background: var(--card-bg); display: flex; flex-direction: column; scroll-margin-top: 5rem; }
.shop-card--highlight {
  outline: 2px solid var(--accent-muted, #5a7a4a);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(90, 122, 74, 0.15);
}
.shop-card__img { min-height: 150px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.65rem; }
.shop-card__img-btn {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 8px;
}
.shop-card__img-btn:focus-visible {
  outline: 2px solid var(--accent, #8b4513);
  outline-offset: 2px;
}
.shop-card__img img,
.shop-card__img-btn img { max-width: 100%; max-height: 200px; object-fit: contain; display: block; }
.shop-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.85);
}
.shop-image-lightbox[hidden] { display: none; }
.shop-image-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}
.shop-image-lightbox__close:hover { background: rgba(255, 255, 255, 0.22); }
.shop-image-lightbox__figure {
  margin: 0;
  max-width: min(96vw, 840px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.shop-image-lightbox__img {
  max-width: min(96vw, 840px);
  max-height: min(85vh, 840px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.shop-image-lightbox__caption {
  margin: 0;
  color: #f5f5f5;
  font-size: 0.95rem;
  text-align: center;
  max-width: min(96vw, 840px);
}
.shop-card h3 { margin: 0 0 0.35rem 0; color: var(--accent); font-size: 1.15em; }
.shop-card__line { margin: 0.25rem 0; font-size: 0.93em; }
.shop-card__line.shop-card__meta { color: #555; font-style: italic; }
/* Logistiek / bestelinfo onder één kop (shop-catalog.js) */
.shop-card__beschrijving { margin: 0 0 0.55rem 0; }
.shop-card__beschrijving > details:last-child { margin-bottom: 0; }
.shop-card__beschrijving-details > div {
  margin-top: 0.45rem;
}
.shop-card__beschrijving-details > div > p,
.shop-card__beschrijving-details > div > .shop-card__detail-prose {
  margin: 0.35rem 0;
}
.shop-card__detail-group {
  line-height: 1.45;
}
.shop-card__detail-prose {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.shop-card__detail-prose > p {
  margin: 0;
}
@media (min-width: 520px) {
  .shop-card__detail-prose--pair {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .shop-card__detail-prose--pair > p {
    flex: 1 1 0;
    min-width: 0;
  }
}
.shop-card__price { margin-top: 0.5rem; font-size: 1.15em; font-weight: bold; color: var(--accent-muted); }
.shop-card__price-reserve,
.shop-card__price--reserve {
  font-weight: 600;
  color: var(--accent-muted, #5c3d1e);
}
.shop-card__discount { color: #a12d00; font-weight: bold; font-size: 0.9em; margin-top: 0.3rem; }
.shop-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.7rem; }
.shop-card__actions button, .shop-card__actions a {
  border: 1px solid #c8dcbf;
  border-radius: 6px;
  padding: 0.42rem 0.75rem;
  background: #fff;
  color: var(--accent-muted);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.shop-card__actions button.shop-card__add-btn {
  font-weight: 600;
  border-color: var(--accent, #2f6b3a);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}
.shop-card__actions button.shop-card__add-btn:hover {
  background: #eef6ea;
}
.shop-card__actions button.shop-card__add-btn:active {
  transform: scale(0.97);
}
.shop-card__actions button.shop-card__add-btn--done,
.shop-card__actions button.shop-card__add-btn--done:hover {
  background: var(--accent-soft, #b8dcb0);
  color: var(--accent-muted, #3d3530);
  border-color: var(--accent-muted, #3d3530);
  cursor: default;
}
@keyframes shop-cart-bar-pulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.07); }
  45% { transform: translateY(-4px); box-shadow: 0 -8px 18px rgba(47, 107, 58, 0.22); }
}
.shop-cart-bar.shop-cart-bar--pulse {
  animation: shop-cart-bar-pulse 0.45s ease;
}

details { margin: 0.3rem 0; }
summary { cursor: pointer; color: var(--accent-muted); font-weight: 600; }

.status { color: #666; margin-bottom: 0.75rem; min-height: 1.4rem; }
.status.err { color: #a12d00; }

/* Checkout orderoverzicht: UA `th { text-align:center }` — tabel links + inherit wint; subtotaal rechts */
body.checkout-page #cart-lines .checkout-cart-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  text-align: left;
}
body.checkout-page #cart-lines .checkout-cart-table th,
body.checkout-page #cart-lines .checkout-cart-table td {
  text-align: inherit;
  vertical-align: middle;
  padding: 8px 10px;
  border-bottom: 1px solid #e5eee3;
}
body.checkout-page #cart-lines .checkout-cart-table th {
  font-weight: 600;
}
body.checkout-page #cart-lines .checkout-artikel-link {
  color: var(--accent-muted, #4a6741);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.checkout-page #cart-lines .checkout-artikel-link:hover {
  color: var(--accent, #2d4a26);
}
body.checkout-page #cart-lines .checkout-cart-table td.checkout-line-sub,
body.checkout-page #cart-lines .checkout-cart-table th:last-child {
  text-align: right;
}
body.checkout-page #cart-lines .checkout-cart-table td:nth-child(2),
body.checkout-page #cart-lines .checkout-cart-table th:nth-child(2) {
  min-width: 9rem;
  white-space: nowrap;
  overflow: visible;
}
body.checkout-page #cart-lines .checkout-qty-stepper {
  display: inline-flex;
  align-items: stretch;
  vertical-align: middle;
  border: 1px solid #c8d5c4;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  width: auto;
  min-width: 0;
  max-width: 100%;
}
body.checkout-page #cart-lines .checkout-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  width: 2.75rem;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: #dce8d8;
  cursor: pointer;
  flex-shrink: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body.checkout-page #cart-lines .checkout-qty-btn::before,
body.checkout-page #cart-lines .checkout-qty-btn::after {
  display: none;
  content: none;
}
body.checkout-page #cart-lines .checkout-qty-glyph {
  display: block;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  color: #244f2c;
  pointer-events: none;
  user-select: none;
}
body.checkout-page #cart-lines .checkout-qty-btn:hover {
  background: #b8dcb0;
}
body.checkout-page #cart-lines .checkout-qty-btn:hover .checkout-qty-glyph {
  color: #1a3318;
}
body.checkout-page #cart-lines .checkout-qty-btn:focus-visible {
  outline: 2px solid #5a8f52;
  outline-offset: -2px;
  z-index: 1;
}
body.checkout-page #cart-lines .checkout-qty {
  width: 3.5rem;
  min-width: 3rem;
  max-width: 4rem;
  padding: 0.5rem 0.35rem;
  font-family: inherit;
  font-size: 1.05rem;
  border: 0;
  border-left: 1px solid #c8d5c4;
  border-right: 1px solid #c8d5c4;
  border-radius: 0;
  box-sizing: border-box;
  min-height: 44px;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
  -webkit-appearance: none;
}
body.checkout-page #cart-lines .checkout-qty::-webkit-inner-spin-button,
body.checkout-page #cart-lines .checkout-qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  display: none;
}

/* Laptop/desktop: aantal-kolom niet laten inklappen (anders worden +/- strepen) */
@media (min-width: 769px) {
  body.checkout-page #cart-lines {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.checkout-page #cart-lines .checkout-cart-table {
    table-layout: fixed;
    width: 100%;
    min-width: 36rem;
  }
  body.checkout-page #cart-lines .checkout-cart-table th:nth-child(1),
  body.checkout-page #cart-lines .checkout-cart-table td:nth-child(1) {
    width: 42%;
    word-break: break-word;
    white-space: normal;
  }
  body.checkout-page #cart-lines .checkout-cart-table th:nth-child(2),
  body.checkout-page #cart-lines .checkout-cart-table td:nth-child(2) {
    width: 9.5rem;
    min-width: 9.5rem;
    max-width: 10rem;
  }
  body.checkout-page #cart-lines .checkout-cart-table th:nth-child(3),
  body.checkout-page #cart-lines .checkout-cart-table td:nth-child(3) {
    width: 6.5rem;
  }
  body.checkout-page #cart-lines .checkout-cart-table th:nth-child(4),
  body.checkout-page #cart-lines .checkout-cart-table td:nth-child(4) {
    width: 5.5rem;
  }
  body.checkout-page #cart-lines .checkout-cart-table th:nth-child(5),
  body.checkout-page #cart-lines .checkout-cart-table td:nth-child(5) {
    width: 6.5rem;
  }
  body.checkout-page #cart-lines .checkout-qty-stepper {
    width: auto;
    min-width: 0;
  }
  body.checkout-page #cart-lines .checkout-qty-glyph {
    font-size: 1.85rem;
  }
}
body.checkout-page .checkout-totals {
  display: block;
  width: fit-content;
  max-width: min(100%, 22rem);
  margin: 1.25rem 0 1.75rem auto;
  padding: 1rem 1.25rem;
  text-align: right;
  background: #f4efe8;
  border: 1px solid #d7c2a6;
  border-radius: 8px;
  box-sizing: border-box;
}
body.checkout-page .checkout-totals__row {
  margin: 0.35rem 0;
}
body.checkout-page .checkout-totals__row--total {
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid #c9b59a;
  font-size: 1.12rem;
}
body.checkout-page .checkout-totals #cart-surcharge-rows {
  margin-top: 0.5rem;
}
body.checkout-page .checkout-surcharge-intro {
  margin: 0.5rem 0 0.35rem;
  font-size: 0.95rem;
}
body.checkout-page .checkout-surcharge-list {
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
  text-align: right;
}
body.checkout-page .checkout-surcharge-list li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
body.checkout-page .checkout-surcharge-line {
  display: inline;
}
body.checkout-page .checkout-last-order {
  border-color: #c9a227;
  background: #fff8ea;
}
body.checkout-page .checkout-last-order__hint {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  color: #5a4a32;
}
body.checkout-page .checkout-last-order .link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #8B4513;
  text-decoration: underline;
  cursor: pointer;
}

.shop-cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: #f4e7d6;
  border-top: 1px solid #d7c2a6;
  padding: 10px 16px;
  text-align: center;
}

footer { background: #f8f8f8; padding: 18px; margin-top: 2rem; text-align: center; color: #666; font-size: 0.9em; }

/* Smalle viewports: alleen tekstlinks in de balk verbergen; hamburger blijft. */
@media (max-width: 991px) {
  .top-nav td.top-nav__link { display: none; }
  .top-nav td.menu-spacer { display: none; width: 0; padding: 0; }
}

/* Site-menu (smal): overlay onder topbalk, duwt hero/titel niet omlaag */
.site-nav-shell {
  position: relative;
  z-index: 1000;
}
.site-nav-shell > nav.menu {
  position: absolute;
  top: 100%;
  left: 12px;
  right: auto;
  width: min(22rem, calc(100vw - 24px));
  z-index: 1001;
  max-height: min(85vh, 28rem);
  overflow-y: auto;
  border: 1px solid #d7e4d3;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Leeftijdverificatie 21+ — zelfde als home/index.html */
#age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#age-gate-modal {
  max-width: 420px;
  width: 90%;
  background: #fff;
  color: #222;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  text-align: center;
  font-family: system-ui, sans-serif;
}
#age-gate-modal h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}
#age-gate-modal p {
  margin-bottom: 1.75rem;
  line-height: 1.4;
}
.age-gate-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
#age-gate-yes,
#age-gate-no {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
#age-gate-yes {
  background: #3b7c3b;
  color: #fff;
}
#age-gate-yes:hover {
  background: #2f642f;
}
#age-gate-no {
  background: #e0e0e0;
  color: #333;
}
#age-gate-no:hover {
  background: #c9c9c9;
}

/* Shopaanbieding — vaste URL, inhoud via data/aanbieding.json */
.page-aanbieding .aanbieding-root {
  max-width: 52rem;
  margin: 0 auto;
}
.page-aanbieding .aanbieding-loading {
  text-align: center;
  color: var(--accent-muted);
  padding: 2rem 1rem;
}
.page-aanbieding .aanbieding-card {
  padding: 1.5rem 1.25rem 1.75rem;
}
.page-aanbieding .aanbieding-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.page-aanbieding .aanbieding-kicker {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
}
.page-aanbieding .aanbieding-title {
  margin: 0 0 1rem;
  font-size: 1.65rem;
  line-height: 1.25;
  color: var(--accent-muted);
}
.page-aanbieding .aanbieding-card p {
  line-height: 1.55;
  margin: 0 0 0.85rem;
}
.page-aanbieding .aanbieding-note {
  font-size: 0.95rem;
  color: var(--accent-muted);
}
.page-aanbieding .aanbieding-body {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin: 1.25rem 0 1.5rem;
}
.page-aanbieding .aanbieding-figure {
  margin: 0;
  text-align: center;
}
.page-aanbieding .aanbieding-figure img {
  max-width: min(100%, 16rem);
  max-height: 22rem;
  width: auto;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: #fff;
  object-fit: cover;
}
.page-aanbieding .aanbieding-package h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  color: var(--accent-muted);
}
.page-aanbieding .aanbieding-package-sub {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}
.page-aanbieding .aanbieding-package-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.page-aanbieding .aanbieding-package-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule-border);
}
.page-aanbieding .aanbieding-package-list li:last-child {
  border-bottom: 0;
}
.page-aanbieding .aanbieding-package-detail,
.page-aanbieding .aanbieding-package-qty {
  display: block;
  font-size: 0.9rem;
  color: var(--accent-muted);
  margin-top: 0.15rem;
}
.page-aanbieding .aanbieding-price {
  margin: 0.5rem 0 0;
  padding-top: 0.75rem;
  border-top: 2px solid var(--accent-soft);
}
.page-aanbieding .aanbieding-price-amount {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}
.page-aanbieding .aanbieding-price-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--accent-muted);
}
.page-aanbieding .aanbieding-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.page-aanbieding .aanbieding-actions .btn {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  text-decoration: none;
}
.page-aanbieding .aanbieding-actions button.btn:disabled {
  opacity: 0.75;
  cursor: wait;
}
.page-aanbieding .aanbieding-btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.page-aanbieding .aanbieding-btn-primary:hover {
  background: var(--accent-muted);
  border-color: var(--accent-muted);
}
.page-aanbieding .aanbieding-btn-secondary {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent-soft);
}
.page-aanbieding .aanbieding-hint,
.page-aanbieding .aanbieding-source {
  font-size: 0.9rem;
  color: var(--accent-muted);
  margin-top: 0.75rem;
}
.page-aanbieding .aanbieding-empty {
  padding: 2rem 1.25rem;
  text-align: center;
}
@media (max-width: 640px) {
  .page-aanbieding .aanbieding-body {
    grid-template-columns: 1fr;
  }
  .page-aanbieding .aanbieding-figure {
    max-width: 14rem;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  body.checkout-page .container > h1 {
    font-size: 1.25em;
  }
}

