.store {
  margin-block: 3rem 5rem;
}

.store__title {
  margin: 0 0 1rem;
  padding-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

.store__title::after {
  content: "";
  position: absolute;
  width: 6rem;
  height: 1px;
  background-color: var(--primary);
  left: 0;
  bottom: 1rem;
}

.store__description {
  margin: 0 0 2.5rem;
  max-width: 40rem;
  color: #555;
  line-height: 1.5;
}

.store__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.store__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border: 1px solid #eee;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 250ms ease, transform 250ms ease;
}

.store__item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.store__image {
  width: 100%;
  max-width: 10rem;
  height: 4.5rem;
  object-fit: contain;
}

.store__name {
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 900px) {
  .store__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .store__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
