.section-title {
  margin: 0;

  font-size: 2rem;
  font-weight: 700;
  gap: 1rem;
  font-family: var(--y-font-family);
}
.pro .section-title {
  padding: 0 2rem;
}

.section {
  margin: auto;
  max-width: 1200px;
  margin-bottom: 4rem;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.section.section2 .products {
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
  justify-content: flex-start;
}

.img-container {
  display: flex;
}
.img-container img {
  width: 100%;
  height: 700px;
  max-height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.product-card-pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.product-card-price-new {
  color: var(--y-color-crimson);
  font-weight: bold;
  font-size: 1.2rem;
}

.product-card-price-old {
  color: #999;
  text-decoration: line-through;
  font-size: 1rem;
}
.product-card {
  position: relative;
}

.product-card .offer-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--y-color-crimson);
  color: #fff;
  padding: 0.3rem 0.6rem 0.3rem 1rem;
  font-size: 0.8rem;
  border-radius: 0 16px 0 50px;
  font-weight: bold;
  z-index: 1;
}
.banner {
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.banner img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

@media (max-width: 820px) {
  .section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0;
    margin-bottom: 1rem;
  }
  .section.section2 {
    grid-template-columns: 1fr;
    justify-content: center;
    text-align: center;
  }
  .section-title::before,
  .section-title::after {
    width: 200px;
  }

  .section-title {
    font-size: clamp(1.2rem, 5.5vw, 1.6rem);
    text-align: start;
    padding-inline: 1rem;
    margin: 3rem 0 1.5rem 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .img-container {
    order: 1;
    margin: 0;
    border-radius: 0;
    width: 100%;
  }
  .img-container img {
    height: auto;
    border-radius: 0;
    width: 100%;
  }
  .products {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
    gap: 1rem;
    order: 2;
  }

  body[data-current-page="home"] .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
  }
  .product-card-price-new {
    font-size: 1.5rem;
  }

  .product-card-price-old {
    font-size: 1.3rem;
  }

  .banner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
    margin: 1.5rem 0;
  }

  .banner img {
    width: 100%;
    height: auto;
    border-radius: 16px;
  }
}
