:root {
  --ink: #0b1726;
  --muted: #64748b;
  --line: #d9e2ef;
  --panel: #ffffff;
  --soft: #f3f6fa;
  --dark: #061426;
  --dark-2: #0b213a;
  --blue: #075fd0;
  --blue-2: #034aa6;
  --red: #c82333;
  --green: #128044;
  --amber: #c47a10;
  --shadow: 0 20px 54px rgba(7, 24, 44, 0.14);
  --radius: 6px;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #eef3f8;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.design-page {
  min-height: 100vh;
}

.lab-top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(190px, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 22px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand span {
  display: block;
  line-height: 1.12;
}

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

.top-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 116px;
  gap: 8px;
  align-items: center;
  height: 42px;
  padding-left: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.top-search input,
.filterbar input,
.filterbar select,
.inn-panel input,
.delivery-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.top-search button,
.primary-btn {
  min-height: 38px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

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

.icon-btn,
.cart-chip,
.ghost-btn,
.variant-link,
.category-btn,
.qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.icon-btn,
.cart-chip {
  height: 42px;
  padding: 0 12px;
}

.cart-chip strong {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
}

.lab-nav {
  position: sticky;
  top: 63px;
  z-index: 25;
  display: flex;
  gap: 2px;
  align-items: center;
  padding: 0 22px;
  min-height: 46px;
  background: var(--dark);
  color: #dbeafe;
}

.lab-nav a,
.lab-nav button {
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  padding: 15px 14px;
}

.lab-nav a:hover,
.lab-nav button:hover,
.lab-nav .active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.variant-switch {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.variant-link {
  height: 30px;
  padding: 0 10px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

.variant-link.active {
  background: #fff;
  color: var(--dark);
}

.layout {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr) 340px;
  gap: 18px;
  max-width: 1720px;
  margin: 0 auto;
  padding: 18px 22px 34px;
}

.catalog-side,
.right-side,
.main-flow {
  min-width: 0;
}

.catalog-side,
.cart-panel,
.inn-panel,
.delivery-box,
.filters-card,
.products-card,
.seo-band,
.static-page,
.compact-hero-card,
.compare-panel {
  background: var(--panel);
  border: 1px solid var(--line);
}

.catalog-side {
  position: sticky;
  top: 126px;
  height: auto;
  max-height: none;
  overflow: visible;
}

.side-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  background: var(--dark-2);
  color: #fff;
  font-weight: 800;
}

.category-list {
  padding: 8px;
}

.category-block-title {
  margin: 12px 8px 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.category-btn {
  width: 100%;
  justify-content: space-between;
  min-height: 38px;
  margin-bottom: 4px;
  padding: 8px 10px;
  text-align: left;
  border-color: transparent;
}

.category-btn span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-btn small {
  color: var(--muted);
}

.category-btn.active,
.category-btn:hover {
  border-color: #b8c9df;
  background: #edf5ff;
  color: var(--blue-2);
}

.hero {
  position: relative;
  min-height: 382px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 17, 32, 0.88), rgba(5, 17, 32, 0.48), rgba(5, 17, 32, 0.15)),
    url("assets/hero-metalservice-warehouse-v5.png") center / cover;
}

.hero-inner {
  max-width: 770px;
  padding: 50px 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #cde2ff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  color: #e8f2ff;
  font-size: 17px;
  line-height: 1.5;
}

.hero-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-quick button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(4, 18, 36, 0.56);
  color: #fff;
  font-weight: 700;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
}

.stats-row div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.stats-row div:last-child {
  border-right: 0;
}

.stats-row svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.stats-row strong,
.stats-row span {
  display: block;
}

.stats-row span {
  color: var(--muted);
  font-size: 13px;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.tile {
  position: relative;
  min-height: 118px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a1b2e;
  color: #fff;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tile-bg) center / cover;
  opacity: 0.74;
  transition: transform 0.2s ease;
}

.tile:hover::before {
  transform: scale(1.04);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(2, 13, 27, 0.86));
}

.tile button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  min-height: 118px;
  padding: 12px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  font-weight: 800;
}

.filterbar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.filterbar label {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.filterbar select,
.filterbar input {
  height: 36px;
  padding: 0 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.ghost-btn {
  min-height: 36px;
  padding: 0 12px;
  font-weight: 700;
}

.seo-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 14px 0;
  background: var(--line);
  overflow: hidden;
}

.seo-band article {
  padding: 14px;
  background: #fff;
}

.seo-band strong {
  display: block;
  margin-bottom: 4px;
}

.seo-band span {
  color: var(--muted);
  font-size: 13px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 12px;
}

.section-head h2 {
  margin-bottom: 4px;
  font-size: 24px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

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

.product-card {
  display: grid;
  grid-template-rows: 150px minmax(160px, auto);
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.product-img {
  position: relative;
  background: #10233b center / cover;
}

.product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 15, 30, 0.46));
}

.badge {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  padding: 4px 7px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 13px;
}

