/* V8.3 — readable footer across desktop and mobile. */
body.layout-v8 .site-footer :is(.v7-footer-col>a,.v7-footer-location p,.v7-footer-brand p,.v7-footer-brand p.v7-footer-sub,.v7-footer-social a) {
 font-size:16px!important;line-height:1.65!important;
}
body.layout-v8 .site-footer .v7-footer-col h3 {font-size:18px!important;line-height:1.4!important;}
body.layout-v8 .site-footer .v7-footer-bottom,
body.layout-v8 .site-footer .v7-footer-bottom a {font-size:14px!important;line-height:1.6!important;}
body.layout-v8 .site-footer .v7-footer-col {min-width:0;}
body.layout-v8 .site-footer .v7-footer-col>a {overflow-wrap:anywhere;}
body.layout-v8 .v5-contact-rowphoto img[src*="7652247"] {object-fit:cover!important;object-position:center 40%!important;}

/* Mobile refinements for the catalogue, product detail pages and culture cards. */
@media (max-width: 900px) {
  body.layout-v8[data-page="produtos"] .v5-catalog-band {
    height: auto !important;
    min-height: 0 !important;
  }

  body.layout-v8[data-page="produtos"] .v5-catalog-band .v5-catalog-copy {
    flex: 0 0 auto !important;
    height: auto !important;
    padding: 20px clamp(16px, 5vw, 28px) 22px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
  }

  body.layout-v8[data-page="produtos"] .v5-catalog-band .v5-catalog-copy > * {
    text-align: center !important;
    margin-inline: auto !important;
  }

  body.layout-v8[data-page="produtos"] .v5-catalog-band .v6-real-catalog-logo {
    width: min(176px, 65%) !important;
    height: 66px !important;
    object-position: center !important;
    margin-block: 0 12px !important;
  }

  body.layout-v8[data-page="produtos"] .v5-catalog-band .v5-catalog-copy h2 {
    margin-block: 0 10px !important;
    max-width: min(100%, 22ch) !important;
    overflow-wrap: anywhere;
  }

  body.layout-v8[data-page="produtos"] .v5-catalog-band .v5-catalog-copy p {
    margin-block: 0 14px !important;
    max-width: min(100%, 38ch) !important;
  }

  body.layout-v8[data-page="produtos"] .v5-catalog-band .v5-btn {
    margin-block: 0 !important;
    min-height: 44px;
  }

  body.layout-v8 .product-hero {
    margin-bottom: 14px !important;
  }

  body.layout-v8 .product-intro {
    padding-block: 22px 26px !important;
  }

  body.layout-v8 .product-intro .section-heading {
    margin-bottom: 20px !important;
  }

  body.layout-v8 .product-intro .section-heading h2 {
    margin-bottom: 12px !important;
  }

  body.layout-v8 .product-uses-section {
    margin-block: 0 22px !important;
    padding-bottom: 0 !important;
  }

  body.layout-v8 .product-uses {
    padding-block: 20px 24px !important;
  }

  body.layout-v8 .product-uses h2 {
    margin-block: 0 14px !important;
  }

  body.layout-v8 .product-uses ul {
    margin-block: 14px 18px !important;
  }

  body.layout-v8[data-page="sobre-nos"] .v5-culture-grid {
    grid-auto-rows: auto;
    gap: 12px;
  }

  body.layout-v8[data-page="sobre-nos"] .v5-culture-tile {
    min-width: 0;
    padding: 18px;
    gap: 8px;
    justify-content: flex-start;
  }

  body.layout-v8[data-page="sobre-nos"] .v5-culture-tile h3 {
    font-size: clamp(16px, 3.2vw, 21px) !important;
    line-height: 1.25 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  body.layout-v8[data-page="sobre-nos"] .v5-culture-tile p {
    margin: 0;
    overflow-wrap: anywhere;
  }

  body.layout-v8[data-page="sobre-nos"] .v5-culture-icon {
    flex: 0 0 32px;
    width: 32px !important;
    height: 32px !important;
    font-size: 26px !important;
    line-height: 1.2 !important;
    overflow: visible;
    margin: 0 0 2px !important;
  }

  body.layout-v8[data-page="sobre-nos"] .v5-culture-photo {
    min-height: 150px;
  }

  body.layout-v8[data-page="sobre-nos"] .v5-culture-photo img {
    display: block;
  }
}

@media (max-width: 540px) {
  body.layout-v8[data-page="sobre-nos"] .v5-culture-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.layout-v8[data-page="sobre-nos"] .v5-culture-photo {
    aspect-ratio: 16 / 9;
  }

  body.layout-v8[data-page="sobre-nos"] .v5-culture-tile h3 {
    font-size: 20px !important;
  }
}
