
.empty-cart {
  text-align: center;
  padding: 60px 20px;
}

.empty-cart-title {
  font-size: 1.5rem;
  font-weight: 300;
  color: #666;
  margin: 0 0 12px 0;
}

.empty-cart-subtitle {
  font-size: 1rem;
  color: #999;
  margin: 0;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item-wrapper {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #eee;
  transition: all 0.2s ease;
}

.cart-actions {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #eee;
}


/* Shopping Cart Item Card Styles */
.cart-item-card {
  background: transparent;
  border: none;
  margin: 0;
  padding: 0;
}

.cart-item-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-item-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-message {
  flex: 1;
  width: 100%;
  justify-content: center;
  text-align: center;
  color: darkgrey;
}

.cart-item-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.cart-item-variant {
  font-size: 1rem;
  color: #667eea;
  margin: 0 0 0.25rem 0;
  font-style: italic;
}

.cart-item-sku {
  font-size: 0.875rem;
  color: #666;
  margin: 0 0 0.25rem 0;
}

.cart-item-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ff6b6b;
  margin: 0;
}

.cart-item-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: white;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 4px;
}

.quantity-form {
  display: inline-block;
  margin: 0;
}

.quantity-btn {
  background: white;
  border: 2px solid #ff6b6b;
  border-radius: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #ff6b6b;
  transition: all 0.2s ease;
}

.quantity-btn:hover:not(:disabled) {
  background: #ff6b6b;
  color: white;
  transform: translateY(-2px);
}

.quantity-btn:disabled {
  background: #f8f9fa;
  color: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

.quantity-display {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  min-width: 24px;
  text-align: center;
  padding: 0 8px;
}

.remove-form {
  display: inline-block;
  margin: 0;
}

.remove-btn {
  background: #ff6b6b;
  color: white;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.remove-btn:hover {
  background: #ff5252;
  transform: translateY(-2px);
}

/* Responsive adjustments following home.css pattern */
@media (max-width: 768px) {
  .cart-item-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .cart-item-actions {
    align-self: stretch;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .cart-item-image {
    align-self: center;
  }
  
  .cart-item-title {
    font-size: 1.1rem;
  }
}

/* Payments Details Styling - Following home.css patterns */
.payments-details {
  background: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.payments-details:hover {
  border-color: #ff6b6b;
  transform: translateY(-2px);
}

.payments-summary {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  padding: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.payments-summary:hover {
  color: #ff6b6b;
}

.payments-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid #dee2e6;
  background: white;
  margin: 0 16px 16px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.payment-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.payment-date {
  font-size: 0.875rem;
  color: #666;
  flex: 1;
}

.payment-provider {
  font-size: 0.875rem;
  color: #667eea;
  font-weight: 600;
  flex: 1;
  text-align: center;
}

.payment-status {
  font-size: 0.875rem;
  color: #2c3e50;
  font-weight: 600;
  flex: 1;
  text-align: center;
}

.payment-amount {
  font-size: 1rem;
  font-weight: 600;
  color: #ff6b6b;
  flex: 1;
  text-align: right;
}


.payment-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.confirmation-icon {
  font-size: 4rem;
  color: #00c851;
  margin-bottom: 24px;
}

.confirmation-title {
  font-size: 1.8rem;
  font-weight: 300;
  color: #2c3e50;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.confirmation-status {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
}

.order-summary {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  margin-top: 24px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .payment-section,
  .order-summary {
    padding: 24px;
  }
  
  .confirmation-icon {
    font-size: 3rem;
  }
  
  .confirmation-title {
    font-size: 1.5rem;
  }
  
  .payment-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .payment-date,
  .payment-provider,
  .payment-status,
  .payment-amount {
    text-align: left;
  }
}

/* Cart Overlay Styles */
.cart-overlay {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.cart-overlay:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cart-overlay .cart-icon {
  display: block;
  font-size: 3rem;
  text-decoration: none;
  position: relative;
  margin: 16px;
}

.cart-overlay .cart-text {
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  color: red;
}

.cart-overlay .cart-icon::after {
  content: attr(value);
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff6b6b;
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-overlay .link-plain {
  color: #2c3e50;
  text-decoration: none;
}

.cart-overlay .link-plain:hover {
  color: #ff6b6b;
}

.fade-away {
  animation: fade-out 1s ease-in forwards;
}

@keyframes fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