.product-title {
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.25;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.meta span {
  padding: 4px 7px;
  background: #eef4fb;
  color: #42526a;
  font-size: 12px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}

.price {
  font-size: 20px;
  font-weight: 800;
}

.stock {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.stock.pending {
  color: #607086;
  font-weight: 600;
}

.buy-row {
  display: grid;
  grid-template-columns: 32px minmax(32px, 1fr) 32px 42px;
  gap: 6px;
}

.qty-btn,
.buy-row input {
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.buy-row input {
  width: 100%;
}

.add-btn {
  display: grid;
  place-items: center;
  border: 0;
  background: var(--blue);
  color: #fff;
}

.more-row {
  display: flex;
  justify-content: center;
  margin: 20px 0 0;
}

.right-side {
  display: grid;
  gap: 14px;
  align-content: start;
  position: sticky;
  top: 126px;
  max-height: calc(100vh - 144px);
  overflow: auto;
}

.cart-panel,
.inn-panel,
.delivery-box,
.compare-panel {
  padding: 14px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.panel-head h2,
.panel-head h3 {
  margin: 0;
}

.cart-lines {
  display: grid;
  gap: 8px;
  min-height: 50px;
}

.empty {
  color: var(--muted);
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.cart-line strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.cart-line span {
  color: var(--muted);
  font-size: 12px;
}

.summary {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

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

.summary dt {
  color: var(--muted);
}

.summary dd {
  margin: 0;
  font-weight: 800;
}

.inn-row,
.delivery-box label {
  display: grid;
  gap: 8px;
}

.inn-row {
  grid-template-columns: minmax(0, 1fr) 86px;
}

.inn-row input,
.delivery-box input {
  height: 38px;
  padding: 0 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.hint {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.delivery-box {
  display: grid;
  gap: 10px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.service-strip article {
  min-height: 154px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(90deg, rgba(3, 14, 28, 0.88), rgba(3, 14, 28, 0.42)), var(--bg) center / cover;
}

.service-strip span {
  color: #cfe2ff;
  font-size: 12px;
  font-weight: 800;
}

.static-page {
  display: none;
  padding: 22px;
}

.static-page.active {
  display: block;
}

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

.static-grid article {
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.dialog {
  border: 0;
  width: min(940px, calc(100vw - 26px));
  padding: 0;
  box-shadow: var(--shadow);
}

.dialog::backdrop {
  background: rgba(4, 15, 30, 0.62);
}

.dialog-body {
  display: grid;
  grid-template-columns: 42% 1fr;
  background: #fff;
}

.dialog-image {
  min-height: 410px;
  background: #10233b center / cover;
}

.dialog-copy {
  padding: 24px;
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.spec-table {
  display: grid;
  gap: 1px;
  margin: 16px 0;
  background: var(--line);
}

.spec-table div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  background: #fff;
}

.design-v2 {
  --blue: #005bbb;
  --dark: #07111f;
  --dark-2: #111827;
  --soft: #f5f7fb;
  background: #f7f9fc;
}

.design-v2 .lab-top {
  grid-template-columns: 260px minmax(220px, 1fr) auto;
}

.design-v2 .layout {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.design-v2 .catalog-side {
  position: relative;
  top: auto;
  height: auto;
  grid-column: 1 / -1;
  order: -2;
}

.design-v2 .category-list {
  display: flex;
  overflow: auto;
  gap: 6px;
}

.design-v2 .category-block-title {
  display: none;
}

.design-v2 .category-btn {
  width: auto;
  min-width: 168px;
  margin: 0;
}

.design-v2 .main-flow {
  grid-column: 1;
}

.design-v2 .hero {
  min-height: 332px;
  background:
    linear-gradient(90deg, rgba(6, 16, 31, 0.72), rgba(6, 16, 31, 0.14)),
    url("assets/hero-metalservice-warehouse-v5.png") center / cover;
}

.design-v2 .hero-inner {
  padding: 42px 36px;
}

.design-v2 .tiles {
  grid-template-columns: repeat(3, 1fr);
}

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

.design-v2 .right-side {
  top: 126px;
}

.design-v3 {
  --blue: #0a66c2;
  --dark: #07192e;
  --dark-2: #0b294a;
  background: #eaf0f6;
}

.design-v3 .lab-top {
  grid-template-columns: 246px auto 1fr auto;
}

.design-v3 .lab-top::after {
  content: "8 800 550-25-10";
  order: 2;
  justify-self: start;
  color: var(--ink);
  font-weight: 800;
}

.design-v3 .top-search {
  order: 3;
}

.design-v3 .top-actions {
  order: 4;
}

.design-v3 .layout {
  grid-template-columns: 320px minmax(0, 1fr);
}

.design-v3 .right-side {
  position: static;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  max-height: none;
  overflow: visible;
}

.design-v3 .cart-panel {
  background: var(--dark-2);
  color: #fff;
}

.design-v3 .cart-panel .empty,
.design-v3 .cart-panel .summary dt,
.design-v3 .cart-line span {
  color: #b7c8dd;
}

.design-v3 .cart-line,
.design-v3 .cart-panel .summary {
  border-color: rgba(255, 255, 255, 0.12);
}

.design-v3 .cart-line {
  background: rgba(255, 255, 255, 0.06);
}

.design-v3 .hero {
  min-height: 430px;
}

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

.design-v3 .service-strip {
  grid-column: 1 / -1;
}

.design-v4 {
  --blue: #075fd0;
  --dark: #030b16;
  --dark-2: #0a223d;
  --soft: #eef4fa;
  background: #e7edf4;
}

.design-v4 .lab-top {
  background: #fdfefe;
  grid-template-columns: 250px minmax(320px, 1fr) auto;
}

.design-v4 .layout {
  grid-template-columns: 304px minmax(0, 1fr) 360px;
  gap: 14px;
}

.design-v4 .hero {
  min-height: 456px;
  background:
    linear-gradient(90deg, rgba(3, 12, 23, 0.92), rgba(3, 12, 23, 0.48), rgba(3, 12, 23, 0.1)),
    url("assets/hero-metalservice-warehouse-v5.png") center / cover;
}

.design-v4 .hero-inner {
  padding: 58px 48px;
}

.design-v4 h1 {
  max-width: 820px;
}

.design-v4 .tiles {
  grid-template-columns: repeat(3, 1fr);
}

.design-v4 .tile,
.design-v4 .tile button {
  min-height: 142px;
}

.design-v4 .tile button {
  font-size: 18px;
}

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

.design-v4 .cart-panel {
  border-color: #153a61;
  background: #07182d;
  color: #fff;
}

.design-v4 .cart-panel .summary,
.design-v4 .cart-line {
  border-color: rgba(255, 255, 255, 0.14);
}

.design-v4 .cart-line {
  background: rgba(255, 255, 255, 0.07);
}

.design-v4 .cart-panel .empty,
.design-v4 .cart-panel .summary dt,
.design-v4 .cart-line span {
  color: #b9cbe0;
}

.design-v5 {
  --blue: #0056b8;
  --dark: #101820;
  --dark-2: #1a2634;
  --line: #d1dbe8;
  background: #f4f7fb;
}

.design-v5 .lab-top {
  grid-template-columns: 230px minmax(360px, 1fr) auto;
}

.design-v5 .layout {
  grid-template-columns: 276px minmax(0, 1fr);
  max-width: 1820px;
}

.design-v5 .right-side {
  grid-column: 1 / -1;
  position: static;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  max-height: none;
  overflow: visible;
}

.design-v5 .hero {
  min-height: 284px;
}

.design-v5 .hero-inner {
  padding: 34px 38px;
}

.design-v5 h1 {
  font-size: clamp(30px, 3.2vw, 46px);
}

.design-v5 .tiles {
  grid-template-columns: repeat(6, 1fr);
}

.design-v5 .filterbar {
  position: sticky;
  top: 109px;
  z-index: 16;
  border-color: #b8c8db;
}

.design-v5 .product-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.design-v5 .product-card {
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-rows: auto;
  min-height: 142px;
}

.design-v5 .product-img {
  min-height: 142px;
}

.design-v5 .product-body {
  grid-template-columns: minmax(220px, 1.3fr) minmax(200px, 1fr) 170px;
  align-items: center;
}

.design-v5 .product-title {
  min-height: 0;
}

.design-v5 .meta {
  align-content: center;
}

.design-v5 .price-row {
  display: grid;
  justify-items: start;
}

.design-v5 .buy-row {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.design-v6 {
  --blue: #075fd0;
  --dark: #071426;
  --dark-2: #0d2745;
  --soft: #f2f6fb;
  background: #edf3f9;
}

.design-v6 .lab-top {
  grid-template-columns: 280px minmax(340px, 1fr) auto;
}

.design-v6 .layout {
  grid-template-columns: 288px minmax(0, 1fr) 330px;
}

.design-v6 .hero {
  min-height: 400px;
  background:
    linear-gradient(90deg, rgba(4, 20, 38, 0.86), rgba(4, 20, 38, 0.5), rgba(4, 20, 38, 0.2)),
    url("assets/hero-metalservice-warehouse-v5.png") center / cover;
}

.design-v6 .hero-inner {
  padding: 54px 42px;
}

.design-v6 .seo-band {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  border-color: #bed0e5;
}

.design-v6 .seo-band article:first-child {
  background: #07182d;
  color: #fff;
}

.design-v6 .seo-band article:first-child span {
  color: #c7dcf5;
}

.design-v6 .tiles {
  grid-template-columns: repeat(3, 1fr);
}

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

.design-v6 .inn-panel,
.design-v6 .delivery-box {
  border-left: 4px solid var(--blue);
}

svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1320px) {
  .layout,
  .design-v3 .layout,
  .design-v4 .layout,
  .design-v6 .layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .right-side {
    position: static;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-height: none;
    overflow: visible;
  }

  .product-grid,
  .design-v2 .product-grid,
  .design-v3 .product-grid,
  .design-v4 .product-grid,
  .design-v6 .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .lab-top {
    grid-template-columns: 1fr;
  }

  .lab-nav {
    position: static;
    overflow: auto;
  }

  .layout,
  .design-v2 .layout,
  .design-v3 .layout,
  .design-v4 .layout,
  .design-v5 .layout,
  .design-v6 .layout {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .catalog-side {
    position: static;
    height: auto;
  }

  .right-side,
  .design-v3 .right-side,
  .design-v5 .right-side {
    grid-template-columns: 1fr;
  }

  .stats-row,
  .tiles,
  .filterbar,
  .seo-band,
  .service-strip,
  .static-grid,
  .design-v2 .tiles {
    grid-template-columns: 1fr 1fr;
  }

  .product-grid,
  .design-v2 .product-grid,
  .design-v3 .product-grid,
  .design-v4 .product-grid,
  .design-v6 .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .design-v5 .product-card,
  .design-v5 .product-body {
    grid-template-columns: 1fr;
  }

  .design-v5 .buy-row {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .top-search {
    grid-template-columns: 22px 1fr;
  }

  .top-search button {
    grid-column: 1 / -1;
  }

  .lab-top,
  .lab-nav {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-inner {
    padding: 34px 20px;
  }

  .stats-row,
  .tiles,
  .filterbar,
  .seo-band,
  .service-strip,
  .static-grid,
  .product-grid,
  .design-v2 .product-grid,
  .design-v3 .product-grid,
  .design-v4 .product-grid,
  .design-v6 .product-grid {
    grid-template-columns: 1fr;
  }

  .dialog-body {
    grid-template-columns: 1fr;
  }
}

/* Variant 7: close reconstruction of the supplied desktop composition. */
.design-v7 {
  --blue: #075fcf;
  --blue-2: #034fae;
  --dark: #071728;
  --dark-2: #0b2238;
  --line: #dbe3ed;
  background: #f2f5f9;
}

.design-v7 .lab-top {
  position: relative;
  z-index: 35;
  grid-template-columns: 330px 230px 210px minmax(430px, 1fr);
  gap: 22px;
  min-height: 78px;
  max-width: none;
  padding: 11px max(20px, calc((100vw - 1580px) / 2));
  border-bottom: 0;
  background: #fff;
}

.design-v7 .brand {
  gap: 12px;
}

.design-v7 .brand-mark {
  width: 48px;
  height: 48px;
  font-size: 18px;
  background: #125ba7;
}

.design-v7 .brand > span:last-child {
  display: grid;
  grid-template-columns: auto minmax(130px, 1fr);
  align-items: center;
  gap: 14px;
}

.design-v7 .brand strong {
  color: #153d6b;
  font-size: 17px;
  line-height: 0.95;
}

.design-v7 .brand span span {
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid #d9e1eb;
  color: #5b6d83;
  font-size: 10px;
  line-height: 1.35;
}

.header-location {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #25496f;
  cursor: pointer;
}

.header-location svg {
  color: var(--blue);
}

.header-location strong,
.header-location small,
.header-phone strong,
.header-phone span,
.header-action span,
.header-action small {
  display: block;
}

.header-location strong,
.header-phone strong {
  color: #0b2340;
  font-size: 16px;
}

.header-location small,
.header-phone span {
  margin-top: 4px;
  color: #78889b;
  font-size: 11px;
}

.city-switcher {
  position: relative;
  z-index: 80;
}

.city-switcher .header-location > svg:last-child {
  width: 15px;
  height: 15px;
  transition: transform 140ms ease;
}

.city-switcher .header-location[aria-expanded="true"] > svg:last-child {
  transform: rotate(180deg);
}

.city-popover {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: min(460px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid #c5d4e4;
  background: #fff;
  box-shadow: 0 18px 46px rgba(6, 31, 57, 0.22);
}

.city-popover[hidden] {
  display: none;
}

.city-popover > strong {
  display: block;
  margin-bottom: 10px;
  color: #0b2745;
  font-size: 18px;
}

.city-popover > input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #bfcfe0;
  color: #102b49;
  font-size: 14px;
}

.city-popover > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  max-height: 286px;
  margin: 12px 0;
  overflow-y: auto;
}

.city-popover a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 9px;
  color: #164e86;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.city-popover a:hover,
.city-popover a:focus-visible {
  background: #eaf4ff;
  outline: 0;
}

.city-popover > a:last-child {
  justify-content: center;
  min-height: 42px;
  background: #0768d7;
  color: #fff;
}

.header-phone {
  text-align: right;
}

.design-v7 .top-actions {
  justify-content: flex-end;
  min-width: 0;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 76px;
  height: 48px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #173a62;
  font-size: 11px;
}

.header-action > svg {
  width: 22px;
  height: 22px;
  color: #3e638d;
}

.header-action small {
  margin-top: 2px;
  color: #718196;
  font-size: 9px;
  white-space: nowrap;
}

.header-cart {
  min-width: 116px;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border: 1px solid #86a7cc;
  background: #fff;
  color: #185a9f;
  font-weight: 700;
}

.design-v7 .lab-nav {
  position: relative;
  top: auto;
  min-height: 48px;
  padding: 0 max(20px, calc((100vw - 1580px) / 2));
  background: #07182b;
  border-bottom: 3px solid #1167c7;
}

.design-v7 .lab-nav > button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 17px;
  font-size: 13px;
}

.design-v7 .lab-nav > button:first-child {
  min-width: 168px;
  justify-content: flex-start;
  background: #0860c8;
  color: #fff;
}

.nav-search {
  display: grid;
  grid-template-columns: 22px minmax(180px, 1fr) 92px;
  align-items: center;
  width: min(500px, 39vw);
  height: 36px;
  margin-left: auto;
  padding-left: 11px;
  border: 1px solid #36506e;
  background: #0b2139;
}

.nav-search svg {
  color: #8092a8;
}

.nav-search input {
  min-width: 0;
  height: 34px;
  padding: 0 9px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
}

.nav-search input::placeholder {
  color: #8ca0b6;
}

.nav-search button {
  align-self: stretch;
  border: 0;
  background: #075fce;
  color: #fff;
  font-weight: 700;
}

.design-v7[data-page="home"] .nav-search,
.design-v7[data-page="city"] .nav-search,
.design-v7[data-page="solution"] .nav-search {
  display: none;
}

.design-v7 .layout {
  grid-template-columns: 240px minmax(0, 1fr) 340px;
  gap: 0;
  max-width: 1620px;
  padding: 0 20px 36px;
  background: #fff;
}

.design-v7 .catalog-side {
  position: relative;
  top: auto;
  z-index: 8;
  height: 500px;
  overflow: auto;
  border: 0;
  background: rgba(5, 24, 42, 0.97);
}

.design-v7 .side-title,
.design-v7 .category-block-title {
  display: none;
}

.design-v7 .category-list {
  padding: 7px 8px;
}

.design-v7 .category-btn {
  min-height: 34px;
  margin: 0;
  padding: 6px 8px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: transparent;
  color: #edf5ff;
  font-size: 12px;
}

.design-v7 .category-btn span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.design-v7 .category-btn span svg {
  width: 16px;
  height: 16px;
  color: #b9cee5;
}

.design-v7 .category-btn > svg {
  width: 14px;
  height: 14px;
  color: #6f879f;
}

.design-v7 .category-btn:hover,
.design-v7 .category-btn.active {
  background: #0b3965;
  color: #fff;
}

.design-v7 .main-flow {
  min-width: 0;
  background: #fff;
}

.design-v7 .hero {
  min-height: 500px;
  background:
    linear-gradient(90deg, rgba(4, 18, 33, 0.88) 0%, rgba(4, 18, 33, 0.58) 48%, rgba(4, 18, 33, 0.08) 100%),
    url("assets/hero-metalservice-warehouse-v5.png") 48% center / cover;
}

.design-v7 .hero-inner {
  max-width: 790px;
  padding: 82px 40px 40px;
}

.design-v7 .hero .eyebrow {
  display: none;
}

.design-v7 h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: 38px;
  line-height: 1.08;
}

.design-v7 .hero p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.45;
}

.hero-search {
  display: grid;
  grid-template-columns: 135px minmax(180px, 1fr) 92px;
  width: min(640px, 100%);
  height: 44px;
  background: #fff;
}

.hero-search select,
.hero-search input {
  min-width: 0;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid #dce4ee;
  outline: 0;
  background: #fff;
  color: #31475f;
  font-size: 12px;
}

.hero-search button {
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

.design-v7 .hero-quick {
  margin-top: 12px;
}

.design-v7 .hero-quick button {
  min-height: 29px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  font-size: 11px;
}

.hero-play {
  position: absolute;
  left: 40px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
}

.hero-play svg {
  box-sizing: content-box;
  padding: 8px;
  border-radius: 50%;
  background: #fff;
  color: #0a5fc5;
}

.design-v7 .right-side {
  position: relative;
  top: auto;
  z-index: 10;
  display: grid;
  grid-column: auto;
  grid-template-columns: 1fr;
  gap: 14px;
  max-height: none;
  overflow: visible;
  padding-left: 14px;
  background: #f3f6fa;
}

.design-v7 .cart-panel {
  min-height: 500px;
  padding: 16px;
  border: 0;
  background: #0a2238;
  color: #fff;
}

.design-v7 .cart-panel .panel-head h2 {
  font-size: 18px;
}

.design-v7 .cart-panel .icon-btn {
  border-color: rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #c7d7e8;
}

.design-v7 .cart-lines {
  gap: 0;
  max-height: 310px;
  overflow: auto;
}

.design-v7 .cart-line {
  grid-template-columns: 56px minmax(0, 1fr) 27px;
  align-items: center;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: transparent;
}

.design-v7 .cart-line img {
  width: 56px;
  height: 48px;
  object-fit: cover;
}

.design-v7 .cart-line strong {
  white-space: normal;
  color: #fff;
  font-size: 11px;
  line-height: 1.25;
}

.design-v7 .cart-line span,
.design-v7 .cart-panel .summary dt,
.design-v7 .cart-panel .empty {
  color: #aebfd0;
}

.design-v7 .cart-line .icon-btn {
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
}

.design-v7 .cart-panel .summary {
  margin: 10px 0;
  padding-top: 10px;
  border-color: rgba(255, 255, 255, 0.15);
  font-size: 12px;
}

.design-v7 .cart-panel .summary div:last-child {
  margin-top: 5px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 16px;
}

.design-v7 .cart-panel > .primary-btn {
  width: 100%;
}

.design-v7 .stats-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-left: 0;
  border-right: 0;
}

.design-v7 .stats-row div {
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 8px;
  padding: 15px 12px;
}

.design-v7 .stats-row svg {
  width: 24px;
  height: 24px;
}

.design-v7 .stats-row strong {
  font-size: 16px;
}

.design-v7 .stats-row span {
  font-size: 10px;
}

.section-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 12px;
}

.section-kicker h2 {
  margin: 0;
  font-size: 21px;
}

.section-kicker button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
}

.design-v7 .tiles {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.design-v7 .tile,
.design-v7 .tile button {
  min-height: 150px;
}

.design-v7 .tile button {
  padding: 12px;
  font-size: 13px;
}

.design-v7:not(.category-mode):not(.static-mode) .filterbar,
.design-v7:not(.category-mode):not(.static-mode) .seo-band {
  display: none;
}

.design-v7 .filterbar {
  margin: 20px 0 12px;
}

.design-v7 .seo-band {
  margin: 0 0 16px;
}

.design-v7 .section-head {
  margin: 19px 0 12px;
}

.design-v7 .section-head h2 {
  font-size: 21px;
}

.design-v7 .section-head p {
  font-size: 12px;
  white-space: pre-wrap;
}

.design-v7 .product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.design-v7 .product-card {
  grid-template-rows: 132px minmax(170px, auto);
}

.design-v7 .product-body {
  gap: 8px;
  padding: 10px;
}

.design-v7 .product-title {
  min-height: 42px;
  font-size: 12px;
}

.design-v7:not(.category-mode) .product-card .meta {
  display: none;
}

.design-v7 .price {
  font-size: 16px;
}

.design-v7 .stock {
  font-size: 9px;
}

.design-v7 .buy-row {
  grid-template-columns: 28px minmax(30px, 1fr) 28px 36px;
}

.design-v7 .buy-row input,
.design-v7 .qty-btn {
  height: 32px;
}

.design-v7.category-mode .hero,
.design-v7.category-mode .stats-row,
.design-v7.category-mode .section-kicker,
.design-v7.category-mode .tiles,
.design-v7.category-mode .shipment-section,
.design-v7.category-mode .service-strip,
.design-v7.static-mode .hero,
.design-v7.static-mode .stats-row,
.design-v7.static-mode .section-kicker,
.design-v7.static-mode .tiles,
.design-v7.static-mode .shipment-section,
.design-v7.static-mode .service-strip {
  display: none;
}

.design-v7.category-mode .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shipment-section {
  margin-top: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.shipment-section h2 {
  margin-bottom: 20px;
  font-size: 21px;
}

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

.shipment-flow article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
}

.shipment-flow svg {
  color: var(--blue);
}

.shipment-flow strong,
.shipment-flow span {
  display: block;
}

.shipment-flow strong {
  margin-bottom: 4px;
  font-size: 12px;
}

.shipment-flow span {
  color: #64748b;
  font-size: 10px;
  line-height: 1.3;
}

.design-v7 .service-strip article {
  min-height: 180px;
}

.design-v7 .inn-panel,
.design-v7 .delivery-box,
.manager-box {
  border: 1px solid var(--line);
  background: #fff;
}

.manager-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: end;
  padding: 16px;
}

.manager-box span,
.manager-box strong,
.manager-box a {
  display: block;
}

.manager-box span {
  margin-bottom: 6px;
  color: #617187;
  font-size: 12px;
}

.manager-box strong {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.35;
}

.manager-box a {
  color: #0a4f95;
  font-weight: 800;
  text-decoration: none;
}

.manager-box > svg {
  width: 42px;
  height: 42px;
  color: var(--blue);
}

@media (max-width: 1320px) {
  .design-v7 .lab-top {
    grid-template-columns: 280px 190px 180px minmax(350px, 1fr);
    gap: 12px;
  }

  .design-v7 .header-action {
    min-width: 54px;
  }

  .design-v7 .header-action > span {
    display: none;
  }
}

@media (max-width: 1100px) {
  .design-v7 .layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .design-v7 .right-side {
    grid-column: 1 / -1;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    padding: 16px 0 0;
  }

  .design-v7 .cart-panel {
    min-height: 0;
  }

  .design-v7 .product-grid,
  .design-v7.category-mode .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .design-v7 .lab-top {
    grid-template-columns: minmax(250px, 1fr) auto auto;
  }

  .design-v7 .header-location {
    display: none;
  }

  .design-v7 .city-switcher {
    display: none;
  }

  .design-v7 .lab-nav {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 8px;
  }

  .design-v7 .nav-search {
    order: 10;
    width: 100%;
    margin: 0;
  }

  .design-v7 .layout {
    grid-template-columns: 1fr;
    padding: 0 14px 28px;
  }

  .design-v7 .catalog-side {
    height: auto;
  }

  .design-v7 .category-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-v7 .right-side {
    grid-template-columns: 1fr 1fr;
  }

  .design-v7 .tiles,
  .design-v7 .product-grid,
  .design-v7.category-mode .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .design-v7 .lab-top {
    grid-template-columns: 1fr auto;
    padding: 10px 12px;
  }

  .design-v7 .brand > span:last-child {
    grid-template-columns: auto;
  }

  .design-v7 .brand span span,
  .design-v7 .header-phone,
  .design-v7 .header-action:not(.header-cart),
  .design-v7 .login-btn {
    display: none;
  }

  .design-v7 .lab-nav > button:not(:first-child) {
    display: none;
  }

  .design-v7 .hero {
    min-height: 520px;
  }

  .design-v7 .hero-inner {
    padding: 54px 20px 30px;
  }

  .design-v7 h1 {
    font-size: 32px;
  }

  .hero-search {
    grid-template-columns: 1fr 82px;
    height: auto;
  }

  .hero-search select {
    display: none;
  }

  .hero-search input,
  .hero-search button {
    height: 44px;
  }

  .design-v7 .stats-row,
  .design-v7 .tiles,
  .design-v7 .product-grid,
  .design-v7.category-mode .product-grid,
  .design-v7 .right-side,
  .shipment-flow {
    grid-template-columns: 1fr 1fr;
  }

  .design-v7 .filterbar,
  .design-v7 .seo-band,
  .design-v7 .service-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .design-v7 .category-list,
  .design-v7 .tiles,
  .design-v7 .product-grid,
  .design-v7.category-mode .product-grid,
  .design-v7 .right-side,
  .shipment-flow {
    grid-template-columns: 1fr;
  }
}

/* Catalog filters modeled after the working MC price-list pattern. */
.design-v7 .ms-filterbar {
  position: relative;
  z-index: 22;
  display: block;
  padding: 0;
  overflow: visible;
  border-color: #cfdbe8;
}

.filterbar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 12px 16px;
  border-bottom: 1px solid #d8e2ed;
  background: #f5f8fc;
}

.filterbar-head > div,
.filterbar-head strong,
.filterbar-head span {
  display: block;
  min-width: 0;
}

.filterbar-head strong {
  color: #102b49;
  font-size: 17px;
}

.filterbar-head span {
  margin-top: 2px;
  color: #708197;
  font-size: 13px;
  line-height: 1.3;
}

.filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #c9d6e4;
  background: #fff;
  color: #28527c;
  font-size: 14px;
  font-weight: 750;
}

.filter-reset svg {
  width: 15px;
  height: 15px;
}

.filter-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #d8e2ed;
}

.catalog-filter {
  position: relative;
  min-width: 0;
  border: 0;
  background: #fff;
}

.catalog-filter:last-child {
  border-right: 0;
}

.catalog-filter > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  gap: 2px 8px;
  align-items: center;
  min-width: 0;
  min-height: 76px;
  padding: 13px 15px;
  list-style: none;
  color: #64758a;
  cursor: pointer;
  user-select: none;
}

.catalog-filter > summary::-webkit-details-marker {
  display: none;
}

.catalog-filter > summary > span,
.catalog-filter > summary > strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-filter > summary > span {
  grid-column: 1;
  font-size: 13px;
}

.catalog-filter > summary > strong {
  grid-column: 1;
  color: #153b64;
  font-size: 15px;
}

.catalog-filter > summary > svg {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 16px;
  height: 16px;
  color: #66819f;
  transition: transform 140ms ease;
}

.catalog-filter[open] > summary {
  background: #edf5ff;
  box-shadow: inset 0 -2px #075fcf;
}

.catalog-filter[open] > summary > svg {
  transform: rotate(180deg);
}

.catalog-filter-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 1px);
  left: 0;
  width: max(100%, 250px);
  min-width: 0;
  padding: 14px;
  border: 1px solid #c9d8e8;
  background: #fff;
  box-shadow: 0 16px 36px rgba(7, 31, 56, 0.18);
}

.catalog-size-panel {
  width: min(440px, calc(100vw - 40px));
}

.surface-filter .catalog-filter-panel,
.sort-filter .catalog-filter-panel {
  right: 0;
  left: auto;
}

.catalog-filter-panel label {
  color: #526b84;
  font-size: 12px;
}

.catalog-filter-panel input,
.catalog-filter-panel select {
  width: 100%;
  height: 44px;
  margin-top: 6px;
  padding: 0 12px;
  border: 1px solid #cbd8e6;
  background: #fff;
  color: #102842;
}

.filter-panel-caption {
  display: block;
  margin-bottom: 9px;
  color: #526b84;
  font-size: 12px;
  font-weight: 750;
}

.filter-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 164px;
  margin-bottom: 14px;
  overflow: auto;
}

.filter-presets button {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid #c8d7e6;
  background: #f7f9fc;
  color: #244f7a;
  font-size: 14px;
  font-weight: 700;
}

.filter-presets button:hover,
.filter-presets button:focus-visible {
  border-color: #075fcf;
  background: #edf5ff;
  outline: 0;
}

.filter-empty {
  color: #7a899b;
  font-size: 12px;
}

.suggested-sizes {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 16px;
  border-top: 1px solid #d8e2ed;
  background: #f5f8fc;
}

.suggested-sizes > strong {
  flex: 0 0 auto;
  color: #102b49;
  font-size: 14px;
}

.suggested-sizes > div {
  display: flex;
  flex: 1 1 auto;
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.suggested-sizes button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #b9cce0;
  background: #fff;
  color: #164e86;
  font-size: 14px;
  font-weight: 750;
}

.suggested-sizes button:hover,
.suggested-sizes button:focus-visible {
  border-color: #0768d7;
  background: #eaf4ff;
  outline: 0;
}

.suggested-sizes > button:last-child {
  border-color: #0768d7;
  background: #0768d7;
  color: #fff;
}

.active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 0;
  padding: 0 12px;
  background: #f8fafc;
}

