.checkout_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.above_fold_banner {
  display: none;
}

.checkout_column,
.cart_column {
  margin: 96px 0;
  width: calc((100% - 192px) / 2);
}

.checkout_column {
  background-color: var(--light-grey);
  padding: 15px;
  box-sizing: border-box;
  border: 2px solid var(--border-grey);
}

.cart_column,
.checkout_panel {
  background-color: var(--white);
  padding: 15px;
  box-sizing: border-box;
  border: 2px solid var(--border-grey);
}

.checkout_panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.checkout_panel h3 {
  margin: 0;
  margin-bottom: -10px;
}

form .button {
  margin: 15px 0 0;
  width: 100%;
}

.checkout_wrapper .buttons_container {
  justify-content: space-between;
  margin-left: 0;
}

.hidden {
  display: none;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  margin: 7px 0 -7px 0;
}

.breadcrumbs h5 {
  margin: 0;
  transition: 0.1s all ease-in-out;
}

.breadcrumbs .disabled,
.button.disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.3;
}

.checkout_chevron {
  width: 7px;
  margin: 0 15px 7px;
}

.checkout_chevron svg {
  transform:rotate(-90deg); 
  -webkit-transform:rotate(-90deg); 
  -moz-transform:rotate(-90deg); 
  -o-transform:rotate(-90deg);
}

.checkout_column .box-element {
  margin-top: -15px;
}

.details_review {
  background-color: var(--light-grey);
  border: 2px solid var(--border-grey);
  padding: 15px;
  box-sizing: border-box;
}

.sign_in_button {
  cursor: pointer;
}

.details_review .flex_heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.details_review h5 {
  margin: 0;
}

.details_review p {
  margin: 2px 0;
  opacity: 0.5;
}

.details_review p:last-of-type {
  margin-bottom: -5px;
}

.form_label {
  margin-top: 10px !important;
  margin-bottom: -5px !important;
  font-weight: 500;
  color: var(--black);
  text-align: left !important;
}

.box-element .form_label:first-of-type {
  margin-top: 15px !important;
}

.checkout_form_field {
  color: var(--form-grey);
  background-color: transparent;
  border: solid 2px var(--form-grey);
  height: 46px;
  width: 100%;
  padding-left: 15px;
  margin: 10px 0;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
  font-family: 'Roboto', sans-serif !important;
}

.checkout_form_field::placeholder {
  color: var(--form-grey);
}

.checkout_form_field:focus {
  outline: var(--form-grey);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-background-clip: text;
  -webkit-box-shadow: 0 0 0px 1000px var(--white) inset !important;
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: var(--form-grey) !important;
}

.final_price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  width: 70px;
  text-align: right;
}

.final_total {
  display: flex;
  justify-content: space-between;
}

/****************** Saved Addresses ********************/
#form h4 {
  margin: 20px 0 10px;
}

.saved_address,
.applied_coupon,
.saved_method {
  padding: 18px;
  box-sizing: border-box;
  margin-bottom: 15px;
  background-color: var(--light-grey);
  cursor: pointer;
  border: 2px solid var(--border-grey);
  transition: 0.2s all ease-in-out;
}

.saved_address:hover,
.saved_method:hover {
  border: 2px solid var(--black);
  background-color: var(--white);
  transition: 0.2s all ease-in-out;
  padding: 18px;
}

.saved_address p,
.saved_method p {
  margin: 0;
  color: var(--form-grey);
  transition: 0.2s all ease-in-out;
}

.saved_address:hover p,
.saved_method:hover p {
  color: var(--black);
  transition: 0.2s all ease-in-out;
}

/****************** Cart Column ********************/
.cart_column {
  min-height: 430px;
  position: sticky;
  top: 192px;
}

#cartWrapper,
#cartWrapper .box-element {
  height: 100%;
}

.cart_column h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  margin-bottom: -5px;
}

.cart_column h4 i {
  font-size: 20px;
  margin-bottom: 4px;
}

.cart_column p {
  margin: 10px 0;
}

.item_image {
  width: 70px;
  height: 70px;
  overflow: hidden;
  margin-right: 20px;
}

