:root {
  --ink: #17231f;
  --ink-2: #2f3d37;
  --muted: #66736d;
  --paper: #fff;
  --wash: #f2f5f3;
  --line: #dbe2de;
  --green: #28784c;
  --green-dark: #155b36;
  --orange: #f1a31a;
  --orange-dark: #d98a00;
  --shadow: 0 22px 60px rgba(23, 35, 31, .13);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.52;
}
body.no-scroll { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(241, 163, 26, .58); outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 200;
  padding: .7rem 1rem;
  border-radius: .65rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 1rem; }

.service-bar {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3.5rem);
  padding: .45rem 1rem;
  color: #fff;
  background: var(--ink);
  font-size: .82rem;
  font-weight: 760;
}
.service-bar span::before { content: "✓"; margin-right: .4rem; color: var(--orange); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 226, 222, .9);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(1280px, calc(100% - 2rem));
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.brand-cluster { display: flex; align-items: center; gap: 1rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  text-decoration: none;
}
.brand img { width: 68px; height: 68px; border-radius: 50%; object-fit: contain; }
.brand > span { display: grid; line-height: 1.05; }
.brand strong { font-size: 1.15rem; letter-spacing: -.025em; }
.brand small { margin-top: .28rem; color: var(--muted); font-size: .72rem; font-weight: 700; }
.parent-brand {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-left: 1px solid var(--line);
  padding-left: 1rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .68rem;
  font-weight: 780;
}
.parent-brand img { width: 52px; height: 44px; object-fit: contain; }
.parent-brand:hover { color: var(--green-dark); }
.main-nav { display: flex; justify-content: center; gap: 1.7rem; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 760; }
.main-nav a:hover { color: var(--green); }
.cart-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 0;
  border-radius: 999px;
  padding: .65rem .72rem .65rem 1rem;
  color: #fff;
  background: var(--green);
  font-weight: 820;
  cursor: pointer;
  box-shadow: 0 9px 24px rgba(40, 120, 76, .22);
}
.cart-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.cart-button svg { width: 1.2rem; height: 1.2rem; }
.cart-button b {
  min-width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: var(--orange);
  font-size: .78rem;
}

main { overflow: hidden; }
.hero {
  width: min(1280px, calc(100% - 2rem));
  margin: 1.35rem auto 0;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}
