:root {
  --bg: #f4f6f8;
  --paper: #fff;
  --ink: #111827;
  --muted: #667085;
  --line: #dfe5ec;
  --blue: #0b2a4a;
  --blue2: #0f3e6c;
  --yellow: #ffcf24;
  --green: #188a52;
  --red: #dc2626;
  --radius: 18px;
  --shadow: 0 18px 44px rgba(15, 23, 42, .1);
  --container: 1280px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.45
}

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

button,
input,
select,
textarea {
  font: inherit
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px
}

.topline {
  background: #071d34;
  color: #dbeafe;
  font-size: 13px
}

.topline__inner {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px
}

.topline__links {
  display: flex;
  gap: 18px;
  align-items: center
}

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(15, 23, 42, .04)
}

.header__main {
  height: 76px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 18px;
  align-items: center
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900
}

.logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--yellow), #ffef92);
  display: grid;
  place-items: center;
  color: #071d34
}

.logo__text span {
  display: block;
  font-size: 21px;
  line-height: 1
}

.logo__text small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase
}

.searchbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background: #f0f3f7;
  border: 1px solid #d9e1eb;
  border-radius: 16px;
  overflow: hidden;
  height: 52px
}

.searchbar__catalog {
  height: 52px;
  border: 0;
  background: var(--blue);
  color: #fff;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer
}

.searchbar input {
  border: 0;
  background: transparent;
  min-width: 0;
  padding: 0 16px;
  outline: 0
}

.searchbar__submit {
  height: 40px;
  margin-right: 6px;
  border: 0;
  border-radius: 12px;
  background: var(--yellow);
  color: #111827;
  padding: 0 18px;
  font-weight: 600;
  cursor: pointer
}

.header__nav {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf1f5
}

.nav-links {
  display: flex;
  gap: 22px;
  font-weight: 750;
  font-size: 14px;
  color: #24364c
}

.contact-line {
  display: flex;
  gap: 12px;
  align-items: center
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  font-weight: 600;
  cursor: pointer;
  background: #e8eef5;
  color: #10243a
}

.btn--primary {
  background: var(--yellow);
  color: #111827
}

.btn--blue {
  background: var(--blue);
  color: #fff
}

.btn--outline {
  background: #fff;
  border: 1px solid var(--line)
}

.btn--sm {
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 13px
}

.btn--wide {
  width: 100%
}

.pill {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef3f8;
  color: #29435e;
  font-size: 13px;
  font-weight: 800
}

.pill--yellow {
  background: #dbeafe;
  color: #173f67;
}

.pill--blue {
  background: #dbeafe;
  color: #173f67
}

.hero {
  padding: 30px 0;
  background: linear-gradient(180deg, #fff 0, #f4f6f8 100%)
}

.hero-grid {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr) 300px;
  gap: 20px
}

.catalog-panel,
.hero-main,
.deal-panel,
.card,
.filter,
.product-buy,
.request-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06)
}

.catalog-panel {
  padding: 14px
}

.catalog-panel__title {
  font-weight: 1000;
  color: var(--blue);
  margin: 4px 6px 12px;
  font-size: 17px
}

.cat-list {
  display: grid;
  gap: 4px
}

.cat-link {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 9px;
  border-radius: 12px;
  color: #20364e;
  font-weight: 760
}

.cat-link:hover {
  background: #f0f5fb
}

.cat-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #edf3f9;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 1000
}

.cat-link small {
  display: block;
  color: var(--muted);
  font-weight: 650;
  margin-top: 1px
}

.hero-main {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: radial-gradient(circle at 90% 10%, rgba(255, 207, 36, .28), transparent 34%), linear-gradient(135deg, #08213b, #0f3e6c)
}

.hero-main__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: #fff
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: 44px;
  line-height: 1.04;
  letter-spacing: -.04em
}

.hero p {
  font-size: 18px;
  color: #dce8f6;
  margin: 0 0 22px;
  max-width: 630px
}

.hero-search {
  background: #fff;
  border-radius: 18px;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  max-width: 650px
}

.hero-search input {
  border: 0;
  outline: 0;
  padding: 0 14px;
  font-size: 16px;
  min-width: 0
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px
}

.hero-tags a {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800
}

.deal-panel {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px
}

.deal-panel h3 {
  font-size: 22px;
  line-height: 1.1;
  margin: 0
}

.deal-panel p {
  margin: 0;
  color: var(--muted)
}

.section {
  padding: 28px 0
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px
}

.section h2 {
  font-size: 30px;
  letter-spacing: -.03em;
  margin: 0
}

.section__head p {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 720px
}

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

.process-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  min-height: 154px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05)
}

.process-card strong {
  display: block;
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 8px
}

.process-card p {
  margin: 0 0 16px;
  color: var(--muted)
}

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

.family-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 88px
}

.family-img,
.product-visual {
  border-radius: 14px;
  background: linear-gradient(135deg, #eef3f8, #fff7c9);
  border: 1px solid #e6edf4;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 1000
}

.family-img {
  width: 54px;
  height: 54px
}

.family-card small {
  display: block;
  color: var(--muted);
  margin-top: 3px
}

.b2b-band {
  background: #071d34;
  color: #fff;
  border-radius: 24px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center
}

.b2b-band h2 {
  font-size: 34px;
  margin: 10px 0
}

.b2b-band p {
  color: #d5e4f5;
  margin: 0 0 18px
}

.b2b-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px
}

.b2b-list div {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 12px
}

.page-hero,
.catalog-hero {
  padding: 24px 0;
  background: #fff;
  border-bottom: 1px solid var(--line)
}

.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px
}

.catalog-title {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end
}

.catalog-title h1,
.page-title h1 {
  font-size: 38px;
  line-height: 1.06;
  letter-spacing: -.04em;
  margin: 0 0 8px
}

.catalog-title p,
.page-title p {
  margin: 0;
  color: var(--muted);
  max-width: 760px
}

.quick-finder {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  background: #f1f5f9;
  border: 1px solid var(--line);
  padding: 8px;
  border-radius: 18px;
  margin-top: 18px
}

.quick-finder input {
  border: 0;
  background: #fff;
  border-radius: 12px;
  min-height: 44px;
  padding: 0 14px;
  outline: 0
}

.catalog-layout {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 0 34px
}

.filter {
  top: 136px;
  padding: 16px
}

.filter__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px
}

.filter h3 {
  margin: 0;
  font-size: 18px
}

.product-list {
  display: grid;
  gap: 12px
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 230px;
  gap: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05)
}

.product-visual {
  height: 132px;
  position: relative;
  font-size: 34px
}

.product-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
  color: var(--blue)
}

.product-info h3 {
  font-size: 20px;
  margin: 2px 0 8px
}

.sku {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px
}

.props {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 10px
}

.prop {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 13px;
  font-weight: 800;
  color: #334155
}

.compat {
  font-size: 14px;
  color: #475569
}

.product-buy {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px
}

.price {
  font-size: 24px;
  font-weight: 1000;
  color: #0b2a4a
}

.price small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700
}

.stock {
  font-size: 13px;
  color: var(--green);
  font-weight: 900
}

.input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  outline: 0
}

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

.form-field {
  display: grid;
  gap: 6px
}

.form-field--wide {
  grid-column: 1/-1
}

.request-wrap {
  padding: 28px 0 44px
}

.request-card {
  padding: 22px
}

.footer {
  background: #071d34;
  color: #dbeafe;
  padding: 34px 0;
  margin-top: 24px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px
}

.footer a {
  display: block;
  margin: 7px 0;
  color: #dbeafe
}

.footer p {
  color: #abc4df
}

@media(max-width:1000px) {

  .hero-grid,
  .catalog-layout {
    grid-template-columns: 1fr
  }

  .catalog-panel,
  .deal-panel,
  .filter {
    position: static
  }

  .product-card {
    grid-template-columns: 110px 1fr
  }

  .product-buy {
    grid-column: 1/-1
  }

  .process-grid,
  .family-strip,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .header__main {
    grid-template-columns: 1fr
  }

  .header__nav,
  .topline__links {
    display: none
  }

  .searchbar {
    grid-template-columns: 1fr auto
  }

  .searchbar__catalog {
    display: none
  }
}

@media(max-width:640px) {
  .hero h1 {
    font-size: 32px
  }

  .catalog-title,
  .quick-finder,
  .form-grid {
    grid-template-columns: 1fr
  }

  .process-grid,
  .family-strip,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .product-card {
    grid-template-columns: 1fr
  }

  .product-visual {
    height: 160px
  }
}

/* THERMECH layout layer 2026-07-03 */
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 9999;
  padding: 10px 14px;
  background: #fff;
  color: #0b2a4a;
  border-radius: 10px;
}

.skip:focus {
  left: 8px
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--blue);
  font-weight: 1000;
  font-size: 22px;
  cursor: pointer;
}

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

.h-action {
  min-width: 58px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: #fff;
  color: var(--blue);
  font-weight: 1000;
  font-size: 17px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .05);
}

.h-action span {
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
}

.h-action--accent {
  background: var(--yellow);
  border-color: #f0c000;
}

.mobile-search {
  display: none
}

.drawer-overlay,
.filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(2px);
  z-index: 190;
}

.mobile-drawer {
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(420px, 92vw);
  background: #fff;
  transform: translateX(-104%);
  transition: transform .22s ease;
  box-shadow: 24px 0 70px rgba(15, 23, 42, .24);
  padding: 16px;
  overflow: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0)
}

.mobile-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.drawer-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 13px;
  background: #f1f5f9;
  color: var(--blue);
  font-size: 24px;
  font-weight: 1000;
  cursor: pointer;
}

.drawer-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px 0;
}

.drawer-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 8px;
}

.drawer-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 1000;
  color: var(--muted);
  margin-bottom: 10px;
}

.drawer-cats {
  display: grid;
  gap: 8px;
}

.drawer-cats a {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f8fafc;
}

.drawer-cats a span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #e8eef5;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 1000;
}

.drawer-cats a strong {
  line-height: 1
}

.drawer-cats a small {
  color: var(--muted)
}

.drawer-action {
  display: block;
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 8px;
  font-weight: 900;
}

.mobile-bottom-nav__image {
  width: 24px;
  height: 24px;
}

body.drawer-lock {
  overflow: hidden
}

.mobile-bottom-nav {
  display: none;
  position: fixed;
  z-index: 150;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, .2);
  backdrop-filter: blur(12px);
  padding: 7px;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.mobile-bottom-nav a,
.mobile-bottom-nav button {
  border: 0;
  background: transparent;
  color: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  border-radius: 16px;
  font-weight: 600;
}

.mobile-bottom-nav span {
  font-size: 20px
}

.mobile-bottom-nav small {
  font-size: 11px
}

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

.mobile-filter-btn {
  display: none
}

.filter-close {
  display: none
}

.product-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.product-head h1 {
  margin: 14px 0 10px;
}

.product-head__meta {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  min-width: 180px;
}

.product-head__meta span {
  display: block;
  color: var(--green);
  font-weight: 1000;
  margin-bottom: 4px;
}

