.legacy-home-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:12px 0 32px}
.legacy-home-categories a{display:flex;flex-direction:column;align-items:center;min-width:0;background:transparent;border:0;border-radius:0;padding:0 20px 20px;transition:color .15s}
.legacy-home-categories a:hover{color:#f58220}
.legacy-home-categories a:focus-visible{outline:2px solid #f58220;outline-offset:3px}
.legacy-home-categories img{display:block;width:100%;height:220px;object-fit:contain;margin-bottom:20px;mix-blend-mode:multiply}
.legacy-home-categories strong{font-size:16px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;margin-top:auto;color:inherit;text-align:center;text-transform:uppercase}
.legacy-home-categories-mobile,.legacy-mobile-catalog-heading{display:none}
@media(max-width:1250px){.legacy-home-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.legacy-home-categories img{height:160px}}
@media(max-width:991px){
  .legacy-home{padding-top:0}
  .legacy-home .ji-campaigns,.legacy-home-categories{display:none}
  #content .legacy-mobile-catalog-heading{display:block;font-size:22px;line-height:1.3;font-weight:600;margin:20px 0 14px;color:#173654}
  .legacy-home-categories-mobile{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 0 20px}
  .legacy-home-categories-mobile .legacy-mobile-category{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;min-width:0;min-height:142px;padding:12px 10px;background:#fff;border:0;border-radius:6px;color:#173654;text-decoration:none;-webkit-tap-highlight-color:#f5822026}
  .legacy-mobile-category img{display:block;width:72px;height:64px;object-fit:contain;flex:none}
  .legacy-mobile-category span{display:flex;align-items:center;justify-content:center;min-height:40px;font-size:15px;font-weight:500;line-height:20px;text-align:center;overflow-wrap:normal;word-break:normal}
  .legacy-mobile-category:active{background:#fff4e9}
  .legacy-mobile-category:focus-visible{outline:2px solid #f58220;outline-offset:2px}
  .legacy-middle .legacy-shopping{gap:4px}
  .legacy-middle .legacy-shopping a{min-width:44px;min-height:44px;justify-content:center}
  .legacy-middle .mobile-menu{width:44px;height:44px}
  .legacy-middle .search-form{height:44px}
  .legacy-middle .search-form input{font-size:16px}
  .legacy-middle .search-form button{min-width:44px;min-height:44px}
}
@media(min-width:600px) and (max-width:991px){.legacy-home-categories-mobile{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.legacy-home-categories a{transition:none}}
