nav-logo {
    width: 140px;
}

.preview-row {
  display: grid;
  grid-template-columns: repeat(3, 400px); /* три карточки фиксированной ширины */
  gap: 30px; /* расстояние между карточками */
  justify-content: center; /* Центрирование карточек */
  margin: 0 auto; /* Центрирование блока на странице */
}

.catalog-product-card a {
  text-decoration: none; /* убрано подчеркивание ссылок */
  }

.catalog-product-card {
  background: #fff;
  border: 1px solid #0B123C;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
  border-radius: 16px;
  width: 400px;
  height: 320px; /* базовая высота */
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: height 0.3s ease; /* плавное растягивание */
  overflow: hidden;
  position: relative;
}

.catalog-product-card:hover {
  height: 360px; /* увеличиваем только высоту вниз */
}

.catalog-product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 12px;
}

.catalog-product-title {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  z-index: 1;
}

.catalog-product-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #0B123C;
  text-align: center;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* При наведении показываем цену */
.catalog-product-card:hover .catalog-product-price {
  opacity: 1;
  transform: translateY(0);
}
