/* Mobile composition contract shared by TR/EN; desktop declarations are untouched. */
@media (max-width:760px) {
  .hero-home-inner,.detail-hero-grid {grid-template-columns:minmax(0,1fr);height:auto;min-height:0;gap:24px}
  .hero-home-copy,.detail-hero-copy {min-width:0;position:relative;z-index:3}
  .hero-home-actions,.detail-hero-actions {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:stretch;margin-top:24px}
  .hero-home-actions a,.detail-hero-actions a,.detail-hero-actions button {max-width:100%!important;width:100%;min-height:48px;justify-content:center;text-align:center;white-space:normal;line-height:1.4}
  .home-page .hero-home-art,.detail-max .detail-hero-art {
    display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
    grid-template-areas:"claim claim" "badges bottle" "ribbon ribbon";
    grid-template-rows:auto auto auto;align-items:start;gap:16px 10px;
    min-height:0;height:auto;margin:0;padding:16px 20px 20px 0;isolation:isolate;overflow:hidden;
  }
  .home-page .hero-home-art .brand-first-claim,.detail-max .detail-hero-art .brand-first-claim {
    grid-area:claim;position:relative;inset:auto;margin:0;line-height:1.5;max-width:100%;z-index:2;
  }
  .home-page .hero-home-art .hero-medals,.detail-max .detail-hero-art .detail-medals {
    grid-area:badges;position:relative;inset:auto;width:100%;height:auto;margin:12px 0 0;z-index:2;
  }
  .home-page .hero-max-pack,.detail-max .detail-max-pack {
    grid-area:bottle;position:relative;inset:auto;width:100%;height:auto;aspect-ratio:350/650;min-width:0;margin:0;z-index:1;
  }
  .home-page .hero-max-pack .hero-bottle,.detail-max .detail-max-pack .detail-hero-pack {position:relative;inset:auto;width:100%;height:auto;display:block;aspect-ratio:350/650;object-fit:contain}
  .home-page .hero-product-mark,.detail-max .detail-max-mark {
    grid-area:ribbon;position:relative;inset:auto;width:clamp(150px,48vw,210px);max-width:100%;height:auto;margin:0;z-index:2;
  }
  .hero-cross,.detail-cross {display:none}
  .hero-home-art .product-ground-shadow,.detail-hero-art .product-ground-shadow {transform:translate(-50%,-65%) scale(1.15,1.4)}
  /* Nozzle light must never wash over copy or controls in stacked layouts. */
  .approved-max-art::before {width:150%;opacity:.55}
  .approved-max-art::after {width:135%;opacity:.6}
  .product-max,.catalog-art,.faq-product,.max-faq-intro,.hub-product-art {isolation:isolate;overflow:hidden}
  /* Intrinsic cards grow with translated copy; never crop their last line. */
  .home-page .home-pest,.detail-pest-grid a,.detail-pest-item {height:auto;min-height:240px}
  .home-page .home-pest-fit,.detail-pest-go {margin-top:auto}
  .detail-guide-cta .button {white-space:normal;max-width:100%}
  main .button,main .detail-buy {overflow-wrap:break-word}
}

@media (max-width:760px) {
  /* The specimen gets a real row, including all 14 Max guides and long EN names. */
  body .pest-hero-inner {display:grid;grid-template-columns:minmax(0,1fr);gap:24px;min-height:0;padding-block:30px}
  body .pest-hero-inner>div:first-child {max-width:100%;width:100%;min-width:0}
  body .pest-hero-inner .hero-alias {max-width:100%}
  body .pest-hero-inner .hero-specimen {position:relative;inset:auto;width:min(100%,260px);height:240px;margin-inline:auto;border:1px solid #ffffff20}
  body .pest-hero-inner .hero-specimen img {width:90%;height:90%;max-width:100%;object-fit:contain}
}
