/* ══════════════════════════════════════════
   Хлебные крошки
   ══════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 0;
  font-size: var(--fs-small);
}
.bc__link { color: var(--ink) !important; text-decoration: none; transition:color .2s ease; }
.bc__link:hover { color: var(--teal) !important; }
.bc__sep { color: var(--ink); font-size: 16px; line-height: 1; font-weight: 700; opacity: 0.4; }

/* ══════════════════════════════════════════
   Контейнер для блоков карточки товара
   Фиксированная ширина под каждый брейкпойнт,
   всё внутри — 100% контейнера
   ══════════════════════════════════════════ */
.wrap-tabs-item .container,
.page-c .container {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* ≥ 1600px — широкий десктоп */
@media (min-width: 1600px) {
  .wrap-tabs-item .container,
  .page-c .container { max-width: 1480px; }
}
/* 1340px – 1599px */
@media (min-width: 1340px) and (max-width: 1599px) {
  .wrap-tabs-item .container,
  .page-c .container { max-width: 1220px; }
}
/* 992px – 1339px */
@media (min-width: 992px) and (max-width: 1339px) {
  .wrap-tabs-item .container,
  .page-c .container { max-width: 940px; }
}
/* 768px – 991px */
@media (min-width: 768px) and (max-width: 991px) {
  .wrap-tabs-item .container,
  .page-c .container { max-width: 720px; }
}
/* < 768px — мобильный, 100% с отступами */
@media (max-width: 767px) {
  .wrap-tabs-item .container,
  .page-c .container { max-width: 100%; padding-left: 16px; padding-right: 16px; }
}

/* Контент внутри — всегда 100% контейнера */
.tabs-content-wrap {
  width: 100%;
}

/* Переопределяем внутренние ширины из app.min.css —
   все блоки должны занимать 100% контейнера */
.card-desc {
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
}
.dop-grid-wrapper {
  width: 100% !important;
  margin: 0 !important;
}
.product-table-wrap {
  width: 100% !important;
  margin: 0 !important;
}

/* ══════════════════════════════════════════
   Заголовок секции — разделитель с линиями
   ══════════════════════════════════════════ */
.tabs-static--single {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 110px 0 60px;
  padding: 0;
  border: none;
  border-radius: 0;
  position: static;
  list-style: none;
  gap: 0;
}
.tabs-static--single::before,
.tabs-static--single::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--teal);
  display: block;
  position: static;
  border: none;
  border-radius: 0;
  width: auto;
}
.tabs-static--single li,
.tabs-static--single li.active {
  flex-shrink: 0;
  width: auto;
  min-height: auto;
  line-height: 1;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--teal);
  background: transparent;
  cursor: default;
  border-radius: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: static;
  display: block;
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   Таблица характеристик
   ══════════════════════════════════════════ */
/* .specs-wrap / .specs-tbl base rules moved into templates/product.html's
   own <style> block — this old pre-redesign version (centered cells,
   thead th of higher specificity than the new left-aligned key/value
   design, zebra-striped rows) is intentionally removed so there's a
   single source of truth. */

/* ══════════════════════════════════════════
   Подзаголовок внутри блока описания
   ══════════════════════════════════════════ */
.card-desc__subtitle {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
}

/* ══════════════════════════════════════════
   Секции технических блоков (МАРКИРОВКА,
   ТЕХНИЧЕСКИЕ ХАРАКТЕРИСТИКИ, ГАБАРИТЫ …)
   ══════════════════════════════════════════ */
/* .block-section / .block-section__title base rules moved into
   templates/product.html's own <style> block (single source of truth
   for the product page's card system) — this old pre-redesign version
   is intentionally removed to avoid two conflicting definitions. */

/* ══════════════════════════════════════════
   Акустика: горизонтальный скролл на мобильных
   ══════════════════════════════════════════ */
.specs-tbl.acoustic-tbl th,
.specs-tbl.acoustic-tbl td {
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   Аэродинамика: две таблицы рядом
   ══════════════════════════════════════════ */
.aero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.aero-wrap .specs-scroll { margin: 0; }
@media (max-width: 600px) {
  .aero-wrap { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   Медиафайлы модели (чертёж, 3D)
   ══════════════════════════════════════════ */
.card__media-files {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.card__media-files .btn--outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
}

/* ══════════════════════════════════════════
   Принадлежности-текст: сетка карточек
   ══════════════════════════════════════════ */
.acc-text-list {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.acc-text-list li {
  padding: 14px 16px 14px 42px;
  background: var(--teal-light);
  border: 1px solid var(--teal-light);
  border-radius: 8px;
  position: relative;
  font-size: var(--fs-body);
  line-height: 1.45;
  color: var(--ink);
  transition:border-color .2s ease, background .2s ease;
}
.acc-text-list li:hover {
  border-color: var(--teal);
  background: var(--teal-light);
}
.acc-text-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 14px;
  height: 14px;
  background: var(--teal);
  border-radius: 50%;
  opacity: 0.7;
  flex-shrink: 0;
}

/* Мобильные карточки (< 600px) */
@media (max-width: 600px) {
  .acc-text-list { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   Мобильные карточки таблицы характеристик
   ══════════════════════════════════════════ */
@media (max-width: 600px) {
  .specs-scroll { display: none; }
  .specs-cards  { display: block; }

  .specs-card { border: 1px solid var(--gray); border-radius: 8px; margin-bottom: 14px; overflow: hidden; }
  .sc-head { background: rgba(199,235,239,0.35); padding: 10px 14px; display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--teal-light); }
  .sc-name { font-weight: 700; font-size: var(--fs-body); color: var(--ink); }
  .sc-art  { font-family: 'Courier New', monospace; font-size: var(--fs-small); color: var(--teal); margin-left: 8px; }
  .sc-row  { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 14px; border-bottom: 1px solid var(--gray); font-size: var(--fs-small); }
  .sc-row:last-child { border-bottom: none; }
  .sc-row:nth-child(even) { background: var(--teal-light); }
  .sc-param { color: var(--gray-text); flex: 1; padding-right: 12px; }
  .sc-val   { font-weight: 600; color: var(--ink); white-space: nowrap; }
}
