  /* ═══ Токены — нужны каталог.css (var(--ac) и т.д.). Если на сайте уже есть свои
   --ac/--dk/... с другими значениями, эту секцию не добавлять, чтобы не перезаписать. ═══ */
  :root {
    --ac: #FF4C00;
    --dk: #263C58;
    --dkk: #1A2B3F;
    --bg: #EBEBEB;
    --wh: #FFFFFF;
    --tx: #5F5F5F;
    --txd: #3E3E3E;
    --mu: #6B7A8D;
    --di: #A8B4C2;
    --bd: #D0D8E4;
    --r-pill: 100px;
    --r20: 20px;
    --r14: 14px;
    --r08: 8px;
  }

  /* ═══ Контейнер-обёртка, используется во всех cat-* блоках вместо Тильдиного .t-container ═══ */
  .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px
  }

  @container (max-width:900px) {
    .wrap {
      padding: 0 32px
    }
  }

  @container (max-width:540px) {
    .wrap {
      padding: 0 16px
    }
  }

  /* ═══════════ CATALOG HERO (dark band) ═══════════ */
  .cat-hero {
    position: relative;
    overflow: hidden;
    background: var(--dk)
  }

  .cat-hero-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(26, 43, 63, .96) 45%, rgba(38, 60, 88, .72) 100%)
  }

  .cat-hero-in {
    position: relative;
    z-index: 1;
    padding: 34px 0 40px
  }

  .cat-bc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px
  }

  .cat-bc a,
  .cat-bc span.cur {
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: .02em;
    line-height: 1.5
  }

  .cat-bc a {
    color: rgba(255, 255, 255, .42);
    transition: color .15s
  }

  .cat-bc a:hover {
    color: var(--ac)
  }

  .cat-bc .sep {
    color: rgba(255, 255, 255, .22);
    font-size: 12px
  }

  .cat-bc span.cur {
    color: rgba(255, 255, 255, .7)
  }

  .cat-h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 3.8cqw, 44px);
    color: var(--wh);
    line-height: 1.1;
    max-width: 20ch;
    margin: 0
  }

  .cat-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 700 12px 'Open Sans', sans-serif;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color .15s
  }

  .cat-back:hover {
    color: var(--ac)
  }

  .cat-back svg {
    transition: transform .18s
  }

  .cat-back:hover svg {
    transform: translateX(-3px)
  }

  /* ═══════════ MAIN TWO-COLUMN ZONE ═══════════ */
  .cat-body {
    background: var(--bg);
    padding: 44px 0 0
  }

  .cat-two {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 44px;
    align-items: start
  }

  .cat-gallery {
    position: sticky;
    top: 16px
  }

  .cat-gallery-main {
    background: var(--wh);
    border-radius: var(--r20);
    aspect-ratio: 4/3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px
  }

  .cat-gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
  }

  .cat-photo-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--di)
  }

  .cat-photo-ph svg {
    opacity: .6
  }

  .cat-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin
  }

  .cat-gallery-thumbs::-webkit-scrollbar {
    height: 6px
  }

  .cat-gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--bd);
    border-radius: 100px
  }

  .cat-thumb {
    flex: 0 0 78px;
    width: 78px;
    height: 66px;
    background: var(--wh);
    border-radius: var(--r08);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: border-color .15s
  }

  .cat-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
  }

  .cat-thumb.active {
    border-color: var(--ac)
  }

  .cat-thumb-more {
    flex: 0 0 78px;
    width: 78px;
    height: 66px;
    border-radius: var(--r08);
    border: 2px dashed var(--bd);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 12px 'Open Sans', sans-serif;
    color: var(--mu);
    background: rgba(255, 255, 255, .5)
  }

  .cat-info-h {
    font: 700 22px/1.25 'Open Sans', sans-serif;
    color: var(--txd);
    margin-bottom: 16px
  }

  .cat-desc {
    font-size: 14px;
    color: var(--tx);
    line-height: 1.7
  }

  .cat-desc p {
    margin-bottom: 12px
  }

  .cat-desc p:last-child {
    margin-bottom: 0
  }

  .cat-variants {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px
  }

  .cat-var-lbl {
    font: 700 11px 'Open Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--mu);
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 8px
  }

  .cat-var-lbl .cat-var-note {
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--di);
    font-size: 10px
  }

  .cat-var-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
  }

  .cat-var-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 9px 15px;
    border-radius: var(--r08);
    border: 1.5px solid var(--bd);
    background: var(--wh);
    font: 700 14px 'Open Sans', sans-serif;
    color: var(--txd);
    text-decoration: none;
    transition: .15s;
    cursor: pointer
  }

  .cat-var-chip:hover {
    border-color: var(--ac);
    color: var(--ac)
  }

  .cat-var-chip.active {
    background: var(--dk);
    border-color: var(--dk);
    color: var(--wh)
  }

  .cat-var-chip.active:hover {
    color: var(--wh)
  }

  .cat-var-ispol {
    display: flex;
    gap: 8px
  }

  .cat-var-ispol .cat-var-chip {
    flex-direction: column;
    align-items: flex-start;
    min-width: 130px;
    gap: 2px;
    padding: 11px 16px
  }

  .cat-var-ispol .cat-var-chip small {
    font: 600 11px 'Open Sans', sans-serif;
    opacity: .6
  }

  .cat-buy {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--bd)
  }

  .cat-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px
  }

  .cat-price-val {
    font: 700 22px 'Open Sans', sans-serif;
    color: var(--ac);
    text-decoration: none;
    cursor: pointer;
    transition: opacity .15s
  }

  .cat-price-val:hover {
    opacity: .75;
    text-decoration: underline
  }

  .cat-price-note {
    font-size: 12px;
    color: var(--mu);
    margin-bottom: 18px;
    line-height: 1.5
  }

  .cat-anchors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0
  }

  .cat-anchors a {
    font: 600 12px 'Open Sans', sans-serif;
    color: var(--dk);
    text-decoration: none;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    background: rgba(38, 60, 88, .07);
    transition: .15s
  }

  .cat-anchors a:hover {
    background: var(--ac);
    color: var(--wh)
  }

  /* Кнопка заявки — независимый класс, не пересекается с Тильдиными кнопками */
  .cat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ac);
    color: var(--wh);
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: var(--r-pill);
    padding: 11px 28px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .15s
  }

  .cat-btn:hover {
    opacity: .88;
    color: var(--wh)
  }

  .cat-btn--wide {
    width: 100%;
    padding: 14px;
    font-size: 15px
  }

  /* ═══════════ STICKY ANCHOR NAV (sections) ═══════════ */
  .cat-anchornav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    border-bottom: 1px solid var(--bd);
    margin-top: 44px
  }

  .cat-anchornav-in {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none
  }

  .cat-anchornav-in::-webkit-scrollbar {
    display: none
  }

  .cat-anchornav a {
    font: 700 13px 'Open Sans', sans-serif;
    color: var(--mu);
    text-decoration: none;
    padding: 16px 18px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color .15s
  }

  .cat-anchornav a:hover {
    color: var(--txd)
  }

  .cat-anchornav a.active {
    color: var(--ac);
    border-bottom-color: var(--ac)
  }

  /* ═══════════ CHARACTERISTIC SECTIONS ═══════════ */
  .cat-sections {
    background: var(--bg);
    padding: 16px 0 64px;
    counter-reset: catsec
  }

  .cat-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--bd);
    counter-increment: catsec
  }

  .cat-section:last-child {
    border-bottom: none
  }

  .cat-section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px
  }

  .cat-section-num {
    font: 400 26px/1 'Vysota', sans-serif;
    color: var(--ac);
    flex-shrink: 0
  }

  .cat-section .cat-section-num::before {
    content: counter(catsec, decimal-leading-zero)
  }

  .cat-section-title {
    font: 700 clamp(19px, 2cqw, 24px)/1.2 'Open Sans', sans-serif;
    color: var(--txd);
    margin: 0
  }

  .cat-section-sub {
    font-size: 13px;
    color: var(--mu);
    line-height: 1.6;
    margin-top: 14px;
    max-width: 80ch
  }

  .cat-table-wrap {
    overflow-x: auto;
    border-radius: var(--r14);
    border: 1px solid var(--bd);
    background: var(--wh);
    -webkit-overflow-scrolling: touch
  }

  table.cat-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 640px;
    font-size: 13px
  }

  table.cat-table caption {
    caption-side: top;
    text-align: left;
    font: 700 13px 'Open Sans', sans-serif;
    color: var(--txd);
    padding: 14px 16px 0
  }

  table.cat-table thead th {
    background: var(--dk);
    color: var(--wh);
    font: 700 12px 'Open Sans', sans-serif;
    padding: 10px 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .12);
    white-space: nowrap
  }

  table.cat-table thead tr.grp th {
    background: var(--dkk);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 11px
  }

  table.cat-table tbody td {
    padding: 9px 12px;
    text-align: center;
    border: 1px solid var(--bd);
    color: var(--txd);
    white-space: nowrap
  }

  table.cat-table tbody tr:nth-child(even) td {
    background: #f5f6f8
  }

  table.cat-table tbody td:first-child {
    text-align: left;
    font-weight: 600
  }

  .cat-aero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
  }

  .cat-graph {
    background: var(--wh);
    border-radius: var(--r14);
    border: 1px solid var(--bd);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px
  }

  .cat-graph-img {
    aspect-ratio: 16/11;
    border-radius: var(--r08);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f6f8
  }

  .cat-graph-img img {
    width: 100%;
    height: 100%;
    object-fit: contain
  }

  .cat-graph-cap {
    font: 600 12px 'Open Sans', sans-serif;
    color: var(--mu);
    text-align: center
  }

  .cat-draw-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 24px
  }

  .cat-draw {
    background: var(--wh);
    border-radius: var(--r14);
    border: 1px solid var(--bd);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px
  }

  .cat-draw-img {
    aspect-ratio: 1/1;
    border-radius: var(--r08);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f6f8
  }

  .cat-draw-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
  }

  .cat-draw-cap {
    font: 600 12px 'Open Sans', sans-serif;
    color: var(--mu);
    text-align: center
  }

  .cat-corpus {
    margin-top: 24px
  }

  .cat-corpus-ttl {
    font: 700 15px 'Open Sans', sans-serif;
    color: var(--txd);
    margin-bottom: 16px
  }

  .cat-corpus-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px
  }

  .cat-pos {
    background: var(--wh);
    border-radius: var(--r08);
    border: 1px solid var(--bd);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center
  }

  .cat-pos-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f5f6f8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
  }

  .cat-pos-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
  }

  .cat-pos-cap {
    font: 600 11px 'Open Sans', sans-serif;
    color: var(--mu);
    text-align: center
  }

  .ph-img {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 80px;
    background: repeating-linear-gradient(45deg, #eef1f5, #eef1f5 10px, #e4e8ee 10px, #e4e8ee 20px);
    display: flex;
    align-items: center;
    justify-content: center
  }

  .ph-img span {
    font: 600 11px ui-monospace, Menlo, monospace;
    color: var(--mu);
    background: rgba(255, 255, 255, .75);
    padding: 3px 8px;
    border-radius: 4px;
    text-align: center;
    max-width: 90%
  }

  /* ═══════════ SERIES HUB (Тип B) ═══════════ */
  .cat-series-desc {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px
  }

  .cat-series-desc li {
    font-size: 14px;
    color: var(--tx);
    padding-left: 18px;
    position: relative;
    line-height: 1.55
  }

  .cat-series-desc li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    background: var(--ac);
    border-radius: 50%
  }

  .cat-series-desc .grp {
    font: 700 13px 'Open Sans', sans-serif;
    color: var(--txd);
    text-transform: uppercase;
    letter-spacing: .05em;
    padding-left: 0;
    margin-top: 12px
  }

  .cat-series-desc .grp::before {
    display: none
  }

  .cat-sizes {
    background: var(--bg);
    padding: 8px 0 72px
  }

  .cat-sizes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px
  }

  .cat-size-card {
    background: var(--wh);
    border-radius: var(--r14);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
    border: 1px solid var(--bd)
  }

  .cat-size-card:hover {
    box-shadow: 0 12px 34px rgba(0, 0, 0, .1);
    transform: translateY(-3px)
  }

  .cat-size-img {
    aspect-ratio: 4/3;
    background: #f5f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden
  }

  .cat-size-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
  }

  .cat-size-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1
  }

  .cat-size-name {
    font: 700 15px/1.3 'Open Sans', sans-serif;
    color: var(--txd)
  }

  .cat-size-price {
    font: 600 13px 'Open Sans', sans-serif;
    color: var(--mu);
    margin-top: auto
  }

  .cat-size-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 700 13px 'Open Sans', sans-serif;
    color: var(--ac);
    margin-top: 10px
  }

  .cat-size-link svg {
    transition: transform .18s
  }

  .cat-size-card:hover .cat-size-link svg {
    transform: translateX(4px)
  }

  /* ═══════════ RESPONSIVE ═══════════ */
  @container (max-width:900px) {
    .cat-two {
      grid-template-columns: 1fr;
      gap: 28px
    }

    .cat-gallery {
      position: static
    }

    .cat-anchornav,
    .cat-gallery {
      top: auto
    }

    .cat-corpus-grid {
      grid-template-columns: repeat(3, 1fr)
    }

    .cat-sizes-grid {
      grid-template-columns: 1fr 1fr
    }

    .cat-aero-grid {
      grid-template-columns: 1fr
    }
  }

  @container (max-width:540px) {
    .cat-hero-in {
      padding: 24px 0 30px
    }

    .cat-bc {
      gap: 5px
    }

    .cat-corpus-grid {
      grid-template-columns: 1fr 1fr
    }

    .cat-sizes-grid {
      grid-template-columns: 1fr
    }

    .cat-anchornav {
      top: 0
    }
  }