.active-filter-chips:not(:empty) {
  min-height: 42px;
  padding-top: 6px;
  padding-bottom: 6px;
  border-top: 1px solid #d8e2ed;
}

.active-filter-chips > span {
  color: #6d7e92;
  font-size: 11px;
}

.active-filter-chips button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 28px;
  max-width: 240px;
  padding: 4px 7px 4px 9px;
  overflow: hidden;
  border: 1px solid #bcd0e4;
  border-radius: 3px;
  background: #eaf3fd;
  color: #174c80;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.active-filter-chips button svg {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
}

@media (max-width: 1180px) {
  .filter-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .filterbar-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .filter-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-filter:nth-child(n) {
    border: 0;
  }

  .catalog-filter-panel,
  .catalog-size-panel,
  .surface-filter .catalog-filter-panel,
  .sort-filter .catalog-filter-panel {
    position: static;
    width: auto;
    border-width: 1px 0 0;
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  .filter-groups {
    grid-template-columns: 1fr;
  }

  .catalog-filter:nth-child(n) {
    border-right: 0;
  }

  .catalog-filter > summary {
    min-height: 64px;
  }

  .filter-reset {
    width: 100%;
  }

  .suggested-sizes {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .suggested-sizes > strong,
  .suggested-sizes > div {
    width: 100%;
  }
}

/* Routed storefront pages */
.design-v7 .header-location,
.design-v7 .header-phone a,
.design-v7 .header-action,
.design-v7 .login-btn,
.design-v7 .category-btn,
.design-v7 .side-title,
.design-v7 .hero-play {
  text-decoration: none;
}

.design-v7 .header-phone a {
  color: #0b2340;
  font-size: 16px;
  font-weight: 800;
}

.design-v7 .lab-nav > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 17px;
  font-size: 13px;
}

.design-v7 .lab-nav > a:first-child {
  min-width: 168px;
  justify-content: flex-start;
  background: #0860c8;
  color: #fff;
}

.design-v7 .hero-quick a {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 11px;
  text-decoration: none;
}

.design-v7 .hero-quick a:hover,
.design-v7 .service-strip a:hover,
.design-v7 .site-footer a:hover {
  text-decoration: underline;
}

.design-v7 .tile a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  min-height: 150px;
  padding: 12px;
  border: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.section-kicker a,
.related-products .section-head a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.checkout-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 10px 0 6px;
  color: #728197;
  font-size: 12px;
}

