/* Wine Card Button Updates - Load this CSS last */

/* Update wine card action area layout */
.wine-card-actions {
  margin-top: 1.5rem;
}

/* Quantity selector styling */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.quantity-selector label {
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 500;
}

.quantity-selector input[type="number"] {
  width: 70px;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 161, 82, 0.3);
  color: var(--off-white);
  border-radius: 4px;
  font-size: 1.4rem;
  text-align: center;
}

.quantity-selector input[type="number"]:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

/* Add to Cart button - Call to Action styling */
.wine-card .btn-add-cart {
  width: 100%;
  background: linear-gradient(135deg, #8a0f1e 0%, #b72a38 100%);
  color: white;
  padding: 1.3rem 2rem;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(138, 15, 30, 0.3);
  margin-bottom: 1rem;
  overflow: visible;
  z-index: auto;
}

/* Remove ALL filling/sliding effects */
.wine-card .btn-add-cart:before,
.wine-card .btn-add-cart:after {
  content: none !important;
  display: none !important;
}

.wine-card .btn-add-cart:hover {
  background: linear-gradient(135deg, #6b0c17 0%, #8a0f1e 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 12, 23, 0.5);
}

.wine-card .btn-add-cart:active {
  transform: translateY(0);
}

/* View Details button - Secondary action */
.wine-card .btn-view-details {
  width: 100%;
  background: transparent;
  color: var(--accent-light);
  padding: 1rem 2rem;
  font-size: 1.3rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid rgba(212, 161, 82, 0.4);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: block;
  text-decoration: none;
}

.wine-card .btn-view-details:hover {
  background: transparent;
  border-color: var(--accent-light);
  color: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(212, 161, 82, 0.2);
}

/* Wine Labels/Badges */
.wine-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.wine-label {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  background: rgba(212, 161, 82, 0.15);
  color: var(--accent-light, #d4a152);
  border: 1px solid rgba(212, 161, 82, 0.3);
}

.wine-label.natural {
  background: linear-gradient(
    135deg,
    rgba(46, 125, 50, 0.2) 0%,
    rgba(76, 175, 80, 0.2) 100%
  );
  color: #81c784;
  border: 1px solid rgba(46, 125, 50, 0.3);
}

.wine-label.placeholder {
  visibility: hidden;
}

/* Out of Stock message */
.out-of-stock-message {
  text-align: center;
  padding: 1.5rem;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 5px;
  color: #e74c3c;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .quantity-selector {
    justify-content: center;
  }

  .wine-card .btn-add-cart {
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
  }

  .wine-card .btn-view-details {
    padding: 0.9rem 1.5rem;
    font-size: 1.2rem;
  }
}
