a{
  color: #ffffff;
  text-decoration: none;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  color: #111;
}

.buy-header {
  background-color: #111;
  padding: 15px 30px;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.company-name {
  color: #fff;
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
}

.buy-main {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.left-side {
  flex: 2;
  min-width: 320px;
}

.left-side h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.buy-products-scroll {
  max-height: 600px;
  overflow-y: auto;
}

/* Product Item Cards */
.product-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 10px;
  background: #fff;
  margin-bottom: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.product-item:hover {
  transform: translateY(-2px);
}

.product-item img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info p {
  margin: 4px 0;
  font-size: 14px;
}

.product-info .price {
  font-weight: 700;
}

/* Right: Order Summary & Payment */
.right-side {
  flex: 1;
  min-width: 300px;
}

.summary-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.summary-box h2 {
  margin-top: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.summary-row.total {
  font-weight: 700;
  font-size: 16px;
  border-top: 1px solid #eee;
  margin-top: 10px;
  padding-top: 10px;
}

.payment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 12px;
}

.payment-form input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  transition: all 0.2s ease;
}

.payment-form input:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 5px rgba(17,17,17,0.2);
}

.pay-now-button {
  width: 100%;
  padding: 14px 0;
  border-radius: 8px;
  margin-top: 20px;
  border: none;
  background-color: #111;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pay-now-button:hover {
  background-color: #333;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .buy-main {
    flex-direction: column;
    padding: 20px;
  }

  .left-side,
  .right-side {
    max-width: 100%;
  }

  .buy-products-scroll {
    max-height: 400px;
  }
}

@media (max-width: 450px) {
  .company-name {
    font-size: 20px;
  }

  .product-item img {
    width: 60px;
    height: 60px;
  }

  .payment-form input {
    font-size: 13px;
  }
}

.summary-row span#total-payment {
  font-weight: 700;
}

#buy-products-list p{
  padding: 1px 0px;
}