/* Home mobile: uma hierarquia simples, controles ao alcance e fotos em destaque. */
@media (max-width: 980px), (max-width: 1100px) and (max-height: 600px) {
  html[data-metalcom-palette] body { background: linear-gradient(160deg, #dce6e3, #edf1e9) !important; background-attachment: scroll !important; }
  html[data-metalcom-palette] .site-bg { background: radial-gradient(ellipse at 100% 0, #d3e0dc, transparent 65%), linear-gradient(160deg, #dce6e3, #edf1e9) !important; }
  html[data-metalcom-palette] .texture, html[data-metalcom-palette] .noise, html[data-metalcom-palette] .vignette { display: none; }
  html #produtos.section { padding: 28px 16px 12px !important; }
  #produtos > .container { width: 100%; padding: 0; min-width: 0; }
  #produtos .catalogHeading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 10px; align-items: center; margin-bottom: 14px; }
  #produtos .catalogHeading > div:first-child { min-width: 0; }
  html #produtos .catalogHeading .title { margin: 0; padding: 0; font-size: clamp(20px, 5.5vw, 30px) !important; line-height: 1.2; letter-spacing: -.035em; }
  #produtos .catalogHeading .title::after { display: none; }
  #produtos .catalogControlsRow { display: contents; }
  html[data-metalcom-palette] #produtos .viewModeSwitch { display: none !important; }
  #produtos .catalogFilterBar { grid-column: 1 / -1; grid-row: 2; display: flex; width: 100%; min-width: 0; gap: 6px; padding: 0; margin: 0; overflow-x: auto; scrollbar-width: none; background: none; mask-image: none; }
  html[data-metalcom-palette] #produtos .chipBtn { flex: 1 0 auto; min-height: 44px; padding: 10px 12px; border: 1px solid #91aab64d; border-radius: 12px; background: #e5ede9 !important; color: #456372 !important; font-size: 12px; box-shadow: none; }
  html[data-metalcom-palette] #produtos .chipBtn.active { background: #254f65 !important; border-color: #254f65 !important; color: #fff !important; }
  #produtos .mobileSearchRow { margin: 0 0 18px; }
  html[data-metalcom-palette] #produtos .mobileSearchSurface { width: 100% !important; min-height: 48px; height: 48px; padding: 0 14px; border: 1px solid #91aab66e; border-radius: 14px; background: #eef3ef !important; box-shadow: none; }
  #produtos .mobileSearchSurface input { min-width: 0; font-size: 16px !important; }
  #produtos .mobileSearchSurface .search-clear { flex: 0 0 36px; width: 36px; height: 36px; }
  #produtos .catalogStaticGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  html[data-metalcom-palette] #produtos .catalogStaticCard { display: flex; flex-direction: column; min-width: 0; min-height: 0; border: 1px solid #8fa9b74d; border-radius: 18px; background: #f0f4f0 !important; box-shadow: 0 6px 18px #183b4d08; }
  #produtos .catalogStaticMedia { height: auto; aspect-ratio: 1.15; }
  #produtos .catalogStaticMedia img { padding: 0; object-fit: cover; }
  #produtos .catalogStaticBody { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 12px; }
  #produtos .catalogStaticName { font-size: 13px; line-height: 1.35; }
  #produtos .catalogStaticLink { margin-top: auto; padding: 0; font-size: 0; }
  #produtos .catalogStaticLink i { width: 32px; height: 32px; }
}
@media (max-width: 767px) {
  html[data-metalcom-palette] #nav { padding-top: max(8px, env(safe-area-inset-top)); }
  #nav .nav-wrap { width: calc(100% - 24px); max-width: none; }
  html[data-metalcom-palette] #nav .nav-bar { display: flex; justify-content: space-between; gap: 12px; min-height: 76px; padding: 6px 12px; border-radius: 20px; background: #e5ece5ed !important; box-shadow: 0 8px 30px #1b3d4d12; }
  #nav .headerAnniversaryBrand { width: 128px; height: 62px; flex-basis: 128px; }
  #nav .nav-right { gap: 10px; margin-left: auto; }
  #nav .headerWhatsApp, #nav #hamb { width: 44px; height: 44px; flex: 0 0 44px; }
  #nav #hamb { display: grid; place-items: center; border-radius: 14px; background: #f2f6f0; border: 1px solid #9bb0b84d; }
  #drawerOverlay .drawer { width: min(420px, 100%); max-width: 100%; padding: 18px; overscroll-behavior: contain; }
  #drawerOverlay .drawerHead { gap: 12px; }
  #drawerOverlay .drawerHead .headerAnniversaryBrand { width: 132px; height: 66px; flex-basis: 132px; }
  #drawerOverlay .lang-wrap { justify-content: center; }
  #drawerOverlay .flagBtn { min-width: 44px; min-height: 36px; }
  html[data-metalcom-palette] #topo .heroStage { border-radius: 24px; box-shadow: 0 12px 30px #173b4b12; }
  #topo .heroSky { width: 39%; top: 5%; }
  #topo .heroSkyLeft { left: 5%; }
  #topo .heroSkyRight { right: 5%; }
  #topo .heroSkyTitle { font-size: clamp(15px, 4.4vw, 28px); }
}
@media (max-width: 359px) {
  html #produtos.section { padding-inline: 12px !important; }
  #produtos .catalogHeading { gap: 14px 6px; }
  html[data-metalcom-palette] #produtos .chipBtn { padding-inline: 9px; font-size: 11px; }
  #nav .headerAnniversaryBrand { width: 118px; flex-basis: 118px; }
  #nav .nav-right { gap: 8px; }
}
@media (min-width: 600px) and (max-width: 980px) {
  #produtos .catalogStaticGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) and (max-height: 480px) and (orientation: landscape) {
  html[data-metalcom-palette] #nav .nav-bar { min-height: 60px; padding-block: 2px; }
  #nav .headerAnniversaryBrand { width: 110px; height: 54px; flex-basis: 110px; }
}
