/* DIAMANTE DA CANASTRA
   Presentation polish · emergency visual harmonization
   Safe CSS-only layer. No route, data, auth or functional changes. */

:root {
  --pp-wine: var(--diamante-wine, #680f1a);
  --pp-wine-deep: var(--diamante-wine-deep, #3a0810);
  --pp-gold: var(--diamante-gold, #d4a017);
  --pp-cream: var(--diamante-cream, #f7eed9);
  --pp-ink: var(--diamante-ink, #2b1a17);
  --pp-section-y: clamp(56px, 6.5vw, 88px);
  --pp-section-x: clamp(20px, 7vw, 96px);
  --pp-reading: 68ch;
  --pp-heading: clamp(34px, 3.8vw, 52px);
  --pp-hero: 430px;
}

/* 1. One visual grammar for all public internal pages */
body[data-surface='public'] :where(
  .catalog-page,
  .atacado-page,
  .encomendas-page,
  .representantes-page,
  .origem-page,
  .queijo-page,
  .guias-page,
  .receitas-page,
  .recipes-catalog-page,
  .recipe-detail-page
) {
  color: var(--pp-ink);
  background: var(--pp-cream);
}

/* 2. Internal heroes: same height, same editorial rhythm */
body[data-surface='public'] :where(
  .catalog-intro,
  .atacado-hero,
  .encomendas-hero,
  .representantes-hero,
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero
) {
  min-height: var(--pp-hero) !important;
  height: var(--pp-hero) !important;
}

body[data-surface='public'] :where(
  .atacado-hero-copy,
  .encomendas-hero-copy,
  .representantes-hero-copy,
  .origem-hero-copy,
  .queijo-hero-copy,
  .guias-hero-copy,
  .receitas-hero-copy,
  .catalog-intro-copy
) {
  justify-content: center !important;
  align-self: center !important;
  max-width: 720px !important;
  padding-top: 56px !important;
  padding-bottom: 40px !important;
}

body[data-surface='public'] :where(
  .catalog-intro h1,
  .atacado-hero h1,
  .encomendas-hero h1,
  .representantes-hero h1,
  .origem-hero h1,
  .queijo-hero h1,
  .guias-hero h1,
  .receitas-hero h1
) {
  max-width: 680px !important;
  margin: 12px 0 14px !important;
  font-size: clamp(40px, 4.6vw, 60px) !important;
  line-height: 1 !important;
  letter-spacing: -.032em !important;
}

body[data-surface='public'] :where(
  .catalog-intro p,
  .atacado-hero-copy > p,
  .encomendas-hero-copy > p,
  .representantes-hero-copy > p,
  .origem-hero-copy > p,
  .queijo-hero-copy > p,
  .guias-hero-copy > p,
  .receitas-hero-copy > p
) {
  max-width: 580px !important;
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* 3. Editorial pages should navigate through text/menu, not a button forest */
body[data-surface='public'] :where(
  .origem-hero-actions,
  .queijo-hero-actions,
  .guias-hero-actions,
  .receitas-hero-actions
) {
  display: none !important;
}

/* Commercial pages keep one clear action hierarchy */
body[data-surface='public'] :where(
  .atacado-hero-actions,
  .encomendas-hero-actions,
  .representantes-hero-actions
) {
  margin-top: 24px !important;
  gap: 10px !important;
}

/* 4. Shared typographic scale */
body[data-surface='public'] :where(
  .atacado-page,
  .encomendas-page,
  .representantes-page,
  .origem-page,
  .queijo-page,
  .guias-page,
  .receitas-page
) h2 {
  font-size: var(--pp-heading) !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
}

body[data-surface='public'] :where(
  .atacado-page,
  .encomendas-page,
  .representantes-page,
  .origem-page,
  .queijo-page,
  .guias-page,
  .receitas-page
) p {
  line-height: 1.65;
}

body[data-surface='public'] :where(
  .atacado-page,
  .encomendas-page,
  .representantes-page,
  .origem-page,
  .queijo-page,
  .guias-page,
  .receitas-page
) :where(
  .atacado-kicker,
  .encomendas-kicker,
  .representantes-kicker,
  .origem-kicker,
  .queijo-kicker,
  .guias-kicker,
  .receitas-kicker,
  .catalog-kicker
) {
  letter-spacing: .12em !important;
}

/* 5. Bring text blocks onto one reading width */
body[data-surface='public'] :where(
  .origem-section-lead,
  .queijo-section-lead,
  .guias-section-lead,
  .receitas-section-lead,
  .atacado-section-heading,
  .encomendas-section-heading,
  .representantes-section-heading
) p,
body[data-surface='public'] :where(
  .origem-page,
  .queijo-page,
  .guias-page,
  .receitas-page
) section > div > p {
  max-width: var(--pp-reading);
}

/* 6. Reduce vertical inflation in text-heavy blocks */
body[data-surface='public'] :where(
  .origem-territory,
  .origem-time,
  .origem-precision,
  .origem-culture,
  .queijo-definition,
  .queijo-serve,
  .queijo-origin,
  .queijo-guides,
  .guias-intro,
  .guias-choice,
  .guias-serve,
  .guias-maturation,
  .guias-related,
  .representantes-intro,
  .representantes-fit,
  .representantes-process,
  .representantes-territory,
  .representantes-access,
  .atacado-intro,
  .atacado-profiles,
  .atacado-process,
  .encomendas-intro,
  .encomendas-process
) {
  padding-top: var(--pp-section-y) !important;
  padding-bottom: var(--pp-section-y) !important;
}

/* 8. Visual media consistency */
body[data-surface='public'] :where(
  .origem-landscape-media,
  .queijo-texture-media,
  .queijo-time-media,
  .guias-cut-media,
  .guias-preserve-media,
  .guias-maturation-media,
  .guias-pairings-media
) {
  min-height: 320px !important;
  overflow: hidden;
}

body[data-surface='public'] :where(
  .origem-landscape-media,
  .queijo-texture-media,
  .queijo-time-media,
  .guias-cut-media,
  .guias-preserve-media,
  .guias-maturation-media,
  .guias-pairings-media
) img {
  width: 100%;
  height: 100%;
  min-height: 320px !important;
  object-fit: cover;
}

/* 9. Cards share a quieter visual treatment */
body[data-surface='public'] :where(
  .catalog-product-card,
  .atacado-product,
  .encomendas-selection-card,
  .representantes-fit-grid article,
  .recipe-card,
  .recipe-related-card
) {
  box-shadow: none !important;
}

/* 10. Mobile: compact, deliberate, presentation-safe */
@media (max-width: 700px) {
  :root {
    --pp-hero: 340px;
    --pp-section-y: 48px;
    --pp-section-x: 20px;
  }

  body[data-surface='public'] :where(
    .catalog-intro,
    .atacado-hero,
    .encomendas-hero,
    .representantes-hero,
    .origem-hero,
    .queijo-hero,
    .guias-hero,
    .receitas-hero
  ) {
    min-height: var(--pp-hero) !important;
    height: var(--pp-hero) !important;
  }

  body[data-surface='public'] :where(
    .atacado-hero-copy,
    .encomendas-hero-copy,
    .representantes-hero-copy,
    .origem-hero-copy,
    .queijo-hero-copy,
    .guias-hero-copy,
    .receitas-hero-copy,
    .catalog-intro-copy
  ) {
    padding: 64px 20px 28px !important;
  }

  body[data-surface='public'] :where(
    .catalog-intro h1,
    .atacado-hero h1,
    .encomendas-hero h1,
    .representantes-hero h1,
    .origem-hero h1,
    .queijo-hero h1,
    .guias-hero h1,
    .receitas-hero h1
  ) {
    font-size: clamp(36px, 10vw, 44px) !important;
  }

  body[data-surface='public'] :where(
    .catalog-intro p,
    .atacado-hero-copy > p,
    .encomendas-hero-copy > p,
    .representantes-hero-copy > p,
    .origem-hero-copy > p,
    .queijo-hero-copy > p,
    .guias-hero-copy > p,
    .receitas-hero-copy > p
  ) {
    font-size: 15px !important;
  }

  body[data-surface='public'] :where(
    .atacado-page,
    .encomendas-page,
    .representantes-page,
    .origem-page,
    .queijo-page,
    .guias-page,
    .receitas-page
  ) h2 {
    font-size: clamp(30px, 8vw, 38px) !important;
  }
}

/* R13 institutional SEO chapters share the same editorial reading rhythm. */
.editorial-seo-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}

.editorial-seo-section.is-alt {
  width: 100%;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  background: rgba(139, 111, 78, .12);
}

.editorial-seo-section > div:first-child {
  max-width: 760px;
}

.editorial-seo-kicker {
  display: block;
  margin-bottom: 14px;
  color: #b77914;
  font-family: var(--font-sans, Arial, sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.editorial-seo-section h2 {
  margin: 0 0 20px;
  color: #681827;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.editorial-seo-section p {
  margin: 0 0 18px;
  color: #6d5a4a;
  font-size: 18px;
  line-height: 1.65;
}

.editorial-seo-section aside {
  padding-top: 42px;
  border-top: 1px solid rgba(104, 24, 39, .22);
  color: #681827;
}

.editorial-seo-section aside strong {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display, Georgia, serif);
  font-size: 25px;
  line-height: 1.15;
}

.editorial-seo-section aside p {
  font-size: 16px;
}

.editorial-seo-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 8px;
  color: #681827;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 700px) {
  .editorial-seo-section,
  .editorial-seo-section.is-alt {
    width: 100%;
    padding: 56px 20px;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .editorial-seo-section h2 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .editorial-seo-section p {
    font-size: 16px;
    line-height: 1.55;
  }

  .editorial-seo-section aside {
    padding-top: 24px;
  }
}

/* Representatives uses its private surface marker, but remains a public
   presentation page and follows the commercial hero rhythm. */
body[data-surface='representative'] main.representantes-page > .representantes-hero {
  min-height: 560px !important;
  height: 560px !important;
}

body[data-surface='representative'] main.representantes-page > .representantes-hero > .representantes-hero-copy {
  padding-top: 112px !important;
  padding-bottom: 52px !important;
}

body[data-surface='representative'] main.representantes-page > .representantes-hero h1 {
  max-width: 700px !important;
  margin: 12px 0 16px !important;
  font-size: clamp(44px, 4.4vw, 60px) !important;
  line-height: 1.04 !important;
}

@media (max-width: 700px) {
  body[data-surface='representative'] main.representantes-page > .representantes-hero {
    min-height: 640px !important;
    height: auto !important;
  }

  body[data-surface='representative'] main.representantes-page > .representantes-hero > .representantes-hero-copy {
    padding: 92px 20px 58px !important;
  }

  body[data-surface='representative'] main.representantes-page > .representantes-hero h1 {
    font-size: clamp(38px, 10vw, 46px) !important;
  }
}

/* Batch 5 · outrank the legacy hero contract without changing markup. */
body[data-surface='public'] main:not(.home-page) > :where(
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero
) {
  min-height: 430px !important;
  height: 430px !important;
}

body[data-surface='public'] main:not(.home-page) > :where(
  .catalog-intro,
  .atacado-hero,
  .encomendas-hero,
  .representantes-hero
) {
  min-height: 560px !important;
  height: 560px !important;
}

body[data-surface='public'] main:not(.home-page) > :where(
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero
) > :where(
  .origem-hero-copy,
  .queijo-hero-copy,
  .guias-hero-copy,
  .receitas-hero-copy
) {
  min-width: 0 !important;
  padding: 86px clamp(28px, 7vw, 110px) 34px !important;
}

body[data-surface='public'] main:not(.home-page) > :where(
  .catalog-intro,
  .atacado-hero,
  .encomendas-hero,
  .representantes-hero
) > :where(
  .catalog-intro-copy,
  .atacado-hero-copy,
  .encomendas-hero-copy,
  .representantes-hero-copy
) {
  min-width: 0 !important;
  padding-top: 112px !important;
  padding-bottom: 52px !important;
}

body[data-surface='public'] main:not(.home-page) > :where(
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero
) :where(h1) {
  max-width: 620px !important;
  margin: 10px 0 14px !important;
  font-size: clamp(40px, 4vw, 56px) !important;
  line-height: 1.03 !important;
}

body[data-surface='public'] main:not(.home-page) > :where(
  .catalog-intro,
  .atacado-hero,
  .encomendas-hero,
  .representantes-hero
) :where(h1) {
  max-width: 700px !important;
  margin: 12px 0 16px !important;
  font-size: clamp(44px, 4.4vw, 60px) !important;
  line-height: 1.04 !important;
}

body[data-surface='public'] main:not(.home-page) > :where(
  .origem-territory,
  .queijo-definition,
  .guias-intro
) {
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, .55fr) !important;
  gap: clamp(34px, 6vw, 82px) !important;
  align-items: center !important;
}

body[data-surface='public'] main:not(.home-page) > :where(
  .origem-territory,
  .queijo-definition,
  .guias-intro
) :where(
  .origem-territory-aside,
  .queijo-definition-mark,
  .guias-intro-mark
) {
  display: grid !important;
  width: min(100%, 240px) !important;
  min-height: 0 !important;
  justify-self: end !important;
  padding: 22px 10px !important;
}

body[data-surface='public'] main:not(.home-page) > :where(
  .atacado-hero,
  .encomendas-hero,
  .representantes-hero
) :where(
  .atacado-hero-actions,
  .encomendas-hero-actions,
  .representantes-hero-actions
) {
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 26px !important;
}

@media (max-width: 700px) {
  body[data-surface='public'] main:not(.home-page) > :where(
    .origem-hero,
    .queijo-hero,
    .guias-hero,
    .receitas-hero
  ) {
    min-height: 520px !important;
    height: auto !important;
  }

  body[data-surface='public'] main:not(.home-page) > :where(
    .catalog-intro,
    .atacado-hero,
    .encomendas-hero,
    .representantes-hero
  ) {
    min-height: 640px !important;
    height: auto !important;
  }

  body[data-surface='public'] main:not(.home-page) > :where(
    .origem-hero,
    .queijo-hero,
    .guias-hero,
    .receitas-hero
  ) > :where(
    .origem-hero-copy,
    .queijo-hero-copy,
    .guias-hero-copy,
    .receitas-hero-copy
  ),
  body[data-surface='public'] main:not(.home-page) > :where(
    .catalog-intro,
    .atacado-hero,
    .encomendas-hero,
    .representantes-hero
  ) > :where(
    .catalog-intro-copy,
    .atacado-hero-copy,
    .encomendas-hero-copy,
    .representantes-hero-copy
  ) {
    padding: 92px 20px 58px !important;
  }

  body[data-surface='public'] main:not(.home-page) > :where(
    .origem-hero,
    .queijo-hero,
    .guias-hero,
    .receitas-hero
  ) :where(h1),
  body[data-surface='public'] main:not(.home-page) > :where(
    .catalog-intro,
    .atacado-hero,
    .encomendas-hero,
    .representantes-hero
  ) :where(h1) {
    font-size: clamp(38px, 10vw, 46px) !important;
  }

  body[data-surface='public'] main:not(.home-page) > :where(
    .origem-territory,
    .queijo-definition,
    .guias-intro
  ) {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  body[data-surface='public'] main:not(.home-page) > :where(
    .origem-territory,
    .queijo-definition,
    .guias-intro
  ) :where(
    .origem-territory-aside,
    .queijo-definition-mark,
    .guias-intro-mark
  ) {
    justify-self: start !important;
    width: min(100%, 300px) !important;
  }

  body[data-surface='public'] main:not(.home-page) > :where(
    .atacado-hero,
    .encomendas-hero,
    .representantes-hero
  ) :where(
    .atacado-hero-actions,
    .encomendas-hero-actions,
    .representantes-hero-actions
  ) {
    align-items: stretch !important;
    flex-direction: column !important;
  }
}

/* Batch 2 · validated corrections */

/* Fix R10 flex-row regression in shared heroes. */
body[data-surface='public'] :where(
  .atacado-hero-copy,
  .encomendas-hero-copy,
  .representantes-hero-copy,
  .origem-hero-copy,
  .queijo-hero-copy,
  .guias-hero-copy,
  .receitas-hero-copy
) {
  flex-direction: column !important;
}

/* Editorial and commercial heroes need different breathing room. */
body[data-surface='public'] :where(
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero
) {
  min-height: 450px !important;
  height: 450px !important;
}

body[data-surface='public'] :where(
  .atacado-hero,
  .encomendas-hero,
  .representantes-hero
) {
  min-height: 520px !important;
  height: 520px !important;
}

body[data-surface='public'] :where(
  .origem-hero-copy,
  .queijo-hero-copy,
  .guias-hero-copy,
  .receitas-hero-copy
) {
  padding-top: 92px !important;
  padding-bottom: 34px !important;
}

body[data-surface='public'] :where(
  .atacado-hero-copy,
  .encomendas-hero-copy,
  .representantes-hero-copy
) {
  padding-top: 92px !important;
  padding-bottom: 44px !important;
}

body[data-surface='public'] :where(
  .origem-hero h1,
  .queijo-hero h1,
  .guias-hero h1,
  .receitas-hero h1
) {
  font-size: clamp(38px, 4.2vw, 54px) !important;
}

/* Remove empty decorative half-columns from first editorial reading blocks. */
body[data-surface='public'] :where(
  .origem-territory,
  .queijo-definition,
  .guias-intro
) {
  grid-template-columns: minmax(0, 820px) !important;
  justify-content: start !important;
}

body[data-surface='public'] :where(
  .origem-territory-aside,
  .queijo-definition-mark,
  .guias-intro-mark
) {
  display: none !important;
}

@media (max-width: 700px) {
  body[data-surface='public'] :where(
    .origem-hero,
    .queijo-hero,
    .guias-hero,
    .receitas-hero
  ) {
    min-height: 480px !important;
    height: 480px !important;
  }

  body[data-surface='public'] :where(
    .atacado-hero,
    .encomendas-hero,
    .representantes-hero
  ) {
    min-height: 600px !important;
    height: auto !important;
  }

  body[data-surface='public'] :where(
    .origem-hero-copy,
    .queijo-hero-copy,
    .guias-hero-copy,
    .receitas-hero-copy,
    .atacado-hero-copy,
    .encomendas-hero-copy,
    .representantes-hero-copy
  ) {
    padding-top: 88px !important;
  }
}

/* Batch 3 · header/hero alignment */
body[data-surface='public'] :where(
  .origem-hero-copy,
  .queijo-hero-copy,
  .guias-hero-copy,
  .receitas-hero-copy
) {
  padding-top: 102px !important;
}

body[data-surface='public'] :where(
  .atacado-hero,
  .encomendas-hero,
  .representantes-hero
) {
  min-height: 540px !important;
  height: 540px !important;
}

body[data-surface='public'] :where(
  .atacado-hero-copy,
  .encomendas-hero-copy,
  .representantes-hero-copy
) {
  padding-top: 114px !important;
}

body[data-surface='public'] :where(
  .atacado-hero h1,
  .encomendas-hero h1,
  .representantes-hero h1
) {
  font-size: clamp(40px, 4.3vw, 56px) !important;
}

/* Batch 4 · explicit editorial/commercial rhythm for presentation. */

/* Editorial pages: compact reading-first heroes, with ornamental columns kept
   present but constrained to their useful width. */
body[data-surface='public'] :where(
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero
) {
  min-height: 430px !important;
  height: 430px !important;
}

body[data-surface='public'] :where(
  .origem-hero-copy,
  .queijo-hero-copy,
  .guias-hero-copy,
  .receitas-hero-copy
) {
  min-width: 0 !important;
  padding: 86px clamp(28px, 7vw, 110px) 34px !important;
}

body[data-surface='public'] :where(
  .origem-hero h1,
  .queijo-hero h1,
  .guias-hero h1,
  .receitas-hero h1
) {
  max-width: 620px !important;
  margin: 10px 0 14px !important;
  font-size: clamp(40px, 4vw, 56px) !important;
  line-height: 1.03 !important;
}

body[data-surface='public'] :where(
  .origem-territory,
  .queijo-definition,
  .guias-intro
) {
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, .55fr) !important;
  gap: clamp(34px, 6vw, 82px) !important;
  align-items: center !important;
}

body[data-surface='public'] :where(
  .origem-territory-aside,
  .queijo-definition-mark,
  .guias-intro-mark
) {
  display: grid !important;
  width: min(100%, 240px) !important;
  min-height: 0 !important;
  justify-self: end !important;
  padding: 22px 10px !important;
}

/* Commercial pages: preserve conversion space and keep the full title/action
   group visible instead of inheriting the editorial compact rhythm. */
body[data-surface='public'] :where(
  .catalog-intro,
  .atacado-hero,
  .encomendas-hero,
  .representantes-hero
) {
  min-height: 560px !important;
  height: 560px !important;
}

body[data-surface='public'] :where(
  .catalog-intro-copy,
  .atacado-hero-copy,
  .encomendas-hero-copy,
  .representantes-hero-copy
) {
  min-width: 0 !important;
  padding-top: 112px !important;
  padding-bottom: 52px !important;
}

body[data-surface='public'] :where(
  .catalog-intro h1,
  .atacado-hero h1,
  .encomendas-hero h1,
  .representantes-hero h1
) {
  max-width: 700px !important;
  margin: 12px 0 16px !important;
  font-size: clamp(44px, 4.4vw, 60px) !important;
  line-height: 1.04 !important;
}

body[data-surface='public'] :where(
  .atacado-hero-actions,
  .encomendas-hero-actions,
  .representantes-hero-actions
) {
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 26px !important;
}

@media (max-width: 700px) {
  body[data-surface='public'] :where(
    .origem-hero,
    .queijo-hero,
    .guias-hero,
    .receitas-hero
  ) {
    min-height: 520px !important;
    height: auto !important;
  }

  body[data-surface='public'] :where(
    .origem-hero-copy,
    .queijo-hero-copy,
    .guias-hero-copy,
    .receitas-hero-copy
  ) {
    padding: 90px 20px 56px !important;
  }

  body[data-surface='public'] :where(
    .origem-hero h1,
    .queijo-hero h1,
    .guias-hero h1,
    .receitas-hero h1
  ) {
    font-size: clamp(38px, 10vw, 46px) !important;
  }

  body[data-surface='public'] :where(
    .origem-territory,
    .queijo-definition,
    .guias-intro
  ) {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  body[data-surface='public'] :where(
    .origem-territory-aside,
    .queijo-definition-mark,
    .guias-intro-mark
  ) {
    justify-self: start !important;
    width: min(100%, 300px) !important;
  }

  body[data-surface='public'] :where(
    .catalog-intro,
    .atacado-hero,
    .encomendas-hero,
    .representantes-hero
  ) {
    min-height: 640px !important;
    height: auto !important;
  }

  body[data-surface='public'] :where(
    .catalog-intro-copy,
    .atacado-hero-copy,
    .encomendas-hero-copy,
    .representantes-hero-copy
  ) {
    padding: 92px 20px 58px !important;
  }

  body[data-surface='public'] :where(
    .catalog-intro h1,
    .atacado-hero h1,
    .encomendas-hero h1,
    .representantes-hero h1
  ) {
    font-size: clamp(38px, 10vw, 46px) !important;
  }

  body[data-surface='public'] :where(
    .atacado-hero-actions,
    .encomendas-hero-actions,
    .representantes-hero-actions
  ) {
    align-items: stretch !important;
    flex-direction: column !important;
  }
}

/* Batch 6 · final specificity-safe hero contract. */
body[data-surface='public'] main:not(.home-page) > .origem-hero,
body[data-surface='public'] main:not(.home-page) > .queijo-hero,
body[data-surface='public'] main:not(.home-page) > .guias-hero,
body[data-surface='public'] main:not(.home-page) > .receitas-hero {
  min-height: 430px !important;
  height: 430px !important;
}

body[data-surface='public'] main:not(.home-page) > .catalog-intro,
body[data-surface='public'] main:not(.home-page) > .atacado-hero,
body[data-surface='public'] main:not(.home-page) > .encomendas-hero,
body[data-surface='public'] main:not(.home-page) > .representantes-hero {
  min-height: 560px !important;
  height: 560px !important;
}

body[data-surface='public'] main:not(.home-page) > .origem-hero > .origem-hero-copy,
body[data-surface='public'] main:not(.home-page) > .queijo-hero > .queijo-hero-copy,
body[data-surface='public'] main:not(.home-page) > .guias-hero > .guias-hero-copy,
body[data-surface='public'] main:not(.home-page) > .receitas-hero > .receitas-hero-copy {
  padding: 86px clamp(28px, 7vw, 110px) 34px !important;
}

body[data-surface='public'] main:not(.home-page) > .catalog-intro > .catalog-intro-copy,
body[data-surface='public'] main:not(.home-page) > .atacado-hero > .atacado-hero-copy,
body[data-surface='public'] main:not(.home-page) > .encomendas-hero > .encomendas-hero-copy,
body[data-surface='public'] main:not(.home-page) > .representantes-hero > .representantes-hero-copy {
  padding-top: 112px !important;
  padding-bottom: 52px !important;
}

body[data-surface='public'] main:not(.home-page) > .origem-hero h1,
body[data-surface='public'] main:not(.home-page) > .queijo-hero h1,
body[data-surface='public'] main:not(.home-page) > .guias-hero h1,
body[data-surface='public'] main:not(.home-page) > .receitas-hero h1 {
  max-width: 620px !important;
  margin: 10px 0 14px !important;
  font-size: clamp(40px, 4vw, 56px) !important;
  line-height: 1.03 !important;
}

body[data-surface='public'] main:not(.home-page) > .catalog-intro h1,
body[data-surface='public'] main:not(.home-page) > .atacado-hero h1,
body[data-surface='public'] main:not(.home-page) > .encomendas-hero h1,
body[data-surface='public'] main:not(.home-page) > .representantes-hero h1 {
  max-width: 700px !important;
  margin: 12px 0 16px !important;
  font-size: clamp(44px, 4.4vw, 60px) !important;
  line-height: 1.04 !important;
}

body[data-surface='public'] main:not(.home-page) > .origem-territory,
body[data-surface='public'] main:not(.home-page) > .queijo-definition,
body[data-surface='public'] main:not(.home-page) > .guias-intro {
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, .55fr) !important;
  gap: clamp(34px, 6vw, 82px) !important;
  align-items: center !important;
}

body[data-surface='public'] main:not(.home-page) > .origem-territory > .origem-territory-aside,
body[data-surface='public'] main:not(.home-page) > .queijo-definition > .queijo-definition-mark,
body[data-surface='public'] main:not(.home-page) > .guias-intro > .guias-intro-mark {
  display: grid !important;
  width: min(100%, 240px) !important;
  min-height: 0 !important;
  justify-self: end !important;
  padding: 22px 10px !important;
}

@media (max-width: 700px) {
  body[data-surface='public'] main:not(.home-page) > .origem-hero,
  body[data-surface='public'] main:not(.home-page) > .queijo-hero,
  body[data-surface='public'] main:not(.home-page) > .guias-hero,
  body[data-surface='public'] main:not(.home-page) > .receitas-hero {
    min-height: 520px !important;
    height: auto !important;
  }

  body[data-surface='public'] main:not(.home-page) > .catalog-intro,
  body[data-surface='public'] main:not(.home-page) > .atacado-hero,
  body[data-surface='public'] main:not(.home-page) > .encomendas-hero,
  body[data-surface='public'] main:not(.home-page) > .representantes-hero {
    min-height: 640px !important;
    height: auto !important;
  }

  body[data-surface='public'] main:not(.home-page) > .origem-hero > .origem-hero-copy,
  body[data-surface='public'] main:not(.home-page) > .queijo-hero > .queijo-hero-copy,
  body[data-surface='public'] main:not(.home-page) > .guias-hero > .guias-hero-copy,
  body[data-surface='public'] main:not(.home-page) > .receitas-hero > .receitas-hero-copy,
  body[data-surface='public'] main:not(.home-page) > .catalog-intro > .catalog-intro-copy,
  body[data-surface='public'] main:not(.home-page) > .atacado-hero > .atacado-hero-copy,
  body[data-surface='public'] main:not(.home-page) > .encomendas-hero > .encomendas-hero-copy,
  body[data-surface='public'] main:not(.home-page) > .representantes-hero > .representantes-hero-copy {
    padding: 92px 20px 58px !important;
  }

  body[data-surface='public'] main:not(.home-page) > .origem-hero h1,
  body[data-surface='public'] main:not(.home-page) > .queijo-hero h1,
  body[data-surface='public'] main:not(.home-page) > .guias-hero h1,
  body[data-surface='public'] main:not(.home-page) > .receitas-hero h1,
  body[data-surface='public'] main:not(.home-page) > .catalog-intro h1,
  body[data-surface='public'] main:not(.home-page) > .atacado-hero h1,
  body[data-surface='public'] main:not(.home-page) > .encomendas-hero h1,
  body[data-surface='public'] main:not(.home-page) > .representantes-hero h1 {
    font-size: clamp(38px, 10vw, 46px) !important;
  }

  body[data-surface='public'] main:not(.home-page) > .origem-territory,
  body[data-surface='public'] main:not(.home-page) > .queijo-definition,
  body[data-surface='public'] main:not(.home-page) > .guias-intro {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  body[data-surface='public'] main:not(.home-page) > .origem-territory > .origem-territory-aside,
  body[data-surface='public'] main:not(.home-page) > .queijo-definition > .queijo-definition-mark,
  body[data-surface='public'] main:not(.home-page) > .guias-intro > .guias-intro-mark {
    justify-self: start !important;
    width: min(100%, 300px) !important;
  }
}

/* Representatives uses its private surface marker, but remains a public
   presentation page and follows the commercial hero rhythm. */
body[data-surface='representative'] main.representantes-page > .representantes-hero {
  min-height: 560px !important;
  height: 560px !important;
}

body[data-surface='representative'] main.representantes-page > .representantes-hero > .representantes-hero-copy {
  padding-top: 112px !important;
  padding-bottom: 52px !important;
}

body[data-surface='representative'] main.representantes-page > .representantes-hero h1 {
  max-width: 700px !important;
  margin: 12px 0 16px !important;
  font-size: clamp(44px, 4.4vw, 60px) !important;
  line-height: 1.04 !important;
}

@media (max-width: 700px) {
  body[data-surface='representative'] main.representantes-page > .representantes-hero {
    min-height: 640px !important;
    height: auto !important;
  }

  body[data-surface='representative'] main.representantes-page > .representantes-hero > .representantes-hero-copy {
    padding: 92px 20px 58px !important;
  }

  body[data-surface='representative'] main.representantes-page > .representantes-hero h1 {
    font-size: clamp(38px, 10vw, 46px) !important;
  }
}


/* Review 01 · owner visual lock · 2026-10-05
   Final layer only. No architecture, route, auth or Production mutation. */
:root {
  --diamante-wine: #3a0810;
  --pp-wine: #3a0810;
  --pp-wine-deep: #3a0810;
  --review-hero-height: clamp(520px, 40vw, 560px);
  --review-hero-overlay: linear-gradient(90deg, rgba(58,8,16,.92) 0%, rgba(58,8,16,.54) 45%, rgba(58,8,16,.04) 78%);
}

/* Header: keep navigation inside the dark contrast zone, starting from the left. */
.home-nav {
  justify-content: flex-start !important;
}
.home-actions {
  margin-left: auto !important;
}
.home-header {
  background: linear-gradient(180deg, rgba(58,8,16,.82), rgba(58,8,16,.34) 58%, rgba(58,8,16,0)) !important;
}

/* Home is the master hero. */
.home-hero {
  min-height: var(--review-hero-height) !important;
  height: var(--review-hero-height) !important;
}
.home-hero-overlay {
  background: var(--review-hero-overlay) !important;
}

/* One desktop hero height across the public presentation pages. */
body[data-surface='public'] main:not(.home-page) > :where(
  .catalog-intro,
  .atacado-hero,
  .encomendas-hero,
  .representantes-hero,
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero
),
body[data-surface='representative'] main.representantes-page > .representantes-hero {
  min-height: var(--review-hero-height) !important;
  height: var(--review-hero-height) !important;
}

/* Same burgundy overlay, direction and opacity as the Home. */
body[data-surface='public'] main:not(.home-page) > :where(
  .atacado-hero,
  .encomendas-hero,
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero
)::before {
  background: var(--review-hero-overlay) !important;
}

/* Catalog gets its own provisional image instead of repeating Home. */
body[data-surface='public'] main.catalog-page > .catalog-intro {
  position: relative !important;
  isolation: isolate;
  grid-template-columns: minmax(0,1fr) !important;
  background: #3a0810 !important;
  overflow: hidden;
}
body[data-surface='public'] main.catalog-page > .catalog-intro::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: '';
  background: url('/assets/brand/direction_assets/hero/hero_serra_canastra_1920x1080.png') center 52% / cover no-repeat;
}
body[data-surface='public'] main.catalog-page > .catalog-intro::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  background: var(--review-hero-overlay);
}
.catalog-intro-symbol {
  display: none !important;
}

/* Compact first section so the next content starts inside the initial viewport rhythm. */
body[data-surface='public'] main:not(.home-page) > :where(
  .atacado-intro,
  .encomendas-intro,
  .representantes-intro,
  .origem-territory,
  .queijo-definition,
  .guias-intro
) {
  padding-top: 36px !important;
  padding-bottom: 36px !important;
}

/* Catalog: visible title + two complete rows of six on desktop. */
.catalog-selection {
  padding-top: 34px !important;
}
.catalog-selection-heading {
  margin: 0 0 18px;
}
.catalog-selection-heading h2 {
  margin: 7px 0 0 !important;
  color: var(--diamante-wine) !important;
  font: 500 clamp(30px, 3vw, 38px)/1.05 var(--font-display) !important;
  letter-spacing: -.02em;
}
.catalog-toolbar {
  margin-bottom: 22px !important;
}
.catalog-grid {
  grid-template-columns: repeat(6, minmax(0,1fr)) !important;
  align-items: stretch;
}
.catalog-product-card {
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
.catalog-product-copy {
  display: flex !important;
  flex: 1;
  flex-direction: column;
}
.catalog-product-copy h2 {
  min-height: 50px;
}
.catalog-product-copy p {
  min-height: 62px !important;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.catalog-product-price {
  min-height: 28px;
}
.catalog-product-action {
  margin-top: auto !important;
}

/* Bespoke icons must read as icons, not crumbs. */
.home-editorial-card .home-direction-icon {
  width: 48px !important;
  height: 48px !important;
}

/* Footer stays in the earth tone; composition remains legible at its current scale. */
.home-footer {
  background: var(--diamante-earth) !important;
}
.home-footer-composition {
  width: min(285px, 100%) !important;
  height: auto !important;
}

@media (max-width: 1100px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  }
}

@media (max-width: 700px) {
  :root {
    --review-hero-height: auto;
  }

  .home-nav {
    justify-content: initial !important;
  }

  .home-hero,
  body[data-surface='public'] main:not(.home-page) > :where(
    .catalog-intro,
    .atacado-hero,
    .encomendas-hero,
    .representantes-hero,
    .origem-hero,
    .queijo-hero,
    .guias-hero,
    .receitas-hero
  ),
  body[data-surface='representative'] main.representantes-page > .representantes-hero {
    min-height: 520px !important;
    height: auto !important;
  }

  .home-editorial-card .home-direction-icon {
    width: 36px !important;
    height: 36px !important;
  }

  .catalog-selection {
    padding-top: 28px !important;
  }

  .catalog-grid {
    grid-template-columns: 1fr !important;
  }

  .catalog-product-copy h2,
  .catalog-product-copy p {
    min-height: 0 !important;
  }
}

/* Review 01 · perceptual icon sizing: compensate transparent padding inside source PNGs. */
.home-editorial-card:nth-child(-n+3) .home-direction-icon {
  width: 88px !important;
  height: 88px !important;
  margin: -18px 0 -12px -18px;
}
.home-editorial-card:nth-child(4) .home-direction-icon {
  width: 64px !important;
  height: 64px !important;
  margin: -6px 0 -2px -6px;
}
@media (max-width: 700px) {
  .home-editorial-card:nth-child(-n+3) .home-direction-icon {
    width: 72px !important;
    height: 72px !important;
    margin: -14px 0 -10px -14px;
  }
  .home-editorial-card:nth-child(4) .home-direction-icon {
    width: 54px !important;
    height: 54px !important;
    margin: -4px 0 0 -4px;
  }
}

/* Review 01 · Home icon optical alignment + product-card baseline. */
.home-editorial-card:nth-child(-n+3) .home-direction-icon {
  width: 94px !important;
  height: 94px !important;
}
.home-editorial-card:nth-child(4) .home-direction-icon {
  width: 68px !important;
  height: 68px !important;
}
.home-editorial-card:nth-child(1) .home-direction-icon {
  transform: translateY(-5px);
}

.home-product-copy {
  display: flex !important;
  flex-direction: column !important;
  min-height: 210px !important;
}
.home-product-copy h3 {
  min-height: 2.2em !important;
}
.home-product-copy p {
  display: -webkit-box !important;
  min-height: calc(2 * 1.55em) !important;
  max-height: calc(2 * 1.55em) !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}
.home-product-link {
  margin-top: auto !important;
}

@media (max-width: 700px) {
  .home-editorial-card:nth-child(-n+3) .home-direction-icon {
    width: 76px !important;
    height: 76px !important;
  }
  .home-editorial-card:nth-child(4) .home-direction-icon {
    width: 58px !important;
    height: 58px !important;
  }
  .home-editorial-card:nth-child(1) .home-direction-icon {
    transform: translateY(-4px);
  }
}

/* Review 01 · final cream footer composition. */
.home-footer {
  display: block !important;
  min-height: 0 !important;
  padding: 54px clamp(24px, 7vw, 104px) 22px !important;
  color: var(--diamante-wine) !important;
  background: var(--diamante-cream) !important;
  border-top: 1px solid rgba(212,160,23,.48) !important;
}
.home-footer-shell {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(140px, 220px) minmax(360px, 1.35fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  max-width: 1280px;
  margin: 0 auto;
}
.home-footer-signature {
  min-width: 0;
}
.home-footer-signature > a {
  display: inline-block;
  margin: 0 !important;
}
.home-footer-wordmark {
  display: block;
  width: min(280px, 100%) !important;
  height: auto !important;
}
.home-footer-signature p {
  max-width: 340px;
  margin: 18px 0 0 !important;
  color: var(--diamante-wine) !important;
  font: 500 20px/1.32 var(--font-display) !important;
  letter-spacing: -.01em;
}
.home-footer-emblem {
  display: grid;
  place-items: center;
  min-width: 0;
}
.home-footer-emblem img {
  display: block;
  width: min(168px, 100%) !important;
  height: auto !important;
}
.home-footer-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(20px, 3vw, 38px);
  align-items: start;
}
.home-footer-map h3 {
  margin: 0 0 13px !important;
  color: var(--diamante-gold) !important;
  font: 700 10px/1.2 var(--font-brand) !important;
  letter-spacing: .16em !important;
  text-transform: uppercase;
}
.home-footer-map a {
  display: block !important;
  width: fit-content;
  margin: 8px 0 0 !important;
  color: var(--diamante-wine) !important;
  font: 500 12px/1.4 var(--font-body) !important;
  text-decoration: none;
}
.home-footer-map a:hover,
.home-footer-map a:focus-visible {
  color: var(--diamante-gold) !important;
}
.home-footer-rule {
  max-width: 1280px;
  height: 1px;
  margin: 40px auto 18px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,.5) 12%, rgba(212,160,23,.5) 88%, transparent);
}
.home-footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px 12px;
  max-width: 1280px;
  margin: 0 auto;
  color: rgba(58,8,16,.62);
  font: 500 10px/1.4 var(--font-body);
  letter-spacing: .015em;
}
.home-footer-meta > span,
.home-footer-meta > a {
  margin: 0 !important;
}
.home-footer-meta > a {
  margin-left: auto !important;
  color: rgba(58,8,16,.62) !important;
  font: inherit !important;
  text-decoration: none;
}
.home-footer-minas-mark {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid var(--diamante-wine);
  transform: translateY(-1px);
  opacity: .9;
}
@media (max-width: 900px) {
  .home-footer-shell {
    grid-template-columns: 1fr 130px;
  }
  .home-footer-map {
    grid-column: 1 / -1;
  }
}
@media (max-width: 700px) {
  .home-footer {
    padding: 42px 20px 20px !important;
  }
  .home-footer-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .home-footer-signature > a {
    display: block;
  }
  .home-footer-wordmark {
    margin: 0 auto;
  }
  .home-footer-signature p {
    margin: 14px auto 0 !important;
    font-size: 18px !important;
  }
  .home-footer-emblem img {
    width: 132px !important;
  }
  .home-footer-map {
    grid-template-columns: repeat(3, minmax(0,1fr));
    text-align: left;
    gap: 16px;
  }
  .home-footer-rule {
    margin-top: 30px;
  }
  .home-footer-meta {
    gap: 8px 10px;
    text-align: center;
  }
  .home-footer-meta > a {
    flex-basis: 100%;
    margin-left: 0 !important;
  }
}
@media (max-width: 460px) {
  .home-footer-map {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .home-footer-map a {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Review 01 · footer true-center geometry + signature typography. */
.home-footer-shell {
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
  align-items: center !important;
}
.home-footer-signature {
  justify-self: start !important;
}
.home-footer-emblem {
  justify-self: center !important;
  width: min(440px, 42vw);
  text-align: center;
}
.home-footer-emblem img {
  width: 132px !important;
  margin: 0 auto !important;
}
.home-footer-emblem p {
  margin: 15px 0 0 !important;
  color: var(--diamante-wine) !important;
  font: 600 11px/1.25 var(--font-brand) !important;
  letter-spacing: .135em !important;
  text-transform: uppercase;
  white-space: nowrap;
}
.home-footer-map {
  justify-self: end !important;
  width: min(430px, 100%);
}
.home-footer-meta {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
  align-items: center !important;
  gap: 16px !important;
}
.home-footer-meta-spacer {
  display: block;
}
.home-footer-meta-center {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  justify-self: center;
}
.home-footer-meta > a {
  grid-column: 3;
  justify-self: end;
  margin: 0 !important;
}
.home-editorial-card:nth-child(1) .home-direction-icon {
  width: 52px !important;
  height: 52px !important;
  margin: 0 0 2px 0 !important;
  transform: none !important;
  object-fit: contain !important;
}
@media (max-width: 900px) {
  .home-footer-shell {
    grid-template-columns: 1fr 150px !important;
  }
  .home-footer-emblem {
    width: 150px;
  }
  .home-footer-emblem p {
    white-space: normal;
    font-size: 10px !important;
    letter-spacing: .1em !important;
  }
  .home-footer-map {
    grid-column: 1 / -1;
    justify-self: stretch !important;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .home-footer-shell {
    grid-template-columns: 1fr !important;
  }
  .home-footer-signature,
  .home-footer-emblem,
  .home-footer-map {
    justify-self: center !important;
  }
  .home-footer-emblem {
    width: min(100%, 360px);
  }
  .home-footer-emblem p {
    white-space: normal;
    font-size: 10px !important;
  }
  .home-footer-meta {
    grid-template-columns: 1fr !important;
    justify-items: center;
  }
  .home-footer-meta-spacer {
    display: none;
  }
  .home-footer-meta-center {
    grid-column: 1;
    flex-wrap: wrap;
    white-space: normal;
    text-align: center;
  }
  .home-footer-meta > a {
    grid-column: 1;
    justify-self: center;
  }
  .home-editorial-card:nth-child(1) .home-direction-icon {
    width: 42px !important;
    height: 42px !important;
  }
}

/* Review 01 · compact footer final alignment. */
.home-footer {
  padding: 28px clamp(20px,5vw,72px) 12px !important;
}
.home-footer-shell {
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
  align-items: center !important;
  gap: 24px !important;
  max-width: 1240px !important;
}
.home-footer-left {
  justify-self: start;
  width: min(420px,100%);
}
.home-footer-wordmark {
  width: min(220px,100%) !important;
}
.home-footer-map {
  width: min(360px,100%) !important;
  margin-top: 14px;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 12px !important;
  justify-self: start !important;
}
.home-footer-map h3 {
  margin-bottom: 7px !important;
}
.home-footer-map a {
  margin-top: 4px !important;
  font-size: 11px !important;
}
.home-footer-emblem {
  justify-self: center !important;
  width: min(430px,40vw) !important;
  text-align: center !important;
}
.home-footer-emblem img {
  width: 112px !important;
  margin: 0 auto !important;
}
.home-footer-emblem p {
  margin: 8px 0 0 !important;
  font: 600 10px/1.15 var(--font-brand) !important;
  letter-spacing: .11em !important;
  text-transform: uppercase;
  white-space: nowrap;
}
.home-footer-balance {
  width: min(420px,100%);
  justify-self: end;
}
.home-footer-rule {
  margin: 18px auto 10px !important;
  max-width: 1240px !important;
}
.home-footer-meta {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  gap: 10px !important;
  max-width: 1240px !important;
  font-size: 9px !important;
}
.home-footer-copy {
  justify-self: end;
  text-align: right;
  white-space: nowrap;
}
.home-footer-minas-mark {
  justify-self: center;
  border-bottom-color: var(--diamante-wine) !important;
  opacity: 1 !important;
}
.home-footer-credit {
  justify-self: start;
  text-align: left;
  white-space: nowrap;
}
.home-editorial-card:nth-child(1) .home-direction-icon {
  width: 66px !important;
  height: 66px !important;
  margin: -2px 0 -4px -2px !important;
  transform: none !important;
  object-fit: contain !important;
}
@media (max-width:900px) {
  .home-footer-shell {
    grid-template-columns: 1fr 150px !important;
  }
  .home-footer-left {
    width: 100%;
  }
  .home-footer-balance {
    display: none;
  }
  .home-footer-emblem {
    width: 150px !important;
  }
  .home-footer-map {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }
  .home-footer-emblem p {
    white-space: normal;
  }
}
@media (max-width:700px) {
  .home-footer {
    padding: 26px 18px 12px !important;
  }
  .home-footer-shell {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .home-footer-left,
  .home-footer-emblem {
    justify-self: center !important;
    width: 100% !important;
    text-align: center;
  }
  .home-footer-map {
    margin: 12px auto 0;
    text-align: center;
  }
  .home-footer-map a {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .home-footer-meta {
    grid-template-columns: 1fr auto 1fr !important;
    font-size: 8px !important;
    gap: 7px !important;
  }
  .home-footer-copy,
  .home-footer-credit {
    white-space: normal;
  }
  .home-editorial-card:nth-child(1) .home-direction-icon {
    width: 54px !important;
    height: 54px !important;
  }
}

/* ==========================================================================
   FINAL LAYOUT REVIEW · 2026-10-05
   Editorial compacting, CTA simplification and recipe hierarchy.
   ========================================================================== */

/* Home visual regression repair · trust strip and purchase pathways.
   Keep the existing structure and palette, but let each content group size
   itself instead of inheriting the previous compact/no-wrap treatment. */
.home-trust {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch;
  padding: 14px clamp(18px, 5vw, 72px) !important;
}

.home-trust > div {
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  align-items: center;
  justify-content: stretch !important;
  min-width: 0 !important;
  min-height: 78px !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  overflow: hidden;
}

.home-trust .home-direction-icon {
  width: 52px !important;
  height: 52px !important;
  min-width: 0;
  transform: none !important;
}

.home-trust p {
  display: block !important;
  min-width: 0;
  margin: 0 !important;
  color: rgba(247, 238, 217, .86) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.home-trust p strong {
  display: inline;
  color: var(--diamante-cream) !important;
  font-weight: 600;
}

.home-universes {
  background: var(--diamante-cream) !important;
}

.home-universes .home-section-heading h2 {
  color: var(--diamante-wine) !important;
}

.home-universes .home-section-heading p {
  color: var(--diamante-earth) !important;
}

.home-universe-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch;
}

.home-universe {
  display: grid !important;
  grid-template-rows: auto auto 1fr;
  align-content: start !important;
  justify-content: initial !important;
  justify-items: start !important;
  min-width: 0;
  min-height: 220px !important;
  gap: 12px !important;
  padding: 24px !important;
  color: var(--diamante-cream) !important;
  background: var(--diamante-wine-deep) !important;
  border: 1px solid rgba(212, 160, 23, .42) !important;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.home-universe:hover,
.home-universe:focus-visible {
  color: var(--diamante-cream) !important;
  background: var(--diamante-wine) !important;
  border-color: var(--diamante-gold) !important;
}

.home-universe:focus-visible {
  outline: 2px solid var(--diamante-gold);
  outline-offset: 3px;
}

.home-universe .home-direction-icon {
  width: 68px !important;
  height: 68px !important;
  margin: 0 !important;
  transform: none !important;
}

.home-universe h3,
.home-universe .home-universe-title {
  min-width: 0;
  margin: 0 !important;
  color: var(--diamante-cream) !important;
  font: 500 clamp(22px, 1.8vw, 28px)/1.08 var(--font-display) !important;
  letter-spacing: -.02em;
  text-align: left !important;
  text-transform: none !important;
}

.home-universe p {
  min-width: 0;
  max-width: none !important;
  margin: 0 !important;
  color: rgba(247, 238, 217, .86) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  text-align: left !important;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) and (min-width: 701px) {
  .home-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .home-universe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .home-trust {
    grid-template-columns: 1fr !important;
    gap: 1px !important;
    padding: 8px 14px !important;
  }

  .home-trust > div {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    min-height: 70px !important;
    padding: 8px 4px !important;
  }

  .home-trust p {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .home-universe-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .home-universe {
    grid-template-rows: auto auto 1fr;
    min-height: 0 !important;
    padding: 20px !important;
  }

  .home-universe .home-direction-icon {
    width: 60px !important;
    height: 60px !important;
  }

  .home-universe h3,
  .home-universe .home-universe-title {
    font-size: 25px !important;
  }

  .home-universe p {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
}

/* No conversion buttons inside page heroes. Home remains the sole exception. */
.atacado-hero-actions,
.encomendas-hero-actions,
.eventos-hero-actions,
.representantes-hero-actions,
.receitas-hero-actions,
.origem-hero-actions,
.queijo-hero-actions,
.guias-hero-actions {
  display: none !important;
}

/* Recipe internal readiness status is not public editorial content once ready. */
.recipes-index-page[data-recipe-ready="true"] > .recipes-status {
  display: none !important;
}

/* CONHECER family: turn long stacked chapters into a compact 2-up editorial grid.
   Six sections become three visual rows; Origem naturally ends with one full-width bridge. */
.origem-page,
.queijo-page,
.guias-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--diamante-cream, #f7eed9);
}

.origem-page > .origem-hero,
.queijo-page > .queijo-hero,
.guias-page > .guias-hero,
.queijo-page > .editorial-seo-links {
  grid-column: 1 / -1;
}

.origem-page > .editorial-seo-section,
.queijo-page > .editorial-seo-section,
.guias-page > .editorial-seo-section,
.origem-page > .editorial-seo-section.is-alt,
.queijo-page > .editorial-seo-section.is-alt,
.guias-page > .editorial-seo-section.is-alt {
  width: 100% !important;
  margin: 0 !important;
  padding: clamp(38px, 4.4vw, 64px) clamp(28px, 4.2vw, 58px) !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: start;
  gap: 24px !important;
  min-height: 420px;
  border-bottom: 1px solid rgba(104, 24, 39, .12);
}

.origem-page > .editorial-seo-section:nth-of-type(even),
.queijo-page > .editorial-seo-section:nth-of-type(even),
.guias-page > .editorial-seo-section:nth-of-type(even) {
  background: rgba(139, 111, 78, .10) !important;
}

.origem-page > .editorial-seo-section:nth-of-type(odd),
.queijo-page > .editorial-seo-section:nth-of-type(odd),
.guias-page > .editorial-seo-section:nth-of-type(odd) {
  background: rgba(247, 238, 217, .72) !important;
}

.origem-page > .editorial-seo-section:nth-of-type(2n),
.queijo-page > .editorial-seo-section:nth-of-type(2n),
.guias-page > .editorial-seo-section:nth-of-type(2n) {
  border-left: 1px solid rgba(104, 24, 39, .10);
}

.origem-page > .editorial-seo-section > div:first-child,
.queijo-page > .editorial-seo-section > div:first-child,
.guias-page > .editorial-seo-section > div:first-child {
  max-width: 660px !important;
}

.origem-page > .editorial-seo-section h2,
.queijo-page > .editorial-seo-section h2,
.guias-page > .editorial-seo-section h2 {
  max-width: 600px;
  margin-bottom: 15px !important;
  font-size: clamp(28px, 2.7vw, 42px) !important;
  line-height: 1.04 !important;
}

.origem-page > .editorial-seo-section p,
.queijo-page > .editorial-seo-section p,
.guias-page > .editorial-seo-section p {
  max-width: 620px;
  margin-bottom: 12px !important;
  font-size: 16px !important;
  line-height: 1.58 !important;
}

/* Turn each secondary note into a visual editorial panel, using only approved local assets. */
.origem-page > .editorial-seo-section aside,
.queijo-page > .editorial-seo-section aside,
.guias-page > .editorial-seo-section aside {
  position: relative;
  min-height: 130px;
  margin-top: auto;
  padding: 22px 132px 20px 0 !important;
  border-top: 1px solid rgba(104, 24, 39, .20) !important;
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-size: 96px 96px;
}

.origem-page > .editorial-seo-section aside strong,
.queijo-page > .editorial-seo-section aside strong,
.guias-page > .editorial-seo-section aside strong {
  margin-bottom: 8px !important;
  font-size: 21px !important;
}

.origem-page > .editorial-seo-section aside p,
.queijo-page > .editorial-seo-section aside p,
.guias-page > .editorial-seo-section aside p {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* Relevant editorial illustrations. No fabricated EXIF/geolocation is added. */
.origem-page > .editorial-seo-section:nth-of-type(2) aside {
  background-image: url('/assets/brand/home_v3_canon/icon_serra.png');
}
.origem-page > .editorial-seo-section:nth-of-type(3) aside {
  background-image: url('/assets/brand/home_v3_canon/icon_minas_igreja.png');
}
.origem-page > .editorial-seo-section:nth-of-type(4) aside {
  background-image: url('/assets/brand/home_v3_canon/icon_origem.png');
}
.origem-page > .editorial-seo-section:nth-of-type(5) aside {
  background-image: url('/assets/brand/home_v3_canon/simbolo_queijo_diamante.png');
}
.origem-page > .editorial-seo-section:nth-of-type(6) aside {
  background-image: url('/assets/brand/home_v3_canon/icon_queijo.png');
}

.queijo-page > .editorial-seo-section:nth-of-type(2) aside {
  background-image: url('/assets/brand/home_v3_canon/icon_queijo.png');
}
.queijo-page > .editorial-seo-section:nth-of-type(3) aside {
  background-image: url('/assets/brand/home_v3_canon/icon_encomendas.png');
}
.queijo-page > .editorial-seo-section:nth-of-type(4) aside {
  background-image: url('/assets/brand/home_v3_canon/icon_catalogo.png');
}
.queijo-page > .editorial-seo-section:nth-of-type(5) aside {
  background-image: url('/assets/brand/home_v3_canon/icon_guia.png');
}
.queijo-page > .editorial-seo-section:nth-of-type(6) aside,
.queijo-page > .editorial-seo-section:nth-of-type(7) aside {
  background-image: url('/assets/brand/home_v3_canon/simbolo_queijo_diamante.png');
}

.guias-page > .editorial-seo-section:nth-of-type(2) aside {
  background-image: url('/assets/brand/home_v3_canon/icon_catalogo.png');
}
.guias-page > .editorial-seo-section:nth-of-type(3) aside {
  background-image: url('/assets/brand/home_v3_canon/icon_queijo.png');
}
.guias-page > .editorial-seo-section:nth-of-type(4) aside {
  background-image: url('/assets/brand/home_v3_canon/icon_guia.png');
}
.guias-page > .editorial-seo-section:nth-of-type(5) aside {
  background-image: url('/assets/brand/home_v3_canon/icon_seguranca.png');
}
.guias-page > .editorial-seo-section:nth-of-type(6) aside,
.guias-page > .editorial-seo-section:nth-of-type(7) aside {
  background-image: url('/assets/brand/home_v3_canon/icon_encomendas.png');
}

/* Last odd Origem chapter becomes a calm full-width bridge instead of a dangling half-card. */
.origem-page > .editorial-seo-section:last-of-type:nth-of-type(even) {
  grid-column: 1 / -1;
  min-height: 0;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr) !important;
  align-items: center;
}

/* Institutional Hero hierarchy: still branded, no billboard-sized titles. */
.origem-hero-copy h1,
.queijo-hero-copy h1,
.guias-hero-copy h1 {
  max-width: 650px !important;
  font-size: clamp(38px, 4vw, 56px) !important;
  line-height: 1.02 !important;
}

.origem-hero-copy p,
.queijo-hero-copy p,
.guias-hero-copy p {
  max-width: 570px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

/* Editorial navigation is a quiet continuation, never a button forest. */
.editorial-seo-link,
.editorial-seo-links a {
  font-size: 12px !important;
  font-weight: 650 !important;
  text-decoration-thickness: 1px;
}

.editorial-seo-links {
  padding-top: 28px !important;
  padding-bottom: 34px !important;
}

/* Recipes: smaller hierarchy, stable card bottoms, no overlays fighting the title/action. */
.receitas-hero-copy h1 {
  max-width: 610px !important;
  font-size: clamp(38px, 4vw, 54px) !important;
  line-height: 1.02 !important;
}

.recipes-catalog {
  padding-top: clamp(52px, 6vw, 82px) !important;
  padding-bottom: clamp(58px, 7vw, 92px) !important;
}

.recipes-catalog-heading h2 {
  margin-bottom: 24px !important;
  font-size: clamp(30px, 3vw, 44px) !important;
}

.recipe-grid,
.recipe-related-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.recipe-card {
  height: 100%;
  grid-template-rows: 200px minmax(0, 1fr) !important;
  overflow: hidden;
}

.recipe-card-media {
  position: relative;
  z-index: 1;
}

.recipe-card-copy {
  position: relative;
  z-index: 2;
  display: flex !important;
  flex-direction: column;
  min-height: 0;
  padding: 20px !important;
}

.recipe-card-copy h2 {
  margin: 8px 0 10px !important;
  font-size: clamp(20px, 1.7vw, 24px) !important;
  line-height: 1.13 !important;
}

.recipe-card-copy p {
  font-size: 13.5px !important;
  line-height: 1.5 !important;
}

.recipe-card-meta {
  margin-top: 14px !important;
  margin-bottom: 16px;
}

.recipe-card-copy .receitas-text-link {
  position: relative;
  z-index: 3;
  align-self: flex-start;
  margin-top: auto !important;
  clear: both;
}

.recipe-detail-hero-copy h1 {
  max-width: 680px;
  font-size: clamp(34px, 4vw, 54px) !important;
  line-height: 1.02 !important;
}

.recipe-detail-hero-copy {
  padding-top: clamp(48px, 6vw, 82px) !important;
  padding-bottom: clamp(44px, 6vw, 78px) !important;
}

.recipe-detail-footer {
  position: relative;
  z-index: 2;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.recipe-detail-footer .receitas-text-link {
  margin-top: 0 !important;
  color: var(--receitas-cream) !important;
  border-bottom-color: var(--receitas-gold) !important;
}

/* Tablet: one card per editorial row avoids cramped pseudo-columns. */
@media (max-width: 900px) {
  .origem-page,
  .queijo-page,
  .guias-page {
    grid-template-columns: 1fr;
  }

  .origem-page > .origem-hero,
  .queijo-page > .queijo-hero,
  .guias-page > .guias-hero,
  .queijo-page > .editorial-seo-links,
  .origem-page > .editorial-seo-section,
  .queijo-page > .editorial-seo-section,
  .guias-page > .editorial-seo-section {
    grid-column: 1;
  }

  .origem-page > .editorial-seo-section,
  .queijo-page > .editorial-seo-section,
  .guias-page > .editorial-seo-section,
  .origem-page > .editorial-seo-section.is-alt,
  .queijo-page > .editorial-seo-section.is-alt,
  .guias-page > .editorial-seo-section.is-alt {
    min-height: 0;
    padding: 48px 28px !important;
  }

  .origem-page > .editorial-seo-section:last-of-type:nth-of-type(even) {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .origem-page > .editorial-seo-section,
  .queijo-page > .editorial-seo-section,
  .guias-page > .editorial-seo-section,
  .origem-page > .editorial-seo-section.is-alt,
  .queijo-page > .editorial-seo-section.is-alt,
  .guias-page > .editorial-seo-section.is-alt {
    padding: 38px 20px !important;
    gap: 18px !important;
  }

  .origem-page > .editorial-seo-section aside,
  .queijo-page > .editorial-seo-section aside,
  .guias-page > .editorial-seo-section aside {
    min-height: 104px;
    padding: 18px 96px 14px 0 !important;
    background-size: 72px 72px;
  }

  .origem-page > .editorial-seo-section h2,
  .queijo-page > .editorial-seo-section h2,
  .guias-page > .editorial-seo-section h2 {
    font-size: clamp(27px, 8vw, 34px) !important;
  }

  .origem-hero-copy h1,
  .queijo-hero-copy h1,
  .guias-hero-copy h1,
  .receitas-hero-copy h1 {
    font-size: clamp(34px, 9vw, 43px) !important;
  }

  .recipe-card {
    grid-template-rows: 190px minmax(0, 1fr) !important;
  }

  .recipe-detail-hero-copy h1 {
    font-size: clamp(32px, 9vw, 42px) !important;
  }

  .recipe-detail-footer {
    align-items: flex-start !important;
    padding: 24px 20px !important;
  }
}

/* Final optical tightening after rendered review. */
.origem-page > .editorial-seo-section aside,
.queijo-page > .editorial-seo-section aside,
.guias-page > .editorial-seo-section aside {
  padding-right: 156px !important;
  background-size: 118px 118px !important;
}

.recipe-card-copy h2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 3.3em;
  font-size: 22px !important;
  line-height: 1.1 !important;
}

.recipe-card-copy p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

@media (max-width: 600px) {
  .origem-page > .editorial-seo-section aside,
  .queijo-page > .editorial-seo-section aside,
  .guias-page > .editorial-seo-section aside {
    padding-right: 108px !important;
    background-size: 82px 82px !important;
  }
  .recipe-card-copy h2 {
    font-size: 21px !important;
  }
}

/* Final responsive guard: editorial hero children must be shrinkable at the
   narrowest supported viewport. This prevents desktop grid sizing from
   pushing copy past the viewport while preserving the approved photography. */
@media (max-width: 600px) {
  body[data-surface='public'] main:not(.home-page) > :where(
    .origem-hero,
    .queijo-hero,
    .guias-hero,
    .receitas-hero
  ) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body[data-surface='public'] main:not(.home-page) > :where(
    .origem-hero,
    .queijo-hero,
    .guias-hero,
    .receitas-hero
  ) > :where(
    .origem-hero-copy,
    .queijo-hero-copy,
    .guias-hero-copy,
    .receitas-hero-copy,
    .origem-hero-photo,
    .queijo-hero-photo,
    .guias-hero-photo,
    .receitas-hero-photo
  ) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body[data-surface='public'] main:not(.home-page) > :where(
    .origem-hero,
    .queijo-hero,
    .guias-hero,
    .receitas-hero
  ) > :where(
    .origem-hero-copy,
    .queijo-hero-copy,
    .guias-hero-copy,
    .receitas-hero-copy
  ) {
    padding: 92px 20px 58px !important;
  }

  body[data-surface='public'] main:not(.home-page) > :where(
    .origem-hero,
    .queijo-hero,
    .guias-hero,
    .receitas-hero
  ) :where(h1, p) {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body[data-surface='public'] main.recipes-index-page .recipe-grid {
    min-width: 0 !important;
  }

  body[data-surface='public'] main.recipes-index-page .recipe-card,
  body[data-surface='public'] main.recipe-detail-page .recipe-related-card {
    min-width: 0 !important;
  }

  body[data-surface='public'] main.recipes-index-page .recipe-card-copy h2,
  body[data-surface='public'] main.recipe-detail-page .recipe-related-card h2 {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
}

/* Keep recipe-card hierarchy deterministic after the page-specific sheets. */
body[data-surface='public'] main.recipes-index-page .recipe-card-copy h2,
body[data-surface='public'] main.recipe-detail-page .recipe-related-card h2 {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  min-height: 3.3em !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
}

body[data-surface='public'] main.recipes-index-page .recipe-card-copy,
body[data-surface='public'] main.recipe-detail-page .recipe-related-card .recipe-card-copy {
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* Keep the approved editorial photography visible while the text remains in
   the readable foreground layer. */
body[data-surface='public'] main:not(.home-page) > :where(
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero
) {
  position: relative !important;
  isolation: isolate !important;
  display: block !important;
  overflow: hidden !important;
  background: #3a0810 !important;
}

body[data-surface='public'] main:not(.home-page) > :where(
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero
) > :where(
  .origem-hero-photo,
  .queijo-hero-photo,
  .guias-hero-photo,
  .receitas-hero-photo
) {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body[data-surface='public'] main:not(.home-page) > :where(
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero
) > :where(
  .origem-hero-photo,
  .queijo-hero-photo,
  .guias-hero-photo,
  .receitas-hero-photo
) img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
}

body[data-surface='public'] main:not(.home-page) > :where(
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero
)::before {
  z-index: 1 !important;
}

body[data-surface='public'] main:not(.home-page) > :where(
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero
) > :where(
  .origem-hero-copy,
  .queijo-hero-copy,
  .guias-hero-copy,
  .receitas-hero-copy
) {
  position: relative !important;
  z-index: 2 !important;
  width: min(760px, 100%) !important;
  max-width: 100% !important;
  min-height: 100% !important;
  box-sizing: border-box !important;
}

/* Commercial conversion remains functional; only editorial hero actions are
   removed by the cleanup above. */
body[data-surface='public'] main.atacado-page .atacado-hero-actions,
body[data-surface='public'] main.encomendas-page .encomendas-hero-actions,
body[data-surface='representative'] main.representantes-page .representantes-hero-actions {
  display: flex !important;
}


/* ==========================================================================
   OWNER A-P TRANSVERSAL EXECUTION · 2026-10-06
   Public layout only. Loaded last by public-app.js.
   ========================================================================== */
body[data-surface='public'] {
  --owner-internal-hero: 380px;
  --owner-section-y: clamp(42px, 4.6vw, 64px);
  --owner-gutter: clamp(20px, 7vw, 104px);
}

/* A · typography: smaller, balanced and contained. */
body[data-surface='public'] main :where(h1,h2,h3) {
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}
body[data-surface='public'] main:not(.home-page) h1 {
  max-width: 660px;
  font-size: clamp(38px, 4vw, 50px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.025em !important;
}
body[data-surface='public'] main:not(.home-page) h2 {
  max-width: 700px;
  font-size: clamp(28px, 2.8vw, 38px) !important;
  line-height: 1.07 !important;
  letter-spacing: -.018em !important;
}
body[data-surface='public'] main:not(.home-page) h3 {
  font-size: clamp(19px, 1.7vw, 24px) !important;
  line-height: 1.12 !important;
}
body[data-surface='public'] .home-hero h1 {
  max-width: 720px !important;
  font-size: clamp(46px, 5vw, 58px) !important;
  line-height: 1.01 !important;
}
body[data-surface='public'] main p {
  text-wrap: pretty;
}

/* K · the post-hero trust row was a second card band immediately before the
   editorial pathways. Remove the redundant band; icons remain throughout the
   public visual system. */
body[data-surface='public'] .home-trust {
  display: none !important;
}
body[data-surface='public'] .home-section,
body[data-surface='public'] .home-editorial {
  padding-top: clamp(44px, 5vw, 68px) !important;
  padding-bottom: clamp(44px, 5vw, 68px) !important;
}

/* C/D · no hero CTAs anywhere, including Home. */
body[data-surface='public'] :where(
  .home-hero .home-button,
  .home-hero-actions,
  .atacado-hero-actions,
  .encomendas-hero-actions,
  .eventos-hero-actions,
  .representantes-hero-actions,
  .receitas-hero-actions,
  .origem-hero-actions,
  .queijo-hero-actions,
  .guias-hero-actions,
  .channel-editorial .brand-button
) {
  display: none !important;
}

/* C · one canonical internal hero height. */
body[data-surface='public'] :where(
  .catalog-intro,
  .channel-editorial,
  .atacado-hero,
  .encomendas-hero,
  .eventos-hero,
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero,
  .representantes-hero,
  .public-simple-hero
) {
  position: relative !important;
  isolation: isolate !important;
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  height: var(--owner-internal-hero) !important;
  min-height: var(--owner-internal-hero) !important;
  max-height: var(--owner-internal-hero) !important;
  padding: 104px var(--owner-gutter) 38px !important;
  overflow: hidden !important;
  color: #f7eed9 !important;
  background-color: #680f1a !important;
}

/* Canonical left-to-right wine veil. */
body[data-surface='public'] :where(
  .catalog-intro,
  .channel-editorial,
  .atacado-hero,
  .encomendas-hero,
  .eventos-hero,
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero,
  .representantes-hero,
  .public-simple-hero
)::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(
    90deg,
    #680f1a 0%,
    rgba(104,15,26,.97) 28%,
    rgba(104,15,26,.82) 47%,
    rgba(104,15,26,.38) 66%,
    rgba(104,15,26,.06) 100%
  ) !important;
}

/* Approved photos occupy the full hero; focal matter stays on the right. */
body[data-surface='public'] :where(
  .atacado-hero-photo,
  .eventos-hero-photo,
  .origem-hero-photo,
  .queijo-hero-photo,
  .guias-hero-photo,
  .receitas-hero-photo
) {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
body[data-surface='public'] :where(
  .atacado-hero-photo,
  .eventos-hero-photo,
  .origem-hero-photo,
  .queijo-hero-photo,
  .guias-hero-photo,
  .receitas-hero-photo
) img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 74% center !important;
  transform: none !important;
}

/* Text always sits above the gradient. */
body[data-surface='public'] :where(
  .catalog-intro-copy,
  .channel-editorial,
  .atacado-hero-copy,
  .encomendas-hero-copy,
  .eventos-hero-copy,
  .origem-hero-copy,
  .queijo-hero-copy,
  .guias-hero-copy,
  .receitas-hero-copy,
  .representantes-hero-copy,
  .public-simple-hero > *
) {
  position: relative !important;
  z-index: 2 !important;
}
body[data-surface='public'] :where(
  .catalog-intro-copy,
  .atacado-hero-copy,
  .encomendas-hero-copy,
  .eventos-hero-copy,
  .origem-hero-copy,
  .queijo-hero-copy,
  .guias-hero-copy,
  .receitas-hero-copy,
  .representantes-hero-copy
) {
  width: min(610px, 52%) !important;
  max-width: 610px !important;
  padding: 0 !important;
}
body[data-surface='public'] :where(
  .catalog-intro,
  .channel-editorial,
  .atacado-hero,
  .encomendas-hero,
  .eventos-hero,
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero,
  .representantes-hero,
  .public-simple-hero
) :where(h1,p,.eyebrow,.catalog-kicker,.atacado-kicker,.encomendas-kicker,.eventos-kicker,.origem-kicker,.queijo-kicker,.guias-kicker,.receitas-kicker,.representantes-kicker) {
  position: relative !important;
  z-index: 2 !important;
}
body[data-surface='public'] :where(
  .catalog-intro,
  .channel-editorial,
  .atacado-hero,
  .encomendas-hero,
  .eventos-hero,
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero,
  .representantes-hero,
  .public-simple-hero
) h1 {
  margin-top: 10px !important;
  margin-bottom: 12px !important;
  color: #f7eed9 !important;
}
body[data-surface='public'] :where(
  .catalog-intro,
  .channel-editorial,
  .atacado-hero,
  .encomendas-hero,
  .eventos-hero,
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero,
  .representantes-hero,
  .public-simple-hero
) p {
  max-width: 570px !important;
  margin: 0 !important;
  color: rgba(247,238,217,.88) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

/* Brand-stage heroes keep their object on the right. */
body[data-surface='public'] :where(.encomendas-hero-stage,.representantes-hero-mark) {
  position: absolute !important;
  z-index: 2 !important;
  right: clamp(36px, 8vw, 130px) !important;
  top: 50% !important;
  left: auto !important;
  width: clamp(140px, 17vw, 230px) !important;
  height: auto !important;
  transform: translateY(-46%) !important;
  opacity: .96;
}
body[data-surface='public'] :where(.encomendas-hero-stage,.representantes-hero-mark) img:first-child {
  display: block !important;
  width: 100% !important;
  max-height: 190px !important;
  object-fit: contain !important;
}

/* F/G · compact display-only product validation grids. */
body[data-surface='public'] .catalog-selection {
  padding: var(--owner-section-y) var(--owner-gutter) !important;
}
body[data-surface='public'] .catalog-selection-heading {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,480px);
  align-items: end;
  gap: 24px;
  margin-bottom: 20px !important;
}
body[data-surface='public'] .catalog-selection-heading h2,
body[data-surface='public'] .varejo-selection-heading h2 {
  margin: 0 !important;
}
body[data-surface='public'] .validation-disclaimer {
  max-width: 520px !important;
  margin: 0 !important;
  color: #8b6f4e !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}
body[data-surface='public'] .catalog-toolbar {
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 24px !important;
}
body[data-surface='public'] .catalog-search {
  min-height: 40px !important;
  width: min(290px,100%) !important;
}
body[data-surface='public'] .catalog-search input {
  padding: 7px 0 !important;
  font-size: 14px !important;
}
body[data-surface='public'] .catalog-filters {
  gap: 16px !important;
}
body[data-surface='public'] .catalog-filter {
  min-height: 38px !important;
  padding: 6px 0 !important;
}

body[data-surface='public'] .catalog-validation-grid {
  grid-template-columns: repeat(6,minmax(0,1fr)) !important;
  gap: 12px !important;
}
body[data-surface='public'] .varejo-product-grid {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 14px !important;
}
body[data-surface='public'] .validation-product-card {
  min-width: 0 !important;
  border: 1px solid rgba(104,15,26,.10) !important;
  background: #fffaf0 !important;
  box-shadow: none !important;
}
body[data-surface='public'] .validation-product-image {
  display: block !important;
  aspect-ratio: 4/3 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
body[data-surface='public'] .validation-product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
body[data-surface='public'] .validation-product-copy {
  min-height: 0 !important;
  padding: 13px 12px 15px !important;
}
body[data-surface='public'] .validation-product-copy .catalog-product-kicker {
  min-height: 0 !important;
  font-size: 8px !important;
  letter-spacing: .10em !important;
}
body[data-surface='public'] .validation-product-copy h2 {
  min-height: 0 !important;
  margin: 7px 0 6px !important;
  font-size: clamp(17px,1.35vw,20px) !important;
  line-height: 1.08 !important;
}
body[data-surface='public'] .validation-product-copy p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  color: #8b6f4e !important;
  font-size: 11.5px !important;
  line-height: 1.38 !important;
}
body[data-surface='public'] .varejo-selection {
  padding: var(--owner-section-y) var(--owner-gutter) !important;
  background: #f7eed9 !important;
}
body[data-surface='public'] .varejo-selection-heading {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(280px,480px);
  align-items: end;
  gap: 24px;
  margin-bottom: 24px !important;
}
body[data-surface='public'] .varejo-selection-heading .eyebrow {
  grid-column: 1/-1;
}
body[data-surface='public'] .channel-body {
  padding: var(--owner-section-y) var(--owner-gutter) !important;
  gap: clamp(24px,4vw,64px) !important;
}

/* D · only the useful B2B strip keeps a prominent CTA; fix all states. */
body[data-surface='public'] .catalog-b2b {
  padding: 44px var(--owner-gutter) !important;
}
body[data-surface='public'] .catalog-outline-action {
  color: #f7eed9 !important;
  background: transparent !important;
  border-color: #d4a017 !important;
}
body[data-surface='public'] .catalog-outline-action :where(span,strong) {
  color: inherit !important;
}
body[data-surface='public'] .catalog-outline-action:hover,
body[data-surface='public'] .catalog-outline-action:active {
  color: #3a0810 !important;
  background: #d4a017 !important;
}
body[data-surface='public'] :where(a,button):focus-visible {
  outline: 2px solid #d4a017 !important;
  outline-offset: 3px !important;
}
body[data-surface='public'] :where(button,[role='button']):disabled {
  opacity: .52 !important;
  cursor: not-allowed !important;
}

/* B/K · tighten repeated content bands without flattening the editorial rhythm. */
body[data-surface='public'] :where(
  .atacado-intro,.atacado-profiles,.atacado-process,.atacado-products,.atacado-origin,
  .encomendas-intro,.encomendas-occasions,.encomendas-selections,.encomendas-feature,.encomendas-process,.encomendas-origin,
  .eventos-intro,.eventos-contexts,.eventos-experience,.eventos-products,.eventos-process,.eventos-origin,
  .representantes-intro,.representantes-fit,.representantes-process,.representantes-territory,.representantes-access,
  .recipes-catalog,.public-search-body
) {
  padding-top: var(--owner-section-y) !important;
  padding-bottom: var(--owner-section-y) !important;
}
body[data-surface='public'] :where(
  .atacado-profile-list>div,
  .atacado-steps li,
  .encomendas-occasion-list article,
  .encomendas-steps li,
  .eventos-context-list article,
  .eventos-steps li,
  .representantes-fit-grid article,
  .representantes-steps li
) {
  min-height: 0 !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}
body[data-surface='public'] :where(.atacado-final,.encomendas-final,.eventos-final,.origem-final,.queijo-final,.guias-final,.receitas-final) {
  display: none !important;
}

/* I/J · one compact grammar for the Conhecer family; approved icons stay. */
body[data-surface='public'] :where(.origem-page,.queijo-page,.guias-page) > .editorial-seo-section,
body[data-surface='public'] :where(.origem-page,.queijo-page,.guias-page) > .editorial-seo-section.is-alt {
  min-height: 0 !important;
  padding: clamp(34px,4vw,52px) clamp(24px,4vw,52px) !important;
  gap: 18px !important;
}
body[data-surface='public'] :where(.origem-page,.queijo-page,.guias-page) > .editorial-seo-section aside {
  min-height: 96px !important;
  padding-top: 16px !important;
  padding-bottom: 12px !important;
  padding-right: 116px !important;
  background-size: 78px 78px !important;
}
body[data-surface='public'] :where(
  .home-direction-icon,
  .representantes-fit-grid img,
  .encomendas-occasion-list img,
  .guias-related-links img
) {
  object-fit: contain !important;
  filter: none !important;
}
body[data-surface='public'] .representantes-fit-grid img {
  width: 48px !important;
  height: 48px !important;
  margin-bottom: 14px !important;
}

/* L · compact, grouped public forms. */
body[data-surface='public'] .lead-capture {
  display: grid !important;
  grid-template-columns: minmax(240px,.72fr) minmax(0,1.28fr) !important;
  align-items: start !important;
  gap: clamp(28px,5vw,72px) !important;
  padding: 48px var(--owner-gutter) !important;
}
body[data-surface='public'] .lead-capture > div {
  position: sticky;
  top: 100px;
}
body[data-surface='public'] .lead-capture > div h2 {
  margin: 10px 0 10px !important;
}
body[data-surface='public'] .lead-capture > div p {
  max-width: 420px !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
body[data-surface='public'] .lead-capture form {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 12px 16px !important;
  min-width: 0 !important;
}
body[data-surface='public'] .lead-capture form > label {
  min-width: 0 !important;
  margin: 0 !important;
}
body[data-surface='public'] .lead-capture form > label:has(textarea),
body[data-surface='public'] .lead-capture form > .lead-check,
body[data-surface='public'] .lead-capture form > button,
body[data-surface='public'] .lead-capture form > .lead-form-status {
  grid-column: 1/-1 !important;
}
body[data-surface='public'] .lead-capture :where(input:not([type='checkbox']),textarea,select) {
  min-height: 40px !important;
  padding: 9px 10px !important;
  box-sizing: border-box !important;
}
body[data-surface='public'] .lead-capture textarea {
  min-height: 82px !important;
  max-height: 130px !important;
  resize: vertical;
}
body[data-surface='public'] .lead-capture .brand-button-primary {
  justify-self: start !important;
  min-height: 42px !important;
  padding: 10px 18px !important;
  color: #3a0810 !important;
  background: #d4a017 !important;
  border: 1px solid #d4a017 !important;
}
body[data-surface='public'] .lead-capture .brand-button-primary:hover,
body[data-surface='public'] .lead-capture .brand-button-primary:active {
  color: #f7eed9 !important;
  background: #680f1a !important;
}

/* M · Representantes: remove accidental billboard/card spacing, keep the narrative. */
body[data-surface='public'] .representantes-page {
  background: #f7eed9 !important;
}
body[data-surface='public'] .representantes-intro {
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr) !important;
  gap: clamp(28px,5vw,72px) !important;
}
body[data-surface='public'] .representantes-fit-grid {
  gap: 12px !important;
}
body[data-surface='public'] .representantes-fit-grid article {
  padding: 22px !important;
}
body[data-surface='public'] .representantes-process {
  gap: clamp(30px,5vw,72px) !important;
}
body[data-surface='public'] .representantes-territory {
  grid-template-columns: 180px minmax(0,1fr) !important;
  gap: 34px !important;
}
body[data-surface='public'] .representantes-territory-mark {
  min-height: 150px !important;
}
body[data-surface='public'] .representantes-access {
  align-items: center !important;
  gap: 28px !important;
}
body[data-surface='public'] .representantes-access h2 {
  margin-bottom: 8px !important;
}

/* N · final footer is intentionally a quiet strip, and nothing else. */
body[data-surface='public'] .home-footer {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  min-height: 66px !important;
  height: auto !important;
  padding: 18px 20px !important;
  margin: 0 !important;
  color: #f7eed9 !important;
  background: #680f1a !important;
  border: 0 !important;
}
body[data-surface='public'] .home-footer > p {
  margin: 0 !important;
  color: #f7eed9 !important;
  font: 600 12px/1.2 var(--font-brand) !important;
  letter-spacing: .10em !important;
  text-align: center !important;
  text-transform: uppercase;
}

/* Search and contact bodies no longer inherit giant page-intro geometry. */
body[data-surface='public'] .public-search-body {
  padding-left: var(--owner-gutter) !important;
  padding-right: var(--owner-gutter) !important;
  background: #f7eed9 !important;
}
body[data-surface='public'] .public-search-body > section {
  margin-top: 34px !important;
}
body[data-surface='public'] .contact-page > .lead-capture {
  margin: 0 !important;
}

/* Product grids elsewhere should stay compact even when only 2 real items exist. */
body[data-surface='public'] :where(
  .atacado-product-grid,.eventos-product-grid,.encomendas-selection-grid,
  .queijo-product-grid,.receitas-product-grid,.product-related-grid
) {
  gap: 14px !important;
}
body[data-surface='public'] :where(.atacado-product,.eventos-product,.encomendas-selection-card,.queijo-product,.receitas-product) {
  max-width: 460px;
}
body[data-surface='public'] :where(.atacado-product-copy,.eventos-product-copy,.encomendas-selection-copy,.queijo-product-copy,.receitas-product-copy) {
  padding: 16px !important;
}

/* Tablet */
@media (max-width: 980px) {
  body[data-surface='public'] { --owner-internal-hero: 330px; --owner-gutter: clamp(24px,5vw,54px); }
  body[data-surface='public'] .catalog-validation-grid { grid-template-columns: repeat(4,minmax(0,1fr)) !important; }
  body[data-surface='public'] .varejo-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)) !important; }
  body[data-surface='public'] :where(
    .catalog-intro-copy,.atacado-hero-copy,.encomendas-hero-copy,.eventos-hero-copy,
    .origem-hero-copy,.queijo-hero-copy,.guias-hero-copy,.receitas-hero-copy,.representantes-hero-copy
  ) {
    width: min(580px,62%) !important;
  }
  body[data-surface='public'] :where(.encomendas-hero-stage,.representantes-hero-mark) {
    right: 34px !important;
    width: 150px !important;
  }
}

/* Mobile */
@media (max-width: 700px) {
  body[data-surface='public'] { --owner-internal-hero: 300px; --owner-gutter: 20px; --owner-section-y: 38px; }

  body[data-surface='public'] :where(
    .catalog-intro,.channel-editorial,.atacado-hero,.encomendas-hero,.eventos-hero,
    .origem-hero,.queijo-hero,.guias-hero,.receitas-hero,.representantes-hero,.public-simple-hero
  ) {
    height: var(--owner-internal-hero) !important;
    min-height: var(--owner-internal-hero) !important;
    max-height: var(--owner-internal-hero) !important;
    padding: 88px 20px 28px !important;
  }

  body[data-surface='public'] :where(
    .catalog-intro-copy,.atacado-hero-copy,.encomendas-hero-copy,.eventos-hero-copy,
    .origem-hero-copy,.queijo-hero-copy,.guias-hero-copy,.receitas-hero-copy,.representantes-hero-copy
  ) {
    width: min(82%,520px) !important;
    max-width: 82% !important;
  }
  body[data-surface='public'] main:not(.home-page) h1 {
    font-size: clamp(31px,8.8vw,38px) !important;
  }
  body[data-surface='public'] main:not(.home-page) h2 {
    font-size: clamp(27px,7vw,33px) !important;
  }
  body[data-surface='public'] :where(
    .atacado-hero-photo,.eventos-hero-photo,.origem-hero-photo,.queijo-hero-photo,.guias-hero-photo,.receitas-hero-photo
  ) img {
    object-position: 72% center !important;
  }
  body[data-surface='public'] :where(.encomendas-hero-stage,.representantes-hero-mark) {
    right: -12px !important;
    width: 118px !important;
    opacity: .72 !important;
  }

  body[data-surface='public'] .catalog-selection-heading,
  body[data-surface='public'] .varejo-selection-heading {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  body[data-surface='public'] .catalog-toolbar {
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  body[data-surface='public'] .catalog-validation-grid,
  body[data-surface='public'] .varejo-product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 10px !important;
  }
  body[data-surface='public'] .validation-product-copy {
    padding: 10px !important;
  }
  body[data-surface='public'] .validation-product-copy h2 {
    font-size: 17px !important;
  }
  body[data-surface='public'] .validation-product-copy p {
    font-size: 11px !important;
  }

  body[data-surface='public'] .lead-capture {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 38px 20px !important;
  }
  body[data-surface='public'] .lead-capture > div {
    position: static !important;
  }
  body[data-surface='public'] .lead-capture form {
    grid-template-columns: 1fr !important;
    gap: 11px !important;
  }
  body[data-surface='public'] .lead-capture form > * {
    grid-column: 1 !important;
  }

  body[data-surface='public'] .representantes-intro,
  body[data-surface='public'] .representantes-territory {
    grid-template-columns: 1fr !important;
  }
  body[data-surface='public'] .representantes-territory-mark {
    min-height: 96px !important;
  }
  body[data-surface='public'] .home-footer {
    min-height: 60px !important;
    padding: 16px 18px !important;
  }
  body[data-surface='public'] .home-footer > p {
    font-size: 10px !important;
    letter-spacing: .08em !important;
  }
}

/* Small mobile: preserve density without crushing product names. */
@media (max-width: 420px) {
  body[data-surface='public'] .catalog-validation-grid,
  body[data-surface='public'] .varejo-product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  body[data-surface='public'] .validation-product-copy p {
    -webkit-line-clamp: 3;
  }
}


/* ==========================================================================
   OWNER A-P · specificity closure after rendered audit #1
   ========================================================================== */

/* Beat legacy page-specific !important rules deterministically. */
body[data-surface='public'] #app main:not(.home-page) > :where(
  .catalog-intro,
  .channel-editorial,
  .atacado-hero,
  .encomendas-hero,
  .eventos-hero,
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero,
  .representantes-hero,
  .public-simple-hero
) {
  box-sizing: border-box !important;
  height: var(--owner-internal-hero) !important;
  min-height: var(--owner-internal-hero) !important;
  max-height: var(--owner-internal-hero) !important;
  padding: 104px var(--owner-gutter) 38px !important;
}

body[data-surface='public'] #app main:not(.home-page) > :where(
  .catalog-intro,
  .channel-editorial,
  .atacado-hero,
  .encomendas-hero,
  .eventos-hero,
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero,
  .representantes-hero,
  .public-simple-hero
) h1 {
  max-width: 620px !important;
  margin: 9px 0 11px !important;
  font-size: clamp(38px, 3.4vw, 48px) !important;
  line-height: 1.01 !important;
  letter-spacing: -.025em !important;
}

body[data-surface='public'] #app main:not(.home-page) > :where(
  .catalog-intro,
  .channel-editorial,
  .atacado-hero,
  .encomendas-hero,
  .eventos-hero,
  .origem-hero,
  .queijo-hero,
  .guias-hero,
  .receitas-hero,
  .representantes-hero,
  .public-simple-hero
) p {
  max-width: 560px !important;
  font-size: 14px !important;
  line-height: 1.48 !important;
}

body[data-surface='public'] #app main:not(.home-page) > :where(
  .atacado-hero,.eventos-hero,.origem-hero,.queijo-hero,.guias-hero,.receitas-hero
)::before {
  background: linear-gradient(
    90deg,
    #680f1a 0%,
    rgba(104,15,26,.98) 29%,
    rgba(104,15,26,.82) 48%,
    rgba(104,15,26,.35) 66%,
    rgba(104,15,26,.03) 100%
  ) !important;
}

/* Catalog hero has its photo in a pseudo layer from the legacy sheet.
   Keep that photo but force the canonical wine veil above it. */
body[data-surface='public'] #app main.catalog-page > .catalog-intro::before {
  z-index: 1 !important;
  background: linear-gradient(
    90deg,
    #680f1a 0%,
    rgba(104,15,26,.97) 31%,
    rgba(104,15,26,.78) 50%,
    rgba(104,15,26,.30) 68%,
    rgba(104,15,26,.02) 100%
  ) !important;
}
body[data-surface='public'] #app main.catalog-page > .catalog-intro::after {
  z-index: 0 !important;
  background-position: 72% center !important;
}

/* F/G card typography must not inherit the generic editorial H2 scale. */
body[data-surface='public'] #app .catalog-validation-grid > .validation-product-card h2 {
  min-height: 0 !important;
  margin: 7px 0 6px !important;
  font-size: 17px !important;
  line-height: 1.08 !important;
  letter-spacing: -.01em !important;
  text-wrap: balance !important;
}
body[data-surface='public'] #app .varejo-product-grid > .validation-product-card h2 {
  min-height: 0 !important;
  margin: 7px 0 6px !important;
  font-size: 21px !important;
  line-height: 1.08 !important;
  letter-spacing: -.01em !important;
  text-wrap: balance !important;
}

/* Compact footer wins over all legacy footer families and removes generated duplicate text. */
body[data-surface='public'] #app > .home-footer,
body[data-surface='public'] #app .home-footer {
  box-sizing: border-box !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  padding: 0 20px !important;
  color: #f7eed9 !important;
  background: #680f1a !important;
  border: 0 !important;
}
body[data-surface='public'] #app .home-footer::before,
body[data-surface='public'] #app .home-footer::after {
  content: none !important;
  display: none !important;
}
body[data-surface='public'] #app .home-footer > p {
  margin: 0 !important;
  color: #f7eed9 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  letter-spacing: .10em !important;
}

/* Make the two real items used in search/product contexts compact rather than billboard cards. */
body[data-surface='public'] #app :where(
  #public-catalog-grid,
  .atacado-product-grid,
  .eventos-product-grid,
  .queijo-product-grid,
  .receitas-product-grid
) {
  justify-content: start !important;
}
body[data-surface='public'] #app #public-catalog-grid {
  grid-template-columns: repeat(2,minmax(220px,320px)) !important;
}

/* Final commercial forms: no endless vertical stack on desktop. */
body[data-surface='public'] #app .lead-capture form {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
}
body[data-surface='public'] #app .lead-capture form > label:has(textarea),
body[data-surface='public'] #app .lead-capture form > .lead-check,
body[data-surface='public'] #app .lead-capture form > button,
body[data-surface='public'] #app .lead-capture form > .lead-form-status {
  grid-column: 1/-1 !important;
}

