:root {
  --bg: #f6f7f7;
  --ink: #17201d;
  --muted: #66706c;
  --line: #d9dfdc;
  --panel: #ffffff;
  --panel-2: #edf3f1;
  --green: #0b6b55;
  --green-dark: #064537;
  --steel: #40535d;
  --amber: #b56b2a;
  --blue: #286b8d;
  --shadow: 0 18px 50px rgba(23, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(246, 247, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.contact-pill,
.button,
.nav {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  min-width: 240px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.supplier-card a:hover {
  color: var(--green);
}

.contact-pill {
  gap: 8px;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cart-button {
  cursor: pointer;
}

.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
}

.contact-pill svg,
.button svg,
.filter-title svg,
.icon-button svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 8vw, 92px) clamp(18px, 4vw, 56px);
  overflow: hidden;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 22, 18, 0.88), rgba(6, 22, 18, 0.48) 56%, rgba(6, 22, 18, 0.16));
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 760px;
  padding-bottom: 8vh;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b56f;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 7vw, 88px);
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions,
.request-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.primary:hover {
  background: var(--green-dark);
}

.ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.secondary {
  width: 100%;
  background: var(--panel-2);
  color: var(--steel);
  border-color: var(--line);
}

.button.compact {
  min-height: 38px;
  padding: 0 11px;
  font-size: 13px;
}

.button.compact.secondary {
  width: auto;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  min-height: 112px;
  padding: 24px clamp(18px, 4vw, 40px);
  background: var(--panel);
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  font-size: clamp(24px, 3vw, 34px);
}

.metrics span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.35;
}

.section {
  padding: clamp(44px, 7vw, 86px) clamp(18px, 4vw, 56px);
}

.section-head {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-head.wide {
  max-width: 1040px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section h2 {
  font-size: clamp(28px, 4vw, 48px);
}

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

.supplier-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  min-height: 220px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 29, 0.06);
}

.supplier-card img {
  width: 100%;
  height: 100%;
  min-height: 184px;
  object-fit: cover;
  border-radius: 6px;
}

.supplier-card p {
  color: var(--muted);
  line-height: 1.5;
}

.supplier-card a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.catalog-shell {
  display: grid;
  grid-template-columns: minmax(250px, 320px) 1fr;
  gap: 22px;
  align-items: start;
  background: #eef1f0;
}

