/* One content edge across the site, aligned with the visible header logo.
   The 788 × 557 logo is contained in a 160 × 68 box: its drawing starts
   about 32px inside that box. Keep the header itself in its current position. */
:root {
  --tt-content-gutter: calc(clamp(20px, 5.55vw, 80px) + 32px);
  --sl-gutter: var(--tt-content-gutter);
}

/* Apply the gutter once, at the outer content boundary. Backgrounds can
   still fill the viewport; nested columns and cards retain their own spacing. */
#main :is(.framer-O02ad, .framer-giN8E, .framer-9W5w8, .framer-RcFwa) main > section:not(#sl-manifesto),
#main .framer-O02ad .framer-15cb2za,
#main .framer-O02ad .framer-b7QLK,
#main :is(.framer-giN8E, .framer-9W5w8, .framer-RcFwa) main > div {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  padding-inline: var(--tt-content-gutter) !important;
}
#main main > section > [data-framer-name="Container"],
#main .framer-O02ad :is(.framer-1i5pla1, .framer-13ervx0, .framer-jv9es7),
#colecoes .framer-1ti5d8j,
#sl-quality .slq-inner,
#sl-manifesto :is(.slm-open, .slm-body, .slm-data),
.sl-related .sl-related-inner {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
}
#main .framer-O02ad :is(.framer-ah8bla, .framer-kiqyar, .framer-msrptr, .framer-a9knlt, .framer-1r4ddye) {
  padding-inline: 0 !important;
}
#sl-manifesto .slm-inner { padding-inline: var(--tt-content-gutter) !important; }
.tt-hero-copy {
  left: var(--tt-content-gutter);
  right: var(--tt-content-gutter);
  max-width: none;
}
.tt-page, .tt-footer, .tt-menu-grid { padding-inline: var(--tt-content-gutter); }
.tt-page-inner, .tt-footer-grid, .tt-footer-bottom, .tt-menu-grid { max-width: none; }

/* The physician's copy used to be absolutely positioned on desktop and
   lose all horizontal padding between 810px and 1399px. Normal grid flow
   keeps the photograph, copy and link inside the same responsive container. */
#main .framer-O02ad .framer-1vs9kiq {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 4vw, 64px) !important;
  align-items: start;
}
#main .framer-O02ad .framer-obtzvq {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5;
}
#main .framer-O02ad .framer-2v6eut { display: none !important; }
#main .framer-O02ad :is(.framer-a9knlt, .framer-1v7kc9w) {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: 100% !important;
  min-width: 0;
  height: auto !important;
  grid-column: 2;
}
#main .framer-O02ad .framer-a9knlt { grid-row: 1; }
#main .framer-O02ad .framer-1v7kc9w { grid-row: 2; align-items: flex-start !important; }
@media (max-width: 1399.98px) {
  #main .framer-O02ad .framer-1vs9kiq { grid-template-columns: minmax(0, 1fr); }
  #main .framer-O02ad .framer-obtzvq { grid-row: 1; aspect-ratio: 1 / 1; }
  #main .framer-O02ad .framer-a9knlt { grid-column: 1; grid-row: 2; }
  #main .framer-O02ad .framer-1v7kc9w { grid-column: 1; grid-row: 3; }
}
@media (max-width: 809.98px) {
  #main .framer-O02ad .framer-obtzvq { aspect-ratio: 3 / 4; }
}

/* The standalone quiz keeps its centered reading column inside the same
   minimum outer gutter in every step, including its footer. */
#quiz-root main > .relative.mx-auto {
  width: calc(100% - 2 * var(--tt-content-gutter));
  padding-inline: 0;
}
#quiz-root footer { padding-inline: var(--tt-content-gutter); }