@media (max-width: 980px) {
  body[data-surface='public'] #app main:not(.home-page) > :where(
    .catalog-intro,.channel-editorial,.atacado-hero,.encomendas-hero,.eventos-hero,
    .origem-hero,.queijo-hero,.guias-hero,.receitas-hero,.representantes-hero,.public-simple-hero
  ) {
    height: var(--owner-internal-hero) !important;
    min-height: var(--owner-internal-hero) !important;
    max-height: var(--owner-internal-hero) !important;
    padding: 96px var(--owner-gutter) 30px !important;
  }
}

@media (max-width: 700px) {
  body[data-surface='public'] #app main:not(.home-page) > :where(
    .catalog-intro,.channel-editorial,.atacado-hero,.encomendas-hero,.eventos-hero,
    .origem-hero,.queijo-hero,.guias-hero,.receitas-hero,.representantes-hero,.public-simple-hero
  ) {
    height: var(--owner-internal-hero) !important;
    min-height: var(--owner-internal-hero) !important;
    max-height: var(--owner-internal-hero) !important;
    padding: 86px 20px 24px !important;
  }
  body[data-surface='public'] #app main:not(.home-page) > :where(
    .catalog-intro,.channel-editorial,.atacado-hero,.encomendas-hero,.eventos-hero,
    .origem-hero,.queijo-hero,.guias-hero,.receitas-hero,.representantes-hero,.public-simple-hero
  ) h1 {
    font-size: clamp(30px,8.2vw,36px) !important;
  }
  body[data-surface='public'] #app .catalog-validation-grid > .validation-product-card h2,
  body[data-surface='public'] #app .varejo-product-grid > .validation-product-card h2 {
    font-size: 16px !important;
  }
  body[data-surface='public'] #app > .home-footer,
  body[data-surface='public'] #app .home-footer {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
  }
}


