/* Product detail reading layer — deliberately scoped to the generated product
   page so category, article and desktop homepage layouts remain unchanged. */
.product-page__details {
  min-width: 0;
}

.product-content-section {
  padding-top: 2.25rem;
  border-top: 1px solid rgba(6, 44, 81, .16);
}

/* The attribute group already owns its closing rule. Giving the overview a
   second top rule creates a visually doubled divider on every product page. */
.product-page__details > .product-content-section:first-of-type {
  padding-top: 2.25rem;
  border-top: 0;
}

.product-content-section--specifications {
  margin-top: 2.5rem !important;
}

.product-content-section--narrative h3 {
  margin: 0 0 1rem;
}

.product-specs__models {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .8rem;
  margin: 0 0 1rem;
  color: #475569;
  font-size: .875rem;
  line-height: 1.55;
}

.product-specs__models span {
  color: #062c51;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.product-specs__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-specs__table {
  width: 100%;
  min-width: 38rem;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0 .375rem;
  color: #1d2939;
  font-size: 1rem;
  line-height: 1.5;
}

.product-specs__table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-specs__table th,
.product-specs__table td {
  padding: .9rem 1.1rem;
  border: 0;
  text-align: left;
  vertical-align: middle;
}

.product-specs__table thead th {
  background: #062c51;
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-specs__table tbody th[scope="row"] {
  width: 36%;
  color: #062c51;
  font-weight: 700;
}

.product-specs--matrix .product-specs__table {
  min-width: 52rem;
}

.product-specs--matrix .product-specs__table tbody th[scope="row"] {
  width: auto;
  min-width: 12rem;
}

.product-specs__unit {
  width: 5.25rem;
  color: #64748b;
  white-space: nowrap;
}

/* MC-G brochure matrices keep the parameter and unit beside every model as
   readers scroll horizontally, and keep model names visible while scrolling
   down through the long source tables. */
.product-specs--brochure .product-specs__group-heading {
  margin: 2rem 0 .75rem;
  color: #062c51;
  font-size: 1.125rem;
}

.product-specs--brochure .product-specs__table-wrap {
  max-height: 42rem;
  overflow: auto;
  margin-bottom: 2rem;
}

.product-specs--brochure .product-specs__table {
  width: max-content;
  min-width: 100%;
}

.product-specs--brochure .product-specs__table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  white-space: nowrap;
}

.product-specs--brochure .product-specs__table th:first-child {
  width: 13rem;
  min-width: 13rem;
  max-width: 13rem;
}

.product-specs--brochure .product-specs__table th:nth-child(n+3),
.product-specs--brochure .product-specs__table td:nth-child(n+3) {
  min-width: 11rem;
}

.product-specs--brochure .product-specs__table thead th:first-child,
.product-specs--brochure .product-specs__table tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 4;
}

.product-specs--brochure .product-specs__table thead th:nth-child(2),
.product-specs--brochure .product-specs__table tbody .product-specs__unit {
  position: sticky;
  left: 13rem;
  width: 5.25rem;
  min-width: 5.25rem;
  z-index: 4;
}

.product-specs--brochure .product-specs__table thead th:first-child,
.product-specs--brochure .product-specs__table thead th:nth-child(2) {
  z-index: 5;
}

.product-specs--brochure .product-specs__table tbody th[scope="row"],
.product-specs--brochure .product-specs__table tbody .product-specs__unit {
  background: #fff;
  box-shadow: 1px 0 0 #dce4ea;
}

.product-specs--brochure .product-specs__table tbody tr:nth-child(even) th[scope="row"],
.product-specs--brochure .product-specs__table tbody tr:nth-child(even) .product-specs__unit {
  background: #f5f7f9;
}

.product-specs__table tbody tr:nth-child(even):not(.product-specs__section):not(.product-specs__note) {
  background: #f5f7f9;
}

.product-specs__table tbody tr:not(.product-specs__section):not(.product-specs__note) {
  background: #fff;
}

.product-specs__table .product-specs__section th {
  padding-top: .7rem;
  padding-bottom: .7rem;
  background: #e8eef3;
  color: #062c51;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-specs__table .product-specs__note td {
  color: #475569;
  font-size: .9375rem;
  font-style: italic;
}

.product-content-list {
  display: grid;
  gap: .7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-content-list li {
  position: relative;
  padding-left: 1rem;
}

.product-content-list li::before {
  position: absolute;
  top: .68em;
  left: 0;
  width: .32rem;
  height: .32rem;
  border-radius: 50%;
  background: #087eb5;
  content: "";
}

/* Static global search: restrained, scan-friendly cards inside the inherited
   search popout. This remains usable with keyboard zoom and on narrow screens. */
.search-popout__results.show {
  display: block;
}

.search-popout__results__products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  padding-top: 1.25rem;
}

.kazida-search-result {
  min-width: 0;
}

.kazida-search-result__link {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  min-height: 6.25rem;
  height: 100%;
  border: 1px solid rgba(6, 44, 81, .16);
  background: #fff;
  color: #062c51;
  text-decoration: none;
}

.kazida-search-result__link:hover,
.kazida-search-result__link:focus-visible {
  border-color: #087eb5;
  box-shadow: inset .2rem 0 0 #087eb5;
}

.kazida-search-result img {
  width: 100%;
  height: 100%;
  min-height: 6.25rem;
  object-fit: cover;
  background: #eef2f5;
}

.kazida-search-result__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: .22rem;
  padding: .8rem .9rem;
}

.kazida-search-result__body strong {
  font-size: clamp(.9rem, .82rem + .2vw, 1.02rem);
  line-height: 1.3;
}

.kazida-search-result__body > span:last-child {
  display: -webkit-box;
  overflow: hidden;
  color: #64748b;
  font-size: .8125rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kazida-search-result__type {
  color: #087eb5;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (min-width: 1200px) {
  .product-page__details {
    padding-right: 3rem;
  }

  .product-specs__table {
    font-size: 1.0625rem;
  }
}

@media (max-width: 767px) {
  .product-content-section {
    padding-top: 1.75rem;
  }

  .product-content-section--specifications {
    margin-top: 2rem !important;
  }

  .product-specs__table {
    min-width: 31rem;
    font-size: .9375rem;
  }

  .product-specs__table th,
  .product-specs__table td {
    padding: .8rem .9rem;
  }

  .product-specs--brochure .product-specs__table th:first-child {
    width: 9rem;
    min-width: 9rem;
    max-width: 9rem;
  }

  .product-specs--brochure .product-specs__table thead th:nth-child(2) {
    left: auto;
    width: 4rem;
    min-width: 4rem;
  }

  .product-specs--brochure .product-specs__table tbody .product-specs__unit {
    position: static;
    width: 4rem;
    min-width: 4rem;
    box-shadow: none;
  }

  .search-popout__results__products {
    grid-template-columns: 1fr;
  }

  .kazida-search-result__link {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }
}
