@import url("https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&family=Abril+Fatface&family=Mukta:wght@200;300;400;500;600;700;800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 10px;
}

/* Navbar Styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 70px;
  background-color: #fff;
  color: #34a0a4;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-logo a {
  color: #34a0a4;
  font-size: 1.5em;
  font-weight: bold;
  text-decoration: none;
}

.navbar-logo img {
  width: 9%;
}

.navbar-links {
  list-style-type: none;
  display: flex;
  gap: 20px;
}

.navbar-links li {
  display: inline;
}

.navbar-links a {
  color: #34a0a4;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.navbar-links a:hover,
.navbar-links .active {
  background-color: #555;
  border-radius: 4px;
}

/* Checkout Container */
.checkout-container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  width: 100%;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 150px; /* Space for fixed navbar */
}

/* Responsiveness */
@media (min-width: 768px) {
  .checkout-container {
    flex-direction: row;
  }
}

.left-section,
.right-section {
  padding: 120px 20px 20px 20px;
}

.left-section {
  flex: 2;
  border-right: 1px solid #ddd;
}

.right-section {
  flex: 1;
  background-color: #f4f4f4;
}

/* Product and Shipping Containers */
.product-container,
.shipping-container {
  background-color: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.product-container h2,
.shipping-container h2 {
  color: #34a0a4;
  margin-bottom: 10px;
}

.product-item {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.product-item img {
  width: 80px;
  height: 80px;
  border-radius: 4px;
}

.product-info {
  flex: 1;
}

.product-info .product-name {
  font-weight: bold;
  margin-bottom: 5px;
}

.product-info .product-weight,
.product-info .product-price,
.product-info .protection {
  color: #888;
  font-size: 14px;
}

.note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.quantity-control button {
  width: 30px;
  height: 30px;
  background-color: #34a0a4;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.1s;
}

.quantity-control button:hover {
  transform: scale(1.1);
}

.quantity-control input {
  width: 50px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
}

.protection a {
  color: #34a0a4;
  text-decoration: none;
}

.address-info .label {
  background-color: #d8eefe;
  color: #34a0a4;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 5px;
}

/* Options and Select Dropdown */
.option-container {
  background-color: #f9f9f9;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.option-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.custom-select {
  appearance: none;
  background-color: white;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  transition: border-color 0.3s;
}

.custom-select:hover,
.custom-select:focus {
  border-color: #34a0a4;
  outline: none;
}

/* Summary Section */
.summary {
  margin-bottom: 20px;
}

.summary p {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
}

.summary .total {
  font-weight: bold;
  font-size: 18px;
  color: #34a0a4;
}

hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 10px 0;
}

/* Pay Button */
.pay-button {
  width: 100%;
  padding: 15px;
  background-color: #34a0a4;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pay-button:hover {
  background-color: #2a8a90;
}

.pay-button span {
  margin-right: 5px;
}

.shipping-container h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .option-container {
    padding: 10px;
    margin-bottom: 10px;
  }
  .option-label {
    font-size: 13px;
  }
  .custom-select {
    font-size: 13px;
  }
  .payment-method {
    font-size: 13px;
  }
}