.product-page {
  padding: 24px 0 46px
}

.product-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}

.product-gallery,
.product-section,
.sticky-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.product-gallery {
  padding: 14px;
  position: sticky;
  top: 140px;
}

.product-gallery__main {
  min-height: 300px;
  border-radius: 18px;
  border: 1px solid #e6edf4;
  background: linear-gradient(135deg, #eef3f8, #fff5bf);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-gallery__main span {
  font-size: 82px;
  font-weight: 1000;
  color: var(--blue);
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.product-gallery__thumbs button {
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
  color: var(--blue);
  font-weight: 1000;
}

.product-main {
  display: grid;
  gap: 16px;
}

.product-section {
  padding: 20px;
}

.product-section h2 {
  font-size: 24px;
  margin: 0 0 12px;
  letter-spacing: -.03em;
}

.sku-table {
  display: grid;
  gap: 8px;
}

.sku-table__head,
.sku-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr .8fr .7fr auto;
  gap: 10px;
  align-items: center;
}

.sku-table__head {
  padding: 0 10px 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 1000;
}

.sku-row {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
  padding: 12px;
}

.sku-row small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

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

.sku-props span,
.tag-cloud span {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef3f8;
  border: 1px solid #dfe8f2;
  font-size: 12px;
  font-weight: 850;
  color: #334155;
}

.sku-stock {
  color: var(--green);
  font-weight: 950;
}

.sku-price {
  font-size: 18px;
  color: var(--blue);
  font-weight: 1000;
}

.empty-box {
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 18px;
  color: var(--muted);
}

.product-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.char-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

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

.char-list div:last-child {
  border-bottom: 0
}

.char-list span {
  color: var(--muted)
}

.char-list strong {
  text-align: right
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-sticky {
  position: sticky;
  top: 140px;
}

.sticky-card {
  padding: 18px;
}

.sticky-price {
  margin-top: 14px;
  font-size: 32px;
  line-height: 1;
  font-weight: 1000;
  color: var(--blue);
  letter-spacing: -.04em;
}

.sticky-status {
  margin: 8px 0 12px;
  color: var(--green);
  font-weight: 1000;
}

.sticky-card p {
  color: var(--muted);
}

.sticky-card .btn {
  margin-top: 8px;
}

.sticky-help {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.sticky-help strong {
  display: block;
  margin-bottom: 5px;
}

.sticky-help span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.mobile-product-cta {
  display: none;
  position: fixed;
  z-index: 150;
  left: 10px;
  right: 10px;
  bottom: 78px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, .22);
  padding: 10px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-product-cta small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.mobile-product-cta strong {
  display: block;
  color: var(--blue);
  font-size: 20px;
}

.request-hero {
  background: linear-gradient(135deg, #fff, #eef5ff);
}

.request-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.request-side {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 140px;
}

.request-side__card,
.request-card--form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.request-side__card {
  padding: 20px;
}

.request-side__dark {
  background: linear-gradient(135deg, #071d34, #0f3e6c);
  color: #fff;
}

.request-side__dark p {
  color: #dbeafe
}

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

.benefit-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
}

.benefit-list span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #ea0d0d;
  color: #fff;
  font-weight: 700;
}

.benefit-list strong {
  line-height: 1.15
}

.benefit-list small {
  color: var(--muted);
  line-height: 1.35;
}

.request-card--form {
  padding: 24px;
}

.form-title {
  margin-bottom: 16px;
}

.form-title h2 {
  margin: 0 0 4px;
  font-size: 28px;
  letter-spacing: -.03em;
}

.form-title p {
  margin: 0;
  color: var(--muted);
}

.form-field span {
  font-weight: 900;
  color: #24364c;
}

.form-field small {
  color: var(--muted);
}

.upload-box {
  display: grid;
  place-items: center;
  min-height: 118px;
  border: 1px dashed #b7c4d3;
  border-radius: 18px;
  background: #f8fafc;
  padding: 18px;
  text-align: center;
  cursor: pointer;
}

.upload-box input {
  width: 100%;
  max-width: 360px;
}

.upload-box strong {
  margin-top: 8px;
  color: var(--blue);
}

.upload-box small {
  color: var(--muted);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.consent input {
  margin-top: 4px;
}

.form-errors {
  margin-top: 16px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 900;
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.footer-logo {
  display: block;
  font-size: 24px;
  letter-spacing: .05em;
}

@media(max-width:1180px) {
  .header__main {
    grid-template-columns: auto 220px 1fr auto;
  }

  .mobile-menu-btn {
    display: inline-grid;
    place-items: center
  }

  .product-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .product-sticky {
    grid-column: 1/-1;
    position: static;
  }

  .sticky-card {
    display: grid;
    grid-template-columns: 1fr repeat(3, auto);
    gap: 10px;
    align-items: center;
  }

  .sticky-card p,
  .sticky-help {
    display: none
  }
}

@media(max-width:1000px) {
  .header__main {
    height: auto;
    min-height: 68px;
    grid-template-columns: auto 1fr auto;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .header__main>.searchbar {
    display: none
  }

  .mobile-search {
    display: block;
    padding: 0 0 10px;
  }

  .mobile-search .searchbar {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .header-actions {
    gap: 6px;
  }

  .h-action {
    min-width: 44px;
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .h-action span {
    display: none
  }

  .mobile-bottom-nav {
    display: grid;
  }

  body {
    padding-bottom: 78px;
  }

  .filter {
    position: fixed;
    z-index: 205;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(390px, 92vw);
    border-radius: 0 22px 22px 0;
    transform: translateX(-104%);
    transition: transform .22s ease;
    overflow: auto;
  }

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

  .mobile-filter-btn {
    display: inline-flex
  }

  .filter-close {
    display: inline-grid;
    place-items: center
  }

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

  .product-head__meta {
    min-width: 0;
  }

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

  .product-gallery {
    position: static;
  }

  .product-gallery__main {
    min-height: 240px;
  }

  .sku-table__head {
    display: none
  }

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

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

  .request-layout {
    grid-template-columns: 1fr;
  }

  .request-side {
    position: static;
  }
}

@media(max-width:640px) {
  .topline {
    display: none
  }

  .logo__text span {
    font-size: 18px
  }

  .logo__text small {
    font-size: 10px
  }

  .header-actions .h-action:nth-child(1),
  .header-actions .h-action:nth-child(2) {
    display: none;
  }

  .catalog-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sticky-card {
    display: block;
  }

  .sticky-card p,
  .sticky-help {
    display: block
  }

  .mobile-product-cta {
    display: flex;
  }

  .form-actions {
    display: grid;
  }

  .request-card--form {
    padding: 18px;
  }

  .request-side {
    order: 2;
  }

  .request-card--form {
    order: 1;
  }

  .drawer-search {
    grid-template-columns: 1fr;
  }
}

/* THERMECH mobile b2b/footer fix 2026-07-03 */
.b2b-band {
  min-width: 0;
  overflow: hidden;
}

.b2b-band>* {
  min-width: 0;
}

.b2b-band h2,
.b2b-band p,
.b2b-list div {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .b2b-band {
    grid-template-columns: 1fr !important;
    gap: 18px;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .b2b-band h2 {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.08;
  }

  .b2b-list {
    grid-template-columns: 1fr !important;
  }

  .b2b-list div {
    min-height: auto;
    padding: 12px;
  }
}

@media (max-width: 1000px) {
  body {
    padding-bottom: 0 !important;
  }

  .footer {
    margin-bottom: 0;
    padding-bottom: 118px;
    background: #071d34;
  }

  .mobile-bottom-nav {
    bottom: 10px;
  }
}

@media (max-width: 420px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .b2b-band {
    margin-left: 0;
    margin-right: 0;
  }
}

/* THERMECH dynamic logo 2026-07-03 */
.logo__image {
  width: 230px;
  height: 46px;
  object-fit: contain;
  border-radius: 10px;
}

/* THERMECH dealer block 2026-07-03 */
.dealer-band {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.dealer-band h2 {
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 12px 0 10px;
  color: var(--blue);
}

.dealer-band p {
  margin: 0;
  color: var(--muted);
  max-width: 820px;
  font-size: 17px;
}

.dealer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .dealer-band {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .dealer-band h2 {
    font-size: 26px;
  }

  .dealer-actions {
    justify-content: stretch;
  }

  .dealer-actions .btn {
    width: 100%;
  }
}

/* HOME DEAL PANEL FILL */
.deal-panel--filled {
  display: flex;
  flex-direction: column;
}

.deal-panel__list {
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.deal-panel__list li {
  position: relative;
  padding-left: 22px;
  color: #31445f;
  line-height: 1.35;
  font-size: 14px;
}

.deal-panel__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: #0b3158;
}

.deal-panel--filled .btn {
  margin-top: auto;
}

/* THERMECH HOME BUTTON COLOR FIX */
.hero-search .btn.btn--primary {
  background: #ef1717;
  border-color: #ef1717;
  color: #fff;
  box-shadow: none;
}

.hero-search .btn.btn--primary:hover {
  background: #d90f12;
  border-color: #d90f12;
  color: #fff;
}

.deal-panel .btn.btn--blue,
.deal-panel--filled .btn.btn--blue {
  background: #0b3158;
  border-color: #0b3158;
  color: #fff;
}

.deal-panel .btn.btn--blue:hover,
.deal-panel--filled .btn.btn--blue:hover {
  background: #082643;
  border-color: #082643;
  color: #fff;
}

.hero-tags a {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}

.hero-tags a:hover {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

/* THERMECH public invoice 2026-07-10 */
.invoice-hero {
  background:
    linear-gradient(135deg, #fff 0%, #eef5ff 100%);
}

.invoice-page {
  padding: 28px 0 48px;
}

.invoice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 20px;
  align-items: start;
}

.invoice-card,
.invoice-form-card,
.invoice-empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.invoice-card {
  padding: 22px;
}

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

.invoice-card__head h2,
.invoice-form-card h2 {
  margin: 0 0 5px;
  font-size: 28px;
  letter-spacing: -.03em;
}

.invoice-card__head p,
.invoice-form-card p {
  margin: 0;
  color: var(--muted);
}

.invoice-items {
  display: grid;
  gap: 10px;
}

.invoice-item {
  display: grid;
  grid-template-columns:
    94px minmax(0, 1fr) 125px 110px 125px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
}

.invoice-item__image {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background:
    linear-gradient(135deg, #eef3f8, #fff7c9);
}

.invoice-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.invoice-item__image span {
  font-size: 36px;
  font-weight: 1000;
  color: var(--blue);
}

.invoice-item__info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.invoice-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--muted);
  font-size: 13px;
}

.invoice-item__price,
.invoice-item__total {
  display: grid;
  gap: 4px;
}

.invoice-item__price small,
.invoice-item__total small {
  color: var(--muted);
}

.invoice-item__price strong,
.invoice-item__total strong {
  color: var(--blue);
  font-size: 17px;
}

.invoice-item__quantity {
  display: grid;
  gap: 5px;
}

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

.invoice-item__quantity input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 8px 10px;
  outline: none;
}

.invoice-remove {
  width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.invoice-update {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.invoice-summary {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: var(--blue);
  color: #fff;
}

.invoice-summary>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.invoice-summary strong {
  font-size: 28px;
}

.invoice-summary p {
  margin: 10px 0 0;
  color: #dbeafe;
  font-size: 13px;
}

.invoice-form-card {
  position: sticky;
  top: 140px;
  padding: 22px;
}

.invoice-form-card__head {
  margin-bottom: 18px;
}

.invoice-form-card__head h2 {
  margin-top: 12px;
}

.invoice-form-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.invoice-form-card .errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.invoice-empty {
  max-width: 720px;
  margin: 20px auto;
  padding: 46px 28px;
  text-align: center;
}

.invoice-empty__icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #ea0d0d;
  color: #fff;
  font-size: 32px;
  font-weight: 600;
}

.invoice-empty h1 {
  margin: 0 0 10px;
  font-size: 34px;
}

.invoice-empty p {
  max-width: 540px;
  margin: 0 auto 22px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .invoice-layout {
    grid-template-columns: 1fr;
  }

  .invoice-form-card {
    position: static;
  }
}

@media (max-width: 820px) {
  .invoice-item__image {
    width: 82px;
    height: 82px;
  }

  .invoice-item__price,
  .invoice-item__quantity,
  .invoice-item__total {
    grid-column: 2;
  }

  .invoice-item__quantity {
    max-width: 140px;
  }
}

@media (max-width: 768px) {
  .invoice-item {
    display: block;
  }
}

@media (max-width: 560px) {

  .invoice-card,
  .invoice-form-card {
    padding: 16px;
    border-radius: 20px;
  }

  .invoice-card__head {
    display: grid;
  }

  .invoice-item__image {
    width: 68px;
    height: 68px;
  }

  .invoice-summary>div {
    display: grid;
  }

  .invoice-empty {
    padding: 34px 18px;
  }
}

/* THERMECH quote front 2026-07-10 */
.header-actions {
  flex: 0 0 auto;
}

.h-action--quote {
  position: relative;
  width: 76px;
  min-width: 76px;
  height: 52px;
  background: var(--yellow);
  border-color: #e8bc00;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.h-action--quote:hover {
  transform: translateY(-1px);
}

.h-action--quote .h-action__icon {
  color: var(--blue);
  font-size: 18px;
  line-height: 1;
}

.h-action--quote .h-action__label {
  display: block;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
}

.h-action__count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: grid !important;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--blue);
  color: #fff !important;
  font-size: 11px !important;
  line-height: 1;
  font-weight: 1000 !important;
}

.site-messages {
  position: fixed;
  z-index: 300;
  top: 148px;
  right: 20px;
  width: min(440px, calc(100vw - 40px));
  display: grid;
  gap: 10px;
}

.site-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #b8ddc7;
  border-radius: 16px;
  background: #ecfdf3;
  color: #14532d;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .16);
  font-weight: 800;
}

.site-message a {
  flex: 0 0 auto;
  color: var(--blue);
  text-decoration: underline;
  font-weight: 1000;
}

.cat-link.is-active {
  background: #e8f1fb;
  box-shadow: inset 3px 0 0 var(--blue);
}

.catalog-results {
  min-width: 0;
}

.catalog-results__head {
  align-items: center;
}

.catalog-quote-link {
  position: relative;
}

.catalog-quote-link span {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue);
  font-size: 12px;
}

.product-visual--image {
  overflow: hidden;
  padding: 8px;
}

.product-visual--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-visual--image>strong {
  font-size: 38px;
}

.product-badge {
  z-index: 2;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-info__category {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.product-card__description {
  margin: 10px 0;
  color: var(--muted);
  font-size: 13px;
}

.price--request {
  font-size: 18px;
}

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

.product-buy__actions form,
.product-buy__actions button {
  width: 100%;
}

.catalog-empty {
  text-align: center;
}

.pagination {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.pagination a,
.pagination span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 850;
}

.product-gallery__caption {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}

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

.product-gallery__caption strong {
  color: var(--blue);
  text-align: right;
}

.sku-table__head,
.sku-row {
  grid-template-columns:
    minmax(105px, 1fr) minmax(160px, 1.4fr) minmax(95px, .8fr) minmax(95px, .7fr) minmax(180px, 1fr);
}

.sku-price span {
  display: inline-block;
  font-size: 14px;
}

.sku-add-form {
  display: grid;
  grid-template-columns: 72px minmax(118px, 1fr);
  gap: 7px;
  align-items: center;
}

.sku-add-form input,
.sticky-add-form input {
  width: 100%;
  min-height: 39px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  padding: 7px 9px;
  outline: 0;
}

.sku-add-form button {
  width: 100%;
}

.product-description {
  color: #334155;
  line-height: 1.7;
}

.product-description p:first-child {
  margin-top: 0;
}

.product-description p:last-child {
  margin-bottom: 0;
}

.sticky-price--request {
  font-size: 22px;
}

.sticky-add-form {
  display: grid;
  gap: 9px;
}

.sticky-add-form label {
  display: grid;
  gap: 5px;
}

.sticky-add-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.product-analog-link {
  display: block;
  margin-top: 14px;
  color: var(--blue);
  text-align: center;
  font-size: 13px;
  font-weight: 850;
  text-decoration: underline;
}

.mobile-quote-link {
  position: relative;
}

.mobile-quote-link b {
  position: absolute;
  top: 3px;
  left: calc(50% + 7px);
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue);
  font-size: 9px;
  line-height: 1;
}

@media (max-width: 1180px) {
  .sticky-card {
    grid-template-columns: minmax(190px, 1fr) auto auto;
  }

  .sticky-add-form {
    min-width: 260px;
    grid-template-columns: 80px 170px;
    align-items: end;
  }

  .sticky-card>.btn {
    margin-top: 0;
  }

  .product-analog-link {
    grid-column: 1 / -1;
    margin-top: 2px;
    text-align: left;
  }
}

@media (max-width: 1000px) {
  .site-messages {
    top: 126px;
  }

  .header-actions .h-action--quote {
    display: flex;
    width: 50px;
    min-width: 50px;
    height: 46px;
  }

  .h-action--quote .h-action__label {
    display: none;
  }

  .sku-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sku-add-form {
    max-width: 330px;
  }

  .sticky-card {
    display: block;
  }

  .sticky-add-form {
    min-width: 0;
    display: grid;
    grid-template-columns: 90px minmax(160px, 1fr);
    margin-top: 12px;
  }

  .sticky-card>.btn {
    margin-top: 8px;
  }

  .product-analog-link {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .header-actions .h-action--quote {
    display: flex;
  }

  .site-messages {
    top: 118px;
    left: 12px;
    right: 12px;
    width: auto;
  }

  .site-message {
    align-items: flex-start;
    padding: 12px;
    font-size: 13px;
  }

  .catalog-results__head {
    display: block;
  }

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

  .pagination {
    flex-wrap: wrap;
  }

  .sku-add-form {
    max-width: none;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .sticky-add-form {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .mobile-product-cta {
    border: 0;
  }

  .mobile-product-cta button {
    padding-left: 12px;
    padding-right: 12px;
  }
}


/* THERMECH PRODUCT DETAIL REDESIGN 2026-07-10 */
.pd-page {
  min-height: 100vh;
  padding: 0 0 56px;
  background:
    linear-gradient(180deg,
      #ffffff 0,
      #f3f6f9 230px,
      #f3f6f9 100%);
}

.pd-container {
  max-width: 1220px;
}

.pd-breadcrumbs {
  padding: 22px 0 18px;
}

.pd-card {
  display: grid;
  grid-template-columns:
    minmax(0, 560px) minmax(0, 1fr);
  gap: 34px;
  padding: 24px;
  border: 1px solid #dce5ee;
  border-radius: 26px;
  background: #fff;
  box-shadow:
    0 22px 60px rgba(15, 39, 67, .09);
}

.pd-gallery {
  min-width: 0;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
}

.pd-gallery__thumbs {
  min-height: 0;
  display: grid;
  grid-template-rows: 32px minmax(0, 1fr) 32px;
  gap: 7px;
}

.pd-gallery__rail {
  max-height: 440px;
  display: grid;
  align-content: start;
  gap: 8px;
  overflow: hidden auto;
  scrollbar-width: none;
}

.pd-gallery__rail::-webkit-scrollbar {
  display: none;
}

.pd-gallery__thumb {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  padding: 5px;
  overflow: hidden;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.pd-gallery__thumb:hover {
  transform: translateY(-1px);
}

.pd-gallery__thumb.is-active {
  border-color: #0b3158;
  box-shadow:
    0 0 0 2px rgba(11, 49, 88, .12);
}

.pd-gallery__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.pd-gallery__thumb-arrow {
  width: 72px;
  height: 32px;
  border: 1px solid #dce5ee;
  border-radius: 10px;
  background: #f6f9fc;
  color: #0b3158;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.pd-gallery__thumb-arrow:hover {
  border-color: #0b3158;
  background: #eef4fa;
}

.pd-gallery__stage {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e2e9f0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 28%,
      #fffef3,
      #fff 56%,
      #f7f9fb);
}

.pd-gallery__main {
  width: 100%;
  height: 440px;
  display: block;
  padding: 24px;
  object-fit: contain;
  transition:
    opacity .18s ease,
    transform .18s ease;
}

.pd-gallery__main.is-changing {
  opacity: .35;
  transform: scale(.985);
}

.pd-gallery__empty {
  color: #0b3158;
  font-size: 76px;
  font-weight: 1000;
}

.pd-gallery__nav {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d7e0e9;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #0b3158;
  box-shadow:
    0 10px 26px rgba(15, 39, 67, .12);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.pd-gallery__nav--prev {
  left: 14px;
}

.pd-gallery__nav--next {
  right: 14px;
}

.pd-gallery__counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(7, 38, 69, .88);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.pd-summary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 5px 4px 4px;
}

.pd-summary__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.pd-category {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #e6f1ff;
  color: #0b3158;
  font-size: 11px;
  font-weight: 900;
}

.pd-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #18833b;
  font-size: 12px;
  font-weight: 900;
}

.pd-stock::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(24, 131, 59, .1);
}

.pd-stock--out {
  color: #b42318;
}

.pd-stock--on_order,
.pd-stock--request {
  color: #b26a00;
}

.pd-summary h1 {
  max-width: 600px;
  margin: 0;
  color: #071f39;
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.pd-summary__lead {
  margin: 16px 0 0;
  color: #607187;
  font-size: 15px;
  line-height: 1.65;
}

.pd-summary__meta {
  margin-top: 22px;
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pd-summary__meta>div {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e0e7ef;
  border-radius: 13px;
  background: #f8fafc;
}

.pd-summary__meta span {
  display: block;
  margin-bottom: 4px;
  color: #77869a;
  font-size: 10px;
}

.pd-summary__meta strong {
  display: block;
  overflow: hidden;
  color: #142c47;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pd-buy {
  margin-top: 22px;
  padding: 19px;
  border-radius: 18px;
  border: 1px solid #e0e7ef;
}

.pd-buy__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.pd-buy__price>span {
  width: 100%;
  font-size: 11px;
  font-weight: 700;
}

.pd-buy__price strong {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.04em;
}

.pd-buy__price del {
  color: #b8c8d8;
  font-size: 14px;
}

.pd-buy__request {
  font-size: 25px !important;
}

.pd-buy__form {
  margin-top: 17px;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 9px;
}

.pd-quantity {
  height: 50px;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.pd-quantity button {
  border: 0;
  background: #edf2f7;
  color: #0b3158;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.pd-quantity input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: #edf2f7;
  color: #0b3158;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  appearance: textfield;
}

.pd-quantity input::-webkit-inner-spin-button,
.pd-quantity input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.pd-buy__button {
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 1000;
  cursor: pointer;
}

.pd-buy__button:hover {
  transform: translateY(-1px);
}

.pd-buy__open {
  min-height: 42px;
  margin-top: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #e0e7ef;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 700;
}

.pd-buy__open span {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ffd129;
  color: #071f39;
  font-size: 10px;
}

.pd-notice {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #607187;
  font-size: 11px;
  line-height: 1.5;
}

.pd-notice span {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e8f8ee;
  color: #15833a;
  font-weight: 1000;
}

.pd-notice p {
  margin: 2px 0 0;
}

.pd-details {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid #dce5ee;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 14px 40px rgba(15, 39, 67, .06);
}

.pd-tabs {
  display: flex;
  gap: 2px;
  padding: 9px;
  border-bottom: 1px solid #e2e9f0;
  background: #f7f9fc;
}

.pd-tab {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 17px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #617187;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.pd-tab span {
  min-width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e5ebf2;
  font-size: 9px;
}

.pd-tab.is-active {
  background: #0b3158;
  color: #fff;
  box-shadow:
    0 8px 20px rgba(11, 49, 88, .16);
}

.pd-tab.is-active span {
  background: #ffd129;
  color: #071f39;
}

.pd-tab-panel {
  padding: 25px;
}

.pd-expandable {
  position: relative;
}

.pd-expandable__content {
  position: relative;
  max-height: 340px;
  overflow: hidden;
}

.pd-expandable--attributes .pd-expandable__content {
  max-height: 430px;
}

.pd-expandable.has-overflow:not(.is-expanded) .pd-expandable__content::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100px;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(255, 255, 255, 0),
      #fff 88%);
}

.pd-expandable.is-expanded .pd-expandable__content {
  max-height: none;
}

.pd-expandable__content h2 {
  margin: 0 0 17px;
  color: #071f39;
  font-size: 24px;
  letter-spacing: -.025em;
}

.pd-expandable__button {
  position: relative;
  z-index: 2;
  min-height: 42px;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid #d6e0ea;
  border-radius: 11px;
  background: #f8fafc;
  color: #0b3158;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.pd-expandable__button b {
  font-size: 15px;
}

.pd-description {
  max-width: 940px;
  color: #43566c;
  font-size: 14px;
  line-height: 1.75;
}

.pd-description p:first-child {
  margin-top: 0;
}

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

.pd-attribute {
  min-height: 46px;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) minmax(120px, .8fr);
  gap: 18px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e6ebf1;
}

.pd-attribute span {
  color: #6a7a8e;
  font-size: 12px;
}

.pd-attribute strong {
  color: #102a46;
  text-align: right;
  font-size: 12px;
}

.pd-compatibility {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid #e3e9f0;
}

.pd-compatibility h3 {
  margin: 0 0 12px;
  color: #071f39;
}

.pd-compatibility__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pd-compatibility__list span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf2fb;
  color: #0b3158;
  font-size: 11px;
  font-weight: 800;
}

.pd-details__empty {
  padding: 30px;
  border: 1px dashed #ccd8e4;
  border-radius: 14px;
  color: #728198;
  text-align: center;
}

.pd-reviews-empty {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.pd-reviews-empty__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff4bd;
  color: #b97800;
  font-size: 25px;
}

.pd-reviews-empty h2 {
  margin: 0 0 5px;
  color: #071f39;
}

.pd-reviews-empty p {
  margin: 0;
  color: #6a7a8e;
}

.pd-products-section {
  margin-top: 25px;
  padding: 24px;
  border: 1px solid #dce5ee;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 14px 40px rgba(15, 39, 67, .055);
}

.pd-products-section--viewed {
  background:
    linear-gradient(135deg,
      #fff,
      #f8fbff);
}

.pd-section-head {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.pd-section-head>div:first-child>span {
  color: #9a7100;
  font-size: 10px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.pd-section-head h2 {
  margin: 5px 0 4px;
  color: #071f39;
  font-size: 25px;
  letter-spacing: -.03em;
}

.pd-section-head p {
  margin: 0;
  color: #718096;
  font-size: 12px;
}

.pd-section-head>a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b3158;
  font-size: 12px;
  font-weight: 900;
}

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

.pd-tile {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e0e7ef;
  border-radius: 16px;
  background: #fff;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.pd-tile:hover {
  border-color: #b9c8d8;
  box-shadow:
    0 14px 30px rgba(15, 39, 67, .1);
  transform: translateY(-3px);
}

.pd-tile__image {
  height: 175px;
  display: grid;
  place-items: center;
  padding: 12px;
  overflow: hidden;
  border-bottom: 1px solid #edf1f5;
  background:
    radial-gradient(circle at 50% 34%,
      #fffdf0,
      #fff 68%);
}

.pd-tile__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.pd-tile__image>span {
  color: #0b3158;
  font-size: 42px;
  font-weight: 1000;
}

.pd-tile__body {
  min-height: 175px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 13px;
}

.pd-tile__category {
  margin-bottom: 6px;
  color: #7a8a9d;
  font-size: 9px;
  font-weight: 850;
}

.pd-tile h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.pd-tile h3 a {
  color: #102a46;
}

.pd-tile__sku {
  margin-top: 7px;
  color: #8593a4;
  font-size: 9px;
}

.pd-tile__bottom {
  margin-top: auto;
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.pd-tile__price {
  color: #071f39;
  font-size: 14px;
  font-weight: 1000;
}

.pd-tile__quote {
  min-height: 33px;
  padding: 6px 10px;
  border: 0;
  border-radius: 9px;
  background: #ffd129;
  color: #071f39;
  font-size: 10px;
  font-weight: 1000;
  cursor: pointer;
}

.pd-carousel {
  overflow: hidden;
}

.pd-carousel__track {
  display: flex;
  gap: 14px;
  overflow: hidden auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.pd-carousel__track::-webkit-scrollbar {
  display: none;
}

.pd-carousel__track .pd-tile {
  width: 190px;
  min-width: 190px;
  scroll-snap-align: start;
}

.pd-carousel-controls {
  display: flex;
  gap: 7px;
}

.pd-carousel-controls button {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid #d5dfe9;
  border-radius: 11px;
  background: #fff;
  color: #0b3158;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.pd-carousel-controls button:hover {
  border-color: #0b3158;
  background: #f1f6fb;
}

@media (max-width: 1100px) {
  .pd-card {
    grid-template-columns:
      minmax(0, 1fr) minmax(360px, .85fr);
    gap: 22px;
  }

  .pd-gallery {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .pd-gallery__thumb,
  .pd-gallery__thumb-arrow {
    width: 64px;
  }

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

  .pd-product-grid .pd-tile:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 820px) {
  .pd-page {
    padding-bottom: 90px;
  }

  .pd-card {
    grid-template-columns: 1fr;
    padding: 16px;
    border-radius: 20px;
  }

  .pd-gallery {
    grid-template-columns: 1fr;
  }

  .pd-gallery__thumbs {
    order: 2;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    grid-template-rows: 68px;
  }

  .pd-gallery__rail {
    max-height: none;
    display: flex;
    gap: 7px;
    overflow: auto hidden;
  }

  .pd-gallery__thumb {
    width: 66px;
    height: 66px;
  }

  .pd-gallery__thumb-arrow {
    width: 32px;
    height: 66px;
  }

  .pd-gallery__thumb-arrow:first-child {
    transform: rotate(-90deg);
  }

  .pd-gallery__thumb-arrow:last-child {
    transform: rotate(-90deg);
  }

  .pd-gallery__stage {
    min-height: 380px;
  }

  .pd-gallery__main {
    height: 380px;
    padding: 18px;
  }

  .pd-summary h1 {
    font-size: 34px;
  }

  .pd-attributes {
    grid-template-columns: 1fr;
  }

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

  .pd-product-grid .pd-tile:nth-child(n+5) {
    display: none;
  }
}

@media (max-width: 560px) {
  .pd-breadcrumbs {
    padding: 15px 0 12px;
    overflow: auto hidden;
    white-space: nowrap;
  }

  .pd-card {
    margin-right: -4px;
    margin-left: -4px;
    padding: 12px;
  }

  .pd-gallery__stage {
    min-height: 310px;
  }

  .pd-gallery__main {
    height: 310px;
    padding: 12px;
  }

  .pd-gallery__nav {
    width: 36px;
    height: 36px;
  }

  .pd-summary__top {
    margin-top: 5px;
  }

  .pd-summary h1 {
    font-size: 28px;
  }

  .pd-summary__lead {
    font-size: 13px;
  }

  .pd-summary__meta {
    grid-template-columns: 1fr 1fr;
  }

  .pd-summary__meta>div:last-child {
    grid-column: 1 / -1;
  }

  .pd-buy {
    padding: 15px;
  }

  .pd-buy__price strong {
    font-size: 29px;
  }

  .pd-buy__form {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .pd-tabs {
    overflow: auto hidden;
  }

  .pd-tab {
    flex: 0 0 auto;
    padding-right: 13px;
    padding-left: 13px;
  }

  .pd-tab-panel {
    padding: 17px;
  }

  .pd-attribute {
    grid-template-columns:
      minmax(0, 1fr) minmax(100px, .8fr);
    gap: 10px;
  }

  .pd-products-section {
    padding: 17px 13px;
  }

  .pd-section-head {
    align-items: flex-start;
  }

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

  .pd-section-head p {
    display: none;
  }

  .pd-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pd-tile__image {
    height: 135px;
  }

  .pd-tile__body {
    min-height: 160px;
    padding: 10px;
  }

  .pd-tile h3 {
    font-size: 11px;
  }

  .pd-tile__quote {
    width: 100%;
  }

  .pd-carousel-controls button {
    width: 35px;
    height: 35px;
  }
}

/* /THERMECH PRODUCT DETAIL REDESIGN 2026-07-10 */

/* THERMECH PRODUCT REVIEWS AND LIGHTBOX 2026-07-10 */
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }

  .pd-container {
    max-width: 1400px;
  }
}

:root {
  --thermech-action: #ea0d0d;
  --thermech-action-dark: #c90000;
}

.btn--primary,
.searchbar__submit,
.h-action--quote,
.pd-buy__button,
.pd-tile__quote,
.pd-review-submit {
  border-color: var(--thermech-action);
  background: var(--thermech-action);
  color: #fff;
}

.btn--primary:hover,
.searchbar__submit:hover,
.h-action--quote:hover,
.pd-buy__button:hover,
.pd-tile__quote:hover,
.pd-review-submit:hover {
  border-color: var(--thermech-action-dark);
  background: var(--thermech-action-dark);
  color: #fff;
}

.h-action--quote .h-action__icon,
.h-action--quote .h-action__label {
  color: #fff;
}

.pd-card {
  grid-template-columns:
    minmax(0, 610px) minmax(0, 1fr);
}

.pd-gallery__thumbs {
  height: 440px;
  grid-template-rows:
    32px minmax(0, 1fr) 32px;
}

.pd-gallery__rail {
  min-height: 0;
  max-height: none;
}

.pd-gallery__main {
  cursor: zoom-in;
}

.pd-gallery__zoom {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 4;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #d5dfe9;
  border-radius: 10px;
  background: rgba(255, 255, 255, .94);
  color: #0b3158;
  box-shadow: 0 8px 22px rgba(15, 39, 67, .1);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

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

.pd-rating-summary {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.pd-rating-stars,
.pd-review__stars {
  display: inline-flex;
  gap: 2px;
}

.pd-rating-stars span,
.pd-review__stars span {
  color: #d7dee7;
  font-size: 16px;
  line-height: 1;
}

.pd-rating-stars span.is-active,
.pd-review__stars span.is-active {
  color: #f2ad00;
}

.pd-rating-stars.is-empty span {
  color: #d7dee7;
}

.pd-rating-summary button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #65758a;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.pd-rating-summary button:hover {
  color: #0b3158;
  text-decoration: underline;
}

.pd-lightbox-open {
  overflow: hidden;
}

.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns:
    72px minmax(0, 1fr) 72px;
  align-items: center;
  padding: 28px;
  background: rgba(3, 11, 21, .95);
  opacity: 0;
  transition: opacity .18s ease;
}

.pd-lightbox[hidden] {
  display: none;
}

.pd-lightbox.is-open {
  opacity: 1;
}

.pd-lightbox__figure {
  min-width: 0;
  height: calc(100vh - 56px);
  margin: 0;
  display: grid;
  grid-template-rows:
    minmax(0, 1fr) auto;
  place-items: center;
}

.pd-lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 105px);
  display: block;
  object-fit: contain;
  user-select: none;
}

.pd-lightbox__figure figcaption {
  margin-top: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.pd-lightbox__close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.pd-lightbox__arrow {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 37px;
  line-height: 1;
  cursor: pointer;
}

.pd-lightbox__arrow:hover,
.pd-lightbox__close:hover {
  background: rgba(255, 255, 255, .2);
}

.pd-lightbox__arrow--prev {
  justify-self: start;
}

.pd-lightbox__arrow--next {
  justify-self: end;
}

.pd-reviews-layout {
  display: grid;
  grid-template-columns:
    380px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.pd-review-form-card {
  padding: 18px;
  border: 1px solid #dfe7ef;
  border-radius: 17px;
  background: #f8fafc;
}

.pd-review-form-card h2,
.pd-review-list h2 {
  margin: 0 0 5px;
  color: #071f39;
  font-size: 21px;
}

.pd-review-form-card>p,
.pd-review-list__head p {
  margin: 0 0 15px;
  color: #718096;
  font-size: 11px;
}

.pd-review-rating-input {
  width: max-content;
  margin-bottom: 13px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 3px;
}

.pd-review-rating-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pd-review-rating-input label {
  color: #d5dde6;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
}

.pd-review-rating-input label:hover,
.pd-review-rating-input label:hover~label,
.pd-review-rating-input input:checked~label {
  color: #f2ad00;
}

.pd-review-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.pd-review-fields label,
.pd-review-text {
  display: grid;
  gap: 5px;
}

.pd-review-fields span,
.pd-review-text>span {
  color: #52647a;
  font-size: 10px;
  font-weight: 850;
}

.pd-review-fields input,
.pd-review-text textarea {
  width: 100%;
  border: 1px solid #d4dee8;
  border-radius: 10px;
  background: #fff;
  padding: 9px 10px;
  outline: 0;
  font: inherit;
}

.pd-review-fields input:focus,
.pd-review-text textarea:focus {
  border-color: #0b3158;
  box-shadow: 0 0 0 3px rgba(11, 49, 88, .08);
}

.pd-review-text {
  margin-top: 9px;
}

.pd-review-text textarea {
  resize: vertical;
}

.pd-review-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

.pd-review-submit {
  width: 100%;
  min-height: 43px;
  margin-top: 12px;
  border: 0;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 1000;
  cursor: pointer;
}

.pd-review-list__head {
  min-height: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.pd-review-list__rating {
  min-width: 51px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff2b8;
  color: #8f6400;
  font-size: 17px;
  font-weight: 1000;
}

.pd-review-items {
  display: grid;
  gap: 9px;
}

.pd-review {
  padding: 13px 15px;
  border: 1px solid #e0e7ef;
  border-radius: 13px;
  background: #fff;
}

.pd-review__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 13px;
}

.pd-review__head>div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-review__head strong {
  color: #102a46;
  font-size: 12px;
}

.pd-review__head time {
  color: #8794a4;
  font-size: 9px;
}

.pd-review__stars span {
  font-size: 12px;
}

.pd-review>p {
  margin: 8px 0 0;
  color: #4e6075;
  font-size: 11px;
  line-height: 1.55;
}

.pd-reviews-empty {
  min-height: 130px;
  justify-content: flex-start;
  padding: 19px;
  border: 1px dashed #ccd8e4;
  border-radius: 14px;
  background: #fafbfd;
}

.pd-reviews-empty h3 {
  margin: 0 0 4px;
  color: #071f39;
  font-size: 16px;
}

.pd-reviews-empty p {
  font-size: 11px;
}

@media (max-width: 1100px) {
  .pd-card {
    grid-template-columns:
      minmax(0, 1fr) minmax(390px, .86fr);
  }

  .pd-reviews-layout {
    grid-template-columns: 340px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .pd-gallery__thumbs {
    height: 68px;
  }

  .pd-lightbox {
    grid-template-columns:
      48px minmax(0, 1fr) 48px;
    padding: 18px 8px;
  }

  .pd-lightbox__arrow {
    width: 42px;
    height: 42px;
  }

  .pd-reviews-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .pd-gallery__zoom span {
    display: none;
  }

  .pd-gallery__zoom {
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .pd-lightbox {
    grid-template-columns:
      42px minmax(0, 1fr) 42px;
  }

  .pd-lightbox__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .pd-review-fields {
    grid-template-columns: 1fr;
  }
}

/* /THERMECH PRODUCT REVIEWS AND LIGHTBOX 2026-07-10 */

/* THERMECH PRODUCT MOBILE FIX START */

/*
 * Десктопная карточка.
 * Высота превью и основного изображения синхронизирована.
 */
@media (min-width: 1200px) {
  .pd-card {
    grid-template-columns:
      minmax(0, 700px) minmax(0, 1fr);
  }

  .pd-gallery__thumbs {
    height: 650px;
  }

  .pd-gallery__stage {
    min-height: 650px;
  }

  .pd-gallery__main {
    height: 650px;
  }

  .pd-gallery__rail {
    max-height: none;
  }
}


/*
 * Планшет и мобильные устройства.
 * Этот блок размещён последним и перекрывает
 * предыдущие двухколоночные правила.
 */
@media (max-width: 820px) {

  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .pd-page {
    width: 100%;
    padding-bottom: 110px;
    overflow: hidden;
  }

  .pd-container {
    width: 100%;
    max-width: none;
    padding-right: 12px;
    padding-left: 12px;
  }

  .pd-breadcrumbs {
    width: 100%;
    padding: 14px 2px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .pd-breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .pd-card {
    width: 100%;
    min-width: 0;
    display: block;
    padding: 12px;
    overflow: hidden;
    border-radius: 20px;
  }

  .pd-card>* {
    min-width: 0;
    max-width: 100%;
  }


  /* Галерея */

  .pd-gallery {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
  }

  .pd-gallery__stage {
    order: 1;
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 1 / 1;
    border-radius: 17px;
  }

  .pd-gallery__main {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 14px;
    object-fit: contain;
  }

  .pd-gallery__thumbs {
    order: 2;
    width: 100%;
    height: 68px;
    min-height: 68px;
    display: grid;
    grid-template-columns:
      34px minmax(0, 1fr) 34px;
    grid-template-rows: 68px;
    gap: 6px;
  }

  .pd-gallery__rail {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    max-height: 68px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .pd-gallery__rail::-webkit-scrollbar {
    display: none;
  }

  .pd-gallery__thumb {
    width: 64px;
    min-width: 64px;
    height: 64px;
    padding: 4px;
    scroll-snap-align: start;
    border-radius: 10px;
  }

  .pd-gallery__thumb-arrow {
    width: 34px;
    height: 68px;
    padding: 0;
  }

  .pd-gallery__thumb-arrow:first-child,
  .pd-gallery__thumb-arrow:last-child {
    transform: rotate(-90deg);
  }

  .pd-gallery__nav {
    top: 50%;
    width: 38px;
    height: 38px;
  }

  .pd-gallery__nav--prev {
    left: 9px;
  }

  .pd-gallery__nav--next {
    right: 9px;
  }

  .pd-gallery__counter {
    right: 10px;
    bottom: 10px;
  }

  .pd-gallery__zoom {
    top: 10px;
    right: 10px;
  }


  /* Информация о товаре */

  .pd-summary {
    width: 100%;
    min-width: 0;
    padding: 17px 2px 2px;
  }

  .pd-summary__top {
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
  }

  .pd-rating-summary {
    width: 100%;
    margin-bottom: 10px;
  }

  .pd-summary h1 {
    max-width: 100%;
    font-size: clamp(27px, 8vw, 35px);
    line-height: 1.07;
    overflow-wrap: anywhere;
  }

  .pd-summary__lead {
    max-width: 100%;
    margin-top: 13px;
    font-size: 13px;
    line-height: 1.55;
  }

  .pd-summary__meta {
    width: 100%;
    margin-top: 16px;
    grid-template-columns: 1fr;
  }

  .pd-summary__meta>div {
    width: 100%;
    min-width: 0;
  }

  .pd-summary__meta strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }


  /* Покупка */

  .pd-buy {
    width: 100%;
    margin-top: 15px;
    padding: 15px;
    border-radius: 16px;
  }

  .pd-buy__form {
    width: 100%;
    grid-template-columns:
      108px minmax(0, 1fr);
    gap: 8px;
  }

  .pd-buy__button {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
  }

  .pd-buy__open {
    width: 100%;
  }

  .pd-notice {
    width: 100%;
  }


  /* Табы */

  .pd-details {
    width: 100%;
    margin-top: 14px;
    border-radius: 18px;
  }

  .pd-tabs {
    width: 100%;
    display: grid;
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
    gap: 3px;
    padding: 6px;
    overflow: hidden;
  }

  .pd-tab {
    min-width: 0;
    min-height: 42px;
    justify-content: center;
    gap: 4px;
    padding: 7px 4px;
    font-size: 10px;
    white-space: nowrap;
  }

  .pd-tab span {
    min-width: 18px;
    height: 18px;
    font-size: 8px;
  }

  .pd-tab-panel {
    width: 100%;
    padding: 15px;
  }

  .pd-expandable__content h2 {
    font-size: 21px;
  }

  .pd-description {
    font-size: 13px;
    line-height: 1.65;
  }

  .pd-attributes {
    grid-template-columns: 1fr;
  }

  .pd-attribute {
    grid-template-columns:
      minmax(0, 1fr) minmax(100px, .8fr);
  }


  /* Отзывы */

  .pd-reviews-layout {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pd-review-form-card,
  .pd-review-list {
    width: 100%;
    min-width: 0;
  }

  .pd-review-form-card {
    padding: 15px;
  }

  .pd-review-fields {
    grid-template-columns: 1fr;
  }

  .pd-review-list__head {
    align-items: center;
  }

  .pd-review {
    padding: 12px;
  }


  /* Товарные секции */

  .pd-products-section {
    width: 100%;
    min-width: 0;
    margin-top: 15px;
    padding: 15px 12px;
    overflow: hidden;
    border-radius: 18px;
  }

  .pd-section-head {
    width: 100%;
    align-items: flex-start;
    gap: 10px;
  }

  .pd-section-head h2 {
    font-size: 21px;
    line-height: 1.15;
  }

  .pd-section-head p {
    display: none;
  }

  .pd-product-grid {
    width: 100%;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .pd-product-grid .pd-tile {
    display: flex;
  }

  .pd-product-grid .pd-tile:nth-child(n+5) {
    display: none;
  }

  .pd-carousel {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .pd-carousel__track {
    width: 100%;
    min-width: 0;
  }

  .pd-tile__image {
    height: 155px;
  }

  .pd-tile__body {
    min-height: 165px;
  }


  /* Полноэкранная галерея */

  .pd-lightbox {
    grid-template-columns:
      42px minmax(0, 1fr) 42px;
    padding: 12px 5px;
  }

  .pd-lightbox__figure {
    width: 100%;
    height: calc(100vh - 24px);
  }

  .pd-lightbox__figure img {
    max-height: calc(100vh - 90px);
  }


  /* Футер и нижнее мобильное меню */

  .footer {
    padding-bottom: 105px;
  }

  .mobile-bottom-nav {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }
}


@media (max-width: 420px) {
  .pd-container {
    padding-right: 8px;
    padding-left: 8px;
  }

  .pd-card {
    padding: 10px;
  }

  .pd-summary h1 {
    font-size: 27px;
  }

  .pd-buy__form {
    grid-template-columns:
      96px minmax(0, 1fr);
  }

  .pd-quantity {
    grid-template-columns:
      30px minmax(0, 1fr) 30px;
  }

  .pd-buy__button {
    font-size: 12px;
  }

  .pd-tab {
    font-size: 9px;
  }

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

  .pd-tile__image {
    height: 125px;
  }

  .pd-tile__body {
    min-height: 160px;
    padding: 9px;
  }

  .pd-tile h3 {
    font-size: 11px;
  }
}

/* THERMECH PRODUCT MOBILE FIX END */


/* THERMECH COMPACT MESSAGES 2026-07-10 */
.site-messages {
  position: fixed;
  z-index: 500;
  top: 126px;
  right: 18px;
  width: min(340px, calc(100vw - 36px));
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.site-message {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  padding: 10px 38px 10px 13px;
  border: 1px solid #b6dfc4;
  border-radius: 12px;
  background: #ecfdf3;
  color: #14532d;
  box-shadow:
    0 14px 35px rgba(15, 39, 67, .16);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  pointer-events: auto;
  transform: translateY(0);
  opacity: 1;
  transition:
    opacity .22s ease,
    transform .22s ease;
}

.site-message.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
}

.site-message__text {
  min-width: 0;
  flex: 1;
}

.site-message__link {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 8px;
  background: #0b3158;
  color: #fff !important;
  font-size: 11px;
  font-weight: 900;
}

.site-message__link:hover {
  background: #071f39;
  color: #fff;
}

.site-message__close {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: currentColor;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: .65;
  transform: translateY(-50%);
}

.site-message__close:hover {
  background: rgba(0, 0, 0, .06);
  opacity: 1;
}

.site-message__timer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #41a765;
  transform-origin: left center;
  animation:
    site-message-timer 5s linear forwards;
}

.site-message--error {
  border-color: #f0b1ad;
  background: #fff1f0;
  color: #991b1b;
}

.site-message--error .site-message__timer {
  background: #ea0d0d;
}

@keyframes site-message-timer {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

@media (max-width: 820px) {
  .site-messages {
    top: 118px;
    right: 10px;
    left: 10px;
    width: auto;
  }

  .site-message {
    min-height: 45px;
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 12px;
  }
}

/* /THERMECH COMPACT MESSAGES 2026-07-10 */

/* THERMECH SINGLE PRODUCT IMAGE START */

/*
 * Если у товара одна фотография, отсутствует колонка
 * вертикальных миниатюр. Основное фото занимает всю галерею.
 */
.pd-gallery--single {
  grid-template-columns: minmax(0, 1fr);
}

.pd-gallery--single .pd-gallery__stage {
  grid-column: 1 / -1;
  width: 100%;
}

.pd-gallery--single .pd-gallery__main {
  width: 100%;
  max-width: 100%;
}

/*
 * На широком экране сохраняем высоту большой галереи.
 */
@media (min-width: 1200px) {
  .pd-gallery--single {
    width: 100%;
  }

  .pd-gallery--single .pd-gallery__stage {
    min-height: 650px;
  }

  .pd-gallery--single .pd-gallery__main {
    height: 650px;
    padding: 32px;
  }
}

/*
 * На мобильных одиночная фотография остаётся квадратной.
 */
@media (max-width: 820px) {
  .pd-gallery--single {
    display: flex;
    flex-direction: column;
  }

  .pd-gallery--single .pd-gallery__stage {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .pd-gallery--single .pd-gallery__main {
    width: 100%;
    height: 100%;
    padding: 14px;
  }
}

/* THERMECH SINGLE PRODUCT IMAGE END */

/* THERMECH AJAX SEARCH SWIPE START */

.mobile-search-trigger {
  display: none;
}

.mobile-search-modal[hidden] {
  display: none;
}

.mobile-search-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  opacity: 0;
  transition: opacity .18s ease;
}

.mobile-search-modal.is-open {
  opacity: 1;
}

.mobile-search-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(3, 18, 33, .64);
  backdrop-filter: blur(4px);
}

.mobile-search-modal__panel {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100% - 28px));
  max-height: min(760px, calc(100vh - 40px));
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 32px 90px rgba(3, 18, 33, .3);
}

.mobile-search-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid #dce5ee;
}

.mobile-search-modal__head h2 {
  margin: 0 0 3px;
  color: #071f39;
  font-size: 21px;
}

.mobile-search-modal__head p {
  margin: 0;
  color: #718096;
  font-size: 11px;
}

.mobile-search-modal__close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 11px;
  background: #eef3f8;
  color: #0b3158;
  font-size: 24px;
  cursor: pointer;
}

.mobile-live-search {
  margin: 14px 18px 8px;
  display: grid;
  grid-template-columns:
    22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 13px;
  border: 1px solid #cfdbe7;
  border-radius: 14px;
  background: #f7f9fc;
}

.mobile-live-search:focus-within {
  border-color: #0b3158;
  box-shadow:
    0 0 0 3px rgba(11, 49, 88, .08);
}

.mobile-live-search svg,
.mobile-search-trigger svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.mobile-live-search input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #071f39;
  font-size: 14px;
}

.mobile-live-search button {
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-radius: 10px;
  background: #ea0d0d;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.mobile-search-modal__hint,
.mobile-search-modal__loading {
  padding: 6px 18px 10px;
  color: #718096;
  font-size: 11px;
}

.mobile-search-modal__hint strong {
  color: #0b3158;
}

.mobile-search-results {
  min-height: 0;
  padding: 4px 18px 18px;
  display: grid;
  gap: 7px;
  overflow-y: auto;
}

.mobile-search-result {
  min-width: 0;
  display: grid;
  grid-template-columns:
    64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 8px;
  border: 1px solid #dce5ee;
  border-radius: 13px;
  background: #fff;
  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}

.mobile-search-result:hover {
  border-color: #9fb2c5;
  box-shadow:
    0 9px 22px rgba(15, 39, 67, .08);
}

.mobile-search-result__image {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #f6f8fa;
  color: #0b3158;
  font-size: 24px;
  font-weight: 1000;
}

.mobile-search-result__image img {
  width: 100%;
  height: 100%;
  display: block;
  padding: 4px;
  object-fit: contain;
}

.mobile-search-result__body {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.mobile-search-result__body small {
  color: #718096;
  font-size: 9px;
}

.mobile-search-result__body strong {
  overflow: hidden;
  color: #102a46;
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
}

.mobile-search-result__meta {
  color: #8794a4;
  font-size: 9px;
}

.mobile-search-result__price {
  color: #071f39;
  font-size: 12px;
  white-space: nowrap;
}

body.mobile-search-open {
  overflow: hidden;
}

.pd-section-head__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pd-section-head__actions>a {
  color: #0b3158;
  font-size: 12px;
  font-weight: 900;
}

.pd-carousel__track {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.pd-carousel__track .pd-tile {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

button.is-loading {
  cursor: wait;
  opacity: .78;
}

@media (max-width: 820px) {
  .header__main {
    display: flex !important;
    align-items: center;
    gap: 8px;
  }

  .header__main>.searchbar,
  .mobile-search {
    display: none !important;
  }

  .mobile-menu-btn,
  .mobile-search-trigger {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .mobile-search-trigger {
    display: grid;
    place-items: center;
    padding: 10px;
    border: 1px solid #d4dee8;
    border-radius: 12px;
    background: #fff;
    color: #0b3158;
    cursor: pointer;
  }

  .mobile-search-trigger svg {
    width: 21px;
    height: 21px;
  }

  .header__main .logo {
    margin-right: auto;
  }

  .mobile-menu .searchbar,
  .mobile-menu__search,
  .menu-drawer .searchbar,
  [data-mobile-menu] .searchbar {
    display: none !important;
  }

  .mobile-search-modal__panel {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-height: 92vh;
    margin: 0;
    border-radius: 0 0 22px 22px;
  }

  .mobile-search-result {
    grid-template-columns:
      58px minmax(0, 1fr);
  }

  .mobile-search-result__image {
    width: 58px;
    height: 58px;
  }

  .mobile-search-result__price {
    grid-column: 2;
    justify-self: start;
  }

  .pd-section-head__actions {
    gap: 7px;
  }

  .pd-section-head__actions>a {
    display: none;
  }

  .pd-carousel {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .pd-carousel__track {
    width: 100%;
    min-width: 0;
    display: flex;
    gap: 10px;
    padding-bottom: 5px;
  }

  .pd-carousel-controls {
    display: flex;
  }
}

@media (max-width: 420px) {
  .mobile-search-modal__head {
    padding: 15px;
  }

  .mobile-live-search {
    margin-right: 12px;
    margin-left: 12px;
    grid-template-columns:
      20px minmax(0, 1fr) auto;
  }

  .mobile-live-search button {
    padding-right: 12px;
    padding-left: 12px;
  }

  .mobile-search-results {
    padding-right: 12px;
    padding-left: 12px;
  }
}

/* THERMECH AJAX SEARCH SWIPE END */

/* THERMECH CATALOG FILTER + COMPACT LIST 2026-07-13 */
.catalog-hero--compact {
  padding-top: 20px;
  padding-bottom: 20px;
}

.catalog-layout--filtered {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
}

.catalog-filter-panel {
  padding: 18px;
}

.catalog-filter-form {
  display: grid;
  gap: 0;
}

.catalog-filter-reset {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.catalog-filter-reset:hover {
  color: var(--blue);
}

.catalog-filter-group {
  min-width: 0;
  margin: 0;
  padding: 15px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.catalog-filter-group>label,
.catalog-filter-label,
.catalog-filter-group legend {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.catalog-filter-select,
.catalog-filter-price input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  outline: 0;
}

.catalog-filter-select {
  padding: 0 36px 0 11px;
}

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

.catalog-filter-price input {
  padding: 0 11px;
}

.catalog-filter-select:focus,
.catalog-filter-price input:focus {
  border-color: #8da7c2;
  box-shadow: 0 0 0 3px rgba(15, 62, 108, .08);
}

.catalog-filter-checks {
  display: grid;
  gap: 8px;
}

.catalog-filter-check {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #334155;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.catalog-filter-check input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--blue);
}

.catalog-filter-actions {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.catalog-filter-actions .btn {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
}

.catalog-product-list {
  gap: 10px;
}

.catalog-product-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}

.catalog-product-card:hover {
  border-color: #c9d4df;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .075);
}

.catalog-product-card__image {
  width: 148px;
  height: 132px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid #e6edf4;
  border-radius: 13px;
  background: #f8fafc;
  color: var(--blue);
  font-size: 34px;
  font-weight: 1000;
}

.catalog-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-product-card__content {
  min-width: 0;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  padding: 2px 2px 1px 0;
}

.catalog-product-card__category {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-product-card__title {
  margin: 5px 0 6px;
  font-size: 19px;
  line-height: 1.22;
  letter-spacing: -.018em;
}

.catalog-product-card__title a:hover {
  color: var(--blue2);
}

.catalog-product-card__sku {
  color: var(--muted);
  font-size: 12px;
}

.catalog-product-card__sku strong {
  color: #334155;
}

.catalog-product-card__bottom {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 10px;
}

.catalog-product-card__price {
  color: var(--blue);
  font-size: 21px;
  font-weight: 1000;
  line-height: 1.1;
  white-space: nowrap;
}

.catalog-product-card__quote {
  flex: 0 0 auto;
}

.catalog-product-card__quote .btn {
  min-height: 38px;
  padding: 9px 14px;
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .catalog-layout--filtered {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-filter-panel {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .catalog-hero--compact {
    padding-top: 14px;
    padding-bottom: 15px;
  }

  .catalog-hero--compact .breadcrumbs {
    margin-bottom: 10px;
  }

  .catalog-hero--compact .catalog-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
  }

  .catalog-hero--compact .catalog-title h1 {
    margin-bottom: 5px;
    font-size: 27px;
  }

  .catalog-hero--compact .catalog-title p {
    font-size: 13px;
    line-height: 1.35;
  }

  .catalog-hero--compact .mobile-filter-btn {
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 12px;
  }

  .catalog-layout--filtered {
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 24px;
  }

  .catalog-product-list {
    gap: 8px;
  }

  .catalog-product-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    min-height: 116px;
    padding: 9px;
    border-radius: 14px;
  }

  .catalog-product-card__image {
    width: 92px;
    height: 96px;
    align-self: start;
    padding: 6px;
    border-radius: 11px;
    font-size: 27px;
  }

  .catalog-product-card__content {
    min-height: 96px;
    padding: 0;
  }

  .catalog-product-card__category {
    font-size: 9px;
  }

  .catalog-product-card__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 3px 0 4px;
    font-size: 14px;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .catalog-product-card__sku {
    overflow: hidden;
    font-size: 10px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .catalog-product-card__bottom {
    gap: 7px;
    padding-top: 7px;
  }

  .catalog-product-card__price {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
  }

  .catalog-product-card__quote .btn {
    min-height: 32px;
    padding: 7px 9px;
    border-radius: 9px;
    font-size: 11px;
  }

  .catalog-product-card__button-prefix {
    display: none;
  }

  .catalog-filter-group {
    padding-top: 13px;
    padding-bottom: 13px;
  }
}

@media (max-width: 380px) {
  .catalog-product-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .catalog-product-card__image {
    width: 82px;
    height: 90px;
  }

  .catalog-product-card__price {
    font-size: 14px;
  }
}

/* THERMECH DYNAMIC CATALOG FILTER STATES 2026-07-13 */
.catalog-dynamic-attributes {
  min-width: 0;
}

.catalog-filter-hint,
.catalog-filter-loading,
.catalog-filter-error {
  margin: 0;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.catalog-filter-loading {
  position: relative;
  padding-left: 24px;
}

.catalog-filter-loading::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 2px solid #d9e2ec;
  border-top-color: var(--blue);
  border-radius: 50%;
  content: "";
  animation: catalog-filter-spin .7s linear infinite;
}

.catalog-filter-error {
  color: #b42318;
}

@keyframes catalog-filter-spin {
  to {
    transform: rotate(360deg);
  }
}

/* THERMECH HEADER LIVE SEARCH 2026-07-13 */
.header-live-search-form {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: visible;
  z-index: 120;
}

.header-live-search-form>input {
  width: 100%;
  min-height: 50px;
}

.header-live-search[hidden] {
  display: none;
}

.header-live-search {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  left: 0;
  z-index: 300;
  max-height: min(620px, calc(100vh - 150px));
  overflow: auto;
  padding: 8px;
  border: 1px solid #d5e0ea;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 24px 65px rgba(7, 29, 52, .22);
}

.header-live-search__status {
  padding: 8px 10px 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}

.header-live-search__status.is-loading {
  color: #0b3158;
}

.header-live-search__status.is-error {
  color: #b42318;
}

.header-live-search__results {
  display: grid;
  gap: 5px;
}

.header-search-result {
  min-width: 0;
  display: grid;
  grid-template-columns:
    58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition:
    border-color .15s ease,
    background .15s ease;
}

.header-search-result:hover,
.header-search-result:focus-visible {
  border-color: #d5e0ea;
  background: #f5f8fb;
  outline: none;
}

.header-search-result__image {
  width: 58px;
  height: 52px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 4px;
  border: 1px solid #e1e8ef;
  border-radius: 10px;
  background: #f8fafc;
  color: #0b3158;
  font-weight: 1000;
}

.header-search-result__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-search-result__body {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.header-search-result__body small {
  overflow: hidden;
  color: #718096;
  font-size: 10px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-search-result__body strong {
  overflow: hidden;
  color: #071f39;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-search-result__sku {
  overflow: hidden;
  color: #667085;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-search-result__price {
  padding-left: 10px;
  color: #071f39;
  font-size: 14px;
  white-space: nowrap;
}

.header-live-search__all {
  display: block;
  margin-top: 7px;
  padding: 11px 12px;
  border-radius: 11px;
  background: #eef3f8;
  color: #0b3158;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.header-live-search__all:hover {
  background: #e2eaf2;
}

@media (max-width: 1000px) {
  .header-live-search {
    display: none !important;
  }
}


/* THERMECH PREMIUM CATALOG LIST 2026-07-15 */
.catalog-layout--filtered {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.catalog-filter-panel {
  top: 118px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.catalog-results {
  min-width: 0;
}

.catalog-active-filters {
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: linear-gradient(180deg,
      #fff 0%,
      #fbfcfe 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
}

.catalog-active-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.catalog-active-filters__head strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 950;
}

.catalog-active-filters__head a {
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
}

.catalog-active-filters__head a:hover {
  color: var(--red);
}

.catalog-active-filters__list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.catalog-filter-tag {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px 7px 13px;
  border: 1px solid #1e293b;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  line-height: 1.2;
  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}

.catalog-filter-tag:hover {
  border-color: var(--red);
  box-shadow:
    0 0 0 3px rgba(234, 13, 13, .08);
}

.catalog-filter-tag strong {
  color: #0f172a;
  font-weight: 850;
}

.catalog-filter-tag b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #7b8794;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.catalog-product-list {
  display: grid;
  gap: 14px;
}

.catalog-product-card {
  min-width: 0;
  display: grid;
  grid-template-columns:
    210px minmax(0, 1fr) 205px;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 12px 30px rgba(15, 23, 42, .055);
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.catalog-product-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow:
    0 18px 42px rgba(15, 23, 42, .09);
}

.catalog-product-card__image {
  position: relative;
  width: 210px;
  height: 100%;
  min-height: 260px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 0;
  border-right: 1px solid #edf1f5;
  border-radius: 0;
  background: #fff;
}

.catalog-product-card__image img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: contain;
  transition: transform .25s ease;
}

.catalog-product-card:hover .catalog-product-card__image img {
  transform: scale(1.035);
}

.catalog-product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 8px;
  background: #0f3e6c;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.catalog-product-card__content {
  min-width: 0;
  min-height: 260px;
  padding: 22px 24px;
}

.catalog-product-card__category {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.catalog-product-card__title {
  margin: 7px 0 8px;
  font-size: 20px;
  line-height: 1.28;
  letter-spacing: -.018em;
}

.catalog-product-card__title a {
  color: #111827;
}

.catalog-product-card__title a:hover {
  color: var(--red);
}

.catalog-product-card__sku {
  color: #7c8796;
  font-size: 12px;
}

.catalog-product-card__sku strong {
  color: #475569;
}

.catalog-product-card__attributes {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
}

.catalog-product-card__attributes>div {
  min-width: 0;
  display: grid;
  grid-template-columns:
    minmax(115px, .85fr) minmax(120px, 1fr);
  gap: 14px;
  align-items: baseline;
  padding-bottom: 6px;
  border-bottom: 1px dashed #e2e8f0;
}

.catalog-product-card__attributes>div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.catalog-product-card__attributes dt,
.catalog-product-card__attributes dd {
  min-width: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.catalog-product-card__attributes dt {
  overflow: hidden;
  color: #7c8796;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-product-card__attributes dd {
  color: #1f2937;
  font-weight: 800;
  text-align: right;
}

.catalog-product-card__description {
  display: -webkit-box;
  overflow: hidden;
  margin: 18px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.catalog-product-card__offer {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 22px 20px;
  border-left: 1px solid #edf1f5;
  background: linear-gradient(180deg,
      #fcfdff 0%,
      #f8fafc 100%);
}

.catalog-product-card__stock {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.catalog-product-card__stock span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow:
    0 0 0 4px rgba(148, 163, 184, .13);
}

.catalog-product-card__stock.is-in-stock {
  color: #16803b;
}

.catalog-product-card__stock.is-in-stock span {
  background: #22a447;
  box-shadow:
    0 0 0 4px rgba(34, 164, 71, .13);
}

.catalog-product-card__stock.is-on-order {
  color: #9a6700;
}

.catalog-product-card__stock.is-on-order span {
  background: #e6a700;
  box-shadow:
    0 0 0 4px rgba(230, 167, 0, .13);
}

.catalog-product-card__stock.is-out {
  color: #b42318;
}

.catalog-product-card__stock.is-out span {
  background: #d92d20;
  box-shadow:
    0 0 0 4px rgba(217, 45, 32, .12);
}

.catalog-product-card__prices {
  margin-bottom: 18px;
}

.catalog-product-card__prices del {
  display: block;
  margin-bottom: 5px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
}

.catalog-product-card__price {
  color: #0f172a;
  font-size: 25px;
  font-weight: 1000;
  line-height: 1.08;
  white-space: normal;
}

.catalog-product-card__quote,
.catalog-product-card__offer>.btn {
  width: 100%;
  margin-top: auto;
}

.catalog-product-card__quote .btn,
.catalog-product-card__offer>.btn {
  width: 100%;
  min-height: 45px;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  white-space: nowrap;
}

@media (max-width: 1220px) {
  .catalog-layout--filtered {
    grid-template-columns:
      250px minmax(0, 1fr);
    gap: 20px;
  }

  .catalog-product-card {
    grid-template-columns:
      175px minmax(0, 1fr) 180px;
  }

  .catalog-product-card__image {
    width: 175px;
  }

  .catalog-product-card__content {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 1000px) {
  .catalog-layout--filtered {
    grid-template-columns: minmax(0, 1fr);
  }

  /* .catalog-filter-panel {
    position: static;
  } */

  .catalog-product-card {
    grid-template-columns:
      180px minmax(0, 1fr);
  }

  .catalog-product-card__image {
    width: 180px;
    min-height: 245px;
  }

  .catalog-product-card__content {
    min-height: 245px;
  }

  .catalog-product-card__offer {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 20px;
    border-top: 1px solid #edf1f5;
    border-left: 0;
  }

  .catalog-product-card__stock,
  .catalog-product-card__prices {
    margin: 0;
  }

  .catalog-product-card__prices {
    margin-left: auto;
    text-align: right;
  }

  .catalog-product-card__quote,
  .catalog-product-card__offer>.btn {
    width: auto;
    margin-top: 0;
  }

  .catalog-product-card__quote .btn,
  .catalog-product-card__offer>.btn {
    width: auto;
    min-width: 150px;
  }
}

@media (max-width: 640px) {
  .catalog-active-filters {
    margin-bottom: 10px;
    padding: 14px;
    border-radius: 15px;
  }

  .catalog-active-filters__head {
    margin-bottom: 10px;
  }

  .catalog-filter-tag {
    max-width: 100%;
    min-height: 34px;
    font-size: 11px;
  }

  .catalog-filter-tag span,
  .catalog-filter-tag strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .catalog-product-card {
    grid-template-columns:
      112px minmax(0, 1fr);
    border-radius: 15px;
  }

  .catalog-product-card:hover {
    transform: none;
  }

  .catalog-product-card__image {
    width: 112px;
    min-height: 165px;
    align-self: stretch;
    padding: 10px;
  }

  .catalog-product-card__image img {
    max-height: 140px;
  }

  .catalog-product-card__badge {
    top: 8px;
    left: 8px;
    padding: 5px 6px;
    font-size: 8px;
  }

  .catalog-product-card__content {
    min-height: 165px;
    padding: 13px 12px;
  }

  .catalog-product-card__category {
    font-size: 8px;
  }

  .catalog-product-card__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 4px 0 5px;
    font-size: 14px;
    line-height: 1.24;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .catalog-product-card__sku {
    font-size: 9px;
  }

  .catalog-product-card__attributes {
    gap: 4px;
    margin-top: 10px;
  }

  .catalog-product-card__attributes>div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 4px;
  }

  .catalog-product-card__attributes>div:nth-child(n+4) {
    display: none;
  }

  .catalog-product-card__attributes dt,
  .catalog-product-card__attributes dd {
    font-size: 9px;
  }

  .catalog-product-card__attributes dt {
    flex: 1 1 auto;
  }

  .catalog-product-card__attributes dd {
    flex: 0 1 54%;
  }

  .catalog-product-card__description {
    margin-top: 9px;
    font-size: 10px;
    line-height: 1.4;
    -webkit-line-clamp: 3;
  }

  .catalog-product-card__offer {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns:
      minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 11px 12px;
  }

  .catalog-product-card__stock {
    margin: 0;
    font-size: 10px;
  }

  .catalog-product-card__prices {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    text-align: left;
  }

  .catalog-product-card__prices del {
    margin-bottom: 2px;
    font-size: 10px;
  }

  .catalog-product-card__price {
    font-size: 18px;
  }

  .catalog-product-card__quote,
  .catalog-product-card__offer>.btn {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .catalog-product-card__quote .btn,
  .catalog-product-card__offer>.btn {
    min-width: 90px;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 11px;
  }

  .catalog-product-card__button-prefix {
    display: none;
  }
}


/* THERMECH FACET FILTER + LIVE COUNT 2026-07-15 */
.catalog-filter-panel {
  top: 116px;
  overflow: visible;
  padding: 0 20px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .07);
}

.catalog-filter-head {
  align-items: flex-start;
  gap: 12px;
  margin: 0 -20px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid #e8edf3;
}

.catalog-filter-head>div {
  min-width: 0;
}

.catalog-filter-head h3 {
  margin: 0;
  color: #0f172a;
  font-size: 17px;
  font-weight: 950;
}

.catalog-filter-head span {
  display: block;
  margin-top: 4px;
  color: #7c8796;
  font-size: 11px;
  font-weight: 750;
}

.catalog-filter-reset {
  margin-top: 2px;
  white-space: nowrap;
}

.catalog-facet {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #e8edf3;
}

.catalog-facet>summary {
  min-height: 55px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 0;
  color: #111827;
  font-size: 15px;
  font-weight: 950;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

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

.catalog-facet>summary>span {
  min-width: 0;
  flex: 1 1 auto;
}

.catalog-facet>summary>b[hidden] {
  display: none;
}

.catalog-facet>summary>b {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #eef3f8;
  color: #0f3e6c;
  font-size: 11px;
  font-weight: 950;
}

.catalog-facet>summary>i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid #7c8796;
  border-bottom: 2px solid #7c8796;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}

.catalog-facet:not([open])>summary>i {
  transform: rotate(-45deg);
}

.catalog-facet-options {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 10px 12px;
  padding: 0 0 15px;
}

.catalog-facet-options--categories {
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

.catalog-facet-options:not(.is-expanded) .catalog-facet-option.is-extra:not(.is-selected) {
  display: none;
}

.catalog-facet-option {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}

.catalog-facet-option.is-child {
  padding-left: 18px;
}

.catalog-facet-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.catalog-facet-option__box {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 1px solid #aeb9c6;
  border-radius: 5px;
  background: #fff;
  transition:
    border-color .16s ease,
    background .16s ease,
    box-shadow .16s ease;
}

.catalog-facet-option:hover .catalog-facet-option__box {
  border-color: #0f3e6c;
}

.catalog-facet-option input:focus-visible+.catalog-facet-option__box {
  box-shadow: 0 0 0 3px rgba(15, 62, 108, .14);
}

.catalog-facet-option input:checked+.catalog-facet-option__box {
  border-color: #e10b0b;
  background: #e10b0b;
  box-shadow: 0 5px 12px rgba(225, 11, 11, .18);
}

.catalog-facet-option input:checked+.catalog-facet-option__box::after {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
  transform: rotate(45deg);
}

.catalog-facet-option__label {
  min-width: 0;
  padding-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-facet-option.is-selected .catalog-facet-option__label {
  color: #0f172a;
  font-weight: 850;
}

.catalog-facet-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: -3px 0 15px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.catalog-facet-more[hidden] {
  display: none;
}

.catalog-facet-more:hover {
  color: #0f3e6c;
}

.catalog-facet-more b {
  color: #94a3b8;
  font-size: 11px;
}

.catalog-facet-more i {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.catalog-facet-more.is-expanded i {
  transform: rotate(225deg) translate(-1px, -1px);
}

.catalog-filter-price {
  padding: 0 0 17px;
}

.catalog-filter-price input {
  min-height: 44px;
  border-color: #d7dee7;
  border-radius: 10px;
  background: #fdfefe;
}

.catalog-filter-hint,
.catalog-filter-loading,
.catalog-filter-error {
  border-top: 0;
  border-bottom: 1px solid #e8edf3;
}

.catalog-filter-actions {
  padding-top: 18px;
  border-top: 0;
}

.catalog-filter-preview {
  position: fixed;
  z-index: 260;
  width: 224px;
  padding: 18px;
  border: 1px solid #e5eaf0;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 20px 52px rgba(15, 23, 42, .2);
}

.catalog-filter-preview[hidden] {
  display: none;
}

.catalog-filter-preview::before {
  position: absolute;
  top: 50%;
  left: -9px;
  width: 18px;
  height: 18px;
  border-left: 1px solid #e5eaf0;
  border-bottom: 1px solid #e5eaf0;
  background: #fff;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.catalog-filter-preview__text {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
  color: #475569;
  font-size: 12px;
  font-weight: 750;
}

.catalog-filter-preview__text strong {
  color: #0f172a;
  font-size: 19px;
  font-weight: 1000;
}

.catalog-filter-preview.is-loading .catalog-filter-preview__text strong {
  color: #94a3b8;
}

.catalog-filter-preview .btn {
  width: 100%;
  min-height: 43px;
  justify-content: center;
  border-radius: 11px;
}

@media (max-width: 1000px) {
  .catalog-filter-panel {
    overflow-y: auto;
    padding-bottom: 125px;
  }

  .catalog-filter-preview {
    top: auto !important;
    right: 12px;
    bottom: 14px;
    left: 12px !important;
    width: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 12px;
    align-items: center;
    padding: 13px;
    border-radius: 15px;
  }

  .catalog-filter-preview::before {
    display: none;
  }

  .catalog-filter-preview__text {
    display: block;
    margin: 0;
  }

  .catalog-filter-preview__text strong {
    display: block;
    margin-top: 2px;
  }
}

@media (max-width: 640px) {
  .catalog-filter-head {
    padding-top: 15px;
  }

  .catalog-facet>summary {
    min-height: 51px;
    font-size: 14px;
  }

  .catalog-facet-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-facet-option {
    font-size: 13px;
  }

  .catalog-filter-preview {
    grid-template-columns: minmax(0, 1fr) 118px;
  }
}

