/* Product refinements: retain Cardo, remove the optional 15ch title constraint.
   Scoped to the theme so the independent Commerce UI plugin remains reusable. */
body.zomu-motion-theme.single-product.woocommerce div.product .summary .product_title {
  width: 100%;
  max-width: none;
  margin: 0 0 .65em;
  font-family: var(--zomu-serif);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -.008em;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  text-wrap: wrap;
}

/* The parent used to be navy while the media child had a fixed 440px height.
   A taller copy column consequently exposed a navy strip below the jar image.
   Let both children stretch and give each panel its own surface instead. */
body.zomu-motion-theme.single-product.woocommerce div.product .product-editorial--information {
  align-items: stretch;
  gap: 0;
  margin-inline: 0;
  background: transparent;
  color: var(--zomu-ink);
}

body.zomu-motion-theme.single-product.woocommerce .product-editorial--information > .product-editorial__media {
  display: grid;
  align-self: stretch;
  place-items: center;
  min-width: 0;
  min-height: clamp(300px, 32vw, 460px);
  height: auto;
  padding: clamp(20px, 3vw, 42px);
  overflow: hidden;
  border-radius: 18px 0 0 18px;
  background: #fff;
}

body.zomu-motion-theme.single-product.woocommerce .product-editorial--information > .product-editorial__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 480px;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

body.zomu-motion-theme.single-product.woocommerce .product-editorial--information > .product-editorial__copy {
  min-width: 0;
  align-self: stretch;
  padding: clamp(28px, 3.7vw, 52px);
  border-radius: 0 18px 18px 0;
  background: var(--zomu-header);
  color: #fff;
}

body.zomu-motion-theme.single-product.woocommerce .product-editorial__copy h2 {
  max-width: none;
  margin-bottom: .65em;
  font-family: var(--zomu-serif);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -.008em;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: wrap;
}

body.zomu-motion-theme.single-product.woocommerce .product-editorial__lead {
  color: rgb(255 255 255 / 84%);
  line-height: 1.75;
}

body.zomu-motion-theme.single-product.woocommerce .product-editorial__facts dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  body.zomu-motion-theme.single-product.woocommerce .product-editorial--information > .product-editorial__media {
    min-height: 0;
    border-radius: 18px 18px 0 0;
  }

  body.zomu-motion-theme.single-product.woocommerce .product-editorial--information > .product-editorial__media img {
    max-height: 380px;
  }

  body.zomu-motion-theme.single-product.woocommerce .product-editorial--information > .product-editorial__copy {
    border-radius: 0 0 18px 18px;
  }
}

@media (max-width: 600px) {
  body.zomu-motion-theme.single-product.woocommerce div.product .summary .product_title {
    line-height: 1.3;
    letter-spacing: 0;
  }

  body.zomu-motion-theme.single-product.woocommerce .product-editorial--information > .product-editorial__media img {
    max-height: 300px;
  }

  body.zomu-motion-theme.single-product.woocommerce .product-editorial--information > .product-editorial__copy {
    padding: 28px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.zomu-motion-theme.single-product.woocommerce .product-editorial--information:hover .product-editorial__media img {
    transform: none;
    transition: none;
  }
}
