.filters {
  background: white;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filters input,
.filters select {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  min-width: 200px;
  font-size: 15px;
}

.stock-check {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #faf7f3;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--vino);
  font-weight: bold;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 28px;
}

.product-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
  transition: .25s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}

.product-img {
  height: 260px;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #b00020;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
}

.product-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category {
  display: inline-block;
  background: #f1e4c3;
  color: var(--vino);
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: bold;
  width: max-content;
}

.price {
  font-size: 23px;
  font-weight: bold;
  color: var(--rojo);
}

.btn-detail {
  background: var(--dorado);
  color: var(--vino2);
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: bold;
  margin-bottom: 10px;
}

.btn-cart {
  width: 100%;
  background: var(--vino);
  color: white;
  border: none;
  padding: 13px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

.btn-cart:disabled {
  background: #999;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.pagination a {
  padding: 9px 13px;
  background: white;
  border-radius: 8px;
  color: var(--vino);
  font-weight: bold;
}

.pagination .active {
  background: var(--vino);
  color: white;
}