.live-category-nav h2 {
  font-size: 20px
}

.live-category-nav>a {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6
}

.live-category-nav a[aria-current=page] {
  color: #a13d00;
  font-weight: 700
}

.live-category-nav span {
  font-size: 11px;
  color: var(--muted)
}

.live-category-nav p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 25px
}

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

.live-card {
  padding: 15px;
  background: white;
  border: 1px solid #e8e8eb;
  border-radius: 4px;
  display: flex;
  flex-direction: column
}

.live-card img {
  width: 100%;
  height: 170px;
  object-fit: contain
}

.live-card small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin: 15px 0 10px
}

.live-card h2 {
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
  font-weight: 600;
  margin: 0 0 12px;
  overflow-wrap: anywhere
}

.live-mpn {
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
  line-height: 1.7;
  margin: 10px 0
}

.request-price {
  display: block;
  color: #a13d00;
  font-size: 17px;
  margin-top: auto;
  padding-top: 15px
}

.request-price.large {
  font-size: 27px;
  padding: 20px 0
}

.live-compare {
  display: block;
  font-size: 11px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 20px
}

.live-compare input {
  display: inline-block;
  width: auto;
  margin: 0 5px 0 0;
  accent-color: #d65300
}

.live-search>label {
  font-size: 12px
}

.live-search>div {
  display: flex;
  gap: 8px;
  margin: 10px 0
}

.live-search input {
  margin: 0;
  background: #fff
}

.live-search button {
  padding: 10px 20px;
  background: #18191d;
  color: #fff;
  border: 0;
  white-space: nowrap
}

.live-collection #catalog-status {
  font-size: 12px;
  color: var(--muted);
  margin: 25px 0
}

.live-pagination {
  flex-wrap: wrap;
  gap: 8px
}

.live-pagination a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: #fff
}

.live-pagination a[aria-current=page] {
  background: #17181b;
  color: white
}

.live-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  scroll-margin-top: 160px
}

.live-product h1 {
  font-size: 35px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 600
}

.live-product p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted)
}

.live-product-photo {
  display: grid;
  align-items: start
}

.live-product-photo img {
  width: 100%;
  height: auto;
  object-fit: contain
}

.live-specs>div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5
}

.live-specs dd {
  margin: 0
}

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

.live-documents a {
  padding: 20px;
  background: #f3f3f5;
  font-size: 13px
}

.popular-slots img {
  display: block;
  width: 100%;
  height: 65px;
  object-fit: contain
}

.popular-slots span {
  line-height: 1.4;
  display: block;
  overflow-wrap: anywhere
}

.popular-slots {
  grid-template-columns: repeat(4, 1fr)
}

#searchResults small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  padding-top: 5px
}

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

@media(max-width:720px) {
  .live-collection {
    display: block
  }

  .live-category-nav {
    margin-bottom: 30px
  }

  .live-category-nav h2 {
    font-size: 22px
  }

  .live-category-nav>a {
    padding: 12px 0
  }

  .live-category-nav p {
    margin-top: 14px
  }

  .live-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .live-card {
    padding: 10px
  }

  .live-card img {
    height: 120px
  }

  .live-card h2 {
    font-size: 13px
  }

  .live-card small {
    font-size: 9px
  }

  .live-mpn {
    font-size: 10px
  }

  .request-price {
    font-size: 14px
  }

  .live-search button {
    padding: 10px
  }

  .live-product {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 30px
  }

  .live-product h1 {
    font-size: 29px
  }

  .live-product-photo img {
    max-height: 300px
  }

  .live-documents {
    grid-template-columns: 1fr 1fr
  }

  .live-specs>div {
    font-size: 12px;
    gap: 15px
  }

  .live-product .breadcrumb {
    font-size: 11px
  }
}

.photo-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px
}

.photo-thumbnails button {
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px
}

.photo-thumbnails img {
  width: 70px;
  height: 70px;
  object-fit: contain
}

.live-product-photo>img {
  max-height: 510px;
  background: white
}

.pagination {
  position: static;
  inset: auto;
  flex-direction: row;
  align-items: center;
  background: transparent;
  padding: 0
}

@media(max-width:720px) {
  .live-pagination {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
    gap: 8px;
    margin: 30px 0
  }

  .live-pagination a {
    display: block
  }
}

