/* The block product template already owns its columns; do not apply the classic product grid twice. */
body.cedar-founder-product .wp-site-blocks > .wp-block-group.product {
  display: block;
}

body.cedar-founder-product .wp-site-blocks > .product > main {
  box-sizing: border-box;
  width: min(calc(100% - 48px), 1100px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 0 80px;
}

body.cedar-founder-product main > .wp-block-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
  max-width: none;
  margin: 0 0 48px;
}

body.cedar-founder-product main > .wp-block-columns > .wp-block-column {
  min-width: 0;
  width: auto;
  margin: 0;
}

body.cedar-founder-product .wp-block-post-title {
  font-size: clamp(36px, 4.8vw, 54px);
  line-height: 1.1;
  word-break: normal;
  overflow-wrap: normal;
  margin: 0 0 24px;
}

body.cedar-founder-product .woocommerce-product-gallery {
  width: 100% !important;
  margin: 0 !important;
}

body.cedar-founder-product .woocommerce-product-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

body.cedar-founder-product .wp-block-woocommerce-product-price {
  margin: 0 0 20px;
  font-size: 30px;
}

body.cedar-founder-product .cedar-founder-product-intro {
  max-width: 540px;
  margin-top: 10px;
}

body.cedar-founder-product .cedar-founder-product-intro__price {
  margin: 0 0 8px;
  color: #9c7634;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
}

body.cedar-founder-product .cedar-founder-product-intro__limit {
  margin: 0 0 28px;
  color: #19191a;
  font-size: 18px;
  line-height: 1.45;
}

body.cedar-founder-product .cedar-founder-product-intro__statement {
  margin: 0 0 28px;
  color: #19191a;
  font-size: 20px;
  line-height: 1.55;
}

body.cedar-founder-product .wp-block-post-excerpt,
body.cedar-founder-product .wp-block-woocommerce-product-details p {
  font-size: 17px;
  line-height: 1.65;
}

body.cedar-founder-product .cedar-founder-product-purchase {
  margin: 0;
}

body.cedar-founder-product .cedar-founder-product-purchase--content {
  margin: 24px 0;
}

body.cedar-founder-product .cedar-founder-product-purchase .latepoint-book-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 14px 22px;
  white-space: normal;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}

body.cedar-founder-product .wp-block-woocommerce-product-details h2 {
  font-size: 32px;
  line-height: 1.2;
}

body.cedar-founder-product .wp-block-woocommerce-product-details {
  box-sizing: border-box;
  padding-inline: clamp(20px, 3.5vw, 40px);
}

body.cedar-founder-product .woocommerce-tabs > .tabs {
  display: none;
}

body.cedar-founder-product .wp-block-woocommerce-product-details h3 {
  font-size: 24px;
  line-height: 1.3;
  margin: 28px 0 12px;
}

body.cedar-founder-product .cedar-founder-benefit-list,
body.cedar-founder-product .cedar-founder-perk-list {
  margin: 20px 0 34px;
  padding-left: 1.5em;
  list-style: disc outside;
}

body.cedar-founder-product .cedar-founder-benefit-list li,
body.cedar-founder-product .cedar-founder-perk-list li {
  margin: 0 0 16px;
  padding-left: 0.4em;
  line-height: 1.5;
}

body.cedar-founder-product .cedar-founder-benefit-list li::marker,
body.cedar-founder-product .cedar-founder-perk-list li::marker {
  color: #9c7634;
  font-size: 1.05em;
}

body.cedar-founder-product .cedar-founder-benefit-list li > strong,
body.cedar-founder-product .cedar-founder-perk-list li > strong {
  display: block;
  margin-bottom: 3px;
  color: #111;
  font-size: 1.12em;
  line-height: 1.35;
}

body.cedar-founder-product .cedar-founder-benefit-list li > strong + br,
body.cedar-founder-product .cedar-founder-perk-list li > strong + br {
  display: none;
}

body.cedar-founder-product .cedar-founder-perk-list p {
  margin: 8px 0 0;
}

body.cedar-founder-product .wp-block-woocommerce-product-details .woocommerce-Tabs-panel {
  max-width: 780px;
}

/* Treat each ruled content group as a distinct editorial section. */
body.cedar-founder-product .wp-block-woocommerce-product-details .woocommerce-Tabs-panel > hr {
  margin: 56px 0 48px;
}

body.cedar-founder-product .wp-block-woocommerce-product-details .woocommerce-Tabs-panel > hr + h2 {
  margin-top: 0;
}

@media (max-width: 700px) {
  body.cedar-founder-product .wp-site-blocks > .product > main {
    width: calc(100% - 40px);
    padding: 28px 0 56px;
  }

  body.cedar-founder-product main > .wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-bottom: 36px;
  }

  body.cedar-founder-product .wp-block-woocommerce-product-details .woocommerce-Tabs-panel > hr {
    margin: 44px 0 38px;
  }
}