/* =========================================================
   GPT MICROBLOCK 01 FINAL · TYPOGRAPHY + VERTICAL RHYTHM
   Final presentation layer; intentionally overrides legacy rules.
   ========================================================= */
body[data-surface='public'] #app main:not(.home-page) h1,
body[data-surface='representative'] #app main.representantes-page h1 {
  max-width: 19ch !important;
  font-size: clamp(34px, 2.9vw, 42px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.035em !important;
  text-wrap: balance !important;
}

body[data-surface='public'] #app main:not(.home-page) h2,
body[data-surface='representative'] #app main.representantes-page h2 {
  max-width: 27ch !important;
  font-size: clamp(28px, 2.45vw, 36px) !important;
  line-height: 1.09 !important;
  letter-spacing: -.025em !important;
  text-wrap: balance !important;
}

body[data-surface='public'] #app main:not(.home-page) h3,
body[data-surface='representative'] #app main.representantes-page h3 {
  max-width: 31ch !important;
  font-size: clamp(19px, 1.55vw, 24px) !important;
  line-height: 1.14 !important;
  letter-spacing: -.018em !important;
  text-wrap: balance !important;
}

body[data-surface='public'] #app main :where(p, li),
body[data-surface='representative'] #app main :where(p, li) {
  text-wrap: pretty;
}

