.checkout-page {
  padding-top: 6rem;
  padding-bottom: 8rem;
}
.checkout-page .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  padding: 4rem 2rem;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.order-summary {
  width: 64rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.8rem;
  padding: 2rem;
  position: sticky;
  top: 2rem;
}
.order-summary .btn {
  text-transform: uppercase;
  width: auto;
  padding: 1.6rem 2rem;
  display: none;
}
.order-summary h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: #021859;
  font-family: "LibreBaskerville-Bold";
}

.checkout-section h2 {
  font-size: 2.8rem;
  font-family: "LibreBaskerville-Bold";
  margin-bottom: 1rem;
  color: #021859;
}
.checkout-section p {
  font-size: 1.8rem;
  color: #021859;
  margin-bottom: 1rem;
  font-family: "WorkSans";
}

.checkout-section input,
.checkout-section select,
.checkout-section textarea {
  width: 100%;
  padding: 1.6rem 2rem;
  border: 1px solid #093773;
  border-radius: 0.6rem;
  font-size: 1.8rem;
  box-sizing: border-box;
  font-family: "WorkSans";
  height: auto;
}
.checkout-section select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 2.5rem;
  padding-right: 4rem;
}
.form-row {
  display: flex;
  gap: 2rem;
}

.form-row input,
.form-row select {
  flex: 1;
}

.checkout-buttons .btn-primary {
  background: #093773;
  color: #f0f6ff;
  text-transform: uppercase;
  border: 1px solid #093773;
  width: 100%;
}
.checkout-buttons .btn-primary:hover {
  background: #f0f6ff;
  color: #093773;
  cursor: pointer;
}
.order-summary .btn:hover {
  background: #f0f6ff;
  color: #093773;
  cursor: pointer;
}
.checkout-buttons .btn-secondary {
  background: #f0f6ff;
  color: #093773;
  text-transform: uppercase;
  border: 1px solid #093773;
  width: 100%;
}
.checkout-buttons .btn-secondary:hover {
  background: #093773;
  color: #f0f6ff;
}
.checkout-buttons {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
}

.order-items {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  border-bottom: 1px solid #ddd;
}
.order-items li {
  display: flex;
  padding: 0.6rem 0;
}
.order-items li img {
  width: 5rem;
  height: 5rem;
  margin-right: 2rem;
}
.order-items li .item-name {
  font-size: 1.6rem;
  font-family: "WorkSans-SemiBold";
  font-weight: 700;
  color: #021859;
  width: 70%;
}
.order-items li .item-price {
  font-family: "WorkSans-SemiBold";
  font-weight: 600;
  font-size: 1.8rem;
  color: #000512;
}
.order-totals p {
  display: flex;
  margin: 2rem 0;
  font-size: 1.8rem;
  font-family: "WorkSans-SemiBold";
  color: #000512;
}
.order-totals-key {
  width: 20rem;
}
.order-totals .total {
  border-top: 1px solid #ddd;
  padding-top: 2rem;
  font-size: 2.4rem;
  font-family: "WorkSans-SemiBold";
  color: #000512;
}
.shipping-address {
  gap: 2rem;
  display: flex;
  flex-direction: column;
}
.shipping-address h2,
.shipping-address p {
  margin: 0rem;
  padding: 0rem;
}
.login-hint {
  margin-top: 1rem;
}
.shipping-method input {
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
  accent-color: #002b5c;
}
.shipping-method {
  display: flex;
  align-items: center;
  justify-content: start;
  border: 1px solid #093773;
  border-radius: 0.8rem;
  padding: 1.6rem 2rem;
}
.shipping-title {
  width: 90%;
  color: #8799b0;
  font-size: 1.8rem;
  font-family: "WorkSans";
}
.shipping-cost {
  color: #8799b0;
  font-size: 1.8rem;
  font-family: "WorkSans";
}
.payment-options-block {
  border: 1px solid #093773;
  border-radius: 0.8rem;
  padding: 1.6rem 2rem;
}
.payment-options-block .payment-method {
  display: flex;
  color: #8799b0;
  font-size: 1.8rem;
  font-family: "WorkSans";
  margin-bottom: 2rem;
}
.payment-options-block p {
  color: #8799b0;
  font-size: 1.8rem;
  font-family: "WorkSans";
}
.payment-options-block .payment-method svg {
  width: 7rem;
  height: 1.6rem;
}
.payment-options .order-note {
  height: 13rem;
}
.payment-options .add-note {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 5rem;
  margin-bottom: 2rem;
}
.payment-options .add-note input {
  width: 3rem;
  height: 2.5rem;
  margin-right: 1rem;
  accent-color: #002b5c;
}
.payment-options .add-note span {
  color: #021859;
  font-size: 1.8rem;
  font-family: "WorkSans";
}

.order-items-summary {
  display: flex;
  flex-direction: row;
  color: #000512;
  font-size: 1.8rem;
  font-family: "WorkSans-SemiBold";
  margin-top: 1rem;
}
.order-items-head {
  width: 75%;
}
