/* English and Russian product pages, 10/28: specification table and order-terms cards. */
.spec-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 8vw, 130px);
  align-items: start;
  padding-top: 40px;
  padding-bottom: 130px;
}

.spec-section h2 {
  margin: 14px 0 0;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 3px solid var(--detail-ink);
  background: #fff;
  box-shadow: 8px 9px 0 rgba(16, 24, 39, 0.18);
}

.spec-table th,
.spec-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--detail-line);
  text-align: left;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.5;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 34%;
  color: var(--detail-blue-dark);
  background: var(--detail-paper);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spec-table td {
  font-weight: 700;
}

/* Order-terms cards hold short phrases rather than one fact. */
.product-record .record-card {
  min-height: 230px;
}

.product-record .record-card > b {
  font-size: clamp(34px, 3.6vw, 56px);
}

.product-record .record-card > small {
  font-size: 15px;
  line-height: 1.4;
}

@media (max-width: 920px) {
  .spec-section {
    grid-template-columns: 1fr;
    padding-bottom: 90px;
  }
}

@media (max-width: 680px) {
  .spec-table th,
  .spec-table td {
    display: block;
    width: auto;
    padding: 10px 16px;
  }

  .spec-table th {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .spec-table td {
    font-size: 15px;
  }

  .product-record .record-card {
    min-height: 170px;
  }

  .product-record .record-card > small {
    font-size: 12px;
  }
}

/* 10/28: order-terms table in the first screen, generic material pictures. */
.terms-block {
  margin: 22px 0 12px;
}

.terms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
}

.terms-table th,
.terms-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--detail-line);
  text-align: left;
  vertical-align: top;
}

.terms-table th {
  width: 36%;
  padding-right: 14px;
  color: var(--detail-blue-dark);
  font-weight: 900;
}

.terms-table tr:first-child td {
  font-weight: 800;
}

.pd-qc {
  margin: 28px 0 0;
}

.pd-qc img,
.pd-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.pd-qc figcaption,
.pd-gallery figcaption {
  margin-top: 8px;
  color: #647084;
  font-size: 13px;
  line-height: 1.45;
}

.pd-gallery-section {
  padding-bottom: 110px;
}

.pd-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pd-gallery figure {
  margin: 0;
}

@media (max-width: 920px) {
  .pd-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .terms-table th,
  .terms-table td {
    display: block;
    width: auto;
    padding: 6px 0;
  }

  .terms-table th {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .pd-gallery-section {
    padding-bottom: 70px;
  }
}