.breadcrumbs[hidden] {
  display: none;
}

.breadcrumbs a {
  color: #2c649f;
  text-decoration: none;
}

.breadcrumbs svg {
  width: 13px;
  height: 13px;
}

.breadcrumbs .breadcrumb-current {
  min-width: 0;
  overflow-wrap: anywhere;
}

.route-heading {
  display: none;
}

.route-heading.active {
  display: block;
  padding: 22px 0 4px;
}

.route-heading h1,
.static-page h1,
.product-detail h1 {
  margin: 0;
  color: #0a2039;
  letter-spacing: 0;
}

.route-heading h1 {
  font-size: 30px;
}

.route-heading p {
  max-width: 780px;
  margin: 8px 0 0;
  color: #617187;
  line-height: 1.55;
}

.subcategory-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.subcategory-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #cdd9e6;
  background: #fff;
  color: #254e78;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.subcategory-nav a.active,
.subcategory-nav a:hover {
  border-color: #1b69bd;
  background: #edf5ff;
  color: #0759b1;
}

.subcategory-nav small {
  color: #8190a1;
  font-size: 10px;
}

.surface-filter[hidden] {
  display: none !important;
}

.design-v7 .filterbar {
  grid-template-columns: repeat(3, minmax(130px, 1fr)) repeat(3, minmax(110px, 0.8fr)) auto;
  align-items: end;
}

