/*
 * Ja Achei v42 — reconstrução estrutural e responsiva.
 * Mantém a paleta aprovada: preto fosco, verde-limão e azul-petróleo.
 * Esta folha é carregada por último e consolida tamanhos, grids, carrosséis,
 * botões e breakpoints sem depender das camadas temáticas antigas.
 */

body.future-ui-v26.theme-stable-v42 {
  --ja-ink: #202020;
  --ja-ink-2: #2b2b2b;
  --ja-lime: #8fea5a;
  --ja-lime-soft: #effde7;
  --ja-blue: #0b88a6;
  --ja-blue-dark: #076b82;
  --ja-bg: #f1f3f7;
  --ja-surface: #ffffff;
  --ja-line: #dfe4eb;
  --ja-muted: #616977;
  --ja-danger: #c62828;
  --ja-radius: 14px;
  --ja-shadow: 0 10px 28px rgba(20, 24, 31, .08);
  --primary: var(--ja-ink);
  --cta: var(--ja-lime);
  margin: 0;
  overflow-x: hidden;
  color: var(--ja-ink);
  background: var(--ja-bg);
  -webkit-text-size-adjust: 100%;
}

body.future-ui-v26.theme-stable-v42 *,
body.future-ui-v26.theme-stable-v42 *::before,
body.future-ui-v26.theme-stable-v42 *::after { box-sizing: border-box; }

body.future-ui-v26.theme-stable-v42 img,
body.future-ui-v26.theme-stable-v42 svg,
body.future-ui-v26.theme-stable-v42 video,
body.future-ui-v26.theme-stable-v42 iframe { max-width: 100%; }

body.future-ui-v26.theme-stable-v42 a { color: inherit; }

body.future-ui-v26.theme-stable-v42 :is(.container,.ja-public-container) {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  margin-inline: auto;
  min-width: 0;
}

body.future-ui-v26.theme-stable-v42 :is(h1,h2,h3,h4) {
  color: var(--ja-ink);
  overflow-wrap: anywhere;
}

body.future-ui-v26.theme-stable-v42 :is(p,small,.meta,.muted) {
  color: var(--ja-muted);
  opacity: 1;
}

/* Cabeçalho e navegação */
body.future-ui-v26.theme-stable-v42 .ja-site-header {
  position: relative;
  z-index: 1200;
  width: 100%;
  background: var(--ja-ink);
  border-top: 3px solid var(--ja-lime);
  box-shadow: 0 8px 26px rgba(0,0,0,.16);
  isolation: isolate;
}

body.future-ui-v26.theme-stable-v42 .ja-header-main {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(180px, 252px) minmax(320px, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding-block: 13px;
}

body.future-ui-v26.theme-stable-v42 :is(.ja-logo-v22,.ja-logo-v22-frame) {
  display: flex;
  align-items: center;
  min-width: 0;
}

body.future-ui-v26.theme-stable-v42 .ja-logo-v22-frame { width: 100%; }
body.future-ui-v26.theme-stable-v42 .ja-logo-v22-img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 58px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1);
}

body.future-ui-v26.theme-stable-v42 .ja-header-search {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) 52px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
}
body.future-ui-v26.theme-stable-v42 .ja-header-search > i {
  color: #737a86;
  text-align: center;
}
body.future-ui-v26.theme-stable-v42 .ja-header-search input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 8px;
  border: 0 !important;
  outline: 0 !important;
  color: var(--ja-ink) !important;
  background: transparent !important;
  font-size: .94rem;
  -webkit-text-fill-color: var(--ja-ink) !important;
}
body.future-ui-v26.theme-stable-v42 .ja-header-search input::placeholder { color: #7b8390; opacity: 1; }
body.future-ui-v26.theme-stable-v42 .ja-header-search button {
  width: 52px;
  min-width: 52px;
  height: 48px;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(0,0,0,.12);
  border-radius: 0;
  color: #111 !important;
  background: var(--ja-lime) !important;
  box-shadow: none;
}
body.future-ui-v26.theme-stable-v42 .ja-header-search:focus-within {
  outline: 3px solid rgba(143,234,90,.28);
  outline-offset: 2px;
}

body.future-ui-v26.theme-stable-v42 .ja-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}
body.future-ui-v26.theme-stable-v42 :is(.ja-header-icon,.ja-mobile-menu-toggle) {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 7px;
  color: #fff !important;
  background: transparent !important;
}
body.future-ui-v26.theme-stable-v42 .ja-mobile-menu-toggle { display: none !important; }

