/* Topmart.cz — Home banner (tm-home-banner.css) */
.tm-home-banner{
  display:block;width:100%;max-width:1200px;margin:16px auto 24px;
  border-radius:12px;overflow:hidden;position:relative;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}
.tm-home-banner__link{display:block;text-decoration:none;outline:none}
.tm-home-banner__img{
  display:block;width:100%;height:auto;aspect-ratio:21/9;
  object-fit:cover;transform:scale(1);
  transition:transform .45s ease, box-shadow .35s ease;will-change:transform;
}

/* hover/focus (desktop) */
@media (hover:hover) and (pointer:fine){
  .tm-home-banner:focus-within .tm-home-banner__img,
  .tm-home-banner:hover .tm-home-banner__img{transform:scale(1.03)}
  .tm-home-banner__link:focus-visible{outline:2px solid #003366;outline-offset:3px}
}

/* jemné „float“ pohupování (desktop) */
@media (min-width:769px){
  .tm-home-banner{animation:tmFloat 6s ease-in-out infinite}
  @keyframes tmFloat{0%{transform:translateY(0)}50%{transform:translateY(-2px)}100%{transform:translateY(0)}}
}

/* mobil */
@media (max-width:768px){
  .tm-home-banner{margin:12px 0 18px;border-radius:10px;box-shadow:0 4px 12px rgba(0,0,0,.06)}
}

/* respektuje prefers-reduced-motion */
@media (prefers-reduced-motion:reduce){
  .tm-home-banner{animation:none!important}
  .tm-home-banner__img{transition:none!important}
}