body[data-surface='public'] #app main:not(.home-page) :where(
  .catalog-selection,.catalog-b2b,.catalog-origin,
  .varejo-selection,.editorial-section.channel-body,
  .atacado-intro,.atacado-profiles,.atacado-process,.atacado-products,.atacado-origin,
  .encomendas-intro,.encomendas-occasions,.encomendas-selections,.encomendas-feature,
  .encomendas-process,.encomendas-origin,.encomendas-final,
  .eventos-intro,.eventos-contexts,.eventos-experience,.eventos-products,
  .eventos-process,.eventos-origin,.eventos-final,
  .editorial-seo-section,.recipes-status,.recipes-catalog,.public-search-body
) {
  padding-top: clamp(38px, 4.4vw, 60px) !important;
  padding-bottom: clamp(38px, 4.4vw, 60px) !important;
}

body[data-surface='public'] #app .editorial-seo-section {
  gap: clamp(28px, 4vw, 56px) !important;
}
body[data-surface='public'] #app .editorial-seo-section h2 { margin-bottom: 14px !important; }
body[data-surface='public'] #app .editorial-seo-section p {
  margin-bottom: 14px !important;
  font-size: 16px !important;
  line-height: 1.58 !important;
}

body[data-surface='public'] #app .home-page > :where(.home-trust,.home-editorial,.home-universes,.home-products) {
  padding-top: clamp(30px, 3.8vw, 50px) !important;
  padding-bottom: clamp(30px, 3.8vw, 50px) !important;
}
body[data-surface='public'] #app .home-section-heading { margin-bottom: 18px !important; }

