.product-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  margin-top: 20px;
  flex-wrap: wrap; /* makes it mobile-friendly */
}

/* Bigger number input */
.quantity-input {
  width: 50%;
  height: 39.5px;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  border: 0px solid #007bff;
  border-radius: 0px;
  outline: none;
  transition: 0.3s;
}

.quantity-input:focus {
  border-color: #0056b3;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
}

/* Large Pay button */
.pay-btn {
  background: linear-gradient(135deg, #007bff, #00b4d8);
  color: #fff;
  border: none;
  padding: 10px 30px;
  width: 50%; /* stays half of container width */
  border-radius: 0px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex; /* use flex for icon + text */
  justify-content: center; /* center content */
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
  white-space: nowrap; /* prevent text wrapping */
  overflow: hidden; /* hide overflow */
  text-overflow: ellipsis; /* optional: add ... if text is too long */
}


.pay-btn:hover {
  transform


/* === Responsive Vertical Product List === */
@media (max-width: 1024px) {
  .cosmetics-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
  }

  .product-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .product-image {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .product-info {
    padding: 1.5rem;
  }

  .product-title {
    font-size: 1.3rem;
  }

  .product-price {
    font-size: 1.5rem;
  }

  .product-description {
    font-size: 0.95rem;
  }

  .product-btn,
  .pay-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.95rem;
  }

  .quantity-input {
    width: 70px;
    padding: 0.4rem;
    font-size: 1rem;
    text-align: center;
  }

  .menu-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .menu-btn {
    width: 90%;
  }
}

/* Smaller phones */
@media (max-width: 480px) {
  .header h1 {
    font-size: 1.6rem;
  }
  .product-info {
    padding: 1rem;
  }
  .product-title {
    font-size: 1.2rem;
  }
  .product-price {
    font-size: 1.3rem;
  }
}



