.page-wrapper {
  font-size: 1.5rem;
  box-sizing: border-box;
  width: 100vw;
  overflow-x: hidden;
  margin-top: 6rem;
}

.checkout-container {
  display: flex;
  flex-wrap: wrap;
  min-height: 100%;
  align-items: flex-start;
}

.checkout-left {
  flex: 2;
  padding: 2rem;
  background-color: #fff;
}

.checkout-right {
  flex: 1;
  padding: 2rem;
  height: 55rem;
  background-color: #f9f9f9;
  border-left: 1px solid #ddd;
}

.divider-line {
  height: 2px;
  background-color: #ccc;
  margin: 2rem 0;
}

input.form-control:focus,
textarea.form-control:focus,
select.form-control:focus {
  border-color: orange;
  box-shadow: none;
}

.form-control {
  height: 4rem;
  margin-bottom: 0.2rem;
  font-size: 1.5rem;
}

.checkout-btn-div {
  margin-top: 1rem;
  font-size: 1.5rem;
}

.btn-blue-checkout {
  height: 4rem;
  width: 100%;
  background-color: #a22c29;
  color: white;
  font-size: 1.5rem;
  padding: 1rem 1rem;
  border-radius: 1rem;
  border: none;
}

.btn-blue-checkout:hover {
  background-color: #800000;
  color: white;
}

/* .btn-blue-checkout a {
      color: white;
    } */

.product-summary {
  border-bottom: 1px solid #ccc;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.product-count {
  display: inline-block;
  font-weight: bold;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  padding: 0.3rem 0.6rem;
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

.product-name {
  font-weight: bold;
  font-size: 1.5rem;
}

.total-price {
  font-weight: bold;
  font-size: 2.2rem;
}

.sub-total-price {
  font-size: 2rem;
}

.sub-total-div {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 2rem;
}

/* .product-table {
      width: 100%;
      text-align: left;
    } */

.product-summary table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
}

.product-summary th,
.product-summary td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.product-summary th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.product-summary td {
  font-size: 1.4rem;
}

.product-summary tbody tr:hover {
  background-color: #f9f9f9;
  transition: 0.3s;
}

.error-msg {
  color: red;
  font-size: 0.85em;
  margin-top: 0px;
  margin-bottom: 1.2rem;
}

/* .error-msg {
  color: #d93025;
  font-size: 0.9em;
  font-weight: 500;
  margin-top: 4px;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  padding-left: 4px;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  opacity: 1;
  max-height: 50px;
}

.error-msg.hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
} */




@media (max-width: 768px) {
  .page-wrapper {
    margin-top: 14rem;
  }

  .checkout-container {
    flex-direction: column;
  }

  .checkout-left,
  .checkout-right {
    max-width: 100%;
    flex: 1 0 100%;
  }

  .checkout-right {
    border-left: none;
    border-top: 1px solid #ddd;
    margin-top: 2rem;
    width: 100%;
  }

  .product-summary table {
    font-size: 1rem;
  }

  .product-summary td,
  .product-summary th {
    padding: 5px;
  }

  .product-summary td:last-child {
    font-size: 1.5rem;
  }
}

@media (max-width: 426px) {
  .page-wrapper {
    margin-top: 6rem;
  }
}