@media (max-width:700px){
  body[data-surface='public'] #app main:not(.home-page) h1,
  body[data-surface='representative'] #app main.representantes-page h1 {
    font-size: clamp(30px, 8.5vw, 36px) !important;
  }
  body[data-surface='public'] #app main:not(.home-page) h2,
  body[data-surface='representative'] #app main.representantes-page h2 {
    font-size: clamp(26px, 7.2vw, 33px) !important;
  }
  body[data-surface='public'] #app main:not(.home-page) :where(
    .catalog-selection,.catalog-b2b,.catalog-origin,
    .varejo-selection,.editorial-section.channel-body,
    .atacado-intro,.atacado-profiles,.atacado-process,.atacado-products,.atacado-origin,
    .encomendas-intro,.encomendas-occasions,.encomendas-selections,.encomendas-feature,
    .encomendas-process,.encomendas-origin,.encomendas-final,
    .eventos-intro,.eventos-contexts,.eventos-experience,.eventos-products,
    .eventos-process,.eventos-origin,.eventos-final,
    .editorial-seo-section,.recipes-status,.recipes-catalog,.public-search-body
  ) {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }
}


/* =========================================================
   GPT MICROBLOCK 02 · INTERNAL HEROS + CTA CLEANUP
   Home remains the only large hero. Internal heroes share one frame.
   ========================================================= */