.item_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}

.basket_item {
  display: flex;
  align-items: stretch;
  margin: 15px 0;
  text-align: left;
}

.basket_item_info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 250px;
}

.basket_item h5 {
  margin: 0;
}

/****************** Stripe ********************/
.StripeElement {
  box-sizing: border-box;
  height: 40px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 0;
  background-color: var(--white);
  box-shadow: 0 1px 3px 0 #e6ebf1;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}

.StripeElement--focus {
  box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
  border-color: #fa755a;
}

.StripeElement--webkit-autofill {
  background-color: #fefde5 !important;
}

#payment-info .button_1 {
  margin-top: 17.5px;
  width: 100%;
}

#payment-info h4 {
  margin-top: 25px;
  margin-bottom: 5px;
}

#billing_address h4 {
  margin-top: 15px;
}

#make-payment,
#show-manual-form {
  margin-top: 15px;
}

.fa-credit-card {
  margin-right: 10px;
}

.coupon_form {
  display: flex;
}

#coupon_code {
  margin: 0;
}

#promo-button {
  width: max-content;
  margin: 0 0 0 15px;
}

.cart_column .promo_message {
  display: none;
  margin-top: 15px;
  margin-bottom: -5px;
  color: red;
}

.show {
  display: block;
}

.save_shipping {
  display: flex;
  align-items: center;
  margin: 10px 0 15px;
}

.save_shipping p {
  font-weight: 700;
  margin: 0;
  margin-left: 10px;
}

.terms_message {
  text-align: center;
  width: 90%;
  margin: 20px auto;
}

.terms_message a {
  color: var(--black);
  text-decoration: underline;
  font-weight: 500;
  transition: 0.2s all ease-in-out;
}

.terms_message a:hover {
  color: var(--light-blue);
  transition: 0.2s all ease-in-out;
}

.secure_message {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.5;
  font-size: 14px;
}

.secure_message i {
  margin-right: 8px;
}

.cart_column .items_list {
  max-height: 320px !important;
}

#show-manual-form {
  width: 100%;
}

@media (max-width: 1450px) and (min-width: 1350px) {
  .breadcrumbs h5 {
    margin-right: 15px;
  }

  .checkout_chevron {
    display: none;
  }
}

@media(max-width: 1250px) {
  .checkout_column,
  .cart_column {
    width: calc((100% - 30px) / 2);
    margin: 0;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .cart_column {
    top: 96px;
    padding: 15px;
    background-color: var(--light-grey);
    border: 2px solid var(--border-grey);
    box-sizing: border-box;
  }

  .cart_column .box-element {
    background-color: var(--white);
    border: 2px solid var(--border-grey);
    padding: 15px;
    box-sizing: border-box;
  }
}

@media(max-width: 950px) {
  .checkout_wrapper {
    display: block;
  }

  .checkout_column,
  .cart_column {
    width: 100%;
  }

  .checkout_column {
    margin-bottom: 30px;
  }

  .checkout_wrapper h2 {
    text-align: center;
  }

  .checkout_wrapper .buttons_container {
    margin: 0;
  }
}

@media(max-width: 600px) {
  .checkout_wrapper .buttons_container {
    display: block;
  }

  .basket_column,
  .totals_column,
  .checkout_column,
  .cart_column {
    width: 100%;
    border-left: 0;
    border-right: 0;
    margin-top: 0;
    padding: 20px;
  }

  .cart_column {
    margin-bottom: 0;
  }

  .breadcrumbs {
    justify-content: center;
  }
}

@media(max-width: 450px) {
  .breadcrumbs h5 {
    margin: 0 7px;
  }
  
  .checkout_chevron {
    display: none;
  }
}

@media(max-width: 400px) {
  .final_price {
      display: none;
  }

  .basket_item_info {
    text-align: end;
  }

  .breadcrumbs {
    flex-direction: column;
    margin-top: 20px;
  }
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  /* -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important; */
  -webkit-background-clip: text;
  /* This is a bonus from here: https://github.com/nextui-org/nextui/issues/1346#issuecomment-1855635162*/
  transition: background-color 5000s ease-in-out 0s;
}