:root {
  --ink: #14201f;
  --muted: #61706d;
  --paper: #f8faf7;
  --surface: #ffffff;
  --line: #d9e1dd;
  --teal: #007d74;
  --teal-dark: #005b55;
  --mint: #dff4ed;
  --gold: #c58a25;
  --coral: #d95d39;
  --shadow: 0 18px 50px rgba(20, 32, 31, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(248, 250, 247, 0.92);
  border-bottom: 1px solid rgba(217, 225, 221, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-weight: 650;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.flag {
  width: 18px;
  height: 12px;
  display: inline-block;
  border: 1px solid rgba(20, 32, 31, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
  flex: 0 0 auto;
}

.flag-gb {
  background:
    linear-gradient(32deg, transparent 43%, #fff 43%, #fff 49%, #c8102e 49%, #c8102e 54%, #fff 54%, #fff 60%, transparent 60%),
    linear-gradient(-32deg, transparent 43%, #fff 43%, #fff 49%, #c8102e 49%, #c8102e 54%, #fff 54%, #fff 60%, transparent 60%),
    linear-gradient(90deg, transparent 40%, #fff 40%, #fff 45%, #c8102e 45%, #c8102e 55%, #fff 55%, #fff 60%, transparent 60%),
    linear-gradient(0deg, transparent 35%, #fff 35%, #fff 42%, #c8102e 42%, #c8102e 58%, #fff 58%, #fff 65%, transparent 65%),
    #012169;
}

.flag-de {
  background: linear-gradient(to bottom, #000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--teal-dark);
}

.wholesale-account-cta {
  display: grid;
  gap: 2px;
  max-width: 230px;
  min-height: 44px;
  padding: 8px 18px 8px 14px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal) 68%, var(--gold) 68% 100%);
  color: #fff;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  box-shadow: 0 10px 24px rgba(20, 32, 31, 0.16);
  text-align: left;
}

.wholesale-account-cta strong,
.wholesale-account-cta span {
  display: block;
  line-height: 1.12;
}

.wholesale-account-cta strong {
  font-size: 0.84rem;
  font-weight: 900;
}

.wholesale-account-cta span {
  max-width: 185px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 760;
}

.wholesale-account-cta:hover,
.wholesale-account-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(20, 32, 31, 0.22);
}

.cart-discount {
  background: var(--mint);
}

.cart-trigger,
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.cart-trigger {
  position: relative;
}

.cart-icon {
  width: 17px;
  height: 15px;
  border: 2px solid currentColor;
  border-top: 0;
  transform: translateY(2px);
}

.cart-icon::before {
  content: "";
  display: block;
  width: 9px;
  height: 7px;
  margin: -8px auto 0;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
  min-height: calc(88svh - 72px);
  padding: clamp(20px, 4vw, 58px) clamp(18px, 4vw, 64px) 24px;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5.6vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 3.7vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p,
.finder-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--teal);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--teal-dark);
  border-color: var(--line);
  background: var(--surface);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 550px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.hero-stats dt {
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: var(--muted);
}

.hero-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mint);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: min(58vw, 620px);
  object-fit: cover;
  display: block;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 4vw, 64px);
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.trust-strip div {
  display: grid;
  gap: 5px;
  padding: 22px;
  background: var(--surface);
}

.trust-strip span {
  color: var(--muted);
}

.catalog-section,
.finder-section {
  padding: clamp(34px, 5vw, 72px) clamp(18px, 4vw, 64px);
}

.section-heading {
  max-width: 760px;
}

.section-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 16px;
  align-items: end;
  margin: 28px 0;
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.search-box input,
.quote-form input,
.quote-form textarea,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.search-box input {
  height: 48px;
  padding: 0 14px;
}

.search-box input:focus,
.quote-form input:focus,
.quote-form textarea:focus,
.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 125, 116, 0.14);
}

.segment-control {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.segment-control button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.segment-control button.is-active {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.product-card-link {
  display: grid;
  color: inherit;
}

.product-visual {
  position: relative;
  min-height: 188px;
  background:
    linear-gradient(135deg, rgba(0, 125, 116, 0.14), rgba(197, 138, 37, 0.15)),
    #f5f7f5;
}

.product-image {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
  padding: 16px;
  background: #fff;
}

.filter-art {
  position: absolute;
  inset: 30px 42px;
  border: 12px solid #fdfdfb;
  border-radius: 6px;
  background: repeating-linear-gradient(90deg, #dce5e1 0 8px, #f7faf8 8px 18px);
  box-shadow: 0 16px 28px rgba(20, 32, 31, 0.13);
}

.filter-art.round {
  inset: 28px auto auto 50%;
  width: 126px;
  height: 126px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: radial-gradient(circle, #f9fbf8 0 28%, #a8b7b3 29% 36%, #edf2ef 37% 48%, #3b4744 49% 54%, #f7fbf8 55%);
}

.filter-art.carbon {
  background:
    radial-gradient(circle at 20% 35%, #323b38 0 8px, transparent 9px),
    radial-gradient(circle at 55% 45%, #1d2624 0 10px, transparent 11px),
    radial-gradient(circle at 75% 62%, #46504d 0 7px, transparent 8px),
    #e9efec;
}

.product-body {
  padding: 20px;
}

.product-kicker {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card h3 {
  margin: 9px 0 8px;
  font-size: 1.18rem;
}

.product-card p {
  color: var(--muted);
  line-height: 1.55;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.product-meta span {
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px 20px;
}

.price {
  font-size: 1.25rem;
  font-weight: 900;
}

.price-history {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.detail-main > .price-history {
  margin: -6px 0 16px;
  font-size: 0.96rem;
}

.cookie-banner {
  position: fixed;
  right: clamp(12px, 3vw, 32px);
  bottom: clamp(12px, 3vw, 32px);
  left: clamp(12px, 3vw, 32px);
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.58fr) auto;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cookie-copy h2 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.cookie-copy p {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-copy a {
  color: var(--teal-dark);
  font-weight: 850;
}

.cookie-settings {
  display: none;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.cookie-settings.is-open {
  display: grid;
}

.cookie-toggle {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  margin: 0;
  color: var(--ink);
}

.cookie-toggle input {
  width: auto;
  margin-top: 4px;
}

.cookie-toggle small {
  display: block;
  color: var(--muted);
  font-weight: 650;
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  gap: 10px;
}

.cookie-actions .button {
  width: 100%;
}

.cookie-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.add-button {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 900;
  cursor: pointer;
}

.add-button:hover,
.add-button:focus-visible {
  color: #fff;
  background: var(--teal);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.allegro-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 900;
}

.allegro-link:hover,
.allegro-link:focus-visible {
  border-color: var(--gold);
  color: #6d4612;
}

.empty-results {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 750;
}

.finder-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.72fr);
  gap: clamp(24px, 5vw, 78px);
  align-items: start;
  background: #eaf3ef;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.75fr);
  gap: 12px;
  align-items: start;
  background: #eaf3ef;
}

.contact-band h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.contact-band .button {
  justify-self: start;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(20, 32, 31, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
}

.contact-form input {
  height: 46px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 116px;
  resize: vertical;
  padding: 12px;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--teal);
  font-weight: 850;
}

.is-hidden {
  display: none !important;
}

.finder-copy {
  max-width: 760px;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(20, 32, 31, 0.08);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: clamp(34px, 6vw, 82px) clamp(18px, 4vw, 64px);
}

.detail-media {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-media img {
  display: block;
  width: 100%;
  min-height: 360px;
  object-fit: contain;
  padding: clamp(18px, 4vw, 42px);
}

.detail-pack-shot {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  background: #fff;
}

.detail-pack-shot img {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 520px;
  min-height: 360px;
  object-fit: contain;
  transition: transform 160ms ease, filter 160ms ease;
}

.detail-pack-shot img + img {
  display: none;
}

.detail-pack-shot.is-pack {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: clamp(12px, 3vw, 26px);
}

.detail-pack-shot.is-pack img {
  min-width: 0;
  min-height: 320px;
  padding: 8px;
}

.detail-pack-shot.is-pack img:first-child {
  grid-column: 1;
  transform: translateX(7%) rotate(-2deg);
}

.detail-pack-shot.is-pack img + img {
  display: block;
  grid-column: 2;
  transform: translateX(-7%) rotate(2deg);
  filter: drop-shadow(0 16px 24px rgba(20, 32, 31, 0.12));
}

.pack-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.detail-main {
  min-width: 0;
}

.detail-main h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1;
}

.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--teal-dark);
  font-weight: 900;
}

.purchase-box,
.allegro-description,
.detail-not-found {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.purchase-box h2,
.allegro-description h2 {
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.allegro-description h3 {
  margin: 22px 0 10px;
  font-size: 1.08rem;
}

.variant-list {
  display: grid;
  gap: 10px;
}

.variant-option {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.variant-option:has(input:checked) {
  border-color: var(--teal);
  background: var(--mint);
}

.variant-option span {
  display: grid;
  gap: 3px;
}

.variant-option small {
  color: var(--muted);
  line-height: 1.35;
}

.variant-option b {
  white-space: nowrap;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.allegro-description p {
  color: var(--muted);
  line-height: 1.7;
}

.allegro-description ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 18px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.allegro-description strong {
  color: var(--ink);
}

.product-info-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 18px;
}

.product-info-panel > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-info-panel h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.feature-list li::before {
  position: absolute;
  top: 0.18em;
  left: 0;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.spec-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.spec-list dt {
  color: var(--muted);
  font-weight: 750;
}

.spec-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
}

.quote-form input {
  height: 46px;
  padding: 0 12px;
}

.quote-form textarea {
  min-height: 116px;
  resize: vertical;
  padding: 12px;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: min(640px, 100vw);
  max-width: 100vw;
  height: 100svh;
  padding: 24px;
  overflow: auto;
  background: var(--surface);
  box-shadow: -20px 0 60px rgba(20, 32, 31, 0.18);
  transform: translateX(105%);
  transition: transform 180ms ease;
}

.cart-panel.is-open {
  transform: translateX(0);
}

.cart-header,
.cart-summary,
.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  max-height: 34vh;
  overflow: auto;
  padding: 18px 0;
}

.cart-line {
  align-items: flex-start;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-line > div {
  min-width: 0;
}

.cart-line strong {
  display: block;
  overflow-wrap: anywhere;
}

.cart-line span {
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.cart-line button {
  border: 0;
  background: transparent;
  color: var(--coral);
  font-weight: 900;
  cursor: pointer;
}

.cart-empty {
  align-self: center;
  justify-self: center;
  color: var(--muted);
}

.cart-empty.is-hidden {
  display: none;
}

.checkout-form {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.checkout-form h3 {
  margin: 0;
  font-size: 1.05rem;
}

.checkout-form label,
.delivery-methods,
.payment-methods,
.buyer-methods,
.account-methods {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  min-width: 0;
}

.checkout-form input {
  height: 42px;
  padding: 0 11px;
  min-width: 0;
}

.checkout-form textarea {
  min-height: 78px;
  resize: vertical;
  padding: 10px 11px;
  min-width: 0;
}

.checkout-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.78fr) minmax(170px, 1fr);
  gap: 12px;
}

.delivery-methods,
.payment-methods,
.buyer-methods,
.account-methods,
.inpost-selector {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.delivery-methods legend,
.payment-methods legend,
.buyer-methods legend,
.account-methods legend {
  padding: 0 6px;
  color: var(--ink);
  font-weight: 900;
}

.delivery-methods label,
.payment-methods label,
.buyer-methods > label,
.consent-label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 8px;
}

.account-methods > label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 8px;
}

.account-fields label {
  display: grid;
  grid-template-columns: 1fr;
}

.company-fields,
.account-fields {
  display: grid;
  gap: 10px;
  padding-top: 8px;
}

.company-fields.is-hidden,
.account-fields.is-hidden {
  display: none;
}

.company-fields label {
  display: grid;
  grid-template-columns: 1fr;
}

.account-status {
  color: var(--teal);
  font-weight: 850;
}

.inpost-selector {
  display: grid;
  gap: 12px;
  background: #fff;
}

.inpost-selector.is-hidden {
  display: none;
}

.inpost-selector-head {
  display: grid;
  gap: 4px;
}

.inpost-selector-head strong {
  color: var(--ink);
}

.inpost-selector-head span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.inpost-selector [data-inpost-map] {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f7f5;
}

.inpost-selector [data-inpost-map]:empty {
  display: none;
}

.manual-point {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.payment-hint {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.consent-label {
  align-items: start;
  color: var(--ink);
  line-height: 1.42;
}

.consent-label a {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.optional-consent {
  color: var(--muted);
}

.consent-label input {
  margin-top: 2px;
}

.cart-summary {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.checkout-link {
  width: 100%;
}

.small-button {
  justify-self: start;
  width: auto;
  min-height: 40px;
  padding: 9px 12px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  pointer-events: none;
  background: rgba(20, 32, 31, 0.34);
  opacity: 0;
  transition: opacity 180ms ease;
}

.overlay.is-open {
  pointer-events: auto;
  opacity: 1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 4vw, 64px);
  color: #fff;
  background: #172321;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer span {
  color: #b7c6c1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.legal-page {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.legal-page h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-page h2 {
  margin: 30px 0 10px;
  font-size: 1.3rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-page ul,
.legal-page ol {
  padding-left: 22px;
}

@media (max-width: 980px) {
  .hero,
  .finder-section,
  .contact-band,
  .catalog-tools,
  .product-detail,
  .product-info-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .segment-control {
    justify-content: flex-start;
  }

  .detail-media {
    position: static;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .cookie-actions {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .wholesale-account-cta {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }

  .wholesale-account-cta span {
    max-width: none;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-media {
    min-height: 240px;
  }

  .hero-media img {
    min-height: 300px;
  }

  .hero-stats,
  .product-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .product-footer,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .add-button,
  .button {
    width: 100%;
  }

  .cart-panel {
    width: 100vw;
    padding: 18px;
  }

  .checkout-row {
    grid-template-columns: 1fr;
  }
}