:root { --gpt-internal-hero-h: 360px; }

body[data-surface='public'] #app main:not(.home-page) > :is(
  .catalog-intro,.channel-editorial,.public-simple-hero,
  .atacado-hero,.encomendas-hero,.eventos-hero,
  .origem-hero,.queijo-hero,.guias-hero,.receitas-hero
),
body[data-surface='representative'] #app main.representantes-page > .representantes-hero {
  position: relative !important;
  height: var(--gpt-internal-hero-h) !important;
  min-height: var(--gpt-internal-hero-h) !important;
  max-height: var(--gpt-internal-hero-h) !important;
  overflow: hidden !important;
  background: #680F1A !important;
}

body[data-surface='public'] #app main:not(.home-page) > :is(
  .atacado-hero,.encomendas-hero,.eventos-hero,
  .origem-hero,.queijo-hero,.guias-hero,.receitas-hero
)::after,
body[data-surface='representative'] #app main.representantes-page > .representantes-hero::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(
    90deg,
    rgba(104,15,26,1) 0%,
    rgba(104,15,26,.96) 31%,
    rgba(104,15,26,.68) 51%,
    rgba(104,15,26,.25) 69%,
    rgba(104,15,26,0) 84%
  ) !important;
}

body[data-surface='public'] #app main:not(.home-page) > :is(
  .atacado-hero,.encomendas-hero,.eventos-hero,
  .origem-hero,.queijo-hero,.guias-hero,.receitas-hero
) > :is([class*='hero-copy'],[class*='-hero-copy']),
body[data-surface='representative'] #app main.representantes-page > .representantes-hero > .representantes-hero-copy {
  position: relative !important;
  z-index: 2 !important;
  align-self: center !important;
  justify-content: center !important;
  max-width: 660px !important;
  padding: 54px clamp(24px,6vw,84px) 30px !important;
}

body[data-surface='public'] #app main:not(.home-page) > :is(
  .atacado-hero,.encomendas-hero,.eventos-hero,
  .origem-hero,.queijo-hero,.guias-hero,.receitas-hero
) > :is([class*='hero-photo'],[class*='-hero-photo']),
body[data-surface='representative'] #app main.representantes-page > .representantes-hero > :is(.representantes-hero-photo,.representantes-hero-mark) {
  position: relative;
  z-index: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow: hidden !important;
}

body[data-surface='public'] #app main:not(.home-page) > :is(
  .atacado-hero,.encomendas-hero,.eventos-hero,
  .origem-hero,.queijo-hero,.guias-hero,.receitas-hero
) [class*='hero-photo'] img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: 76% center !important;
}

body[data-surface='public'] #app :is(
  .home-hero-actions,
  .atacado-hero-actions,.encomendas-hero-actions,.eventos-hero-actions,
  .origem-hero-actions,.queijo-hero-actions,.guias-hero-actions,.receitas-hero-actions,
  .representantes-hero-actions
),
body[data-surface='representative'] #app .representantes-hero-actions {
  display: none !important;
}

body[data-surface='public'] #app .home-hero :is(a.home-button,button.home-button),
body[data-surface='public'] #app .channel-editorial > .brand-button,
body[data-surface='public'] #app .public-simple-hero :is(.brand-button,a[class*='button'],button[class*='button']) {
  display: none !important;
}

