* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  padding: 16px;
  background-color: #f2f6fc;
  color: #333;
}

h2 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #1d1d1f;
}

.product-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.product-card img {
  width: 70px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.product-info {
  flex: 1;
}

.product-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.product-info .price {
  font-size: 14px;
}

.quantity {
  font-size: 14px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quantity select {
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: white;
  cursor: pointer;
}

.tax,
.total {
  font-size: 14px;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
}

.tax {
  font-size: 13px;
  color: #666;
}

.total {
  font-weight: bold;
  border-top: 1px dashed #ccc;
  padding-top: 8px;
  margin-top: 8px;
}

form {
  background-color: white;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

label {
  font-size: 14px;
  margin-bottom: 4px;
  display: block;
  font-weight: bold;
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.buy-button {
  width: 100%;
  background-color: #ffc107;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.buy-button:hover {
  background-color: #ffb300;
}

.summary {
  background-color: white;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.summary .delivery-info {
  margin-bottom: 20px;
}

.summary .delivery-info h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.summary .delivery-info div {
  font-size: 14px;
  color: #666;
}

.summary .tax,
.summary .total {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.summary .total {
  font-weight: bold;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed #ccc;
  padding-top: 8px;
}

/* pop-up for email */

.pop-up-wrapper {
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.716);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}
.modal-box {
  background-color: #fff;
  border-radius: 16px;
  padding: 50px 25px 25px 25px;
  text-align: center;
  width: 280px;
  max-width: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.modal-box img {
  width: 60px;
  margin-bottom: 16px;
}
.modal-box h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #000;
}
.modal-box p {
  font-size: 14px;
  color: #444;
  margin-bottom: 30px;
  line-height: 1.5;
}
.modal-box button {
  background-color: #243A68;
  color: white;
  border: none;
  padding: 10px 40px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bolder;
  font-size: 14px;
}
.modal-box button:hover {
  background-color: #111827;
}


@media (min-width: 600px) {
  body {
    max-width: 480px;
    margin: 0 auto;
  }
}
