.home-collections:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-block: clamp(12px, 2vw, 24px);
}
.home-collection {
  min-width: 0;
  padding: 12px;
  border: 1px solid #dbe4eb;
  border-radius: 14px;
  background: #fff;
}
.home-collection h2 {
  margin: 0 0 10px;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.4;
}
.home-collection h2 a {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  color: #183247;
  padding-inline-end: 6px;
}
.home-collection h2 a::after {
  content: '';
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  transform: rotate(45deg);
}
.home-collection-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 8px;
}
.home-collection-item {
  display: grid;
  align-content: start;
  min-width: 0;
  gap: 4px;
  color: #203449;
}
.home-collection-item .catalog-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f0f4f7;
  border-radius: 9px;
}
.home-collection-item h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.home-collection-discount {
  justify-self: start;
  padding: 2px 6px;
  border-radius: 5px;
  background: #bd1738;
  color: #fff;
  font-size: 12px;
}
.home-collection-empty { color: #526b7c; font-size: 13px; }
.home-collection a:focus-visible, .home-collections:focus-visible { outline: 2px solid #17435c; outline-offset: 2px; }

@media (601px <= width <= 1040px) {
  .home-collections:not([hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .home-collections:not([hidden]) {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: inline proximity;
    padding: 2px;
  }
  .home-collection { flex: 0 0 min(86%, 340px); scroll-snap-align: start; }
  .home-collection:only-child { flex-basis: 100%; }
}

.special-sale.special-sale--category:not([hidden]) {
  background: #003d32;
}
.special-sale.special-sale--category h2 a:focus-visible {
  outline-color: #fff;
}