/* Keep remaining commercial actions readable before hover. */
body[data-surface='public'] #app :is(
  .brand-button-primary,.catalog-outline-action,
  .atacado-button-primary,.encomendas-button-primary,.eventos-button-primary,
  .origem-button-primary,.queijo-button-primary,.guias-button-primary,.receitas-button-primary
) {
  color: #F7EED9 !important;
  background: #680F1A !important;
  border-color: #D4A017 !important;
}

body[data-surface='public'] #app :is(
  .brand-button-primary,.catalog-outline-action,
  .atacado-button-primary,.encomendas-button-primary,.eventos-button-primary,
  .origem-button-primary,.queijo-button-primary,.guias-button-primary,.receitas-button-primary
):is(:hover,:focus-visible,:active) {
  color: #3A0810 !important;
  background: #D4A017 !important;
  border-color: #D4A017 !important;
}

body[data-surface='public'] #app :is(
  .brand-button-secondary,
  .atacado-button-secondary,.encomendas-button-secondary,.eventos-button-secondary,
  .origem-button-secondary,.queijo-button-secondary,.guias-button-secondary,.receitas-button-secondary
) {
  color: #680F1A !important;
  background: #F7EED9 !important;
  border-color: #680F1A !important;
}

@media (max-width: 900px) {
  :root { --gpt-internal-hero-h: 340px; }

  body[data-surface='public'] #app main:not(.home-page) > :is(
    .origem-hero,.queijo-hero,.guias-hero,.receitas-hero,.eventos-hero
  ),
  body[data-surface='representative'] #app main.representantes-page > .representantes-hero {
    grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr) !important;
    grid-template-rows: 1fr !important;
  }

  body[data-surface='public'] #app main:not(.home-page) > :is(
    .origem-hero,.queijo-hero,.guias-hero,.receitas-hero,.eventos-hero
  ) > [class*='hero-photo'] {
    order: initial !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  body[data-surface='public'] #app main:not(.home-page) > :is(
    .origem-hero,.queijo-hero,.guias-hero,.receitas-hero,.eventos-hero
  ) > [class*='hero-copy'] {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
}

@media (max-width: 600px) {
  :root { --gpt-internal-hero-h: 318px; }

  body[data-surface='public'] #app main:not(.home-page) > :is(
    .atacado-hero,.encomendas-hero,.eventos-hero,
    .origem-hero,.queijo-hero,.guias-hero,.receitas-hero
  ),
  body[data-surface='representative'] #app main.representantes-page > .representantes-hero {
    display: block !important;
  }

  body[data-surface='public'] #app main:not(.home-page) > :is(
    .atacado-hero,.encomendas-hero,.eventos-hero,
    .origem-hero,.queijo-hero,.guias-hero,.receitas-hero
  ) > [class*='hero-photo'] {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
  }

  body[data-surface='public'] #app main:not(.home-page) > :is(
    .atacado-hero,.encomendas-hero,.eventos-hero,
    .origem-hero,.queijo-hero,.guias-hero,.receitas-hero
  ) > [class*='hero-copy'],
  body[data-surface='representative'] #app main.representantes-page > .representantes-hero > .representantes-hero-copy {
    position: relative !important;
    z-index: 2 !important;
    width: min(82%, 320px) !important;
    height: 100% !important;
    padding: 74px 18px 22px !important;
  }

  body[data-surface='public'] #app main:not(.home-page) > :is(
    .atacado-hero,.encomendas-hero,.eventos-hero,
    .origem-hero,.queijo-hero,.guias-hero,.receitas-hero
  ) [class*='hero-photo'] img {
    object-position: 82% center !important;
  }
}


/* MB02 box-model closure: hero height means actual rendered height. */
body[data-surface='public'] #app main.catalog-page > .catalog-intro,
body[data-surface='public'] #app main.public-main > .channel-editorial,
body[data-surface='public'] #app main.public-search-page > .public-simple-hero,
body[data-surface='public'] #app main.contact-page > .public-simple-hero {
  box-sizing: border-box !important;
  padding: 76px clamp(22px,7vw,96px) 24px !important;
}

body[data-surface='public'] #app main.atacado-page > .atacado-hero,
body[data-surface='public'] #app main.encomendas-page > .encomendas-hero,
body[data-surface='public'] #app main.eventos-page > .eventos-hero,
body[data-surface='public'] #app main.origem-page > .origem-hero,
body[data-surface='public'] #app main.queijo-page > .queijo-hero,
body[data-surface='public'] #app main.guias-page > .guias-hero,
body[data-surface='public'] #app main.receitas-page > .receitas-hero,
body[data-surface='representative'] #app main.representantes-page > .representantes-hero {
  box-sizing: border-box !important;
  padding: 0 !important;
}

body[data-surface='public'] #app main:not(.home-page) > :is(
  .catalog-intro,.channel-editorial,.public-simple-hero,
  .atacado-hero,.encomendas-hero,.eventos-hero,
  .origem-hero,.queijo-hero,.guias-hero,.receitas-hero
),
body[data-surface='representative'] #app main.representantes-page > .representantes-hero {
  box-sizing: border-box !important;
}

@media(max-width:600px){
  body[data-surface='public'] #app main.catalog-page > .catalog-intro,
  body[data-surface='public'] #app main.public-main > .channel-editorial,
  body[data-surface='public'] #app main.public-search-page > .public-simple-hero,
  body[data-surface='public'] #app main.contact-page > .public-simple-hero {
    padding: 72px 18px 20px !important;
  }
}


/* =========================================================
   GPT MICROBLOCK 03 · CATALOG + RETAIL VALIDATION GRIDS
   Fictitious visual data only; no operational catalog mutation.
   ========================================================= */
body[data-surface='public'] #app .catalog-selection {
  padding-inline: clamp(20px,4vw,56px) !important;
}

body[data-surface='public'] #app .catalog-selection-heading,
body[data-surface='public'] #app .varejo-selection-heading {
  max-width: 760px !important;
  margin-bottom: 20px !important;
}

body[data-surface='public'] #app .validation-disclaimer {
  max-width: 72ch !important;
  margin: 8px 0 0 !important;
  color: rgba(58,8,16,.66) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body[data-surface='public'] #app .catalog-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px 18px !important;
  margin: 0 0 22px !important;
  padding: 12px 0 !important;
}

body[data-surface='public'] #app .catalog-search {
  flex: 0 1 290px !important;
  min-width: 210px !important;
}

body[data-surface='public'] #app .catalog-search input {
  min-height: 38px !important;
  padding: 8px 10px 8px 36px !important;
  font-size: 13px !important;
}

body[data-surface='public'] #app .catalog-filters {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body[data-surface='public'] #app .catalog-filter {
  min-height: 34px !important;
  padding: 7px 10px !important;
  font-size: 10px !important;
  white-space: nowrap !important;
}

body[data-surface='public'] #app .catalog-grid.catalog-validation-grid {
  display: grid !important;
  grid-template-columns: repeat(6,minmax(0,1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
}

body[data-surface='public'] #app .varejo-product-grid {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 1160px !important;
  margin: 24px auto 0 !important;
}

body[data-surface='public'] #app .validation-product-card {
  min-width: 0 !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  background: #fffaf0 !important;
  border: 1px solid rgba(139,111,78,.22) !important;
  box-shadow: none !important;
}

body[data-surface='public'] #app .validation-product-image {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
  background: rgba(104,15,26,.06) !important;
}

body[data-surface='public'] #app .validation-product-image img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
}

body[data-surface='public'] #app .validation-product-copy {
  min-height: 0 !important;
  padding: 12px !important;
}

body[data-surface='public'] #app .validation-product-copy .catalog-product-kicker {
  display: block !important;
  margin-bottom: 6px !important;
  font-size: 8px !important;
  line-height: 1.2 !important;
  letter-spacing: .08em !important;
}

body[data-surface='public'] #app .validation-product-copy h2 {
  margin: 0 0 6px !important;
  max-width: none !important;
  font-size: clamp(16px,1.25vw,20px) !important;
  line-height: 1.08 !important;
}

body[data-surface='public'] #app .validation-product-copy p {
  margin: 0 !important;
  min-height: 0 !important;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: rgba(58,8,16,.68) !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

body[data-surface='public'] #app .catalog-b2b {
  padding-block: 38px !important;
}

@media (max-width: 1050px) {
  body[data-surface='public'] #app .catalog-grid.catalog-validation-grid {
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  }
  body[data-surface='public'] #app .varejo-product-grid {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }
}

@media (max-width: 780px) {
  body[data-surface='public'] #app .catalog-toolbar {
    align-items: stretch !important;
    flex-direction: column !important;
  }
  body[data-surface='public'] #app .catalog-search {
    flex-basis: auto !important;
    width: min(100%,360px) !important;
  }
  body[data-surface='public'] #app .catalog-filters {
    justify-content: flex-start !important;
  }
  body[data-surface='public'] #app .catalog-grid.catalog-validation-grid {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 10px !important;
  }
  body[data-surface='public'] #app .varejo-product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 10px !important;
  }
}

@media (max-width: 480px) {
  body[data-surface='public'] #app .catalog-grid.catalog-validation-grid,
  body[data-surface='public'] #app .varejo-product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 8px !important;
  }
  body[data-surface='public'] #app .validation-product-copy {
    padding: 10px !important;
  }
  body[data-surface='public'] #app .validation-product-copy h2 {
    font-size: 16px !important;
  }
  body[data-surface='public'] #app .validation-product-copy p {
    -webkit-line-clamp: 2;
    font-size: 10.5px !important;
  }
}


/* =========================================================
   GPT MICROBLOCK 04 · EDITORIAL GRAMMAR + ICONS + CARD BANDS
   ========================================================= */

/* Home: remove redundant pathway band. Trust stays compact; universes remain the journey band. */
body[data-surface='public'] #app .home-editorial.home-pathways {
  display: none !important;
}

body[data-surface='public'] #app .home-trust {
  min-height: 0 !important;
  padding: 10px clamp(18px,4vw,58px) !important;
  background: #F7EED9 !important;
  border-block: 1px solid rgba(139,111,78,.20) !important;
}

body[data-surface='public'] #app .home-trust > div {
  min-height: 68px !important;
  padding: 6px 12px !important;
  background: transparent !important;
  border: 0 !important;
}

body[data-surface='public'] #app .home-trust .home-direction-icon {
  width: 52px !important;
  height: 52px !important;
  object-fit: contain !important;
}

body[data-surface='public'] #app .home-universes {
  background: #680F1A !important;
  color: #F7EED9 !important;
}

body[data-surface='public'] #app .home-universes :is(h2,p,.home-eyebrow,.home-universe-title) {
  color: #F7EED9 !important;
}

body[data-surface='public'] #app .home-universe-grid {
  gap: 0 !important;
  border-block: 1px solid rgba(212,160,23,.28) !important;
}

body[data-surface='public'] #app .home-universe {
  min-height: 168px !important;
  padding: 18px !important;
  background: transparent !important;
  border-right: 1px solid rgba(212,160,23,.20) !important;
  box-shadow: none !important;
}

body[data-surface='public'] #app .home-universe:last-child {
  border-right: 0 !important;
}

/* One editorial grammar for Origem / Queijo / Guias. */
body[data-surface='public'] #app :is(.origem-page,.queijo-page,.guias-page) > :is(
  .origem-territory,.origem-landscape,.origem-time,.origem-precision,.origem-culture,
  .queijo-definition,.queijo-texture,.queijo-time,.queijo-serve,.queijo-origin,.queijo-guides,
  .guias-intro,.guias-choice,.guias-cut,.guias-serve,.guias-preserve,.guias-maturation,.guias-pairings,.guias-related,
  .editorial-seo-section
) {
  padding: clamp(44px,5vw,68px) clamp(22px,7vw,100px) !important;
}

body[data-surface='public'] #app :is(
  .origem-landscape,.origem-time,.origem-precision,.origem-culture,
  .queijo-texture,.queijo-time,.queijo-serve,.queijo-origin,.queijo-guides,
  .guias-choice,.guias-cut,.guias-serve,.guias-preserve,.guias-maturation,.guias-pairings
) {
  gap: clamp(28px,4.5vw,60px) !important;
}

body[data-surface='public'] #app :is(
  .origem-landscape,.queijo-texture,.guias-cut,.guias-preserve,.guias-maturation,.guias-pairings
) {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  align-items: center !important;
}

body[data-surface='public'] #app :is(
  .origem-territory,.queijo-definition,.guias-intro
) {
  grid-template-columns: minmax(0,1.25fr) minmax(200px,.75fr) !important;
  gap: clamp(28px,5vw,64px) !important;
  align-items: center !important;
}

/* Editorial media follows one proportion instead of arbitrary tall blocks. */
body[data-surface='public'] #app :is(
  .origem-landscape-media,
  .queijo-texture-media,.queijo-time-media,
  .guias-cut-media,.guias-preserve-media,.guias-maturation-media,.guias-pairings-media
) {
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
}

body[data-surface='public'] #app :is(
  .origem-landscape-media,
  .queijo-texture-media,.queijo-time-media,
  .guias-cut-media,.guias-preserve-media,.guias-maturation-media,.guias-pairings-media
) img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
}

/* Icons remain part of the identity, but obey one optical system. */
body[data-surface='public'] #app :is(
  .origem-territory-aside,.origem-time-mark,.origem-culture-mark,
  .queijo-definition-mark,.queijo-serve-note,.queijo-origin-mark,
  .guias-intro-mark,.guias-serve-mark,
  .receitas-intro-mark,.receitas-heat-mark,.receitas-origin-mark
) img,
body[data-surface='representative'] #app .representantes-fit-grid img {
  width: 76px !important;
  height: 76px !important;
  object-fit: contain !important;
}

body[data-surface='public'] #app :is(
  .origem-territory-aside,.origem-time-mark,
  .queijo-definition-mark,.queijo-serve-note,
  .guias-intro-mark,.guias-serve-mark,
  .receitas-intro-mark,.receitas-heat-mark,.receitas-origin-mark
) {
  padding: 22px !important;
  gap: 12px !important;
}

/* Related knowledge uses four different existing icons and compact cards. */
body[data-surface='public'] #app .guias-related-links {
  gap: 8px !important;
  margin-top: 28px !important;
}

body[data-surface='public'] #app .guias-related-links a {
  min-height: 154px !important;
  padding: 20px !important;
  gap: 9px !important;
  box-shadow: none !important;
}

body[data-surface='public'] #app .guias-related-links img {
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
}

/* Editorial endings should not become a second button forest. */
body[data-surface='public'] #app :is(
  .origem-final-actions,.queijo-final-actions,.guias-final-actions,.receitas-final-actions
) {
  display: none !important;
}

/* Keep final editorial blocks quiet and shorter. */
body[data-surface='public'] #app :is(
  .origem-final,.queijo-final,.guias-final,.receitas-final
) {
  padding-top: 42px !important;
  padding-bottom: 42px !important;
}

/* Card sequences: compact and visually distinct instead of repeating slabs. */
body[data-surface='public'] #app :is(
  .atacado-profile-list > div,
  .encomendas-occasion-list article,
  .eventos-context-list article,
  .guias-related-links a
) {
  min-height: 0 !important;
}

body[data-surface='public'] #app :is(
  .atacado-profile-list > div,
  .encomendas-occasion-list article,
  .eventos-context-list article
) {
  padding: 18px !important;
}

@media (max-width: 800px) {
  body[data-surface='public'] #app :is(
    .origem-landscape,.queijo-texture,.guias-cut,.guias-preserve,.guias-maturation,.guias-pairings,
    .origem-territory,.queijo-definition,.guias-intro
  ) {
    grid-template-columns: 1fr !important;
  }

  body[data-surface='public'] #app .home-universe {
    min-height: 148px !important;
  }
}


/* =========================================================
   GPT MICROBLOCK 05 · FORMS + REPRESENTATIVES + FOOTER
   ========================================================= */
:is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture {
  grid-template-columns: minmax(240px,.72fr) minmax(0,1.28fr) !important;
  gap: clamp(24px,3.5vw,46px) !important;
  padding: 42px clamp(22px,7vw,100px) !important;
  align-items: start !important;
}

:is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture h2 {
  max-width: 18ch !important;
  margin: 9px 0 10px !important;
  font-size: clamp(28px,2.6vw,38px) !important;
  line-height: 1.06 !important;
}

:is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture > div > p {
  max-width: 42ch !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

:is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture form {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 9px 12px !important;
}

:is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture form > label {
  gap: 4px !important;
  font-size: 9px !important;
}

:is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture :is(input,textarea) {
  min-height: 38px !important;
  padding: 8px 10px !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

:is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture textarea {
  min-height: 76px !important;
  height: 76px !important;
}

:is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture form > label:has(textarea),
:is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture form > .lead-check,
:is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture form > button,
:is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture form > .lead-form-status {
  grid-column: 1 / -1 !important;
}

:is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture .lead-check {
  margin-top: 2px !important;
  gap: 7px !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

:is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture form > button {
  justify-self: start !important;
  width: auto !important;
  min-height: 40px !important;
  margin-top: 2px !important;
  padding: 10px 16px !important;
}

:is(body[data-surface='public'],body[data-surface='representative']) #app .lead-form-status {
  min-height: 16px !important;
  font-size: 11px !important;
}

/* Representatives: editorial sales page, not an admin dashboard. */
body[data-surface='representative'] #app .representantes-intro,
body[data-surface='representative'] #app .representantes-fit,
body[data-surface='representative'] #app .representantes-process,
body[data-surface='representative'] #app .representantes-territory,
body[data-surface='representative'] #app .representantes-access {
  padding: clamp(38px,4.4vw,58px) clamp(22px,7vw,100px) !important;
}

body[data-surface='representative'] #app .representantes-intro {
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr) !important;
  gap: clamp(28px,5vw,68px) !important;
  align-items: center !important;
}

