.hsp-product-detail {
  margin: 18px 0 24px;
}

.hsp-product-top {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}

.hsp-product-photo,
.hsp-product-panel {
  padding: 20px;
  border: 1px solid #e4ded2;
  border-radius: 12px;
  background: #fffdfa;
}

.hsp-product-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 390px;
  object-fit: contain;
}

.hsp-product-overview {
  min-width: 0;
  padding-block: 8px;
  overflow-wrap: anywhere;
}

.hsp-product-overview h1 {
  margin: 10px 0 12px;
  font-size: clamp(27px, 3vw, 39px);
}

.hsp-product-overview .price {
  margin: 0 0 12px;
  font-weight: 700;
}

.hsp-product-overview .buy-button {
  display: inline-block;
  margin: 0;
}

.hsp-product-meta,
.hsp-product-specs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 4px 16px;
  margin: 14px 0 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hsp-product-meta {
  grid-template-columns: max-content minmax(0, 1fr);
  font-size: 14px;
}

.hsp-product-meta dt,
.hsp-product-specs dt {
  font-weight: 600;
}

.hsp-product-meta dd,
.hsp-product-specs dd {
  margin: 0;
}

.hsp-product-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-start;
  margin-top: 14px;
}

.hsp-product-jumps a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hsp-product-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  margin-top: 18px;
}

.hsp-product-info > :only-child {
  grid-column: 1 / -1;
}

.hsp-product-panel {
  min-width: 0;
  scroll-margin-top: 20px;
  overflow-wrap: anywhere;
}

.hsp-product-panel h2 {
  margin: 0 0 12px;
  font-size: 21px;
}

.hsp-product-panel p {
  max-width: 75ch;
  margin: 0 0 10px;
  line-height: 1.55;
}

.hsp-product-specs {
  margin: 0;
  gap: 0 12px;
  font-size: 14px;
}

.hsp-product-specs dt,
.hsp-product-specs dd {
  padding: 6px 0;
  border-bottom: 1px solid #ece6db;
  white-space: pre-line;
}

.hsp-product-panel details {
  margin-top: 12px;
}

.hsp-product-panel summary {
  width: fit-content;
  padding-block: 6px;
  color: #71521e;
  font-weight: 700;
  cursor: pointer;
}

.hsp-product-description {
  max-width: 75ch;
  line-height: 1.6;
  white-space: pre-line;
}

@media (max-width: 720px) {
  .hsp-product-top,
  .hsp-product-info {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .hsp-product-photo,
  .hsp-product-panel {
    padding: 14px;
  }

  .hsp-product-photo img {
    max-height: 300px;
  }
}
