/* Comptoir du Robinet — imported product story body */

.cdrt-imported-product-body {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--cdrt-ds-text, #43515d);
}

.cdrt-product-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .92fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: clamp(34px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--cdrt-ds-border, #dde2e4);
}

.cdrt-product-story:first-child {
  padding-top: 8px;
}

.cdrt-product-story:last-child {
  border-bottom: 0;
  padding-bottom: 18px;
}

.cdrt-product-story__copy,
.cdrt-product-story__specs {
  min-width: 0;
}

.cdrt-product-story__copy h2,
.cdrt-product-story__specs h2 {
  margin: 0 0 18px;
  color: var(--cdrt-ds-ink, #132536);
  font-size: clamp(1.42rem, 2.1vw, 2rem);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.cdrt-product-story__copy :where(p, ul, ol) {
  margin: 0 0 14px;
  color: var(--cdrt-ds-text, #43515d);
  font-size: 15px;
  line-height: 1.72;
}

.cdrt-product-story__copy :where(ul, ol) {
  padding-left: 20px;
}

.cdrt-product-story__copy > :last-child {
  margin-bottom: 0;
}

.cdrt-product-story__media {
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid #e2d9ca;
  border-radius: 10px;
  background: #f6f2ea;
  box-shadow: 0 1px 2px rgba(19, 37, 54, .03);
}

.cdrt-product-story__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
  background: #fff;
}

.cdrt-product-story__image--technical {
  object-fit: contain;
}

.cdrt-product-story--media-text {
  grid-template-columns: minmax(280px, .92fr) minmax(0, 1fr);
}

.cdrt-product-story__table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--cdrt-ds-border, #dde2e4);
  border-radius: 8px;
  background: var(--cdrt-ds-surface, #fff);
}

.cdrt-product-story__table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
  line-height: 1.45;
}

.cdrt-product-story__table th,
.cdrt-product-story__table td {
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid var(--cdrt-ds-border, #dde2e4);
  text-align: left;
  vertical-align: top;
}

.cdrt-product-story__table tr:last-child th,
.cdrt-product-story__table tr:last-child td {
  border-bottom: 0;
}

.cdrt-product-story__table th {
  width: 43%;
  color: var(--cdrt-ds-ink, #132536);
  background: var(--cdrt-ds-bg, #f6f5f1);
  font-weight: 680;
}

.cdrt-product-story__table td {
  color: var(--cdrt-ds-text, #43515d);
  background: var(--cdrt-ds-surface, #fff);
}

@media (max-width: 780px) {
  .cdrt-product-story,
  .cdrt-product-story--media-text {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .cdrt-product-story:first-child {
    padding-top: 0;
  }

  .cdrt-product-story__copy h2,
  .cdrt-product-story__specs h2 {
    margin-bottom: 14px;
    font-size: clamp(1.35rem, 6vw, 1.7rem);
  }

  .cdrt-product-story__copy :where(p, ul, ol) {
    font-size: 14px;
    line-height: 1.68;
  }

  .cdrt-product-story__media {
    padding: 8px;
  }

  .cdrt-product-story__table {
    min-width: 420px;
  }
}