body[data-surface='representative'] #app .representantes-fit .representantes-section-heading {
  margin-bottom: 22px !important;
}

body[data-surface='representative'] #app .representantes-fit-grid {
  gap: 10px !important;
}

body[data-surface='representative'] #app .representantes-fit-grid article {
  min-height: 0 !important;
  padding: 20px !important;
  background: rgba(247,238,217,.74) !important;
}

body[data-surface='representative'] #app .representantes-fit-grid article img {
  width: 52px !important;
  height: 52px !important;
  margin-bottom: 10px !important;
}

body[data-surface='representative'] #app .representantes-fit-grid article h3 {
  margin-bottom: 8px !important;
  font-size: 22px !important;
}

body[data-surface='representative'] #app .representantes-fit-grid article p {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

body[data-surface='representative'] #app .representantes-process {
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr) !important;
  gap: clamp(28px,5vw,66px) !important;
  align-items: center !important;
}

body[data-surface='representative'] #app .representantes-steps li {
  grid-template-columns: 42px 1fr !important;
  gap: 12px !important;
  padding: 14px 16px !important;
}

body[data-surface='representative'] #app .representantes-steps strong {
  font-size: 18px !important;
}

body[data-surface='representative'] #app .representantes-steps p {
  margin-top: 3px !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

body[data-surface='representative'] #app .representantes-territory {
  grid-template-columns: 190px minmax(0,1fr) !important;
  gap: clamp(30px,5vw,68px) !important;
}

body[data-surface='representative'] #app .representantes-territory-mark {
  min-height: 180px !important;
}

body[data-surface='representative'] #app .representantes-territory-mark img {
  width: 110px !important;
}

body[data-surface='representative'] #app .representantes-access {
  align-items: center !important;
  min-height: 0 !important;
  gap: 28px !important;
}

body[data-surface='representative'] #app .representantes-access h2 {
  margin-bottom: 8px !important;
}

body[data-surface='representative'] #app .representantes-access p {
  margin-top: 8px !important;
}

/* Footer is intentionally one silent line. */
:is(body[data-surface='public'],body[data-surface='representative']) #app .home-footer {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  background: #680F1A !important;
  border: 0 !important;
}

:is(body[data-surface='public'],body[data-surface='representative']) #app .home-footer > :not(p) {
  display: none !important;
}

:is(body[data-surface='public'],body[data-surface='representative']) #app .home-footer > p {
  margin: 0 !important;
  color: #F7EED9 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: .09em !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

@media (max-width: 760px) {
  :is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture {
    grid-template-columns: 1fr !important;
    padding: 34px 18px !important;
  }

  :is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture form {
    grid-template-columns: 1fr !important;
  }

  :is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture form > * {
    grid-column: 1 !important;
  }

  body[data-surface='representative'] #app .representantes-intro,
  body[data-surface='representative'] #app .representantes-process,
  body[data-surface='representative'] #app .representantes-territory {
    grid-template-columns: 1fr !important;
  }

  body[data-surface='representative'] #app .representantes-fit-grid {
    grid-template-columns: 1fr !important;
  }

  body[data-surface='representative'] #app .representantes-territory-mark {
    min-height: 140px !important;
  }

  body[data-surface='representative'] #app .representantes-access {
    align-items: flex-start !important;
  }

  body[data-surface='representative'] #app .representantes-access .representantes-button {
    width: auto !important;
  }
}


/* MB05 mobile closure: Representative hero must fit, not crop. */
@media (max-width: 600px) {
  body[data-surface='representative'] #app .representantes-hero {
    position: relative !important;
    display: block !important;
    height: 318px !important;
    min-height: 318px !important;
    max-height: 318px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body[data-surface='representative'] #app .representantes-hero-copy {
    position: relative !important;
    z-index: 2 !important;
    width: 72% !important;
    max-width: 275px !important;
    height: 100% !important;
    padding: 74px 0 18px 18px !important;
    box-sizing: border-box !important;
  }

  body[data-surface='representative'] #app .representantes-hero h1 {
    max-width: 12ch !important;
    margin: 9px 0 8px !important;
    font-size: 29px !important;
    line-height: 1.01 !important;
    letter-spacing: -.035em !important;
  }

  body[data-surface='representative'] #app .representantes-hero p {
    max-width: 29ch !important;
    margin: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }

  body[data-surface='representative'] #app .representantes-hero-mark {
    position: absolute !important;
    top: 70px !important;
    right: 10px !important;
    z-index: 1 !important;
    width: 112px !important;
    min-height: 0 !important;
  }

  body[data-surface='representative'] #app .representantes-hero-mark > img:first-child {
    width: 92px !important;
  }

  body[data-surface='representative'] #app .representantes-divider {
    width: 82px !important;
    margin-top: 8px !important;
  }

  body[data-surface='representative'] #app .representantes-intro,
  body[data-surface='representative'] #app .representantes-fit,
  body[data-surface='representative'] #app .representantes-process,
  body[data-surface='representative'] #app .representantes-territory,
  body[data-surface='representative'] #app .representantes-access {
    padding: 30px 16px !important;
  }

  body[data-surface='representative'] #app .representantes-fit .representantes-section-heading {
    margin-bottom: 14px !important;
  }

  body[data-surface='representative'] #app .representantes-fit-grid {
    gap: 7px !important;
  }

  body[data-surface='representative'] #app .representantes-fit-grid article {
    padding: 14px !important;
  }

  body[data-surface='representative'] #app .representantes-fit-grid article img {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 5px !important;
  }

  body[data-surface='representative'] #app .representantes-fit-grid article h3 {
    margin-bottom: 5px !important;
    font-size: 20px !important;
  }

  body[data-surface='representative'] #app .representantes-steps li {
    padding: 11px 10px !important;
  }

  body[data-surface='representative'] #app .representantes-territory-mark {
    min-height: 100px !important;
    padding: 12px !important;
    justify-content: start !important;
  }

  body[data-surface='representative'] #app .representantes-territory-mark img {
    width: 68px !important;
  }

  body[data-surface='representative'] #app .representantes-access {
    gap: 16px !important;
  }

  :is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture {
    padding: 28px 16px !important;
  }

  :is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture :is(input,textarea) {
    min-height: 36px !important;
    padding: 7px 9px !important;
  }

  :is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture textarea {
    min-height: 68px !important;
    height: 68px !important;
  }
}

@media (min-width: 761px) {
  :is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
  :is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture textarea {
    min-height: 68px !important;
    height: 68px !important;
  }
  :is(body[data-surface='public'],body[data-surface='representative']) #app .lead-capture form {
    gap: 7px 12px !important;
  }
}


/* MB05 route correction: /representantes is PUBLIC; /representante is private. */
body[data-surface='public'] #app main.representantes-page > .representantes-hero {
  position: relative !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0,1.15fr) minmax(260px,.85fr) !important;
  align-items: center !important;
  gap: clamp(28px,5vw,66px) !important;
  width: 100% !important;
  height: 360px !important;
  min-height: 360px !important;
  max-height: 360px !important;
  padding: 0 clamp(22px,7vw,100px) !important;
  overflow: hidden !important;
}

body[data-surface='public'] #app main.representantes-page > .representantes-hero .representantes-hero-copy {
  max-width: 680px !important;
  padding: 54px 0 26px !important;
}

body[data-surface='public'] #app main.representantes-page > .representantes-hero h1 {
  max-width: 18ch !important;
  margin: 10px 0 10px !important;
  font-size: clamp(34px,2.9vw,42px) !important;
  line-height: 1.04 !important;
  text-wrap: balance !important;
}

body[data-surface='public'] #app main.representantes-page > .representantes-hero p {
  max-width: 58ch !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body[data-surface='public'] #app main.representantes-page > .representantes-hero .representantes-hero-mark {
  min-height: 0 !important;
  height: 100% !important;
  display: grid !important;
  align-content: center !important;
  justify-items: center !important;
}

body[data-surface='public'] #app main.representantes-page > .representantes-hero .representantes-hero-mark > img:first-child {
  width: min(220px,72%) !important;
}

body[data-surface='public'] #app main.representantes-page > .representantes-hero .representantes-divider {
  width: min(170px,62%) !important;
  margin-top: 10px !important;
}

body[data-surface='public'] #app main.representantes-page > :is(
  .representantes-intro,.representantes-fit,.representantes-process,
  .representantes-territory,.representantes-access
) {
  padding: clamp(38px,4.4vw,58px) clamp(22px,7vw,100px) !important;
}

body[data-surface='public'] #app main.representantes-page > .representantes-intro {
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr) !important;
  gap: clamp(28px,5vw,68px) !important;
  align-items: center !important;
}

body[data-surface='public'] #app main.representantes-page .representantes-fit .representantes-section-heading {
  margin-bottom: 22px !important;
}

body[data-surface='public'] #app main.representantes-page .representantes-fit-grid {
  gap: 10px !important;
}

body[data-surface='public'] #app main.representantes-page .representantes-fit-grid article {
  min-height: 0 !important;
  padding: 20px !important;
  background: rgba(247,238,217,.74) !important;
}

body[data-surface='public'] #app main.representantes-page .representantes-fit-grid article img {
  width: 52px !important;
  height: 52px !important;
  margin-bottom: 10px !important;
  object-fit: contain !important;
}

body[data-surface='public'] #app main.representantes-page .representantes-fit-grid article h3 {
  margin-bottom: 8px !important;
  font-size: 22px !important;
}

body[data-surface='public'] #app main.representantes-page .representantes-fit-grid article p {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

body[data-surface='public'] #app main.representantes-page > .representantes-process {
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr) !important;
  gap: clamp(28px,5vw,66px) !important;
  align-items: center !important;
}

body[data-surface='public'] #app main.representantes-page .representantes-steps li {
  grid-template-columns: 42px 1fr !important;
  gap: 12px !important;
  padding: 14px 16px !important;
}

body[data-surface='public'] #app main.representantes-page .representantes-steps strong {
  font-size: 18px !important;
}

body[data-surface='public'] #app main.representantes-page .representantes-steps p {
  margin-top: 3px !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

body[data-surface='public'] #app main.representantes-page > .representantes-territory {
  grid-template-columns: 190px minmax(0,1fr) !important;
  gap: clamp(30px,5vw,68px) !important;
  align-items: center !important;
}

body[data-surface='public'] #app main.representantes-page .representantes-territory-mark {
  min-height: 180px !important;
}

body[data-surface='public'] #app main.representantes-page .representantes-territory-mark img {
  width: 110px !important;
}

body[data-surface='public'] #app main.representantes-page > .representantes-access {
  min-height: 0 !important;
  align-items: center !important;
  gap: 28px !important;
}

body[data-surface='public'] #app main.representantes-page .representantes-access h2 {
  margin-bottom: 8px !important;
}

body[data-surface='public'] #app main.representantes-page .representantes-access p {
  margin-top: 8px !important;
}

@media (max-width: 900px) {
  body[data-surface='public'] #app main.representantes-page > .representantes-hero {
    height: 340px !important;
    min-height: 340px !important;
    max-height: 340px !important;
  }

  body[data-surface='public'] #app main.representantes-page > :is(
    .representantes-intro,.representantes-process,.representantes-territory
  ) {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  body[data-surface='public'] #app main.representantes-page > .representantes-hero {
    display: block !important;
    height: 318px !important;
    min-height: 318px !important;
    max-height: 318px !important;
    padding: 0 !important;
  }

  body[data-surface='public'] #app main.representantes-page > .representantes-hero .representantes-hero-copy {
    position: relative !important;
    z-index: 2 !important;
    width: 72% !important;
    max-width: 275px !important;
    height: 100% !important;
    padding: 72px 0 14px 18px !important;
    box-sizing: border-box !important;
  }

  body[data-surface='public'] #app main.representantes-page > .representantes-hero h1 {
    max-width: 12ch !important;
    margin: 8px 0 7px !important;
    font-size: 28px !important;
    line-height: 1.01 !important;
  }

  body[data-surface='public'] #app main.representantes-page > .representantes-hero p {
    max-width: 28ch !important;
    font-size: 10.8px !important;
    line-height: 1.32 !important;
  }

  body[data-surface='public'] #app main.representantes-page > .representantes-hero .representantes-hero-mark {
    position: absolute !important;
    top: 68px !important;
    right: 8px !important;
    z-index: 1 !important;
    width: 108px !important;
    height: auto !important;
  }

  body[data-surface='public'] #app main.representantes-page > .representantes-hero .representantes-hero-mark > img:first-child {
    width: 88px !important;
  }

  body[data-surface='public'] #app main.representantes-page > .representantes-hero .representantes-divider {
    width: 78px !important;
    margin-top: 6px !important;
  }

  body[data-surface='public'] #app main.representantes-page > :is(
    .representantes-intro,.representantes-fit,.representantes-process,
    .representantes-territory,.representantes-access
  ) {
    padding: 30px 16px !important;
  }

  body[data-surface='public'] #app main.representantes-page .representantes-fit .representantes-section-heading {
    margin-bottom: 14px !important;
  }

  body[data-surface='public'] #app main.representantes-page .representantes-fit-grid {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  body[data-surface='public'] #app main.representantes-page .representantes-fit-grid article {
    padding: 14px !important;
  }

  body[data-surface='public'] #app main.representantes-page .representantes-fit-grid article img {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 5px !important;
  }

  body[data-surface='public'] #app main.representantes-page .representantes-fit-grid article h3 {
    margin-bottom: 5px !important;
    font-size: 20px !important;
  }

  body[data-surface='public'] #app main.representantes-page .representantes-steps li {
    padding: 11px 10px !important;
  }

  body[data-surface='public'] #app main.representantes-page .representantes-territory-mark {
    min-height: 100px !important;
    padding: 12px !important;
    justify-content: start !important;
  }

  body[data-surface='public'] #app main.representantes-page .representantes-territory-mark img {
    width: 68px !important;
  }

  body[data-surface='public'] #app main.representantes-page > .representantes-access {
    align-items: flex-start !important;
    gap: 16px !important;
  }

  body[data-surface='public'] #app main.representantes-page .representantes-access .representantes-button {
    width: auto !important;
  }
}


/* MB06A orphan closure: smaller, wider internal display type. */
body[data-surface='public'] #app main:not(.home-page) > :is(
  .catalog-intro,.channel-editorial,.public-simple-hero,
  .atacado-hero,.encomendas-hero,.eventos-hero,
  .origem-hero,.queijo-hero,.guias-hero,.receitas-hero,.representantes-hero
) h1 {
  max-width: 23ch !important;
  font-size: clamp(33px,2.7vw,39px) !important;
  line-height: 1.045 !important;
  text-wrap: balance !important;
}

body[data-surface='public'] #app main:not(.home-page) h2 {
  max-width: 31ch !important;
}

body[data-surface='public'] #app .eventos-experience-copy h2 {
  max-width: 34ch !important;
}

@media (max-width: 700px) {
  body[data-surface='public'] #app main:not(.home-page) > :is(
    .catalog-intro,.channel-editorial,.public-simple-hero,
    .atacado-hero,.encomendas-hero,.eventos-hero,
    .origem-hero,.queijo-hero,.guias-hero,.receitas-hero,.representantes-hero
  ) h1 {
    max-width: 22ch !important;
    font-size: clamp(28px,7.7vw,34px) !important;
  }
}


/* MB06 mobile containment closure */
@media (max-width: 600px) {
  body[data-surface='public'] #app .origem-page > .editorial-seo-section,
  body[data-surface='public'] #app .origem-page > .editorial-seo-section.is-alt {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    grid-template-columns: minmax(0,1fr) !important;
    overflow: hidden !important;
  }

  body[data-surface='public'] #app .origem-page > .editorial-seo-section > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body[data-surface='public'] #app .public-search-page .catalog-grid,
  body[data-surface='public'] #app .public-search-page .catalog-product-card {
    grid-template-columns: minmax(0,1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body[data-surface='public'] #app .public-search-page .catalog-product-card > *,
  body[data-surface='public'] #app .public-search-page .catalog-product-copy,
  body[data-surface='public'] #app .public-search-page .catalog-product-image {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body[data-surface='public'] #app .public-search-page .catalog-product-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}


@media (max-width: 600px) {
  body[data-surface='public'] #app .public-search-page .catalog-grid {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    grid-auto-flow: row !important;
    gap: 16px !important;
  }

  body[data-surface='public'] #app .public-search-page .catalog-product-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}
