
/* ZYROX TOP BRANDS V2 */

body.home .zy-brand-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  margin: 17px 0 28px;
  background: linear-gradient(120deg, #071120, #101f36);
  border: 1px solid rgba(73, 130, 210, .25);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(8, 24, 45, .10);
}

body.home .zy-brand-row > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 86px;
  margin: 0;
  padding: 12px 8px;
  box-sizing: border-box;
  background: linear-gradient(150deg, #13233a, #0b1526);
  border: 1px solid rgba(115, 160, 220, .16);
  border-radius: 11px;
  color: #f5f9ff;
  text-shadow: 0 1px 0 rgba(0,0,0,.18);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition:
    background .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

body.home .zy-brand-row > a::after {
  content: "";
  position: absolute;
  left: 28%;
  right: 28%;
  bottom: 0;
  height: 2px;
  background: #2788ff;
  border-radius: 3px;
  opacity: .6;
  transition: left .2s ease, right .2s ease, opacity .2s ease;
}

body.home .zy-brand-row > a:hover {
  background: linear-gradient(145deg, #193a66, #0d2039);
  border-color: #338dff;
  box-shadow: 0 8px 22px rgba(0, 100, 255, .15);
  color: #ffffff;
  transform: translateY(-2px);
}

body.home .zy-brand-row > a:hover::after {
  left: 16%;
  right: 16%;
  opacity: 1;
}

body.home .zy-brand-row > a:focus-visible {
  outline: 2px solid #76bfff;
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  body.home .zy-brand-row {
    gap: 8px;
    padding: 10px;
  }

  body.home .zy-brand-row > a {
    min-height: 72px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  body.home .zy-brand-row {
    display: flex;
    gap: 10px;
    padding: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  body.home .zy-brand-row > a {
    flex: 0 0 136px;
    min-height: 75px;
    scroll-snap-align: start;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .zy-brand-row > a,
  body.home .zy-brand-row > a::after {
    transition: none;
  }
}


body.home .zy-brand-row > a:visited {
  color: #f5f9ff;
}

body.home .zy-brand-row > a span,
body.home .zy-brand-row > a strong {
  color: #f5f9ff;
}