.filters,
.catalog {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seo-section {
  background: #f8faf9;
}

.capillary-section {
  background: linear-gradient(180deg, #f8faf9 0%, #eef5f2 100%);
}

.capillary-subhead {
  margin-top: 34px;
}

.capillary-subhead h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.grade-grid.capillary-applications {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capillary-guidance {
  margin-top: 18px;
}

.capillary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.grade-section {
  background: var(--panel);
}

.grade-grid,
.seo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.seo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grade-card,
.seo-panel {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.grade-card {
  background: #f8faf9;
}

.grade-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.grade-card h3,
.seo-panel h3 {
  font-size: 21px;
}

.grade-card p,
.seo-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.seo-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seo-facts div {
  padding: 18px;
  background: #edf3f1;
}

.seo-facts strong,
.seo-facts span {
  display: block;
}

.seo-facts strong {
  color: var(--green-dark);
  font-size: 17px;
}

.seo-facts span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.faq-section {
  background: #eef1f0;
}

.seo-hub-section {
  background: #f8faf9;
}

.landing-section {
  background: var(--panel);
}

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

.seo-cluster-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.seo-cluster-card.high {
  border-color: rgba(11, 107, 85, 0.34);
  box-shadow: 0 10px 24px rgba(11, 107, 85, 0.08);
}

.seo-cluster-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.seo-cluster-head strong {
  color: var(--amber);
}

.seo-cluster-card h3 {
  font-size: 20px;
}

.seo-cluster-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.seo-frequency {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 2px;
}

.seo-frequency span {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
}

.seo-frequency small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.seo-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.seo-keywords span {
  padding: 5px 8px;
  background: #edf3f1;
  color: var(--green-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.landing-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.landing-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.landing-card-head a {
  color: var(--blue);
  text-decoration: none;
}

.landing-card h3 {
  font-size: 24px;
}

.landing-card p,
.landing-card li {
  color: var(--muted);
  line-height: 1.5;
}

.landing-card ul {
  margin: 0;
  padding-left: 18px;
}

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

.faq-grid article {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-grid h3 {
  font-size: 20px;
}

.faq-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.filters {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.filter-title,
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.filter-title {
  justify-content: flex-start;
}

.filter-title h2 {
  font-size: 22px;
}

.field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 0 11px;
  background: #fbfcfc;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

input,
select {
  height: 42px;
}

textarea {
  min-height: 132px;
  padding: 11px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(11, 107, 85, 0.22);
  outline-offset: 2px;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.catalog {
  min-width: 0;
  padding: 18px;
}

.catalog-toolbar {
  margin-bottom: 16px;
}

.catalog-toolbar h2 {
  font-size: 28px;
}

.view-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  background: var(--panel-2);
  border-radius: 8px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.icon-button.active {
  background: var(--panel);
  color: var(--green);
  box-shadow: 0 2px 8px rgba(23, 32, 29, 0.08);
}

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

.product-grid.table {
  grid-template-columns: 1fr;
}

.product-card {
  display: grid;
  gap: 14px;
  min-height: 232px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.product-grid.table .product-card {
  grid-template-columns: 1.2fr 0.9fr 0.8fr 0.9fr auto;
  align-items: center;
  min-height: 92px;
}

.product-head {
  display: grid;
  gap: 8px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: #e6eeeb;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.badge.blue {
  background: #e4eef3;
  color: #245b78;
}

.badge.amber {
  background: #f6eadc;
  color: #8d521f;
}

.product-card h3 {
  font-size: 17px;
  line-height: 1.25;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-grid.table .specs {
  grid-template-columns: repeat(2, minmax(90px, 1fr));
}

.spec {
  padding: 9px;
  background: var(--panel);
  border: 1px solid #e8ecea;
  border-radius: 7px;
}

.spec span,
.price span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.spec strong,
.price strong {
  display: block;
  margin-top: 3px;
}

.stock-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.stock-row span {
  padding: 5px 8px;
  background: #eef3f1;
  border-radius: 999px;
}

.stock-meter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 8px 9px;
  background: #fff5ef;
  border: 1px solid #f3d4c3;
  border-radius: 7px;
}

.stock-meter > span {
  color: #8d521f;
  font-size: 12px;
  font-weight: 800;
}

.stock-icons {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 78px;
  justify-content: flex-end;
}

.stock-icons svg {
  width: 17px;
  height: 17px;
  color: #ee5f2a;
  fill: #ee5f2a;
  stroke-width: 2.3;
}

.manufacturer-row {
  display: grid;
  gap: 7px;
  padding: 9px;
  background: #f0f4f2;
  border: 1px solid #dfe8e4;
  border-radius: 7px;
}

.manufacturer-row > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.manufacturer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.manufacturer-tag {
  padding: 5px 8px;
  background: #dfece7;
  color: var(--green-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.manufacturer-tag.muted {
  background: #ecefed;
  color: var(--muted);
}

.price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  color: var(--green-dark);
}

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

.source-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.weight-shortcut {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  background: #edf5f2;
  color: var(--green-dark);
  border: 1px solid #cfe0d9;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.weight-shortcut svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.weight-shortcut span {
  font-size: 13px;
  font-weight: 800;
}

.weight-shortcut strong {
  margin-left: auto;
  color: var(--green);
  font-size: 12px;
}

.weight-shortcut:hover {
  background: #e1eee9;
}

.empty {
  padding: 36px;
  background: var(--panel-2);
  border: 1px dashed #b8c3be;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.logistics-section {
  background: linear-gradient(180deg, #f2f7f5 0%, #e8f0ed 100%);
}

.logistics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.weight-calculator,
.weight-result,
.delivery-estimator,
.delivery-seo-grid article {
  border: 1px solid var(--line);
  border-radius: 10px;
}

.weight-calculator {
  padding: clamp(18px, 3vw, 28px);
  background: var(--panel);
}

.calculator-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.calculator-heading span,
.calculator-fields label > span,
.delivery-fields label > span,
.cart-logistics label > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.calculator-heading h3 {
  margin-top: 4px;
  font-size: clamp(22px, 3vw, 30px);
}

.calculator-heading svg {
  width: 30px;
  height: 30px;
  color: var(--green);
}

.calculator-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.calculator-density {
  grid-column: 1 / -1;
}

.formula-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.weight-result {
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 3vw, 28px);
  background: var(--green-dark);
  color: #fff;
}

.weight-result .eyebrow {
  color: #f0b56f;
}

.weight-result-main {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.weight-result-main span,
.weight-result-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.weight-result-main strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(32px, 5vw, 54px);
}

.weight-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 0;
}

.weight-result-grid div {
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.weight-result-grid strong {
  display: block;
  margin-top: 5px;
}

.calculator-warning {
  margin: auto 0 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.5;
}

.calculator-warning.error {
  color: #ffd2b3;
}

.delivery-estimator {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(420px, 1.2fr);
  gap: 20px;
  margin-top: 18px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--panel);
}

.delivery-estimator h3 {
  font-size: clamp(22px, 3vw, 30px);
}

.delivery-estimator p:not(.eyebrow),
.delivery-seo-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.delivery-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.delivery-fields .button {
  grid-column: 1 / -1;
}

.delivery-result {
  grid-column: 1 / -1;
  padding: 14px 16px;
  background: #edf5f2;
  color: var(--green-dark);
  border-left: 4px solid var(--green);
  border-radius: 7px;
  font-weight: 700;
  line-height: 1.5;
}

.delivery-seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.delivery-seo-grid article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.delivery-seo-grid article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--green-dark);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
}

.delivery-seo-grid h3 {
  font-size: 20px;
}

.delivery-seo-grid p {
  margin: 8px 0 0;
}

.request-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 24px;
  align-items: center;
  background: var(--green-dark);
  color: #fff;
}

.request-band p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.request-form input {
  flex: 1 1 180px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.96);
}

.request-form textarea {
  flex: 1 1 100%;
  background: rgba(255, 255, 255, 0.96);
}

.product-dialog {
  width: min(880px, calc(100vw - 28px));
  max-height: min(860px, calc(100vh - 28px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-dialog::backdrop {
  background: rgba(6, 22, 18, 0.55);
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.dialog-head h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.dialog-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.dialog-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dialog-section {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dialog-section h3 {
  font-size: 20px;
}

.dialog-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.muted-note {
  background: #fff8f1;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dialog-actions .secondary {
  width: auto;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  justify-content: flex-end;
  background: rgba(6, 22, 18, 0.48);
}

.cart-drawer.open {
  display: flex;
}

.cart-panel {
  width: min(560px, 100%);
  height: 100%;
  overflow: auto;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.cart-items {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px 92px 38px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-item strong,
.cart-item span,
.cart-item small {
  display: block;
}

.cart-line-meta {
  color: var(--green) !important;
  font-weight: 800;
}

.cart-item span,
.cart-item small {
  margin-top: 4px;
  color: var(--muted);
}

.qty-field {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.cart-length-field {
  min-width: 0;
}

.cart-logistics {
  display: grid;
  gap: 12px;
  margin: 0 18px 18px;
  padding: 16px;
  background: #edf5f2;
  border: 1px solid #cfe0d9;
  border-radius: 8px;
}

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

.cart-logistics-grid div {
  padding: 9px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 7px;
}

.cart-logistics-grid span,
.cart-logistics-grid strong {
  display: block;
}

.cart-logistics-grid span {
  color: var(--muted);
  font-size: 11px;
}

.cart-logistics-grid strong {
  margin-top: 4px;
  color: var(--green-dark);
  font-size: 14px;
}

.cart-logistics .button {
  width: 100%;
}

.cart-logistics p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.cart-actions {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .supplier-card {
    grid-template-columns: 1fr;
  }

  .supplier-card img {
    aspect-ratio: 16 / 8;
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .phone-pill {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .metrics,
  .supplier-grid,
  .grade-grid,
  .seo-grid,
  .seo-cluster-grid,
  .landing-grid,
  .seo-facts,
  .faq-grid,
  .catalog-shell,
  .request-band,
  .logistics-layout,
  .delivery-estimator {
    grid-template-columns: 1fr;
  }

  .grade-grid.capillary-applications {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

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

  .product-grid.table .product-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .delivery-result {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .hero-actions .button,
  .capillary-actions .button,
  .request-form .button,
  .dialog-actions .button {
    width: 100%;
  }

  .metrics div {
    min-height: 92px;
  }

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .range-row,
  .specs,
  .dialog-spec-grid,
  .cart-item,
  .calculator-fields,
  .weight-result-grid,
  .delivery-fields,
  .delivery-seo-grid,
  .cart-logistics-grid {
    grid-template-columns: 1fr;
  }

  .calculator-density,
  .delivery-fields .button {
    grid-column: auto;
  }

  .weight-shortcut {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .weight-shortcut strong {
    width: 100%;
    margin-left: 25px;
    text-align: left;
  }

  .cart-item .icon-button {
    justify-self: end;
  }

  .footer {
    flex-direction: column;
  }
}