.seo-content {
  margin-top: 30px;
  padding: 28px 0 10px;
  border-top: 1px solid var(--line);
  color: #334a64;
}

.seo-content > section {
  max-width: 950px;
}

.seo-content h2 {
  margin: 0 0 12px;
  color: #0b223d;
  font-size: 24px;
  letter-spacing: 0;
}

.seo-content p,
.content-section p,
.knowledge-article p {
  margin: 0 0 12px;
  line-height: 1.7;
}

.seo-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.seo-links a {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #f7f9fc;
  color: #173a62;
  text-decoration: none;
}

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

.seo-links strong {
  margin-bottom: 8px;
  color: #0c4f94;
}

.seo-links span {
  color: #62738a;
  font-size: 13px;
  line-height: 1.45;
}

.faq {
  margin-top: 26px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 14px 0;
  color: #102b49;
  font-weight: 750;
  cursor: pointer;
}

.faq details p {
  max-width: 850px;
  padding-bottom: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-top: 34px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: #64758a;
  font-size: 13px;
}

.site-footer strong,
.site-footer span,
.site-footer a {
  display: block;
}

.site-footer strong {
  margin-bottom: 8px;
  color: #10345d;
  font-size: 17px;
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: #315d8a;
  text-decoration: none;
}

.design-v7 .service-strip article > a {
  display: inline-block;
  margin-top: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.design-v7.static-mode .breadcrumbs,
.design-v7.product-mode .breadcrumbs,
.design-v7.category-mode .breadcrumbs {
  padding-left: 0;
}

.design-v7.static-mode .hero,
.design-v7.static-mode .stats-row,
.design-v7.static-mode .tiles,
.design-v7.static-mode .section-kicker,
.design-v7.static-mode .shipment-section,
.design-v7.static-mode .service-strip,
.design-v7.product-mode .hero,
.design-v7.product-mode .stats-row,
.design-v7.product-mode .tiles,
.design-v7.product-mode .section-kicker,
.design-v7.product-mode .shipment-section,
.design-v7.product-mode .service-strip,
.design-v7.product-mode .filterbar,
.design-v7.product-mode .seo-band {
  display: none;
}

.design-v7 .static-page {
  padding: 20px 0;
  border: 0;
  background: transparent;
}

.static-page > header {
  max-width: 850px;
  margin-bottom: 26px;
}

.static-page h1 {
  font-size: 32px;
}

.static-page > header > p {
  margin: 10px 0 0;
  color: #5e7087;
  font-size: 16px;
  line-height: 1.55;
}

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

.content-grid article,
.article-list a {
  padding: 18px;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.content-grid svg {
  color: var(--blue);
}

.content-grid h2 {
  margin: 14px 0 8px;
  font-size: 17px;
}

.content-grid p,
.article-list p {
  margin: 0;
  color: #5f7188;
  line-height: 1.5;
}

.content-section {
  max-width: 900px;
  margin-top: 30px;
}

.article-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-list a {
  color: inherit;
  text-decoration: none;
}

.article-list span,
.article-list strong {
  display: block;
}

.article-list span {
  margin-bottom: 8px;
  color: #0a64c8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-list strong {
  margin-bottom: 8px;
  color: #102c4b;
  font-size: 17px;
}

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

.city-directory article {
  padding: 17px;
  border: 1px solid var(--line);
  background: #fff;
}

.city-directory h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.city-directory h2 a {
  color: #102c4b;
  text-decoration: none;
}

.city-directory p {
  min-height: 58px;
  margin: 0 0 14px;
  color: #5f7188;
  font-size: 13px;
  line-height: 1.45;
}

.city-directory nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
}

.city-directory nav a {
  color: #075fcf;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.admin-link {
  display: inline-flex;
  margin-top: 20px;
  color: #075fcf;
  font-weight: 800;
}

.knowledge-article {
  max-width: 900px;
}

.knowledge-article h2 {
  margin: 30px 0 10px;
  font-size: 22px;
}

.knowledge-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.knowledge-table > div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.source-note {
  padding: 13px 15px;
  border-left: 3px solid #1b72ce;
  background: #f3f7fc;
  color: #53677f;
  font-size: 13px;
}

.contact-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-list > a,
.contact-list > div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: #fff;
  color: #14395f;
  text-decoration: none;
}