/* The featured product had the same desktop-only positioning assumption. */
#main .framer-O02ad .framer-fy47ti {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 4vw, 64px) !important;
  align-items: start;
}
#main .framer-O02ad .framer-lefvgk {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
}
#main .framer-O02ad .framer-1p15hs1 { display: none !important; }
#main .framer-O02ad :is(.framer-1r4ddye, .framer-2tg4my) {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: 100% !important;
  min-width: 0;
  height: auto !important;
  grid-column: 2;
}
#main .framer-O02ad .framer-1r4ddye { grid-row: 1; }
#main .framer-O02ad .framer-2tg4my { grid-row: 2; }
@media (max-width: 1399.98px) {
  #main .framer-O02ad .framer-fy47ti { grid-template-columns: minmax(0, 1fr); }
  #main .framer-O02ad .framer-lefvgk { grid-row: 1; }
  #main .framer-O02ad .framer-1r4ddye { grid-column: 1; grid-row: 2; }
  #main .framer-O02ad .framer-2tg4my { grid-column: 1; grid-row: 3; }
}

/* Cards must grow with their text instead of wrapping an entire column
   sideways when the available content width becomes smaller. */
#colecoes .framer-o3beez { flex-wrap: nowrap !important; min-width: 0; }
#colecoes a.framer-Plpd7 { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
@media (max-width: 809.98px) {
  #colecoes :is(.framer-qmqogq, .framer-14wwq68, .framer-aorrfp) { height: auto !important; }
  #colecoes a.framer-Plpd7 {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: clamp(220px, 60vw, 360px) auto;
    height: auto !important;
  }
  #colecoes .framer-o3beez { height: auto !important; min-height: 300px; }
  #colecoes .framer-1hrroqe p { --framer-font-size: clamp(30px, 8vw, 40px) !important; }
  #colecoes .sl-collection-cta { gap: 8px; font-size: 14px; }
  #colecoes .sl-collection-cta svg { flex: none; }
  #main .framer-jA5m2 .framer-12pbqda { width: 100%; flex-wrap: wrap; gap: 16px; }
  #main .framer-ftf4x,
  #main .framer-ftf4x :is(.framer-1yq5ejh, .framer-13xlwr2),
  #main .framer-O02ad .framer-1ane3g7-container { min-width: 0; max-width: 100%; }
  #main .framer-ftf4x .framer-1yq5ejh { flex: 1 1 auto; }
  #main .framer-ftf4x .framer-13xlwr2 { white-space: normal; }
  #main .framer-ftf4x p { white-space: normal !important; }
}
@media (max-width: 809.98px) {
  #main .framer-aOrfB :is(.framer-1kfrhh0, .framer-1i3rtac) {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }
  #main .framer-aOrfB p { white-space: normal !important; }
}
@media (max-width: 375px) {
  #main :is(.framer-giN8E, .framer-9W5w8, .framer-RcFwa) .framer-p4CCu p {
    --framer-font-size: 12px !important;
    font-size: 12px !important;
  }
  #main :is(.framer-giN8E, .framer-9W5w8, .framer-RcFwa) h3 {
    --framer-font-size: 24px !important;
    font-size: 24px !important;
    overflow-wrap: anywhere !important;
  }
  #quiz-root h1 { font-size: 2.5rem; max-width: 100%; }
}
#quiz-root header img {
  max-width: calc(100% - 2 * var(--tt-content-gutter));
  object-fit: contain;
}

/* Empty template lists reserved hundreds of pixels above these CTAs.
   Keep each button just after its copy, independent of the image height. */
#main .framer-O02ad :is(.framer-ghkraf, .framer-1kflipe):empty,
#main .framer-O02ad .framer-ld112v { display: none !important; }
#main .framer-O02ad :is(.framer-1vs9kiq, .framer-fy47ti) {
  grid-template-rows: min-content minmax(0, 1fr);
}
#main .framer-O02ad :is(.framer-1v7kc9w, .framer-2tg4my) {
  align-self: start !important;
  justify-content: flex-start !important;
  min-height: 0 !important;
}
@media (max-width: 1399.98px) {
  #main .framer-O02ad :is(.framer-1vs9kiq, .framer-fy47ti) {
    grid-template-rows: none;
  }
}
