/* No overflow-x:hidden: content must fit, not be clipped. */
body.cunna-layout-page {
  --global-palette1: #354d3c;
  --global-palette2: #24392b;
  --global-palette3: #000000;
  --global-palette4: #292929;
  --global-palette7: #eeeae2;
  --global-palette8: #ffffff;
  font-family: Jost, Arial, sans-serif;
}

/* Explicit width prevents shrink-to-fit around size-contained Woo blocks. */
body.cunna-layout-page #inner-wrap {
  width: 100%;
  max-width: none;
  min-width: 0;
  padding-inline: 0;
  margin-inline: 0;
  box-sizing: border-box;
}
body.cunna-layout-page :is(.content-container, .content-wrap, .site-main,
  .entry-content-wrap, .entry-content) {
  min-width: 0;
}
body.cunna-layout-page .entry-content > :is(.wp-block-woocommerce-cart,
  .wp-block-woocommerce-checkout) {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  box-sizing: border-box;
}
body.cunna-layout-page :is(.wc-block-components-main,
  .wc-block-components-sidebar, .woocommerce div.product .summary) {
  min-width: 0;
}
body.cunna-layout-page .woocommerce-product-details__short-description,
body.cunna-layout-page .woocommerce-tabs,
body.cunna-layout-page .wc-block-components-product-name {
  overflow-wrap: anywhere;
}
body.cunna-layout-page :is(.wc-block-cart__submit-button,
  .wc-block-components-checkout-place-order-button) {
  background: #354d3c;
  color: #fff;
  white-space: normal;
}

/* Landing only: flexible tracks and children must be allowed to shrink. */
body.cunna-layout-home :is(.wrap, .nav-in) {
  width: 100%;
  box-sizing: border-box;
}
body.cunna-layout-home :is(.hero, .anchor, .fresh, .rw) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.cunna-layout-home .prods {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.cunna-layout-home :is(.hero, .anchor, .fresh, .rw, .prods,
  .foot, .steps, .guard, .nav-in, .sticky) > * {
  min-width: 0;
}
body.cunna-layout-home :is(h1, h2, h3, h4, p, a) {
  overflow-wrap: anywhere;
  letter-spacing: 0;
}
body.cunna-layout-home .nav-lk {
  flex-wrap: wrap;
}
body.cunna-layout-home .hero h1 {
  font-size: 4rem;
}
body.cunna-layout-home .head h2 {
  font-size: 2.5rem;
}
@media (max-width: 896px) {
  body.cunna-layout-home :is(.hero, .anchor, .fresh, .rw, .prods) {
    grid-template-columns: minmax(0, 1fr);
  }
  body.cunna-layout-home .nav-in {
    padding-inline: 20px;
    gap: 12px;
  }
  body.cunna-layout-home .nav-lk {
    width: 100%;
    overflow: visible;
    justify-content: flex-start;
    gap: 12px 18px;
  }
  body.cunna-layout-home .nav-lk a {
    white-space: normal;
  }
  body.cunna-layout-home .hero h1 {
    font-size: 2.5rem;
  }
  body.cunna-layout-home .head h2 {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  body.cunna-layout-home .wrap {
    padding-inline: 20px;
  }
  body.cunna-layout-home :is(.foot, .steps, .guard) {
    grid-template-columns: minmax(0, 1fr);
  }
  body.cunna-layout-home .hero-photo > span {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px;
  }
  body.cunna-layout-home .sticky {
    gap: 8px;
    padding: 10px 16px;
  }
  body.cunna-layout-home .sticky .btn {
    flex-shrink: 0;
    padding: 12px;
    max-width: 55%;
    white-space: normal;
  }
  body.cunna-layout-page .site-branding .site-title {
    font-size: 20px;
    overflow-wrap: anywhere;
  }
  body.cunna-layout-page .woocommerce .woocommerce-ordering,
  body.cunna-layout-page .woocommerce .woocommerce-ordering select {
    max-width: 100%;
  }
}