.contact-list small,
.contact-list strong {
  display: block;
}

.contact-list small {
  margin-bottom: 4px;
  color: #75859a;
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 15px;
  padding: 54px 20px;
  border: 1px solid var(--line);
  background: #f8fafc;
  text-align: center;
}

.empty-state svg {
  width: 38px;
  height: 38px;
  color: #6385aa;
}

.empty-state .primary-btn {
  text-decoration: none;
}

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

.login-form {
  grid-template-columns: minmax(260px, 440px);
}

.order-form label,
.login-form label {
  display: grid;
  gap: 6px;
  color: #485e77;
  font-size: 13px;
  font-weight: 700;
}

.order-form input,
.order-form textarea,
.login-form input {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #cfd9e5;
  background: #fff;
  color: #102842;
  font: inherit;
}

.order-form .wide {
  grid-column: 1 / -1;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 24px;
}

.checkout-summary {
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  background: #f5f8fc;
}

.checkout-summary strong {
  font-size: 18px;
}

.checkout-summary p {
  color: #60738a;
  line-height: 1.5;
}

.form-result {
  color: #0a659a;
  font-weight: 700;
}

.product-page {
  display: none;
  padding-top: 14px;
}

.product-page.active {
  display: block;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(300px, 1.2fr) minmax(220px, 0.8fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-detail-image {
  position: relative;
  min-height: 410px;
  background: #e8edf3 center / cover no-repeat;
}

.product-detail-image span {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 8px;
  background: #075fcf;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.product-detail-main,
.product-specs {
  padding: 24px;
}

.product-detail-main {
  border-left: 1px solid var(--line);
}

.product-detail h1 {
  font-size: 28px;
  line-height: 1.2;
}

.product-status {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  color: #68798e;
  font-size: 12px;
}

.product-status span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #15805d;
  font-weight: 750;
}

.product-status svg {
  width: 16px;
}

.product-price {
  margin-top: 28px;
  color: #071f3b;
  font-size: 30px;
  font-weight: 850;
}

.product-price small {
  color: #66788e;
  font-size: 13px;
  font-weight: 600;
}

.product-order-row {
  display: grid;
  grid-template-columns: 34px minmax(62px, 84px) auto 34px minmax(120px, 1fr);
  gap: 5px;
  align-items: center;
  margin-top: 17px;
}

.product-order-row input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  text-align: center;
}

.product-order-row .qty-btn {
  height: 38px;
}

.inline-calculation {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 16px;
  padding: 12px;
  background: #eef5fc;
  color: #285379;
}

.calculation-note {
  color: #6a7a8d;
  font-size: 12px;
  line-height: 1.5;
}

.product-specs {
  border-left: 1px solid var(--line);
  background: #f8fafc;
}

.product-specs h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.product-specs h2:not(:first-child) {
  margin-top: 24px;
}

.product-specs dl {
  margin: 0;
}

.product-specs dl > div {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #dde5ee;
  font-size: 12px;
}

.product-specs dt {
  color: #728297;
}

.product-specs dd {
  margin: 0;
  color: #1f3c5d;
  font-weight: 750;
}

.manufacturer-list {
  display: grid;
  gap: 7px;
}

.manufacturer-list span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #415a74;
  font-size: 12px;
}