.hero-copy {
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.35rem) clamp(1.5rem, 4vw, 3.5rem);
  color: #fff;
  background: var(--ink);
}
.eyebrow, .section-label {
  margin: 0 0 .75rem;
  color: var(--green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow { color: #ffd888; }
.hero h1 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.hero-copy > p:not(.eyebrow) { max-width: 35rem; margin: 1.1rem 0 1.5rem; color: #dce5e1; font-size: 1.04rem; }
.hero-copy .eyebrow, .hero-copy h1, .hero-copy > p { grid-column: 1; }
.hero-actions { grid-column: 2; grid-row: 1 / span 3; display: grid; justify-items: stretch; gap: .7rem; min-width: 12.5rem; }
.hero-contact-link { color: #fff; text-align: center; text-decoration: none; font-size: .84rem; font-weight: 820; }
.hero-contact-link:hover { color: #ffd888; }
.primary-button, .secondary-button, .order-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: .75rem 1.15rem;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}
.primary-button { color: var(--ink); background: var(--orange); }
.primary-button:hover { background: #ffb631; transform: translateY(-1px); }
.hero-media { position: relative; aspect-ratio: 6000 / 1707; min-height: 0; background: #fff; }
.hero-media::after { content: none; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.origin-badge {
  position: absolute;
  z-index: 2;
  right: 1.1rem;
  bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: .72rem;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 14px;
  padding: .72rem .85rem;
  color: var(--ink);
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 32px rgba(10,17,14,.2);
  backdrop-filter: blur(10px);
}
.origin-badge > span:last-child { display: grid; line-height: 1.08; }
.origin-badge strong { font-size: .88rem; letter-spacing: -.015em; }
.origin-badge small { margin-top: .24rem; color: var(--muted); font-size: .66rem; font-weight: 720; }
.german-flag {
  width: 2.55rem;
  height: 1.58rem;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(23,35,31,.14);
  border-radius: 3px;
  background: linear-gradient(to bottom, #151515 0 33.333%, #d00 33.333% 66.666%, #ffce00 66.666% 100%);
  box-shadow: 0 2px 6px rgba(23,35,31,.12);
}

.category-dock {
  width: min(1180px, calc(100% - 3rem));
  margin: -1.45rem auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
  box-shadow: 0 12px 40px rgba(23, 35, 31, .11);
}
.category-button {
  min-width: 0;
  min-height: 154px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 94px auto;
  align-items: center;
  gap: .62rem;
  border: 0;
  padding: .62rem .7rem .82rem;
  text-align: left;
  background: #fff;
  font-size: .88rem;
  font-weight: 820;
  cursor: pointer;
}
.category-button .category-number {
  position: absolute;
  z-index: 1;
  top: .88rem;
  left: .95rem;
  min-width: 2rem;
  border-radius: 999px;
  padding: .28rem .42rem;
  color: var(--ink);
  background: rgba(255,255,255,.92);
  box-shadow: 0 3px 12px rgba(23,35,31,.16);
  font-size: .66rem;
  letter-spacing: .08em;
  text-align: center;
}
.category-photo { width: 100%; height: 94px; border-radius: 11px; object-fit: cover; transition: transform .25s ease; }
.category-button strong { min-width: 0; font-size: .88rem; line-height: 1.18; text-align: center; }
.category-button:hover { background: var(--wash); }
.category-button:hover .category-photo { transform: scale(1.025); }
.category-button.active { color: #fff; background: var(--green); }
.category-button.active .category-number { color: var(--ink); background: #ffd888; }
.category-button:focus-visible { position: relative; z-index: 2; outline: 3px solid var(--orange); outline-offset: -3px; }

.fence-configurator {
  width: min(1280px, calc(100% - 2rem));
  margin: 4.8rem auto 0;
  scroll-margin-top: 110px;
}
.configurator-heading { max-width: 58rem; margin-bottom: 1.5rem; }
.configurator-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.configurator-heading > p:last-child { max-width: 52rem; margin: .8rem 0 0; color: var(--muted); }
.configurator-switch {
  width: fit-content;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem;
  margin-bottom: .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23,35,31,.08);
}
.configurator-mode-button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: .65rem 1.15rem;
  color: var(--muted);
  background: transparent;
  font-size: .86rem;
  font-weight: 850;
  cursor: pointer;
}
.configurator-mode-button:hover { color: var(--green); background: var(--wash); }
.configurator-mode-button.active { color: #fff; background: var(--green); }
.configurator-mode-button:focus-visible { outline: 3px solid rgba(241,163,26,.58); outline-offset: 2px; }
.configurator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--wash);
  box-shadow: 0 20px 55px rgba(23, 35, 31, .11);
}
.configurator-shell[hidden] { display: none; }
.configurator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2.2rem);
}
.config-field { min-width: 0; display: grid; align-content: start; gap: .42rem; }
.config-field > span, .config-field legend { color: var(--ink); font-size: .86rem; font-weight: 820; }
.config-field > small { color: var(--muted); font-size: .74rem; }
.config-field input, .config-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5d0;
  border-radius: 11px;
  padding: .72rem .78rem;
  color: var(--ink);
  background: #fff;
}
.config-field input:focus, .config-field select:focus { border-color: var(--green); outline: 3px solid rgba(40,120,76,.12); }
.config-length, .config-mounting, .config-extra-posts { grid-column: 1 / -1; }
.input-with-unit { position: relative; }
.input-with-unit input { padding-right: 5rem; font-size: 1.1rem; font-weight: 820; }
.input-with-unit b { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .78rem; }
.config-mounting { margin: 0; border: 0; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.config-mounting legend { grid-column: 1 / -1; margin-bottom: .42rem; padding: 0; }
.config-mounting label { position: relative; min-width: 0; cursor: pointer; }
.config-mounting input { position: absolute; inset: auto; width: 1px; height: 1px; opacity: 0; }
.config-mounting label > span {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: .15rem;
  border: 1px solid #cbd5d0;
  border-radius: 12px;
  padding: .85rem 1rem .85rem 2.7rem;
  background: #fff;
}
.config-mounting label > span::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: .95rem;
  height: .95rem;
  transform: translateY(-50%);
  border: 2px solid #9caaa3;
  border-radius: 50%;
  background: #fff;
}
.config-mounting input:checked + span { border-color: var(--green); background: #edf7f1; box-shadow: inset 0 0 0 1px var(--green); }
.config-mounting input:checked + span::before { border: 4px solid var(--green); }
.config-mounting input:focus-visible + span { outline: 3px solid rgba(241,163,26,.58); outline-offset: 3px; }
.config-mounting strong { font-size: .88rem; }
.config-mounting small { color: var(--muted); font-size: .72rem; }
.config-mixed-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  padding: 1rem;
  background: #fff8e9;
}
.config-mixed-fields[hidden] { display: none; }
.panel-foot-color[hidden] { display: none; }
.config-extra-posts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem 1rem;
  border: 1px solid #cbd5d0;
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255,255,255,.62);
}
.config-extra-posts legend { grid-column: 1 / -1; padding: 0 .25rem; }
.config-extra-posts label { display: grid; gap: .42rem; }
.config-extra-posts label > span { color: var(--ink); font-size: .8rem; font-weight: 780; }
.config-extra-posts > small { grid-column: 1 / -1; color: var(--muted); font-size: .74rem; }
.config-installation-request {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  border: 1px solid #c9dfd2;
  border-radius: 14px;
  padding: 1rem;
  background: #f1f8f4;
  cursor: pointer;
}
.config-installation-request input { width: 1.1rem; min-height: 1.1rem; margin-top: .15rem; }
.config-installation-request > span { display: grid; gap: .2rem; }
.config-installation-request strong { font-size: .88rem; }
.config-installation-request small { color: var(--muted); font-size: .74rem; }
.configurator-result {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  color: #fff;
  background: var(--ink);
}
.config-result-top { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.13); }
.config-result-top span { color: #aebbb5; font-size: .72rem; font-weight: 820; letter-spacing: .09em; text-transform: uppercase; }
.config-result-top h3 { margin: .25rem 0 0; font-size: 1.45rem; line-height: 1.15; }
.config-result-top > strong { white-space: nowrap; color: #ffd888; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.04em; }
.config-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin: 1rem 0; }
.config-summary div { border: 1px solid rgba(255,255,255,.12); border-radius: 11px; padding: .72rem; background: rgba(255,255,255,.045); }
.config-summary strong, .config-summary span { display: block; }
.config-summary strong { font-size: 1.05rem; }
.config-summary span { margin-top: .1rem; color: #aebbb5; font-size: .67rem; }
.config-lines { display: grid; gap: .55rem; }
.config-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; border-radius: 11px; padding: .75rem; background: rgba(255,255,255,.075); }
.config-line > b { min-width: 2.3rem; color: #ffd888; font-size: .9rem; }
.config-line > span { min-width: 0; display: grid; }
.config-line strong { font-size: .82rem; line-height: 1.25; }
.config-line small { margin-top: .12rem; color: #aebbb5; font-size: .66rem; }
.config-line > em { white-space: nowrap; font-size: .8rem; font-style: normal; font-weight: 820; }
.config-add-button { min-height: 50px; margin-top: auto; border: 0; border-radius: 999px; padding: .8rem 1rem; color: var(--ink); background: var(--orange); font-weight: 900; cursor: pointer; }
.config-add-button:hover { background: #ffc04a; }
.config-add-button:disabled { cursor: not-allowed; opacity: .5; }
.config-note { margin: .75rem 0 0; color: #aebbb5; font-size: .7rem; line-height: 1.45; }

.shop-section {
  width: min(1280px, calc(100% - 2rem));
  margin: 4.8rem auto 5rem;
  scroll-margin-top: 110px;
}
.shop-layout {
  display: grid;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.shop-main { min-width: 0; }
.shop-sidebar { position: sticky; top: 108px; }
.shop-sidebar-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 14px 36px rgba(23,35,31,.09);
}
.shop-sidebar-card > p {
  margin: 0;
  color: var(--green);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.shop-sidebar-card h3 { margin: .25rem 0 .9rem; font-size: 1.4rem; letter-spacing: -.035em; }
.shop-category-list { display: grid; gap: .35rem; }
.shop-category-button {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  align-items: center;
  gap: .35rem;
  border: 0;
  border-radius: 10px;
  padding: .62rem .65rem;
  text-align: left;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: .79rem;
  font-weight: 790;
  cursor: pointer;
}
.shop-category-button span { color: #87958e; font-size: .65rem; letter-spacing: .05em; }
.shop-category-button:hover { background: var(--wash); }
.shop-category-button.active { color: #fff; background: var(--green); }
.shop-category-button.active span { color: #d5ecde; }
.shop-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.shop-heading h2, .shipping-section h2, .montage-section h2, .contact-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.shop-heading > div:first-child > p:last-child { max-width: 48rem; margin: .8rem 0 0; color: var(--muted); }
.product-search { width: min(100%, 360px); flex: 0 0 auto; }
.product-search label { display: grid; gap: .35rem; }
.product-search label > span { color: var(--ink-2); font-size: .74rem; font-weight: 850; }
.product-search label > div { position: relative; }
.product-search svg { position: absolute; z-index: 1; left: .78rem; top: 50%; width: 1.15rem; height: 1.15rem; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.product-search input { padding-left: 2.45rem; padding-right: 2.4rem; }
.product-search button { position: absolute; right: .45rem; top: 50%; width: 1.8rem; height: 1.8rem; transform: translateY(-50%); border: 0; border-radius: 50%; background: var(--wash); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.product-search small { display: block; margin-top: .3rem; color: var(--muted); font-size: .7rem; }
.subcategory-browser { margin: 1.4rem 0 .2rem; }
.subcategory-browser[hidden], .subcategory-grid[hidden] { display: none; }
.subcategory-toolbar { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.subcategory-toolbar p { margin: 0; color: var(--muted); font-size: .78rem; font-weight: 820; }
.subcategory-back {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .62rem .9rem;
  color: var(--green-dark);
  background: #fff;
  font: inherit;
  font-size: .79rem;
  font-weight: 820;
  cursor: pointer;
}
.subcategory-back:hover { border-color: var(--green); background: #f1f8f4; }
.subcategory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.subcategory-card { min-width: 0; display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: .8rem; border: 1px solid var(--line); border-radius: 16px; padding: .75rem; text-align: left; background: #fff; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.subcategory-card:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 12px 30px rgba(23,35,31,.1); }
.subcategory-card img { width: 92px; height: 82px; border-radius: 11px; object-fit: contain; background: var(--wash); }
.subcategory-card > span { min-width: 0; display: grid; gap: .18rem; }
.subcategory-card strong { font-size: .94rem; line-height: 1.15; }
.subcategory-card small { color: var(--muted); font-size: .7rem; line-height: 1.3; }
.subcategory-card em { margin-top: .2rem; color: var(--green-dark); font-size: .7rem; font-style: normal; font-weight: 820; }
.result-meta {
  margin: 1.8rem 0 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .83rem;
  font-weight: 720;
}
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.product-grid[hidden] { display: none; }
.no-search-results { grid-column: 1 / -1; min-height: 240px; display: grid; place-content: center; gap: .35rem; border: 1px dashed #bdc9c3; border-radius: 18px; padding: 2rem; text-align: center; background: var(--wash); }
.no-search-results strong { font-size: 1.15rem; }
.no-search-results span { color: var(--muted); font-size: .86rem; }
.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: #c2d0c8; box-shadow: 0 18px 44px rgba(23, 35, 31, .12); }
.product-image {
  position: relative;
  height: 250px;
  display: grid;
  place-items: center;
  padding: 1.3rem;
  overflow: hidden;
  background: linear-gradient(150deg, #f4f7f5, #e7ece9);
}
.product-image::after { content: ""; position: absolute; left: 11%; right: 11%; bottom: 12%; height: 16px; border-radius: 50%; background: rgba(23,35,31,.12); filter: blur(10px); }
.product-image img { width: 100%; height: 100%; position: relative; z-index: 1; object-fit: contain; transition: filter .2s ease; }
.product-badge {
  position: absolute;
  z-index: 2;
  top: .85rem;
  left: .85rem;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  padding: .35rem .62rem;
  color: #fff;
  background: rgba(23,35,31,.83);
  backdrop-filter: blur(8px);
  font-size: .7rem;
  font-weight: 820;
}
.product-content { flex: 1; display: flex; flex-direction: column; padding: 1.2rem; }
.product-kicker { margin: 0 0 .35rem; color: var(--green); font-size: .73rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.product-content h3 { margin: 0; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.025em; }
.product-description { min-height: 3em; margin: .7rem 0; color: var(--muted); font-size: .9rem; }
.product-specs { display: flex; flex-wrap: wrap; gap: .4rem; }
.product-specs span { border-radius: 999px; padding: .32rem .52rem; color: var(--ink-2); background: var(--wash); font-size: .7rem; font-weight: 730; }
.product-footer {
  margin-top: auto;
  padding-top: 1.1rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .8rem;
}
.price { display: grid; }
.price small { color: var(--muted); font-size: .68rem; }
.price strong { font-size: 1.28rem; letter-spacing: -.035em; }
.configure-button, .add-button {
  min-height: 43px;
  border: 0;
  border-radius: 999px;
  padding: .62rem .9rem;
  color: #fff;
  background: var(--green);
  font-size: .84rem;
  font-weight: 820;
  cursor: pointer;
}
.configure-button:hover, .add-button:hover { background: var(--green-dark); }
.availability-note { margin: 1rem 0 0; color: var(--muted); font-size: .76rem; }
.category-recommendations {
  margin-top: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(140deg, #f1f6f3, #fffaf0);
}
.recommendation-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.recommendation-heading .section-label { margin-bottom: .35rem; }
.recommendation-heading h3 { margin: 0; font-size: clamp(1.35rem, 2.5vw, 2rem); letter-spacing: -.035em; }
.accessory-category-link {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid #afcbb9;
  border-radius: 999px;
  padding: .62rem .9rem;
  color: var(--green-dark);
  background: #fff;
  font-size: .78rem;
  font-weight: 850;
  cursor: pointer;
}
.accessory-category-link:hover { border-color: var(--green); background: #edf7f1; }
.recommendation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.recommendation-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: .8rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: .7rem;
  text-align: left;
  background: #fff;
  cursor: pointer;
}
.recommendation-card:hover { border-color: var(--green); box-shadow: 0 10px 28px rgba(23,35,31,.1); }
.recommendation-card img { width: 88px; height: 78px; border-radius: 10px; object-fit: contain; background: var(--wash); }
.recommendation-card span { min-width: 0; display: grid; gap: .2rem; }
.recommendation-card small { color: var(--green); font-size: .66rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.recommendation-card strong { overflow: hidden; font-size: .9rem; line-height: 1.2; text-overflow: ellipsis; }
.recommendation-card em { color: var(--muted); font-size: .74rem; font-style: normal; font-weight: 750; }

.shipping-section {
  padding: clamp(3rem, 6vw, 5.2rem) max(1rem, calc((100vw - 1280px) / 2));
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  color: #fff;
  background: var(--ink);
  scroll-margin-top: 100px;
}
.section-label.light { color: #ffd888; }
.shipping-section > div:first-child > p:last-child { color: #cbd6d1; }
.shipping-points { display: grid; gap: .75rem; }
.shipping-points article { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; padding: 1rem; background: rgba(255,255,255,.05); }
.shipping-points span { color: #cbd6d1; font-size: .88rem; }

.montage-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 5rem auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: linear-gradient(135deg, #f2f6f3, #fff8e8);
  scroll-margin-top: 110px;
}
.montage-copy p:last-child { max-width: 45rem; color: var(--muted); }
.montage-actions { display: grid; justify-items: end; gap: .75rem; }
.secondary-button { color: #fff; background: var(--ink); }
.secondary-button:hover { background: var(--green-dark); }
.text-link { color: var(--green-dark); font-size: .86rem; font-weight: 820; text-decoration: none; }

.contact-section {
  width: min(1280px, calc(100% - 2rem));
  margin: 5rem auto;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  border-radius: 26px;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  color: #fff;
  background: linear-gradient(135deg, #12251d, #0d4e30);
  box-shadow: var(--shadow);
  scroll-margin-top: 110px;
}
.contact-intro > p:not(.section-label) { color: #d5e2dc; }
.contact-direct { margin-top: 1.4rem; display: grid; gap: .45rem; }
.contact-direct a { width: fit-content; color: #fff; text-decoration: none; font-weight: 830; }
.contact-direct a:hover { color: #ffd888; }
.contact-form { border-radius: 20px; padding: clamp(1rem, 3vw, 1.6rem); color: var(--ink); background: #fff; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-consent { margin-bottom: .9rem; }
.contact-submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-weight: 860;
  cursor: pointer;
}
.contact-submit:hover { background: var(--green-dark); }
.contact-submit:disabled { cursor: not-allowed; opacity: .55; }
.form-status { min-height: 1.3rem; margin: .7rem 0; color: var(--muted); font-size: .78rem; }
.form-status.error { color: #8a2e25; }
.form-status.success, .form-status.ready { color: var(--green-dark); font-weight: 760; }

footer { border-top: 1px solid var(--line); background: #f7f9f8; }
.footer-inner {
  width: min(1280px, calc(100% - 2rem));
  min-height: 125px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img { width: 66px; height: 60px; object-fit: contain; }
.footer-brand > div { display: grid; }
.footer-brand span, .footer-brand a { color: var(--muted); font-size: .78rem; text-decoration: none; }
.footer-brand a:hover { color: var(--green-dark); }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 1rem; }
.footer-inner nav a { color: var(--ink-2); font-size: .8rem; font-weight: 740; text-decoration: none; }
.footer-inner nav a:hover { color: var(--green); }
.footer-link { border: 0; padding: 0; color: var(--ink-2); background: transparent; font: inherit; font-size: .8rem; font-weight: 740; cursor: pointer; }
.footer-link:hover { color: var(--green); }

dialog { border: 0; padding: 0; color: var(--ink); background: transparent; }
dialog::backdrop { background: rgba(10,17,14,.68); backdrop-filter: blur(4px); }
#productDialog { width: min(1020px, calc(100% - 2rem)); max-width: none; max-height: 94vh; border-radius: 24px; overflow: visible; }
.product-dialog { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; max-height: 94vh; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.dialog-media { min-height: 590px; display: grid; place-items: center; padding: 2.2rem; background: linear-gradient(145deg, #edf2ef, #dfe7e2); }
.dialog-media img { width: 100%; height: 100%; max-height: 520px; object-fit: contain; }
.dialog-panel { align-self: stretch; overflow: auto; padding: clamp(1.5rem, 4vw, 2.8rem); }
.dialog-panel h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.05; letter-spacing: -.045em; }
.dialog-description { margin: .75rem 0; color: var(--muted); }
.detail-list { margin: .8rem 0 1.15rem; padding: 0; display: grid; gap: .35rem; list-style: none; font-size: .84rem; }
.detail-list li::before { content: "✓"; margin-right: .5rem; color: var(--green); font-weight: 900; }
.close-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255,255,255,.9);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.product-dialog > .close-button { position: absolute; z-index: 4; top: .8rem; right: .8rem; }
.option-grid, .form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.field, .form-grid label { display: grid; gap: .35rem; }
.field label, .form-grid label span { color: var(--ink-2); font-size: .76rem; font-weight: 800; }
.field.full, .form-grid .wide { grid-column: 1 / -1; }
select, input, textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid #cbd5d0;
  border-radius: 10px;
  padding: .65rem .72rem;
  color: var(--ink);
  background: #fff;
}
.dialog-price-row { margin: 1rem 0; display: flex; align-items: end; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.dialog-price-row span { color: var(--muted); font-size: .75rem; }
.dialog-price-row strong { font-size: 1.6rem; letter-spacing: -.04em; }
.quantity-row { display: flex; gap: .75rem; }
.stepper, .mini-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button, .mini-stepper button { width: 38px; height: 43px; border: 0; background: #fff; cursor: pointer; }
.stepper output, .mini-stepper span { min-width: 32px; text-align: center; font-weight: 820; }
.add-button { flex: 1; }
.microcopy { margin: .7rem 0 0; color: var(--muted); font-size: .72rem; }
.dialog-recommendations { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.dialog-recommendations h3 { margin: 0 0 .65rem; font-size: 1rem; letter-spacing: -.02em; }
.dialog-recommendations > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
.dialog-related-card { min-width: 0; border: 1px solid var(--line); border-radius: 11px; padding: .45rem; text-align: left; background: #fff; cursor: pointer; }
.dialog-related-card:hover { border-color: var(--green); }
.dialog-related-card img { width: 100%; height: 64px; border-radius: 8px; object-fit: contain; background: var(--wash); }
.dialog-related-card span { margin-top: .35rem; display: block; overflow: hidden; font-size: .68rem; font-weight: 780; line-height: 1.2; text-overflow: ellipsis; }

img[data-tone="anth"] { filter: none; }
img[data-tone="green"] { filter: sepia(.65) saturate(3.2) hue-rotate(76deg) brightness(.76); }
img[data-tone="fvz"] { filter: grayscale(1) brightness(1.55) contrast(.72); }
img[data-tone="stone"], img[data-tone="gray"] { filter: grayscale(1) brightness(1.15) contrast(.82); }
img[data-tone="window"] { filter: grayscale(.75) brightness(1.25) contrast(.78); }
img[data-tone="white"] { filter: grayscale(1) brightness(1.8) contrast(.55); }

.cart-dialog { width: min(620px, 100%); max-width: none; height: 100%; max-height: none; margin: 0 0 0 auto; }
.cart-shell { min-height: 100%; display: grid; grid-template-rows: auto 1fr auto; background: #fff; box-shadow: -20px 0 60px rgba(10,17,14,.2); }
.cart-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 1rem 1.25rem; }
.cart-header p { margin: 0; color: var(--green); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cart-header h2 { margin: .08rem 0 0; font-size: 1.7rem; letter-spacing: -.035em; }
.cart-body { overflow: auto; padding: 1rem 1.25rem 2rem; }
.cart-footer { border-top: 1px solid var(--line); padding: .8rem 1.25rem; background: #fff; }
.clear-cart, .remove-button { border: 0; padding: 0; color: #9a3d32; background: transparent; font-size: .78rem; font-weight: 800; cursor: pointer; }
.empty-cart { min-height: 55vh; display: grid; place-items: center; text-align: center; }
.empty-cart strong { display: block; font-size: 1.25rem; }
.empty-cart span { color: var(--muted); }
.cart-list { display: grid; gap: .7rem; }
.cart-item { border: 1px solid var(--line); border-radius: 14px; padding: .85rem; }
.cart-item-top, .cart-item-bottom { display: flex; justify-content: space-between; gap: .8rem; }
.cart-item h3 { margin: 0; font-size: .98rem; }
.cart-item p { margin: .25rem 0 0; color: var(--muted); font-size: .7rem; }
.cart-item-bottom { margin-top: .7rem; align-items: center; }
.cart-item-price { font-weight: 860; }
.mini-stepper button { height: 30px; width: 30px; }
.discount-form { margin-top: 1rem; border: 1px solid #ead8ad; border-radius: 16px; padding: 1rem; background: #fffaf0; }
.discount-form h3 { margin: 0; font-size: .95rem; }
.discount-form > div:first-child p { margin: .2rem 0 .8rem; color: var(--muted); font-size: .72rem; }
.discount-entry { display: grid; grid-template-columns: 1fr auto; gap: .55rem; }
.discount-entry input { text-transform: uppercase; }
.discount-entry button { border: 0; border-radius: 10px; padding: .65rem .85rem; color: var(--ink); background: var(--orange); font-weight: 850; cursor: pointer; }
.discount-active { margin-top: .65rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-radius: 10px; padding: .6rem .7rem; color: #155b36; background: #eaf7ef; font-size: .76rem; }
.discount-active button { border: 0; padding: 0; color: #8a2e25; background: transparent; font-size: .72rem; font-weight: 800; cursor: pointer; }
.discount-status { min-height: 1em; margin: .5rem 0 0; color: var(--green-dark); font-size: .72rem; }
.discount-status.error { color: #8a2e25; }
.cart-installation-option { margin-top: 1rem; display: flex; align-items: flex-start; gap: .65rem; border: 1px solid #c9dfd2; border-radius: 16px; padding: 1rem; background: #f1f8f4; cursor: pointer; }
.cart-installation-option input { width: 1.1rem; min-height: 1.1rem; margin-top: .15rem; }
.cart-installation-option > span { display: grid; gap: .18rem; }
.cart-installation-option strong { font-size: .88rem; }
.cart-installation-option small { color: var(--muted); font-size: .72rem; line-height: 1.4; }
.shipping-calculator { margin-top: 1rem; border-radius: 16px; padding: 1rem; color: #fff; background: var(--ink); }
.shipping-calculator h3 { margin: 0 0 .3rem; }
.shipping-calculator > p { margin: 0 0 .9rem; color: #cbd6d1; font-size: .78rem; }
.postcode-row { display: grid; grid-template-columns: 1fr auto; gap: .55rem; }
.postcode-row input { border-color: transparent; }
.postcode-row button { border: 0; border-radius: 10px; padding: .65rem .85rem; color: var(--ink); background: var(--orange); font-weight: 850; cursor: pointer; }
.address-toggle { margin-top: .65rem; display: flex; align-items: flex-start; gap: .5rem; color: #d7e0dc; font-size: .73rem; }
.address-toggle input { width: 1rem; min-height: 1rem; margin-top: .15rem; }
.shipping-result { margin-top: .9rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: .75rem; }
.shipping-result .zone { display: block; margin-bottom: .5rem; color: #ffd888; font-size: .75rem; font-weight: 820; }
.breakdown { display: grid; gap: .25rem; }
.breakdown div, .summary-line { display: flex; justify-content: space-between; gap: 1rem; }
.breakdown div { color: #d7e0dc; font-size: .75rem; }
.cart-summary { margin-top: .9rem; border: 1px solid var(--line); border-radius: 16px; padding: 1rem; }
.summary-line { padding: .28rem 0; color: var(--muted); font-size: .85rem; }
.summary-line strong { color: var(--ink); }
.summary-line.discount, .summary-line.discount strong { color: var(--green-dark); }
.summary-line.total { margin-top: .45rem; border-top: 1px solid var(--line); padding-top: .75rem; color: var(--ink); font-size: 1.02rem; font-weight: 860; }
.checkout-button { width: 100%; min-height: 49px; margin-top: .9rem; border: 0; border-radius: 999px; color: #fff; background: var(--green); font-weight: 860; cursor: pointer; }
.checkout-button:disabled { cursor: not-allowed; opacity: .48; }
.summary-note { margin: .6rem 0 0; color: var(--muted); font-size: .7rem; }

.checkout-dialog { width: min(680px, calc(100% - 2rem)); max-width: none; max-height: 94vh; border-radius: 22px; overflow: auto; }
.checkout-shell { overflow: hidden; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.checkout-body { padding: 1.25rem; }
.checkout-validation-summary { margin: 0 0 1rem; border: 1px solid #efc2bb; border-radius: 12px; padding: .85rem 1rem; color: #8a2e25; background: #fff1ef; }
.checkout-validation-summary[hidden] { display: none; }
.checkout-validation-summary strong { display: block; margin-bottom: .35rem; }
.checkout-validation-summary ul { margin: 0; padding-left: 1.15rem; font-size: .78rem; line-height: 1.5; }
.form-grid label span small { color: var(--muted); font-size: .68rem; font-weight: 650; }
.form-grid input[aria-invalid="true"], .form-grid select[aria-invalid="true"], .security-question input[aria-invalid="true"] { border-color: #c84e40; box-shadow: 0 0 0 2px rgba(200,78,64,.12); }
.check-row.field-invalid { border-radius: 9px; padding: .55rem .65rem; color: #8a2e25; background: #fff1ef; }

.check-row { margin-top: .8rem; display: flex; align-items: flex-start; gap: .55rem; font-size: .78rem; }
.check-row input { width: 1rem; min-height: 1rem; margin-top: .15rem; }
.check-row a { color: var(--green-dark); font-weight: 800; }
.security-question {
  margin-top: .9rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8.5rem auto;
  align-items: end;
  gap: .7rem;
  border: 1px solid #c9dfd2;
  border-radius: 13px;
  padding: .8rem;
  background: #f1f8f4;
}
.security-question > div { align-self: center; display: flex; align-items: center; gap: .6rem; }
.security-question > div > span:last-child { display: grid; }
.security-question strong { font-size: .82rem; }
.security-question small { margin-top: .16rem; color: var(--muted); font-size: .72rem; }
.security-question label { display: grid; gap: .28rem; color: var(--ink-2); font-size: .72rem; font-weight: 800; }
.security-question label input { min-height: 42px; }
.security-question button { min-height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: .55rem .7rem; background: #fff; font-size: .72rem; font-weight: 800; cursor: pointer; }
.security-question button:hover { border-color: var(--green); }
.security-icon { width: 1.55rem; height: 1.55rem; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: .76rem; font-weight: 900; }
.checkout-total { margin-top: 1rem; border-radius: 12px; padding: .9rem; background: var(--wash); }
.checkout-installation-note { margin: .55rem 0; display: grid; gap: .1rem; border-radius: 9px; padding: .65rem .7rem; color: #155b36; background: #eaf7ef; font-size: .74rem; }
.checkout-installation-note span { color: var(--muted); font-size: .7rem; }
.form-grid [hidden] { display: none; }
.order-button { width: 100%; margin-top: .9rem; color: var(--ink); background: var(--orange); }
.order-button:hover { background: #ffb631; }
.paypal-panel { margin-top: 1rem; border: 1px solid #cfdaf4; border-radius: 14px; padding: 1rem; background: #f7f9ff; }
.paypal-activate-button { margin-top: .75rem; background: #173d75; }
.paypal-activate-button[hidden] { display: none; }
.payment-privacy-note { margin: .7rem 0 0; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.payment-privacy-note a { color: inherit; font-weight: 750; }
.checkout-order-items { display: grid; gap: .55rem; margin-bottom: .9rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.checkout-order-items h3 { margin: 0 0 .15rem; font-size: .92rem; }
.checkout-item-summary { display: flex; align-items: start; justify-content: space-between; gap: .8rem; font-size: .78rem; }
.checkout-item-summary > span { display: grid; gap: .15rem; min-width: 0; }
.checkout-item-summary small { color: var(--muted); line-height: 1.35; }
.checkout-item-summary b { white-space: nowrap; }

.privacy-settings-dialog { width: min(620px, calc(100% - 1.5rem)); padding: 0; border: 0; border-radius: 20px; color: var(--ink); background: #fff; box-shadow: 0 28px 80px rgba(18, 35, 28, .28); }
.privacy-settings-dialog::backdrop { background: rgba(12, 24, 19, .58); backdrop-filter: blur(4px); }
.privacy-settings-dialog article { position: relative; padding: 1.5rem; }
.privacy-settings-dialog h2 { margin: .15rem 2.5rem 1.2rem 0; font-size: clamp(1.5rem, 4vw, 2rem); }
.dialog-kicker { margin: 0; color: var(--green); font-size: .72rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.privacy-setting-row { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.privacy-setting-row div { max-width: 420px; }
.privacy-setting-row p { margin: .35rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.privacy-setting-row > span { flex: 0 0 auto; border-radius: 999px; padding: .32rem .55rem; color: #155b36; background: #eaf7ef; font-size: .7rem; font-weight: 800; }
.privacy-settings-copy { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.paypal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.paypal-heading > div:first-child { display: flex; align-items: flex-start; gap: .65rem; }
.paypal-heading h3 { margin: 0; font-size: .95rem; }
.paypal-heading p { margin: .16rem 0 0; color: var(--muted); font-size: .72rem; }
.secure-mark { width: 1.45rem; height: 1.45rem; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: .75rem; font-weight: 900; }
.paypal-wordmark { color: #003087; font-size: 1.08rem; font-weight: 900; font-style: italic; letter-spacing: -.04em; }
.paypal-status { margin-top: .8rem; border-radius: 9px; padding: .65rem .72rem; color: #415048; background: #fff; font-size: .75rem; }
.paypal-status.error { color: #8a2e25; background: #fff1ef; }
.paypal-status.ready { color: #155b36; background: #eaf7ef; }
paypal-button { width: 100%; min-height: 48px; margin-top: .75rem; }
paypal-button[hidden] { display: none; }
.bank-transfer-panel { margin-top: .9rem; border: 1px solid #c9dfd2; border-radius: 14px; padding: 1rem; background: #f1f8f4; }
.bank-transfer-panel[hidden] { display: none; }
.bank-transfer-heading { display: flex; align-items: flex-start; gap: .7rem; }
.bank-transfer-heading h3 { margin: 0; font-size: .95rem; }
.bank-transfer-heading p { margin: .16rem 0 0; color: var(--muted); font-size: .72rem; }
.bank-icon { width: 1.55rem; height: 1.55rem; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: .8rem; font-weight: 900; }
.bank-transfer-saving { margin-top: .75rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-radius: 10px; padding: .7rem .8rem; color: #155b36; background: #e4f3e9; font-size: .76rem; }
.bank-transfer-saving:empty { display: none; }
.bank-transfer-saving strong { font-size: .9rem; white-space: nowrap; }
.bank-transfer-status { margin-top: .75rem; color: #155b36; font-size: .75rem; }
.bank-transfer-status.error { border-radius: 9px; padding: .65rem .72rem; color: #8a2e25; background: #fff1ef; }
.bank-transfer-button { margin-top: .75rem; color: #fff; background: var(--green); }
.bank-transfer-button:hover { background: var(--green-dark); }
.bank-transfer-button:disabled { cursor: wait; opacity: .62; }
.payment-divider { margin: .9rem 0 0; display: flex; align-items: center; gap: .7rem; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.payment-divider::before, .payment-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.email-order-button { margin-top: .75rem; }
.direct-order-panel { margin-top: .8rem; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; background: #fff; }
.direct-order-panel h3 { margin: 0; font-size: .95rem; }
.direct-order-panel > p { margin: .2rem 0 0; color: var(--muted); font-size: .74rem; }
.direct-order-status { margin-top: .65rem; color: var(--muted); font-size: .74rem; }
.direct-order-status.ready { color: var(--green-dark); }
.direct-order-status.error { color: #8a2e25; }
.email-order-button:disabled, .order-button:disabled { cursor: not-allowed; opacity: .55; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; }
.payment-success { padding: 1.4rem 0 .5rem; text-align: center; }
.payment-success .success-icon { width: 3rem; height: 3rem; margin: 0 auto .8rem; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 1.4rem; font-weight: 900; }
.payment-success h3 { margin: 0; font-size: 1.45rem; }
.payment-success p { margin: .55rem auto 0; max-width: 32rem; color: var(--muted); }
.payment-success strong { color: var(--ink); }
.checkout-address-block { min-width: 0; margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; }
.checkout-address-block legend { padding: 0 .4rem; color: var(--ink); font-size: .82rem; font-weight: 850; }
.delivery-address-block { background: #f7faf8; }

.toast {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: -5rem;
  transform: translateX(-50%);
  border-radius: 999px;
  padding: .75rem 1rem;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: .84rem;
  font-weight: 780;
  transition: bottom .25s ease;
}
.toast.show { bottom: 1.2rem; }

@media (max-width: 1020px) {
  .main-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .category-dock { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recommendation-grid { grid-template-columns: 1fr; }
  .configurator-shell { grid-template-columns: 1fr; }
  .configurator-result { min-height: 520px; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .shop-sidebar-card { padding: .9rem; }
  .shop-sidebar-card h3 { margin-bottom: .65rem; }
  .shop-category-list { display: flex; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
  .shop-category-button { width: auto; min-width: max-content; grid-template-columns: auto auto; padding-inline: .8rem; }
}

@media (max-width: 760px) {
  .service-bar { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .header-inner { width: min(100% - 1rem, 1280px); min-height: 70px; }
  .brand-cluster { gap: .45rem; }
  .brand { gap: .5rem; }
  .brand img { width: 52px; height: 52px; }
  .brand strong { font-size: 1rem; }
  .brand small { display: none; }
  .parent-brand { gap: 0; padding-left: .45rem; }
  .parent-brand img { width: 38px; height: 34px; }
  .parent-brand span { display: none; }
  .cart-button span { display: none; }
  .hero { width: calc(100% - 1rem); }
  .hero-copy { grid-template-columns: 1fr; padding: 1.5rem; }
  .hero h1 { font-size: clamp(1.85rem, 9vw, 2.7rem); }
  .hero-actions { grid-column: 1; grid-row: auto; margin-top: .2rem; min-width: 0; }
  .category-dock { width: calc(100% - 1.5rem); grid-template-columns: repeat(2, 1fr); }
  .category-button { min-height: 126px; grid-template-rows: 72px auto; gap: .48rem; padding: .48rem .5rem .65rem; }
  .category-photo { height: 72px; border-radius: 9px; }
  .category-button .category-number { top: .68rem; left: .7rem; }
  .category-button strong { font-size: .76rem; }
  .fence-configurator { width: calc(100% - 1rem); margin-top: 3.5rem; }
  .configurator-switch { width: 100%; }
  .configurator-mode-button { padding-inline: .6rem; font-size: .77rem; }
  .configurator-form { grid-template-columns: 1fr; }
  .config-length, .config-mounting, .config-extra-posts { grid-column: auto; }
  .config-mounting { grid-template-columns: 1fr; }
  .config-mounting legend { grid-column: auto; }
  .config-mixed-fields, .config-extra-posts { grid-template-columns: 1fr; }
  .config-mixed-fields { grid-column: auto; }
  .config-extra-posts legend, .config-extra-posts > small { grid-column: auto; }
  .config-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .configurator-result { min-height: 0; }
  .config-add-button { margin-top: 1.25rem; }
  .shop-section { width: calc(100% - 1rem); margin-top: 3.5rem; }
  .shop-heading { align-items: stretch; flex-direction: column; }
  .product-search { width: 100%; }
  .subcategory-grid { grid-template-columns: 1fr; }
  .recommendation-heading { align-items: flex-start; flex-direction: column; }
  .result-meta { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 235px; }
  .shipping-section { grid-template-columns: 1fr; }
  .shipping-points article { grid-template-columns: 1fr; gap: .3rem; }
  .montage-section, .footer-inner { align-items: flex-start; flex-direction: column; }
  .montage-actions { justify-items: start; }
  .contact-section { grid-template-columns: 1fr; }
  .footer-inner { padding: 2rem 0; }
  .footer-inner nav { justify-content: flex-start; }
  .product-dialog { grid-template-columns: 1fr; max-height: 92vh; overflow: auto; }
  .dialog-media { min-height: 275px; height: 275px; }
  .dialog-panel { padding: 1.3rem; }
  .dialog-recommendations > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .option-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full, .form-grid .wide { grid-column: auto; }
  .security-question { grid-template-columns: 1fr; align-items: stretch; }
  .security-question button { width: 100%; }
  .cart-dialog { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* =========================================================
   MOBILE / TOUCH HOTFIX 2026-09-27
   Verhindert horizontales Abschneiden von Produktkarten,
   macht Produktbilder und Konfiguration auf Smartphones robust
   und greift auch bei "Desktopwebsite" auf Touch-Geräten.
   ========================================================= */
html, body { max-width: 100%; }
body { overflow-x: clip; }

.shop-section,
.shop-layout,
.shop-main,
.product-grid,
.product-card,
.product-content,
.product-description,
.product-footer,
.subcategory-browser,
.subcategory-grid,
.configurator-shell,
.configurator-form,
.configurator-result {
  min-width: 0;
  max-width: 100%;
}

.product-grid,
.subcategory-grid { width: 100%; }

.product-card { width: 100%; }
.product-content { width: 100%; overflow: hidden; }

.product-description,
.product-content h3,
.product-kicker,
.subcategory-card strong,
.subcategory-card small {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.product-footer {
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
}

.product-image-button {
  width: 100%;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.product-image-button:focus-visible {
  outline: 3px solid rgba(241,163,26,.72);
  outline-offset: -3px;
}

.product-image img,
.subcategory-card img,
.recommendation-card img,
.dialog-related-card img,
.dialog-media img {
  max-width: 100%;
}

#productDialog {
  box-sizing: border-box;
  max-width: calc(100vw - .75rem);
}
.product-dialog,
.dialog-panel,
.dialog-media,
.option-grid,
.quantity-row {
  min-width: 0;
  max-width: 100%;
}

/* Normale Smartphone-Ansicht */
@media (max-width: 760px) {
  body { overflow-x: hidden; }

  .shop-section,
  .fence-configurator,
  .hero {
    max-width: calc(100vw - 1rem);
  }

  .product-grid { width: 100%; grid-template-columns: minmax(0, 1fr); }
  .product-card { max-width: 100%; overflow: hidden; }

  .product-image {
    width: 100%;
    height: clamp(190px, 56vw, 250px);
    padding: .8rem;
  }
  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .product-content { padding: 1rem; }
  .product-description { min-height: 0; margin: .6rem 0; line-height: 1.45; }

  .product-footer {
    align-items: stretch;
    flex-direction: column;
    gap: .7rem;
  }
  .configure-button {
    width: 100%;
    min-height: 48px;
    flex: none;
  }

  #productDialog {
    width: calc(100vw - .75rem);
    max-width: calc(100vw - .75rem);
    max-height: calc(100dvh - .75rem);
    margin: auto;
    border-radius: 18px;
  }
  .product-dialog {
    width: 100%;
    max-height: calc(100dvh - .75rem);
    grid-template-columns: minmax(0, 1fr);
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 18px;
  }
  .dialog-media {
    width: 100%;
    min-height: 210px;
    height: min(34dvh, 300px);
    padding: .85rem;
  }
  .dialog-media img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }
  .dialog-panel {
    width: 100%;
    overflow: visible;
    padding: 1rem;
  }
  .dialog-price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem;
  }
  .quantity-row {
    width: 100%;
    flex-wrap: wrap;
  }
  .quantity-row .add-button {
    min-width: min(100%, 180px);
  }
  .dialog-recommendations > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 
   Edge/Chrome "Desktopwebsite" auf einem Smartphone benutzt oft eine
   größere CSS-Viewport-Breite. Pointer/Touch-Erkennung hält die Seite
   trotzdem vollständig bedienbar und verhindert rechts abgeschnittene
   Karten oder Dialoge.
*/
@media (hover: none) and (pointer: coarse) and (max-width: 1200px) {
  .shop-layout,
  .configurator-shell,
  .contact-section,
  .shipping-section {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .product-card,
  .product-content,
  .product-footer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .product-description {
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .product-footer {
    flex-wrap: wrap;
  }

  #productDialog {
    width: min(760px, calc(100vw - 1rem));
    max-width: calc(100vw - 1rem);
  }

  .product-dialog {
    grid-template-columns: minmax(0, 1fr) !important;
    max-height: calc(100dvh - 1rem);
    overflow-y: auto;
    overflow-x: hidden;
  }

  .dialog-media {
    min-height: 220px;
    height: min(35dvh, 320px);
    padding: 1rem;
  }

  .dialog-panel {
    overflow: visible;
  }

  .configurator-form {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .config-length,
  .config-mounting,
  .config-extra-posts,
  .config-mixed-fields {
    grid-column: auto !important;
  }

  .config-mounting,
  .config-mixed-fields,
  .config-extra-posts {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .configure-button,
  .config-add-button,
  .add-button {
    min-height: 48px;
    touch-action: manipulation;
  }
}

