/*
 * Distrito Botânico v11.2.2
 * Clean corrective layer built from the pre-v11.2 theme backup.
 * Scope is intentionally tiny: hero type composition + paired section headers.
 * No finder, product-card, story, newsletter, footer or global section-spacing overrides.
 */

/* Hero: keep the original theme layout; only improve text composition. */
body.gd-v122-home .gd-v122-hero-title {
  max-inline-size: 12.5ch;
  text-wrap: balance;
  hyphens: none;
}
body.gd-v122-home .gd-v122-hero-lead {
  max-inline-size: 44ch;
  text-wrap: pretty;
}

/* Canonical two-column section header. The installer marks the *existing direct
   child blocks*, so old three-column positioning cannot leak through. */
body.gd-v122-home .gd-v122-section-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto !important;
  column-gap: 32px !important;
  row-gap: 7px !important;
  align-items: center !important;
  width: 100% !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}

body.gd-v122-home .gd-v122-section-header__content-block,
body.gd-v122-home .gd-v122-section-header__eyebrow-block,
body.gd-v122-home .gd-v122-section-header__title-block,
body.gd-v122-home .gd-v122-section-header__action-block {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.gd-v122-home .gd-v122-section-header__content-block {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  align-self: center !important;
  justify-self: start !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 7px !important;
}
body.gd-v122-home .gd-v122-section-header__eyebrow-block {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: end !important;
  justify-self: start !important;
}
body.gd-v122-home .gd-v122-section-header__title-block {
  grid-column: 1 !important;
  grid-row: 2 !important;
  align-self: start !important;
  justify-self: start !important;
}
body.gd-v122-home .gd-v122-section-header__action-block {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  align-self: center !important;
  justify-self: end !important;
}

body.gd-v122-home .gd-v122-section-header__eyebrow {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
body.gd-v122-home .gd-v122-section-header__title {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  max-inline-size: 19ch !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  text-wrap: balance;
  hyphens: none;
}
body.gd-v122-home .gd-v122-section-header--care .gd-v122-section-header__title {
  max-inline-size: 24ch !important;
}
body.gd-v122-home .gd-v122-section-header__action {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

@media (max-width: 767px) {
  body.gd-v122-home .gd-v122-section-header {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    row-gap: 12px !important;
    align-items: start !important;
  }
  body.gd-v122-home .gd-v122-section-header__content-block,
  body.gd-v122-home .gd-v122-section-header__eyebrow-block,
  body.gd-v122-home .gd-v122-section-header__title-block,
  body.gd-v122-home .gd-v122-section-header__action-block {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: start !important;
    align-self: start !important;
  }
  body.gd-v122-home .gd-v122-section-header__action {
    text-align: left !important;
    white-space: normal !important;
  }
  body.gd-v122-home .gd-v122-section-header__title,
  body.gd-v122-home .gd-v122-section-header--care .gd-v122-section-header__title {
    max-inline-size: 100% !important;
  }
}
