/* --- Стили для пагинации (перенесены из product_list.html) --- */
.pagination {
  --bs-pagination-bg: #fff;
  --bs-pagination-border-radius: 18px;
  --bs-pagination-color: #fff22b;
  --bs-pagination-hover-bg: #eaf7c7;
  --bs-pagination-active-bg: #fff22b;
  --bs-pagination-active-color: #fff;
}
.pagination .page-link {
  border-radius: 18px;
  color: #fff22b;
  border: 1.5px solid #fff22b;
  background: #fff;
  font-weight: 600;
}
.pagination .page-item.active .page-link {
  background: #fff22b;
  color: #fff;
  border: 1.5px solid #fff22b;
  font-weight: 700;
}
.pagination .page-item.disabled .page-link {
  color: #bbb;
  border: 1.5px solid #eee;
  background: #fff;
}
.product-price-block {
  margin-bottom: 0.5rem;
  text-align: left;
}
.product-price-block .new-price {
  font-size: 1.5rem;
  color: #e53935;
  font-weight: 800;
  line-height: 1.1;
}
.product-price-block .old-price {
  font-size: 0.92rem;
  color: #888;
  text-decoration: line-through;
  margin-top: 0.1rem;
}
.product-price-block .badge {
  font-size: 0.93em;
  font-weight: 700;
  min-width: 44px;
  text-align: center;
}
.product-price-block .price-labels {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 0.1rem;
  margin-left: 2px;
}
.product-price-block .label-new {
  font-weight: 500;
}
.product-price-block .label-old {
  font-weight: 400;
}
/* --- Модальное окно товара --- */
.product-modal-content {
  padding: 1.5rem;
}
.product-modal-img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
  margin-bottom: 1.2rem;
}
.product-modal-title {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.product-modal-category {
  font-size: 1.02rem;
}
.product-modal-desc {
  font-size: 1.08rem;
}
.product-modal-price {
  font-size: 1.15rem;
  font-weight: 600;
}
.card.product-card .card-body {
    padding: 0.7rem 1rem 0.9rem 1rem;
}
.card.product-card {
    border-radius: 12px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.07);
    border: none;
    background: #fff;
    transition: box-shadow 0.18s, transform 0.18s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card.product-card:hover {
    box-shadow: 0 6px 24px 0 rgba(182,211,0,0.18);
    transform: translateY(-2px) scale(1.02);
}
.card.product-card .card-img-top {
    border-radius: 12px 12px 0 0;
    object-fit: cover;
    height: 120px;
    min-height: 120px;
    max-height: 120px;
}
.card.product-card .card-title {
    font-size: 1.13rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.card.product-card .card-text {
    font-size: 1rem;
    color: #232323;
}

.product-cart-btn {
  display: block;
  width: 100% !important;
  background: #fff22b !important;
  color: #232323 !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px #fff12bd4;
  border-radius: 12px !important;
  font-size: 1.08rem !important;
  padding: 10px 0 !important;
  transition: background .18s, color .18s, box-shadow .18s;
  outline: none;
}
.product-cart-btn:hover, .product-cart-btn:focus {
  background: #ffe600 !important;
  color: #232323 !important;
  box-shadow: 0 4px 16px #fff22b55;
}