body.future-ui-v26.theme-stable-v42 :is(.ja-header-icon,.ja-mobile-menu-toggle):hover {
  color: #111 !important;
  background: var(--ja-lime) !important;
  border-color: var(--ja-lime);
}

body.future-ui-v26.theme-stable-v42 .ja-desktop-navigation {
  position: relative;
  z-index: 4;
  background: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid var(--ja-line);
}
body.future-ui-v26.theme-stable-v42 .ja-desktop-nav-inner {
  min-height: 48px;
  display: flex;
  align-items: stretch;
  gap: 4px;
}
body.future-ui-v26.theme-stable-v42 :is(.ja-nav-link,.ja-nav-dropdown > summary) {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  color: #30343b !important;
  background: transparent !important;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
body.future-ui-v26.theme-stable-v42 :is(.ja-nav-link,.ja-nav-dropdown > summary):hover,
body.future-ui-v26.theme-stable-v42 .ja-nav-dropdown[open] > summary {
  color: #111 !important;
  background: var(--ja-lime-soft) !important;
  box-shadow: inset 0 -3px 0 var(--ja-lime);
}
body.future-ui-v26.theme-stable-v42 .ja-nav-link-special { margin-left: auto; }
body.future-ui-v26.theme-stable-v42 .ja-nav-panel {
  z-index: 1250 !important;
  border: 1px solid var(--ja-line) !important;
  border-top: 3px solid var(--ja-lime) !important;
  border-radius: 0 0 10px 10px !important;
  background: #fff !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.16) !important;
}
body.future-ui-v26.theme-stable-v42 .ja-nav-panel a:hover { color: var(--ja-blue-dark) !important; background: #eef9fc !important; }

/* Botões: um padrão único e com contraste. */
body.future-ui-v26.theme-stable-v42 :is(
  .btn,.inline-offer-button,.coupon-button,.ja-home-v30-load-more,
  .ja-search-page-form button,.search button,.commercial-store-card > a,
  .mobile-cta > a,.mobile-sticky-cta > a
) {
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 11px 18px;
  border: 1px solid var(--ja-lime) !important;
  border-radius: 7px !important;
  color: #111 !important;
  background: var(--ja-lime) !important;
  box-shadow: none !important;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none !important;
  opacity: 1 !important;
  filter: none !important;
  cursor: pointer;
}
body.future-ui-v26.theme-stable-v42 :is(
  .btn,.inline-offer-button,.coupon-button,.ja-home-v30-load-more,
  .ja-search-page-form button,.search button,.commercial-store-card > a,
  .mobile-cta > a,.mobile-sticky-cta > a
):hover {
  color: #111 !important;
  background: #a4f779 !important;
  border-color: #a4f779 !important;
  transform: translateY(-1px);
}
body.future-ui-v26.theme-stable-v42 :is(.btn-secondary,.btn-outline,.share-btn,.pagination a,.pagination span) {
  color: var(--ja-blue-dark) !important;
  background: #fff !important;
  border-color: #b9dfe8 !important;
}
body.future-ui-v26.theme-stable-v42 :is(button,a):focus-visible {
  outline: 3px solid rgba(11,136,166,.3) !important;
  outline-offset: 3px;
}

/* Home: estrutura previsível e alinhada. */
body.future-ui-v26.theme-stable-v42 .ja-page-shell-v42 { width: 100%; min-width: 0; overflow: hidden; }
body.future-ui-v26.theme-stable-v42 .ja-home-v30-intro {
  padding: 44px 0 48px;
  background: var(--ja-bg);
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-heading h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-heading p {
  max-width: 620px;
  margin: 10px auto 0;
  font-size: .96rem;
  line-height: 1.6;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-heading::after,
body.future-ui-v26.theme-stable-v42 .ja-home-v30-section-heading > div:first-child::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--ja-lime);
  box-shadow: 24px 0 0 var(--ja-blue);
}

body.future-ui-v26.theme-stable-v42 .ja-home-v30-section {
  width: 100%;
  padding: 64px 0;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-most-clicked {
  color: #fff;
  background: var(--ja-ink);
  border: 0;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent { background: var(--ja-bg); }
body.future-ui-v26.theme-stable-v42 .ja-home-v30-section-heading {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 20px;
  margin: 0 0 28px;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-section-heading > div:first-child { min-width: 0; text-align: center; }
body.future-ui-v26.theme-stable-v42 .ja-home-v30-section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-section-heading p {
  max-width: 620px;
  margin: 8px auto 0;
  font-size: .9rem;
  line-height: 1.55;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-most-clicked .ja-home-v30-section-heading h2 { color: #fff !important; }
body.future-ui-v26.theme-stable-v42 .ja-home-v30-most-clicked .ja-home-v30-section-heading p { color: #cdd2da !important; }

/* Carrosséis: o overflow fica apenas dentro do viewport. */
body.future-ui-v26.theme-stable-v42 [data-ja-carousel] { position: relative; width: 100%; min-width: 0; }
body.future-ui-v26.theme-stable-v42 :is(.ja-home-v30-carousel-controls,.ja-carousel-controls) {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 12px;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-section-heading .ja-carousel-controls { margin: 0; align-self: center; }
body.future-ui-v26.theme-stable-v42 .ja-carousel-button {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: grid !important;
  place-items: center;
  padding: 0 !important;
  border: 1px solid var(--ja-line) !important;
  border-radius: 7px !important;
  color: var(--ja-blue-dark) !important;
  background: #fff !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: pointer;
}
body.future-ui-v26.theme-stable-v42 .ja-carousel-button:hover:not(:disabled) {
  color: #111 !important;
  background: var(--ja-lime) !important;
  border-color: var(--ja-lime) !important;
}
body.future-ui-v26.theme-stable-v42 .ja-carousel-button:disabled { opacity: .3 !important; cursor: default; }
body.future-ui-v26.theme-stable-v42 .ja-carousel-button[hidden] { display: none !important; }
body.future-ui-v26.theme-stable-v42 .ja-carousel-viewport {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 2px 12px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
body.future-ui-v26.theme-stable-v42 .ja-carousel-viewport::-webkit-scrollbar { display: none; }
body.future-ui-v26.theme-stable-v42 .ja-carousel-track {
  display: grid !important;
  grid-auto-flow: column;
  align-items: stretch;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  transform: none !important;
}
body.future-ui-v26.theme-stable-v42 .ja-category-carousel-track {
  grid-auto-columns: calc((100% - 64px) / 5);
  gap: 16px;
}
body.future-ui-v26.theme-stable-v42 .ja-product-carousel-track {
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
}
body.future-ui-v26.theme-stable-v42 .ja-carousel-item {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100%;
  scroll-snap-align: start;
}

/* Categorias da home */
body.future-ui-v26.theme-stable-v42 .ja-home-v42-category-card {
  display: grid !important;
  grid-template-rows: auto 1fr;
  min-height: 236px;
  overflow: hidden;
  color: var(--ja-ink) !important;
  text-decoration: none;
  border: 1px solid var(--ja-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18,23,31,.07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-category-card:hover {
  transform: translateY(-3px);
  border-color: #b8eaa1;
  box-shadow: 0 14px 30px rgba(18,23,31,.12);
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-category-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #edf2f7;
  border-bottom: 1px solid var(--ja-line);
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-category-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-category-letter {
  font: 800 2rem/1 Sora, sans-serif;
  color: var(--ja-blue-dark);
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-category-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-category-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ja-ink);
  font-size: .98rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-category-copy small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ja-blue-dark) !important;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em;
}

/* Produtos mais clicados */
body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-card {
  display: grid !important;
  grid-template-rows: auto 1fr;
  min-height: 430px;
  overflow: hidden;
  color: var(--ja-ink) !important;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  transition: transform .18s ease, box-shadow .18s ease;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(0,0,0,.28);
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  background: #f7f8fa;
  border-bottom: 1px solid var(--ja-line);
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-image {
  position: absolute !important;
  inset: 14px !important;
  width: calc(100% - 28px) !important;
  height: calc(100% - 28px) !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #9aa4b1;
  font-size: 2rem;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-category {
  display: block;
  margin-bottom: 8px;
  color: var(--ja-blue-dark) !important;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-body h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ja-ink) !important;
  font-size: 1rem;
  line-height: 1.38;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-body p {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: #626b78 !important;
  font-size: .8rem;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-meta {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-meta :is(.rating,.price) {
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-meta .rating { color: var(--ja-blue-dark); background: #eaf8fb; }
body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-meta .price { color: #111; background: var(--ja-lime-soft); }

/* Itens recentes */
body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 18px;
  width: 100%;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-card {
  min-width: 0;
  height: 100%;
  display: grid !important;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  color: var(--ja-ink) !important;
  text-decoration: none;
  border: 1px solid var(--ja-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18,23,31,.07);
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-card[hidden] { display: none !important; }
body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  background: #edf1f5;
  border-bottom: 1px solid var(--ja-line);
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-product .ja-home-v30-recent-media { aspect-ratio: 1 / 1 !important; background: #f8f9fb; }
body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-product .ja-home-v30-recent-image {
  inset: 12px !important;
  width: calc(100% - 24px) !important;
  height: calc(100% - 24px) !important;
  object-fit: contain !important;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 16px;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-tags {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-tags span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #111 !important;
  background: var(--ja-lime-soft) !important;
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-tags small {
  min-width: 0;
  overflow: hidden;
  color: #6b7380 !important;
  font-size: .66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-copy h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ja-ink) !important;
  font-size: .98rem;
  line-height: 1.38;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-copy > p {
  display: -webkit-box;
  margin: 9px 0 0;
  overflow: hidden;
  color: #626b78 !important;
  font-size: .78rem;
  line-height: 1.5;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-meta {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 14px;
}
body.future-ui-v26.theme-stable-v42 .ja-home-v30-open { margin-left: auto; color: var(--ja-blue-dark); font-size: .72rem; font-weight: 800; }
body.future-ui-v26.theme-stable-v42 .ja-home-v30-load-more-wrap { display: flex; justify-content: center; margin-top: 28px; }

/* Cards gerais e mídia de produto fora da home. */
body.future-ui-v26.theme-stable-v42 :is(
  .card,.ja-search-card,.ja-category-v25-product-card,.ja-category-v25-content-card,
  .ja-related-v33-card,.commercial-store-card,.content-card,.sidebar-card
) {
  min-width: 0;
  border-color: var(--ja-line);
  border-radius: var(--ja-radius);
  background: #fff;
  box-shadow: var(--ja-shadow);
}
body.future-ui-v26.theme-stable-v42 :is(
  .product-highlight-media,.ja-category-v25-product-media,.ja-search-product-media,
  .related-image-stage,.ja-related-v33-media
) {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  background: #f7f8fa !important;
}
body.future-ui-v26.theme-stable-v42 :is(
  .product-highlight-image,.ja-category-v25-product-image,.ja-search-product-image,
  .ja-related-v33-image,.related-image-stage > img
) {
  position: absolute !important;
  inset: 12px !important;
  width: calc(100% - 24px) !important;
  height: calc(100% - 24px) !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}
body.future-ui-v26.theme-stable-v42 :is(
  .ja-category-v25-content-media,.ja-search-content-media,.article-card-media
) {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  overflow: hidden !important;
}
body.future-ui-v26.theme-stable-v42 :is(
  .ja-category-v25-content-image,.ja-search-content-image,.article-card-media img
) {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Badges e metadados nunca se encostam ou ultrapassam. */
body.future-ui-v26.theme-stable-v42 :is(
  .commerce-meta,.gallery-proof-row,.ja-home-v30-recent-tags,.ja-category-v25-metrics,
  .rating-pills,.product-tags,.share-actions,.reading-jump-links,.offer-soft-proof
) {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.future-ui-v26.theme-stable-v42 :is(
  .badge,.rating,.rating-pill,.gallery-badge,.best-choice-badge,.best-choice-ribbon,
  .commerce-category,.verdict-label,.offer-kicker,.ja-category-v25-kicker
) {
  max-width: 100%;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

/* Rodapé */
body.future-ui-v26.theme-stable-v42 .site-footer {
  border-top: 3px solid var(--ja-lime);
  color: #e7e9ed;
  background: var(--ja-ink);
}
body.future-ui-v26.theme-stable-v42 .footer-grid {
  display: grid;
  grid-template-columns: minmax(240px,1.2fr) repeat(2,minmax(180px,.8fr));
  gap: 46px;
  align-items: start;
}
body.future-ui-v26.theme-stable-v42 .site-footer :is(h2,h3,strong) { color: #fff !important; }
body.future-ui-v26.theme-stable-v42 .site-footer :is(p,a,small,li) { color: #c8cdd5 !important; }
body.future-ui-v26.theme-stable-v42 .site-footer a:hover { color: var(--ja-lime) !important; }
body.future-ui-v26.theme-stable-v42 .footer-logo-v36 {
  width: auto !important;
  max-width: min(230px,100%) !important;
  height: auto !important;
  max-height: 62px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1);
}

/* Tablet */
@media (max-width: 1100px) {
  body.future-ui-v26.theme-stable-v42 .ja-header-main { grid-template-columns: minmax(170px,220px) minmax(260px,1fr) auto; }
  body.future-ui-v26.theme-stable-v42 .ja-category-carousel-track { grid-auto-columns: calc((100% - 48px) / 4); }
  body.future-ui-v26.theme-stable-v42 .ja-product-carousel-track { grid-auto-columns: calc((100% - 36px) / 3); }
  body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}

/* Mobile e tablet estreito */
@media (max-width: 900px) {
  body.future-ui-v26.theme-stable-v42 :is(.container,.ja-public-container) {
    width: min(100% - 28px, 760px);
  }

  body.future-ui-v26.theme-stable-v42 .ja-header-main {
    min-height: 0;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas: "logo actions" "search search";
    gap: 11px 12px;
    padding-block: 12px;
  }
  body.future-ui-v26.theme-stable-v42 .ja-logo-v22 { grid-area: logo; max-width: 210px; }
  body.future-ui-v26.theme-stable-v42 .ja-header-actions { grid-area: actions; }
  body.future-ui-v26.theme-stable-v42 .ja-header-search { grid-area: search; }
  body.future-ui-v26.theme-stable-v42 .ja-logo-v22-img { max-height: 50px !important; }
  body.future-ui-v26.theme-stable-v42 .ja-desktop-navigation { display: none !important; }
  body.future-ui-v26.theme-stable-v42 .ja-mobile-menu-toggle { display: grid !important; }

  body.future-ui-v26.theme-stable-v42 .ja-mobile-menu {
    position: absolute !important;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1300;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    color: #fff;
    background: var(--ja-ink) !important;
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 34px rgba(0,0,0,.3);
  }
  body.future-ui-v26.theme-stable-v42 .ja-mobile-menu[hidden] { display: none !important; }
  body.future-ui-v26.theme-stable-v42 .ja-mobile-menu-inner { padding-block: 12px 20px; }
  body.future-ui-v26.theme-stable-v42 .ja-mobile-primary-links a,
  body.future-ui-v26.theme-stable-v42 :is(.ja-mobile-group > summary,.ja-mobile-subgroup > summary) {
    width: 100%;
    min-height: 48px;
    display: grid !important;
    grid-template-columns: 24px minmax(0,1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 11px 12px !important;
    border-bottom: 1px solid rgba(255,255,255,.1);
    color: #fff !important;
    background: transparent !important;
    text-align: left;
  }
  body.future-ui-v26.theme-stable-v42 :is(.ja-mobile-group > summary,.ja-mobile-subgroup > summary) > span {
    min-width: 0;
    display: grid !important;
    grid-template-columns: 24px minmax(0,1fr);
    align-items: center;
    gap: 10px;
  }
  body.future-ui-v26.theme-stable-v42 :is(.ja-mobile-group > summary,.ja-mobile-subgroup > summary) > i:last-child { justify-self: end; }
  body.future-ui-v26.theme-stable-v42 :is(.ja-mobile-submenu,.ja-mobile-subgroup) { padding-left: 12px; }
  body.future-ui-v26.theme-stable-v42 :is(.ja-mobile-submenu a,.ja-mobile-subgroup a) {
    min-height: 44px;
    display: flex !important;
    align-items: center;
    padding: 10px 12px !important;
    color: #d9dde3 !important;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  body.future-ui-v26.theme-stable-v42 .ja-mobile-menu a:hover,
  body.future-ui-v26.theme-stable-v42 .ja-mobile-menu summary:hover { color: #111 !important; background: var(--ja-lime) !important; }

  body.future-ui-v26.theme-stable-v42 .ja-home-v30-intro { padding: 32px 0 38px; }
  body.future-ui-v26.theme-stable-v42 .ja-home-v30-section { padding: 48px 0; }
  body.future-ui-v26.theme-stable-v42 .ja-home-v30-section-heading {
    grid-template-columns: minmax(0,1fr);
    gap: 16px;
  }
  body.future-ui-v26.theme-stable-v42 .ja-home-v30-section-heading .ja-carousel-controls { justify-self: center; }
  body.future-ui-v26.theme-stable-v42 .ja-home-v30-carousel-controls { justify-content: center; }
  body.future-ui-v26.theme-stable-v42 .ja-category-carousel-track { grid-auto-columns: calc((100% - 14px) / 2.2); gap: 14px; }
  body.future-ui-v26.theme-stable-v42 .ja-product-carousel-track { grid-auto-columns: calc((100% - 16px) / 2.15); gap: 16px; }
  body.future-ui-v26.theme-stable-v42 .ja-home-v42-category-card { min-height: 222px; }
  body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-card { min-height: 390px; }
  body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }

  body.future-ui-v26.theme-stable-v42 :is(
    .article-layout,.product-reading-layout,.commerce-hero-grid,.commerce-hero-grid-v15,
    .category-layout,.search-layout,.page-layout,.footer-grid
  ) {
    grid-template-columns: minmax(0,1fr) !important;
  }
  body.future-ui-v26.theme-stable-v42 :is(.sidebar,.product-sidebar) { width: 100% !important; }
  body.future-ui-v26.theme-stable-v42 .sticky { position: static !important; top: auto !important; }

  body.future-ui-v26.theme-stable-v42 :is(
    .ja-search-grid,.ja-category-v25-product-grid,.ja-category-v25-content-grid,
    .related-grid,.products-grid,.articles-grid
  ) { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }

  body.future-ui-v26.theme-stable-v42 :is(.mobile-cta,.mobile-sticky-cta) {
    position: fixed !important;
    left: max(10px,env(safe-area-inset-left)) !important;
    right: max(10px,env(safe-area-inset-right)) !important;
    bottom: max(10px,env(safe-area-inset-bottom)) !important;
    z-index: 1600 !important;
    width: auto !important;
    max-width: 720px;
    margin-inline: auto;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(128px,42%);
    align-items: stretch;
    gap: 9px;
    padding: 9px !important;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 11px !important;
    color: #fff;
    background: var(--ja-ink) !important;
    box-shadow: 0 14px 40px rgba(0,0,0,.3);
  }
  body.future-ui-v26.theme-stable-v42.has-mobile-affiliate-cta { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }
  body.future-ui-v26.theme-stable-v42 :is(.mobile-cta,.mobile-sticky-cta) > div {
    min-width: 0;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 4px 5px;
  }
  body.future-ui-v26.theme-stable-v42 :is(.mobile-cta,.mobile-sticky-cta) > div :is(strong,small) {
    overflow: hidden;
    color: #fff !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.future-ui-v26.theme-stable-v42 :is(.mobile-cta,.mobile-sticky-cta) > a {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px;
    padding: 9px !important;
  }
}

@media (max-width: 640px) {
  body.future-ui-v26.theme-stable-v42 :is(.container,.ja-public-container) { width: calc(100% - 24px); }
  body.future-ui-v26.theme-stable-v42 .ja-home-v30-heading h1 { font-size: clamp(1.5rem,7vw,1.9rem); }
  body.future-ui-v26.theme-stable-v42 .ja-home-v30-heading p { font-size: .88rem; }
  body.future-ui-v26.theme-stable-v42 .ja-category-carousel-track { grid-auto-columns: 76%; gap: 12px; }
  body.future-ui-v26.theme-stable-v42 .ja-product-carousel-track { grid-auto-columns: 86%; gap: 14px; }
  body.future-ui-v26.theme-stable-v42 .ja-home-v42-category-card { min-height: 218px; }
  body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-card { min-height: 0; }
  body.future-ui-v26.theme-stable-v42 .ja-home-v42-product-body { min-height: 198px; }
  body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-grid { grid-template-columns: minmax(0,1fr) !important; gap: 14px; }
  body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-card {
    grid-template-columns: 116px minmax(0,1fr);
    grid-template-rows: 1fr;
    min-height: 156px;
  }
  body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-media,
  body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-product .ja-home-v30-recent-media {
    width: 116px !important;
    height: 100% !important;
    min-height: 156px !important;
    aspect-ratio: auto !important;
    border-right: 1px solid var(--ja-line);
    border-bottom: 0;
  }
  body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-copy { padding: 13px; }
  body.future-ui-v26.theme-stable-v42 .ja-home-v30-recent-copy > p { -webkit-line-clamp: 2; }
  body.future-ui-v26.theme-stable-v42 :is(
    .ja-search-grid,.ja-category-v25-product-grid,.ja-category-v25-content-grid,
    .related-grid,.products-grid,.articles-grid
  ) { grid-template-columns: minmax(0,1fr) !important; }

  body.future-ui-v26.theme-stable-v42 :is(
    .ja-search-product-card,.ja-search-content-card,.ja-related-v33-card,
    .ja-category-v25-product-card,.ja-category-v25-content-card
  ) {
    display: grid !important;
    grid-template-columns: 108px minmax(0,1fr) !important;
    min-height: 148px;
    overflow: hidden;
  }
  body.future-ui-v26.theme-stable-v42 :is(
    .ja-search-product-media,.ja-search-content-media,.ja-related-v33-media,
    .ja-category-v25-product-media,.ja-category-v25-content-media
  ) {
    width: 108px !important;
    height: 100% !important;
    min-height: 148px !important;
    aspect-ratio: auto !important;
    border-right: 1px solid var(--ja-line);
  }
  body.future-ui-v26.theme-stable-v42 :is(.share-actions,.commerce-meta,.gallery-proof-row,.rating-pills) { gap: 7px; }
  body.future-ui-v26.theme-stable-v42 .share-btn { width: 42px !important; min-width: 42px !important; height: 42px !important; padding: 0 !important; }
}

@media (max-width: 390px) {
  body.future-ui-v26.theme-stable-v42 :is(.container,.ja-public-container) { width: calc(100% - 20px); }
  body.future-ui-v26.theme-stable-v42 .ja-logo-v22 { max-width: 174px; }
  body.future-ui-v26.theme-stable-v42 .ja-logo-v22-img { max-height: 44px !important; }
  body.future-ui-v26.theme-stable-v42 .ja-header-actions { gap: 6px; }
  body.future-ui-v26.theme-stable-v42 :is(.ja-header-icon,.ja-mobile-menu-toggle) { width: 40px; min-width: 40px; height: 40px; }
  body.future-ui-v26.theme-stable-v42 .ja-category-carousel-track { grid-auto-columns: 82%; }
  body.future-ui-v26.theme-stable-v42 .ja-product-carousel-track { grid-auto-columns: 92%; }
  body.future-ui-v26.theme-stable-v42 :is(.mobile-cta,.mobile-sticky-cta) { grid-template-columns: minmax(0,1fr) 118px; gap: 7px; padding: 7px !important; }
  body.future-ui-v26.theme-stable-v42 :is(.mobile-cta,.mobile-sticky-cta) > a { font-size: .76rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.future-ui-v26.theme-stable-v42 *,
  body.future-ui-v26.theme-stable-v42 *::before,
  body.future-ui-v26.theme-stable-v42 *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
