/* ══════════════════════════════════════
   CATALOG.CSS
   Стили карточек товаров для всех страниц
   Color Express — color-express.kz
══════════════════════════════════════ */

/* ── СЕКЦИЯ ── */
.products-section {
  padding: 72px 0;
  background: #fff;
}

.products-section .sec-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: #1F1F1F;
  margin-bottom: 40px;
}

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

/* ── КАРТОЧКА ── */
.product-card {
  display: flex;
  flex-direction: column;
}

/* ── ИЗОБРАЖЕНИЕ ── */
.product-img-wrap {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #f0f0f0;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

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

/* ── ТЕЛО КАРТОЧКИ ── */
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1F1F1F;
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.product-body ul li {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* ── КНОПКА ── */
.btn-product {
  display: block;
  width: 100%;
  background: #1AABDC;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background .2s, transform .15s;
  position: relative;
  overflow: hidden;
}



@keyframes catalogShine {
  0%   { left: -100%; }
  40%  { left: 120%; }
  100% { left: 120%; }
}

.btn-product:hover {
  background: #1490BE;
  transform: translateY(-2px);
}

/* ══ АДАПТИВ ══ */

/* Планшет — 3 колонки */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Планшет малый — 2 колонки */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }
  .product-img-wrap {
    height: 180px;
  }
}

/* Мобильный — 2 колонки */
@media (max-width: 480px) {
  .products-section {
    padding: 48px 0;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }
  .product-img-wrap {
    height: 150px;
    border-radius: 8px;
  }
  .product-body h3 {
    font-size: 14px;
  }
  .product-body ul li {
    font-size: 12px;
  }
  .btn-product {
    font-size: 12px;
    padding: 11px 10px;
  }
}
