/* ===== LE SOMMELIER DE POCHE - Restaurant Wines Styles ===== */

/* ===== Mobile Wine Cards ===== */
.wines-mobile-cards {
  display: none;
}

.wine-mobile-card {
  background: var(--bo-surface);
  border: 1px solid var(--bo-border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.wine-mobile-card:last-child {
  margin-bottom: 0;
}

.wine-mobile-card:hover {
  border-color: var(--bo-border-hover);
}

.wine-mobile-card.inactive {
  opacity: 0.6;
}

.wine-mobile-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.wine-mobile-card-title {
  flex: 1;
  min-width: 0;
}

.wine-mobile-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--bo-text);
  margin: 0 0 4px 0;
  text-decoration: none;
  display: block;
}

.wine-mobile-card-name:hover {
  color: var(--victor-grape);
}

.wine-mobile-card-year {
  font-size: 13px;
  color: var(--bo-text-muted);
}

.wine-mobile-card-status {
  flex-shrink: 0;
}

.wine-mobile-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bo-border);
}

.wine-mobile-card-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wine-mobile-card-detail-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bo-text-muted);
}

.wine-mobile-card-detail-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--bo-text);
}

.wine-mobile-card-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.wine-mobile-card-action {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: var(--bo-bg);
  color: var(--bo-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

.wine-mobile-card-action:hover {
  background: var(--victor-grape);
  background: rgba(107, 63, 160, 0.1);
  color: var(--victor-grape);
}

.wine-mobile-card-action.delete:hover {
  background: rgba(255, 107, 91, 0.1);
  color: var(--victor-coral);
}

/* Responsive: Hide table, show cards on mobile */
@media (max-width: 1024px) {
  .wines-table {
    display: none;
  }

  .wines-mobile-cards {
    display: block;
  }
}
