.shCatalogFamilyNavV1304 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  margin: 13px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px;
  background: rgba(255,255,255,.1);
  box-shadow: 0 18px 45px rgba(0,0,0,.2);
}

.shCatalogFamilyNavV1304 a {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 58px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 11px 16px 13px;
  background: #0d141c;
  color: #e9f0f6;
  text-align: center;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.shCatalogFamilyNavV1304 a::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  border-radius: 4px 4px 0 0;
  background: var(--platform-accent);
  content: "";
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .18s ease, transform .18s ease;
}

.shCatalogFamilyNavV1304 a:hover {
  background: color-mix(in srgb, var(--platform-accent) 9%, #121c27);
  color: #fff;
}

.shCatalogFamilyNavV1304 a.is-active {
  background: color-mix(in srgb, var(--platform-accent) 18%, #101720);
  color: #fff;
}

.shCatalogFamilyNavV1304 a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.shCatalogFamilyNavV1304 span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shCatalogFamilyNavV1304 small {
  color: #8191a0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.shCatalogFamilyNavV1304 a.is-active small { color: color-mix(in srgb, var(--platform-accent) 55%, #fff); }

@media (max-width: 700px) {
  .shCatalogFamilyNavV1304 {
    display: flex;
    margin-top: 12px;
    overflow-x: auto;
    border-radius: 15px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .shCatalogFamilyNavV1304::-webkit-scrollbar { display: none; }

  .shCatalogFamilyNavV1304 a {
    min-height: 54px;
    flex: 0 0 min(68vw, 220px);
    padding: 10px 14px 12px;
    scroll-snap-align: start;
  }

  .shCatalogFamilyNavV1304 span { font-size: 11px; }
}
