/* ==========================================================================
   Sense Wellness: product pages (both scents shown side by side)
   ========================================================================== */

.balm-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 140px 32px 96px;
  background: #f6f4ef;
}

.balm-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
  padding: 48px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.08);
}

/* The scent this page is for comes first. */
.balm-detail--primary {
  order: 1;
}

.balm-detail--secondary {
  order: 2;
}

.balm-detail__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 28px;
  overflow: hidden;
  border-radius: 28px;
  background: #f8f7f3;
}

.balm-detail__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.balm-detail__copy h1,
.balm-detail__copy h2 {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.balm-detail__copy p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.6;
  color: #3a3732;
}

.balm-detail__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

/* "Buy … on Amazon" takes the place and look of the original black
   "Add to bag" button, including its system-font lettering. */
.balm-detail__cta a.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 32px;
  border: none;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-family: var(--font-system);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.13em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.balm-detail__cta a.primary:hover {
  transform: translateY(-2px);
}

/* Benefits, Application and Key Ingredients */
.balm-detail-accordion {
  width: 100%;
  max-width: 400px;
  margin-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
}

.balm-detail-accordion details {
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.balm-detail-accordion summary {
  padding: 17px 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5b5b55;
}

.balm-detail-accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 500;
  color: #5b5b55;
}

.balm-detail-accordion details[open] summary::after {
  content: "\2212";
}

.balm-detail-accordion__content {
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: #444;
}

.balm-detail-accordion__content p {
  margin: 0 0 12px;
}

.balm-detail-accordion__content ul {
  margin: 0;
  padding-left: 18px;
}

.balm-detail-accordion__content li {
  margin-bottom: 8px;
}

.balm-detail-accordion__content strong {
  color: #222;
  font-weight: 800;
}

@media (max-width: 989px) {
  .balm-detail-grid {
    padding: 120px 20px 60px;
  }

  .balm-detail {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px;
  }

  .balm-detail__media {
    padding: 18px;
  }

  .balm-detail__cta {
    max-width: 100%;
  }

  .balm-detail__copy h1,
  .balm-detail__copy h2 {
    font-size: 32px;
  }

  .balm-detail__copy p {
    font-size: 16px;
  }

  .balm-detail__cta a.primary {
    min-height: 54px;
    padding: 0 24px;
    font-size: 12.5px;
    letter-spacing: 0.12em;
  }

  .balm-detail-accordion {
    max-width: 100%;
    margin-top: 22px;
  }

  .balm-detail-accordion__content {
    font-size: 14px;
  }
}
