/* ═══════════════════════════════════════════════════════════
   CATALOG PAGE — Каталог решений
═══════════════════════════════════════════════════════════ */

/* ── Products overview (hero + thumbnails) ────────────── */
.products-hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.products-hero__banner {
  width: 100%;
  overflow: hidden;
}

.products-hero__banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Three device thumbnails row */
.products-overview {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  align-items: flex-start;
  padding: 16px 0;
}

.products-overview__group {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex: 1 1 0;
}

.products-overview__single {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* Device thumbnail card */
.device-thumb {
  width: 161px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  position: relative;
}

.device-thumb__logo {
  width: 89px;
  height: 42px;
  flex-shrink: 0;
}

.device-thumb__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.device-thumb__deco {
  position: absolute;
}

.device-thumb__deco img {
  width: 100%;
  height: 100%;
}

.device-thumb__label {
  font-style: italic;
  font-size: 12px;
  font-weight: 300;
  color: var(--color-dark);
  text-align: center;
  width: 100%;
}

/* ── Product section (repeated per device) ────────────── */
.catalog-product > .btn {
  align-self: flex-start;
}

.catalog-product {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Header: title + arrow + device logo */
.catalog-product__header {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}

.catalog-product__title-block {
  font-weight: 700;
  color: var(--color-red);
  flex-shrink: 0;
}

.catalog-product__title {
  font-size: 14px;
  line-height: 1.21;
}

.catalog-product__code {
  font-size: 10px;
  line-height: 1.21;
}

.catalog-product__arrow {
  flex: 1 1 0;
  height: 5px;
  display: flex;
  align-items: center;
}

.catalog-product__arrow img {
  width: 100%;
  height: 5px;
  object-fit: fill;
}

.catalog-product__device-logo {
  width: 89px;
  height: 42px;
  flex-shrink: 0;
}

.catalog-product__device-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Body: specs list + photo */
.catalog-product__body {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start; 
}

.catalog-product__specs {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #000;
  flex: 1 1 0;
  list-style-type: disc;
  padding-left: 20px;
}

.catalog-product__specs li {
  margin-bottom: 2px;
}

.catalog-product__specs li::marker {
  font-size: 14px;
}

.catalog-product__photo {
  width: 50%;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: flex-start;
  overflow: hidden;
  margin-right: calc(-1 * var(--site-h-padding));
}

.catalog-product__photo img {
  width: auto;
  max-width: none;
  height: auto;
  display: block;
}

/* ФДШИ code + strip image */
.catalog-product__fdshi {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-red);
  margin-top: 8px;
}

.catalog-product__strip {
  width: 100%;
  margin-top: 8px;
}

.catalog-product__strip img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Catalog divider override ─────────────────────────── */
.catalog-product+.divider {
  margin: 16px 0;
}

/* ═══════════════════════════════════════════════════════════
   CATALOG RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .products-hero {
    display: none;
  }
}

@media (max-width: 768px) {
  .catalog-product__body {
    flex-direction: column;
  }

  .catalog-product__photo {
    width: 100%;
    justify-content: center;
    overflow: hidden;
  }

  .catalog-product__device-logo {
    display: none;
  }

  .catalog-product__title-block {
    width: 100%;
    flex: 1 1 auto;
  }

  .products-overview {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .products-overview__group {
    flex-direction: row;
    gap: 16px;
  }

  .device-thumb {
    width: auto;
    min-width: 120px;
  }

  .catalog-product__header {
    flex-wrap: wrap;
  }

  .catalog-product__arrow {
    display: none;
  }
}

@media (max-width: 480px) {

  .products-overview__group {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .catalog-product__device-logo {
    width: 60px;
    height: 28px;
  }
}