s {
  text-decoration: line-through;
  color: grey;
}

#cart_count {
  font-size: 1.5rem;
}

.basket-header {
  padding: 0.75rem 1rem;
  background-color: var(--main-color);
  color: #fff;
  border-radius: 1rem;
  position: absolute;
  font-size: 1.5rem;
  right: 2rem;
  vertical-align: middle;
  transition: 0.3s;
}

.basket-header:hover {
  background-color: rgba(255, 0, 0, 0.5);
}

.section {
  padding: 1rem 0 1rem;
}

.section-title,
.section-title1 {
  margin-top: 1rem;
  position: relative;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 0.1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 56px;
  height: 0.18rem;
  top: -1rem;
  left: 0;
  right: 0;
  margin: auto;
  background-color: var(--main-color);
}

.bd-grid {
  max-width: 900px;
  display: grid;
  grid-template-columns: 100%;
  column-gap: 1rem;
  width: calc(100% - 2rem);
  margin-left: 1rem;
  margin-right: 1rem;
}

.featured__container {
  margin-left: auto;
  margin-right: auto;
  column-gap: 1;
  justify-items: center;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background-color: #fff;
  border-radius: 0.5rem;
  transition: 0.3s;
  margin-bottom: 2rem;
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
}

.product__sale {
  position: absolute;
  left: 0.5rem;
  background-color: var(--main-color);
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 1rem;
  transform: rotate(-90deg);
  letter-spacing: 0.1rem;
}

.product__img {
  width: 220px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 12px 8px rgba(0, 0, 0, 0.2));
}

.product__name,
.product__price {
  font-size: 1.5rem;
}

.product__name {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.product__price {
  color: #515151;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.product:hover {
  transform: translateY(-0.5rem);
}

.button-light {
  font-size: 1rem;
  border: none;
  display: inline-flex;
  background-color: #fff;
  color: var(--main-color);
  font-weight: 700;
  align-items: center;
  cursor: pointer;
}

.button-icon {
  font-size: 1.25rem;
  margin-left: 0.5rem;
  transition: 0.3s;
}

.button-light:hover .button-icon {
  transform: translateX(0.25rem);
}

@media only screen and (min-width: 1400px) {
  .bd-grid {
    max-width: 1200px;
  }
}
