.product-breadcrumbs {
  background: var(--ice);
  font-size: 14px;
  color: var(--muted);
  padding: 14px 0;
}
.product-breadcrumbs a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.product-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 42px;
  align-items: start;
}
.gallery-main {
  position: relative;
  aspect-ratio: 4/3;
  background: #dfe7ef;
  overflow: hidden;
  border-radius: 3px;
}
.gallery-image {
  position: absolute;
  inset: 0;
  background: #dfe7ef;
}
.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-main > button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #fffffff0;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 28px;
  color: var(--blue);
  line-height: 1;
}
.gallery-main > button:first-child {
  left: 14px;
}
.gallery-main > button:last-child {
  right: 14px;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.gallery-thumbs button {
  padding: 2px;
  background: white;
  border: 2px solid transparent;
  border-radius: 3px;
}
.gallery-thumbs button[aria-pressed='true'] {
  border-color: var(--blue);
}
.gallery-thumbs span {
  display: block;
  aspect-ratio: 4/3;
  background: #dfe7ef;
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-count {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 0;
}
.preview-label {
  display: inline-block;
  font-size: 12px;
  background: #eaf0fc;
  color: var(--blue);
  padding: 4px 8px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.product-summary h1 {
  font-size: 32px;
  line-height: 1.16;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.product-intro-copy {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 22px;
}
.summary-specs {
  margin: 0;
}
.summary-specs > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.summary-specs > div:last-child {
  border-bottom: 1px solid var(--line);
}
.summary-specs dt {
  color: var(--muted);
}
.summary-specs dd {
  margin: 0;
}
.product-shape-tags {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  margin: 20px 0;
}
.pending-tag {
  padding: 5px 10px;
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
}
.product-inquiry {
  width: 100%;
  min-height: 46px;
}
.inquiry-helper {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 0;
}
.product-description h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.product-rich-content {
  display: grid;
  gap: 26px;
  line-height: 1.6;
}
.product-rich-content h3 {
  font-size: 22px;
  margin: 0 0 12px;
}
.product-rich-content p {
  margin: 0;
  max-width: 950px;
}
.product-rich-content figure {
  margin: 0;
}
.product-rich-content figcaption {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.detail-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.detail-media {
  aspect-ratio: 16/7;
  background: #dfe7ef;
  border-radius: 3px;
  overflow: hidden;
}
.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  margin-top: 12px;
}
.product-rich-content table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  min-width: 420px;
}
.product-rich-content th,
.product-rich-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.product-rich-content th {
  background: var(--ice);
}
.product-rich-content tr:last-child td {
  border-bottom: 0;
}
.catalog-page > .product-description {
  padding-top: 12px;
}
.similar-products .heading {
  gap: 20px;
}
@media (max-width: 800px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .product-summary h1 {
    font-size: 28px;
    overflow-wrap: anywhere;
  }
  .detail-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .summary-specs > div {
    grid-template-columns: 120px 1fr;
  }
  .gallery-thumbs {
    gap: 8px;
  }
  .product-rich-content h3 {
    font-size: 20px;
  }
  .product-breadcrumbs {
    font-size: 12px;
  }
  .similar-products .heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
