
/* Заголовки */
.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 40px;
}

/* СЕТКА */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* Адаптив */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Карточка */
.product-card {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    padding: 20px;
    transition: 0.4s;
    box-shadow: 5px 2px 10px rgb(10 10 0);
}

.product-card:hoverr {
  transform: translate3d(8px, -10px, -150px);
  box-shadow: 0 15px 25px #fda729;
}

.product-cardd img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.5s;
}

.product-card:hover img {
  transform: scale(1.08);
}

/* Бейджи */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #f5dada;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
}

.badge.new {
  background: #dce5ff;
}

.badge.sale {
  background: #d4f5e9;
}

/* Избранное */
.favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Контент */
.card-body {
  padding: 16px;
}

.category {
  font-size: 11px;
  color: #aaa;
}

.title {
  font-size: 18px;
  margin: 5px 0;
}

.desc {
  font-size: 13px;
  color: #777;
}

.rating {
  margin: 10px 0;
}

.price {
  font-weight: bold;
  font-size: 18px;
}

.old-price {
  text-decoration: line-through;
  color: #aaa;
  font-size: 14px;
  margin-left: 6px;
}

/* Кнопка */
.btn-card {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #61784c, #b88b52);
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 18px 44px rgb(97 120 76 / 28%);
}

.btn-card:hover {
  animation: pulse 1s;
  box-shadow: 0 0 0 2em transparent;
}

/* Корзина */
.cart-icon {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 28px;
}
.rating span  {
    color: #ffc500;
    font-size: 15px;
	}