/* ─── Wine Grid ─────────────────────────────────────────────────────────── */
.wine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  padding-bottom: 3rem;
}

.wine-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.wine-card:hover {
  transform: translateY(-6px);
  border-color: rgba(116, 24, 32, 0.3);
  box-shadow: 0 20px 40px rgba(66, 7, 13, 0.18), 0 0 0 1px rgba(116, 24, 32, 0.1);
}

.wine-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.wine-card:hover .wine-card-image { transform: scale(1.04); }

.wine-card-image-wrapper {
  overflow: hidden;
  position: relative;
}

.wine-type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}

.badge-tinto  { background: #590C15; color: #F1EDE3; border: 1px solid #590C15; }
.badge-blanco { background: #EADFC4; color: #5A4520; border: 1px solid #D8C9A4; }
.badge-rosado { background: #EFD3D1; color: #741820; border: 1px solid #E0B9B6; }
.badge-espumante { background: #D9C7B7; color: #42070D; border: 1px solid #C9B4A1; }

.wine-card-body { padding: 1.25rem; }

.wine-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.wine-card-winery {
  font-size: 0.8rem;
  color: var(--wine-gold);
  font-weight: 500;
  margin-bottom: 8px;
}

.wine-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.wine-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-glass);
}

.wine-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wine-gold-light);
}

.wine-price span { font-size: 0.75rem; font-weight: 400; color: var(--text-muted); }

.stock-indicator {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 10px;
}

.stock-ok   { background: rgba(47, 125, 79, 0.12); color: #2F7D4F; border: 1px solid rgba(47, 125, 79, 0.2); }
.stock-low  { background: rgba(168, 95, 0, 0.12); color: #A85F00; border: 1px solid rgba(168, 95, 0, 0.2); }
.stock-out  { background: rgba(179, 38, 30, 0.12);  color: #B3261E; border: 1px solid rgba(179, 38, 30, 0.2); }

