.sport-catalog {
  padding: clamp(20px, 3vw, 38px);
  background: transparent;
  color: #f5f7f6;
  scroll-margin-top: 9rem;
}

.sport-catalog-head h2,
.sport-catalog-selection h3 {
  margin: 0;
  color: #f5f7f6;
}

.sport-catalog-head h2 {
  width: fit-content;
  font-size: clamp(22px, 3vw, 34px);
}

.sport-catalog-head h2,
.sport-catalog-selection h3,
.sport-catalog-collection,
.sport-catalog-controls [data-sport-count],
.sport-catalog-empty {
  padding: 6px 12px;
  border-radius: 8px;
  background: #131f28;
}

.sport-catalog-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1px;
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid #c8d6d1;
  border-radius: 12px;
  background: #c8d6d1;
}

.sport-catalog-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 54px;
  padding: 8px;
  background: #fff;
  color: #20342f;
  text-align: center;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.35;
}

.sport-catalog-chip span:first-child {
  flex: none;
  font-size: 1.125rem;
  line-height: 1;
}

.sport-catalog-chip span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.sport-catalog-chip:hover {
  background: #edf6f3;
  color: #076253;
}

.sport-catalog-chip[aria-current] {
  background: #076253;
  color: #fff;
}

.sport-catalog-selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.sport-catalog-selection h3 {
  font-size: 1.1rem;
  scroll-margin-top: 9rem;
}

.sport-catalog-collection {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #a8e2d5;
  font-weight: 750;
  font-size: .83rem;
}

.sport-catalog-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

.sport-catalog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
  border: 1px solid #dce4e1;
  border-radius: 12px;
  background: #fff;
  color: #172623;
}

.sport-catalog-item {
  flex: 1;
  display: block;
  color: inherit;
  text-decoration: none;
}

.sport-catalog-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1122 / 1402;
  object-fit: contain;
  border-radius: 7px;
  background: #eef0f2;
}

.sport-catalog-name,
.sport-catalog-code,
.sport-catalog-price {
  display: block;
  overflow-wrap: anywhere;
}

.sport-catalog-name {
  margin-top: 9px;
  font-weight: 750;
  line-height: 1.45;
}

.sport-catalog-code {
  margin-top: 3px;
  color: #536661;
  font-size: .72rem;
}

.sport-catalog-price {
  margin: 8px 0;
  color: #172623;
  font-weight: 750;
  font-size: .87rem;
}

.sport-catalog-price del {
  margin-inline-end: 6px;
  color: #536661;
  font-size: .72rem;
  font-weight: 500;
}

.sport-catalog-order,
.sport-catalog-unavailable {
  display: grid;
  place-content: center;
  min-height: 44px;
  border: 1px solid #076253;
  border-radius: 7px;
  padding: 5px;
  background: #076253;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-weight: 750;
  font-size: .8rem;
}

.sport-catalog-order:hover {
  background: #044c41;
  color: #fff;
}

.sport-catalog-empty {
  padding: 22px;
  border: 1px dashed #a9bcb5;
  border-radius: 10px;
}

.sport-catalog-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.sport-catalog-controls button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #b8c8c2;
  border-radius: 8px;
  background: #fff;
  color: #076253;
  font-size: .86rem;
  font-weight: 750;
}

.sport-catalog-controls button:disabled {
  opacity: .45;
}

.sport-catalog :is(a, button):focus-visible {
  outline: 2px solid #076253;
  outline-offset: 3px;
}

.sport-catalog .sport-catalog-chip:focus-visible {
  outline-offset: -4px;
}

.sport-catalog .sport-catalog-chip[aria-current]:focus-visible {
  outline-color: #fff;
}

.sport-catalog [hidden] {
  display: none !important;
}

@media (max-width: 1024px) {
  .sport-catalog-strip {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .sport-catalog-chip {
    grid-column: span 3;
  }

  .sport-catalog-chip:nth-child(n+5) {
    grid-column: span 4;
  }
}

@media (max-width: 720px) {
  .sport-catalog {
    padding: 15px 12px;
    scroll-margin-top: 5rem;
  }

  .sport-catalog-selection h3 {
    scroll-margin-top: 5rem;
  }

  .sport-catalog-strip {
    margin: 12px 0;
  }

  .sport-catalog-chip {
    flex-direction: column;
    gap: 5px;
    min-height: 58px;
    padding-inline: 3px;
    font-size: .77rem;
  }

  .sport-catalog-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .sport-catalog-card {
    padding: 7px;
  }

  .sport-catalog-name {
    font-size: .86rem;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .sport-catalog-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
