/* ========== CATALOG ========== */
.catalog {
  background: var(--white);
}

.catalog-filters {
  margin-bottom: 40px;
}

.filter-btn {
  background: none;
  border: 1.5px solid var(--gray-200);
  padding: 10px 28px;
  margin: 4px 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-700);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  height: 100%;
  max-width: 100%;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.product-card-img {
  position: relative;
  height: 360px;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-img .placeholder-icon {
  font-size: 4rem;
  color: var(--gray-300);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  color: var(--white);
}

.badge-new {
  background: var(--emerald);
}
.badge-sale {
  background: var(--pink);
}
.badge-hit {
  background: var(--gold);
}

.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-img,
.product-card-body {
  max-width: 100%;
}

.product-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.price-current {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--emerald);
}

.price-old {
  font-size: 0.9rem;
  color: var(--gray-500);
  text-decoration: line-through;
}

.btn-add-cart {
  margin-top: auto;
  width: 100%;
  padding: 11px;
  background: var(--gray-900);
  color: var(--white);
  border: 2px solid var(--gray-900);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--emerald);
  border-color: var(--emerald);
}

.btn-add-cart.added {
  background: var(--emerald);
  border-color: var(--emerald);
}

@media (max-width: 576px) {
  .product-card-img {
    height: 260px;
  }

  .product-name {
    font-size: 1.05rem;
  }

  .product-price {
    flex-wrap: wrap;
    row-gap: 4px;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .product-card-img {
    height: 320px;
  }
}
