:root {
  --rsolu-text: #162033;
  --rsolu-muted: #64748b;
  --rsolu-line: #e2e8f0;
  --rsolu-soft: #f8fafc;
  --rsolu-brand: #0f766e;
  --rsolu-brand-dark: #115e59;
  --rsolu-white: #ffffff;
  --rsolu-shadow: 0 22px 55px rgba(15, 23, 42, 0.10);
  --rsolu-radius: 24px;
}

.catalog-stage17 {
  color: var(--rsolu-text);
}

.catalog-hero {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 18%, rgba(15, 118, 110, 0.17), transparent 32%),
    linear-gradient(135deg, #f8fafc 0%, #e8f3f1 52%, #ffffff 100%);
  border: 1px solid rgba(15, 118, 110, 0.12);
  padding: clamp(28px, 5vw, 58px);
  margin-bottom: 34px;
}

.catalog-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--rsolu-brand-dark);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 13px;
}

.catalog-hero__eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 99px;
  background: var(--rsolu-brand);
}

.catalog-hero h1 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.catalog-hero p {
  max-width: 760px;
  margin: 0;
  color: #475569;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 19px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.catalog-btn:hover {
  transform: translateY(-1px);
}

.catalog-btn--primary {
  color: #fff;
  background: var(--rsolu-brand);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.22);
}

.catalog-btn--primary:hover {
  background: var(--rsolu-brand-dark);
}

.catalog-btn--ghost {
  color: var(--rsolu-brand-dark);
  background: rgba(255, 255, 255, .78);
  border-color: rgba(15, 118, 110, .18);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 30px 0 46px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--rsolu-radius);
  border: 1px solid var(--rsolu-line);
  background: var(--rsolu-white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rsolu-shadow);
  border-color: rgba(15, 118, 110, .30);
}

.product-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  max-width: calc(100% - 28px);
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(10px);
  color: var(--rsolu-brand-dark);
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(15,118,110,.12);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.product-card__model {
  color: var(--rsolu-brand);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.product-card h2,
.product-card h3 {
  margin: 0 0 11px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.product-card h2 a,
.product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.product-card h2 a:hover,
.product-card h3 a:hover {
  color: var(--rsolu-brand-dark);
}

.product-card__text {
  margin: 0 0 18px;
  color: var(--rsolu-muted);
  line-height: 1.55;
  font-size: 15px;
}

.product-card__specs {
  display: grid;
  gap: 9px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.product-card__specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 14px;
}

.product-card__specs span:first-child {
  color: var(--rsolu-muted);
}

.product-card__specs span:last-child {
  text-align: right;
  font-weight: 750;
  color: var(--rsolu-text);
}

.product-card__footer {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-card__footer .catalog-btn {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 14px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, .78fr);
  gap: 34px;
  align-items: start;
}

.product-detail__media {
  position: sticky;
  top: 18px;
  border-radius: 30px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid var(--rsolu-line);
  box-shadow: var(--rsolu-shadow);
}

.product-detail__media img {
  width: 100%;
  display: block;
  object-fit: cover;
}

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

.product-detail__category {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--rsolu-brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.product-detail h1 {
  margin: 0 0 15px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.product-detail__lead {
  color: #475569;
  font-size: 20px;
  line-height: 1.55;
  margin: 0 0 24px;
}

.product-detail__section {
  margin-top: 30px;
  padding: 25px;
  border-radius: 24px;
  border: 1px solid var(--rsolu-line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .045);
}

.product-detail__section h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.product-detail__section p {
  color: #475569;
  line-height: 1.65;
}

.spec-groups {
  display: grid;
  gap: 18px;
}

.spec-group {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.spec-group h3 {
  margin: 0;
  padding: 14px 17px;
  background: #f8fafc;
  font-size: 16px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 13px 17px;
  border-top: 1px solid #edf2f7;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 42%;
  color: var(--rsolu-muted);
  font-weight: 650;
}

.spec-table td {
  color: var(--rsolu-text);
  font-weight: 750;
}

.catalog-empty {
  padding: 30px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #64748b;
}

@media (max-width: 1080px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .product-detail__media {
    position: relative;
    top: auto;
  }
}

@media (max-width: 680px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-hero {
    border-radius: 22px;
  }

  .product-card__body {
    padding: 18px;
  }

  .product-detail__section {
    padding: 18px;
  }

  .spec-table th,
  .spec-table td {
    display: block;
    width: auto;
  }

  .spec-table td {
    padding-top: 0;
  }
}

/* Stage 17 fix: protects catalog pages from fixed header overlap */
.catalog-stage17 {
  padding-top: 24px;
}

.catalog-category {
  margin-bottom: 42px;
}

.catalog-category > h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.catalog-category > p {
  max-width: 920px;
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.6;
}

/* Stage 24.3 — unified commercial product detail blocks */
.commercial-extra-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.commercial-extra-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.commercial-extra-card h2 {
    margin: 0 0 16px;
    font-size: 26px;
    line-height: 1.2;
    color: #0f172a;
}

.commercial-extra-text {
    color: #334155;
    font-size: 18px;
    line-height: 1.65;
}

.commercial-extra-text p {
    margin: 0 0 10px;
}

.commercial-extra-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .commercial-extra-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 24px 0;
    }

    .commercial-extra-card {
        padding: 22px;
        border-radius: 20px;
    }

    .commercial-extra-card h2 {
        font-size: 22px;
    }

    .commercial-extra-text {
        font-size: 16px;
    }
}

/* Stage 25.1 — product visual placeholder and hero polish */
.commercial-placeholder-image,
.commercial-media-placeholder img,
.commercial-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.commercial-media-placeholder,
.commercial-card-media {
    background:
        radial-gradient(circle at 50% 38%, rgba(15, 118, 110, 0.08), transparent 42%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.commercial-media-placeholder {
    min-height: 360px;
    border-radius: 28px;
    overflow: hidden;
}

.commercial-media-placeholder--rotor {
    padding: 18px;
}

.commercial-media-placeholder--rotor img {
    border-radius: 22px;
}

.commercial-card-media {
    min-height: 220px;
}

.commercial-card-media .commercial-placeholder-image {
    padding: 18px;
    box-sizing: border-box;
}

.commercial-detail-hero,
.product-detail-hero,
.product-hero {
    align-items: stretch;
}

.commercial-description {
    max-width: 1120px;
}

.commercial-description p {
    margin-bottom: 18px;
}

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

@media (max-width: 900px) {
    .commercial-media-placeholder {
        min-height: 260px;
    }

    .commercial-card-media {
        min-height: 180px;
    }
}
