/* Overlay */
.cart-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  /* Pop-Up Content */
  .cart-popup-content {
    background: white;
    width: 90%;
    max-width: 350px; /* Smaller width for mobile */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: fadeIn 0.3s ease-in-out;
  }
  
  /* Header */
  .cart-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #007bff;
    color: white;
    padding: 10px 15px;
  }
  
  .cart-popup-header h2 {
    font-size: 1.2rem;
    margin: 0;
  }
  
  .close-popup {
    font-size: 1.5rem;
    cursor: pointer;
    font-weight: bold;
  }
  
  /* Body */
  .cart-popup-body {
    padding: 15px;
  }
  
  .popup-products .popup-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  
  label {
    font-size: 1rem;
  }
  
  input[type="number"],
  input[type="text"],
  input[type="tel"] {
    width: 100px; /* Compact inputs */
    padding: 5px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 4px;
  }
  
  /* Footer */
  .cart-popup-footer {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #f8f9fa;
  }
  
  button {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
  }
  
  .cancel-button {
    background: #6c757d;
    color: white;
  }
  
  .buy-button {
    background: #007bff;
    color: white;
  }
  
  button:hover {
    opacity: 0.9;
  }
  
  /* Fade-in Animation */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: scale(0.9);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  