.live-filters{min-width:0}.live-filters>h2{font-size:24px}.live-filters>a{display:block;margin-bottom:22px;color:#a13d00;font-size:13px}.live-filters details{border-top:1px solid #ddd;padding:15px 0}.live-filters summary{cursor:pointer;font-size:14px;font-weight:600}.filter-options{display:grid;gap:10px;margin-top:14px;max-height:245px;overflow:auto}.filter-options label{display:flex;align-items:flex-start;gap:9px;font-size:13px;cursor:pointer}.filter-options input{accent-color:#e65c00;flex-shrink:0}.filter-options small{margin-left:auto;color:#777}.live-filters button{padding:10px 14px;border:1px solid #ccc;background:white;cursor:pointer}.filter-options span{overflow-wrap:anywhere}

/* Compact parameter panel, independent of the product grid height. */
.live-collection{grid-template-columns:260px minmax(0,1fr);align-items:start;gap:28px}
.live-collection>div{min-width:0}
.live-filters{padding:18px;background:#fff;border:1px solid #e3e3e6;border-radius:6px;align-self:start}
.live-filters>h2{font-size:20px;margin:0 0 10px}
.live-filters details{padding:11px 0}
.live-filters summary{font-size:13px;line-height:1.4}
.live-filters .filter-options{gap:7px;margin-top:10px;max-height:160px}
.live-filters .filter-options label{font-size:12px;line-height:1.45}
.live-filters [data-reset-filters]{width:100%;margin-top:12px;font-size:12px}
@media(max-width:720px){.live-collection{grid-template-columns:1fr}.live-filters{width:100%}}

.filter-range{display:grid;grid-template-columns:1fr 1fr;gap:8px}.filter-range label{display:grid!important;gap:4px!important}.filter-range input{width:100%;min-width:0;padding:8px;border:1px solid #ccc;border-radius:3px;font:inherit}.live-filters button[type=submit]{width:100%;margin-top:12px;background:#222328;color:white;border:0}

#main[aria-busy=true]::before{content:"Загружаем каталог…";position:fixed;top:102px;left:50%;transform:translateX(-50%);z-index:18;background:#222328;color:white;padding:10px 20px;border-radius:5px;box-shadow:0 3px 12px #0002;font-size:14px;pointer-events:none}
@media(max-width:720px){#main[aria-busy=true]::before{top:84px}}

/* Checkboxes must not inherit the full-width text-input layout. */
.live-filters .filter-options > label{display:grid;grid-template-columns:15px minmax(0,1fr) auto;align-items:start;gap:8px;min-height:20px;margin:0;padding:0}
.live-filters input[type=checkbox]{display:block;width:15px;height:15px;min-width:15px;max-width:15px;flex:0 0 15px;margin:2px 0 0;padding:0;border-radius:2px;accent-color:#e65c00}
.live-filters .filter-options > label > span{min-width:0;overflow-wrap:normal;word-break:normal;line-height:1.5}
.live-filters .filter-options > label > small{margin:0;line-height:1.5;white-space:nowrap}
.live-filters .filter-options{grid-auto-rows:min-content;align-content:start;overflow-x:hidden}
.live-filters .filter-range input{margin:0;height:36px;padding:7px 8px}

.live-filters label.attribute-choice{display:grid;grid-template-columns:15px minmax(0,1fr) auto;gap:8px;align-items:start;min-height:20px;height:auto;margin:0;padding:0}
.live-filters label.attribute-choice span{display:block;width:auto;min-width:0;height:auto;white-space:normal;overflow-wrap:break-word}

.live-filters .range-bound {min-width:0}
.live-filters .range-bound label {display:block;font-size:12px}
.live-filters .range-number {position:relative;display:flex;align-items:stretch;margin-top:6px}
.live-filters .range-number input {width:100%;min-width:0;margin:0;padding:9px 28px 9px 8px;height:38px;font-size:13px;appearance:textfield;-moz-appearance:textfield}
.live-filters .range-number input::-webkit-inner-spin-button,.live-filters .range-number input::-webkit-outer-spin-button {appearance:none;margin:0}
.live-filters .range-steppers {position:absolute;right:1px;top:1px;bottom:1px;width:24px;display:grid;grid-template-rows:1fr 1fr}
.live-filters .range-steppers button {padding:0;margin:0;width:24px;height:auto;min-height:0;background:#f4f4f6;color:#191a1c;border:0;border-left:1px solid #ddd;line-height:16px;font-size:13px;cursor:pointer}
.live-filters .range-steppers button+button {border-top:1px solid #ddd}
.live-filters select[data-range-choice] {display:block;width:100%;min-width:0;height:32px;margin:6px 0 0;padding:4px;font:inherit;font-size:11px;background:#fff;color:#191a1c;border:1px solid #ddd;border-radius:3px}
.live-filters .filter-coverage {margin:8px 0 0;color:#737378;font-size:11px;line-height:1.5}
.live-filters .filter-error {font-size:12px;color:#a13d00;line-height:1.5}
.live-filters .filter-error[hidden] {display:none}

.live-filters select[data-range-name] {display:block;width:100%;min-width:0;height:38px;margin:6px 0 0;padding:7px;font:inherit;font-size:13px;background:#fff;color:#191a1c;border:1px solid #ddd;border-radius:3px}

/* Keep keyboard focus inside the clipped filter panel. */
.live-filters select[data-range-name]:focus-visible {outline:2px solid var(--orange, #ff6500);outline-offset:-3px}