.manufacturer-list b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #b8c9dc;
  background: #fff;
  color: #075fcf;
  font-size: 10px;
}

.manufacturer-note {
  margin: 10px 0 0;
  color: #718197;
  font-size: 11px;
  line-height: 1.4;
}

.knowledge-link {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 20px;
  color: #075fcf;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.product-description {
  max-width: 900px;
  padding: 28px 0;
}

.product-description h2 {
  font-size: 22px;
}

.product-description p {
  color: #52677f;
  line-height: 1.65;
}

.product-page .related-products .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .design-v7 .filterbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail {
    grid-template-columns: minmax(230px, 0.9fr) minmax(300px, 1.1fr);
  }

  .product-specs {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 800px) {
  .design-v7 .lab-nav > a:not(:first-child) {
    display: none;
  }

  .seo-links,
  .site-footer,
  .content-grid,
  .article-list,
  .city-directory,
  .product-page .related-products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-layout,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail-main,
  .product-specs {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  .design-v7.product-mode .breadcrumbs .breadcrumb-current,
  .design-v7.product-mode .breadcrumbs .breadcrumb-separator:last-of-type {
    display: none;
  }

  .design-v7 .filterbar,
  .seo-links,
  .site-footer,
  .content-grid,
  .article-list,
  .city-directory,
  .knowledge-table,
  .order-form,
  .product-page .related-products .product-grid {
    grid-template-columns: 1fr;
  }

  .order-form .wide {
    grid-column: auto;
  }

  .product-order-row {
    grid-template-columns: 34px minmax(56px, 1fr) auto 34px;
  }

  .product-order-row .primary-btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .design-v7 .catalog-side {
    height: auto;
    min-height: 46px;
  }

  .design-v7 .side-title {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 13px;
    background: #0a2a48;
    color: #fff;
  }

  .design-v7 .side-title::after {
    content: "+";
    margin-left: auto;
    font-size: 20px;
  }

  .design-v7 .category-list {
    display: none;
  }

  .design-v7.mobile-catalog-open .category-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .design-v7.mobile-catalog-open .side-title::after {
    content: "-";
  }
}

/* Category pages use the full width; navigation and cart stay available on demand. */
.design-v7.category-mode .layout,
.design-v7.product-mode .layout,
.design-v7.static-mode .layout {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1620px;
}

.design-v7.category-mode .catalog-side,
.design-v7.product-mode .catalog-side,
.design-v7.static-mode .catalog-side {
  display: none;
}

.design-v7.category-mode .right-side,
.design-v7.product-mode .right-side,
.design-v7.static-mode .right-side {
  position: fixed;
  z-index: 80;
  top: var(--cart-preview-top, 76px);
  right: var(--cart-preview-right, 20px);
  display: block;
  width: min(390px, calc(100vw - 32px));
  max-height: none;
  overflow: visible;
  padding: 0;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.design-v7.category-mode.cart-preview-open .right-side,
.design-v7.product-mode.cart-preview-open .right-side,
.design-v7.static-mode.cart-preview-open .right-side {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.design-v7.category-mode .right-side > :not(.cart-panel),
.design-v7.product-mode .right-side > :not(.cart-panel),
.design-v7.static-mode .right-side > :not(.cart-panel) {
  display: none;
}

.design-v7.category-mode .cart-panel,
.design-v7.product-mode .cart-panel,
.design-v7.static-mode .cart-panel {
  min-height: 0;
  max-height: calc(100vh - var(--cart-preview-top, 76px) - 12px);
  overflow: auto;
  border: 1px solid #1e4468;
  box-shadow: 0 18px 48px rgba(4, 23, 40, 0.3);
}

.design-v7.category-mode .product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.design-v7.category-mode .product-card,
.design-v7.category-mode .product-body,
.design-v7.category-mode .product-title,
.design-v7.category-mode .meta,
.design-v7.category-mode .price-row {
  min-width: 0;
}

.design-v7.category-mode .product-title,
.design-v7.category-mode .meta span,
.design-v7.category-mode .route-heading,
.design-v7.category-mode .section-head {
  overflow-wrap: anywhere;
}

.design-v7.category-mode .price-row {
  display: grid;
  grid-template-columns: minmax(max-content, auto) minmax(86px, 1fr);
  align-items: end;
}

.design-v7.category-mode .price {
  white-space: nowrap;
}

.design-v7.category-mode .stock {
  min-width: 0;
  line-height: 1.25;
  white-space: normal;
}

.design-v7.category-mode .section-head {
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 1200px) {
  .design-v7.category-mode .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .design-v7.category-mode .filterbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .design-v7.category-mode .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .design-v7.category-mode .seo-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .design-v7.category-mode .filterbar,
  .design-v7.category-mode .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .design-v7.category-mode .filterbar,
  .design-v7.category-mode .seo-band,
  .design-v7.category-mode .product-grid {
    grid-template-columns: 1fr;
  }
}

/* Layout hardening: long catalog values must wrap instead of colliding. */
.design-v7 .lab-top > *,
.design-v7 .lab-nav > *,
.design-v7 .layout > *,
.design-v7 .top-actions,
.design-v7 .brand > span:last-child,
.design-v7 .header-location > span,
.design-v7 .filterbar > *,
.design-v7 .stats-row > *,
.design-v7 .stats-row p,
.design-v7 .seo-band > *,
.design-v7 .section-head > *,
.design-v7 .section-kicker > *,
.design-v7 .product-body > *,
.design-v7 .price-row > *,
.design-v7 .buy-row > *,
.design-v7 .cart-line > *,
.design-v7 .summary > *,
.design-v7 .summary div > *,
.design-v7 .inn-row > *,
.design-v7 .shipment-flow > *,
.design-v7 .service-strip > *,
.design-v7 .content-grid > *,
.design-v7 .article-list > *,
.design-v7 .city-directory > *,
.design-v7 .site-footer > *,
.design-v7 .product-detail > *,
.design-v7 .product-order-row > *,
.design-v7 .product-specs dl > div > *,
.design-v7 .checkout-layout > *,
.design-v7 .order-form > * {
  min-width: 0;
}

.design-v7 input,
.design-v7 select,
.design-v7 textarea,
.design-v7 button {
  max-width: 100%;
}

.design-v7 .route-heading h1,
.design-v7 .route-heading p,
.design-v7 .static-page h1,
.design-v7 .static-page p,
.design-v7 .product-title,
.design-v7 .meta span,
.design-v7 .cart-line strong,
.design-v7 .cart-line span,
.design-v7 .panel-head h2,
.design-v7 .panel-head h3,
.design-v7 .seo-band strong,
.design-v7 .seo-band span,
.design-v7 .content-grid h2,
.design-v7 .content-grid p,
.design-v7 .article-list strong,
.design-v7 .article-list p,
.design-v7 .city-directory h2,
.design-v7 .city-directory p,
.design-v7 .product-detail h1,
.design-v7 .product-specs dd,
.design-v7 .manufacturer-list span,
.design-v7 .site-footer span,
.design-v7 .site-footer a {
  overflow-wrap: anywhere;
  word-break: normal;
}

.design-v7 .filterbar label {
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.design-v7 .filterbar select,
.design-v7 .filterbar input {
  text-overflow: ellipsis;
}

.design-v7 .product-body {
  align-content: start;
}

.design-v7 .product-title {
  height: auto;
  line-height: 1.32;
}

.design-v7 .meta span {
  max-width: 100%;
  line-height: 1.25;
}

.design-v7 .price-row,
.design-v7.category-mode .price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(76px, 0.72fr);
  gap: 8px;
  align-items: end;
}

.design-v7 .price,
.design-v7.category-mode .price {
  min-width: 0;
  line-height: 1.18;
  white-space: normal;
  overflow-wrap: anywhere;
}

.design-v7 .stock {
  min-width: 0;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.design-v7 .buy-row input,
.design-v7 .product-order-row input {
  min-width: 0;
}

.design-v7 .primary-btn,
.design-v7 .ghost-btn,
.design-v7 .checkout-link {
  height: auto;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.design-v7 .login-btn {
  min-height: 38px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.design-v7 .primary-btn,
.design-v7 .ghost-btn {
  padding-top: 8px;
  padding-bottom: 8px;
}

.design-v7 .summary div {
  align-items: baseline;
}

.design-v7 .summary dd {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.design-v7 .inn-row,
.design-v7 .nav-search,
.design-v7 .hero-search {
  min-width: 0;
}

.design-v7 .inline-calculation,
.design-v7 .product-status,
.design-v7 .section-head,
.design-v7 .section-kicker {
  flex-wrap: wrap;
}

.design-v7 .product-specs dl > div {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

@media (max-width: 1180px) and (min-width: 981px) {
  .design-v7 .lab-nav {
    flex-wrap: wrap;
    padding-bottom: 8px;
  }

  .design-v7 .nav-search {
    order: 20;
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 980px) {
  .design-v7 .lab-top {
    gap: 10px;
  }

  .design-v7 .right-side > *,
  .design-v7 .service-strip article,
  .design-v7 .content-grid article,
  .design-v7 .article-list a {
    min-width: 0;
  }
}

@media (max-width: 680px) {
  .design-v7 .lab-top {
    min-height: 62px;
  }

  .design-v7 .brand-mark {
    width: 42px;
    height: 42px;
  }

  .design-v7 .brand strong {
    font-size: 15px;
    line-height: 1;
  }

  .design-v7 .top-actions {
    gap: 4px;
  }

  .design-v7 .header-cart {
    width: 46px;
    min-width: 46px;
    padding: 0;
    justify-content: center;
  }

  .design-v7 .header-cart > span {
    display: none;
  }

  .design-v7 .lab-nav {
    padding-right: 12px;
    padding-left: 12px;
  }

  .design-v7 .nav-search {
    grid-template-columns: 20px minmax(0, 1fr) 76px;
    padding-left: 8px;
  }

  .design-v7 .route-heading h1 {
    font-size: 27px;
    line-height: 1.15;
  }

  .design-v7 .static-page h1 {
    font-size: 28px;
    line-height: 1.15;
  }

  .design-v7 .product-detail h1 {
    font-size: 24px;
  }

  .design-v7 .filterbar {
    padding: 10px;
  }

  .design-v7 .price-row,
  .design-v7.category-mode .price-row {
    grid-template-columns: minmax(0, 1fr) minmax(72px, 0.7fr);
  }

  .design-v7 .product-detail-main,
  .design-v7 .product-specs {
    padding: 18px;
  }
}

@media (max-width: 440px) {
  .design-v7 .layout {
    padding-right: 10px;
    padding-left: 10px;
  }

  .design-v7 .product-detail-image {
    min-height: 300px;
  }

  .design-v7 .product-specs dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .design-v7 .price-row,
  .design-v7.category-mode .price-row {
    grid-template-columns: minmax(0, 1fr) minmax(88px, 0.7fr);
  }
}
.order-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
