/*
 * Common
 */

.ins-checkout-body .avada-myaccount-user {
  display: none;
}

.ins-checkout-body .woocommerce-side-nav.woocommerce-checkout-nav {
  display: none !important;
}

.ins-checkout-body .woocommerce-content-box.avada-checkout {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* End Adava */

.ins-panel-open .select2-container {
  z-index: 999999;
}

.ins-panel-open .ins-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  background: rgb(0 0 0 / 30%);
  z-index: 9999;
}
.ins-container .added_to_cart {
  visibility: hidden;
  height: 0;
  padding: 0;
  margin: 0;
}

/* common Theme compatibilitate */

.ins-container .ins-inner .ins-close {
  width: 20px;
}

#ins-checkout-area .woocommerce-checkout .col2-set,
#ins-checkout-area #customer_details {
  width: 100%;
  float: none;
}

.woocommerce-page
  .select2-container
  .select2-selection
  .select2-selection__arrow {
  width: 20px !important;
  height: 26px !important;
}

.woocommerce-billing-fields__field-wrapper {
  margin: 0 !important;
}

#ins-checkout-area #order_review {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* 
 * Cart
 */
/* Success & error messages */
.ins-container .ins-cart-area .woocommerce-notices-wrapper .woocommerce-info {
  display: none !important;
}
.ins-container
  .ins-cart-area
  .woocommerce-notices-wrapper
  .woocommerce-message {
  background: #f2f2f2;
  color: #333;
  border-left: 0;
  text-align: left;
  padding: 23px 10px 23px 40px;
  line-height: 0;
  font-size: 14px;
  margin-bottom: 20px;
  border: none;
  border-radius: 3px;
}
.ins-container
  .ins-cart-area
  .woocommerce-notices-wrapper
  .woocommerce-message:before {
  color: #0f834d;
  top: 23px;
  left: 15px;
}
.ins-container .ins-cart-area .woocommerce-notices-wrapper .woocommerce-error {
  background: #f2f2f2;
  color: #333;
  border-left: 0;
  text-align: left;
  padding: 23px 10px 23px 40px;
  line-height: 0;
  font-size: 14px;
  margin-bottom: 20px;
  border: none;
  border-radius: 3px;
}
.ins-container
  .ins-cart-area
  .woocommerce-notices-wrapper
  .woocommerce-error:before {
  color: #e2401c;
  top: 23px;
  left: 15px;
}
/* Upsell */
.ins-container .upsell-container {
  margin: 50px 0 0 0;
}
.ins-container .upsell-container h4 {
  font-size: 20px;
  margin: 0 0 10px 0;
  font-weight: 400;
}
.ins-container .upsell-container ul {
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 0;
}
.ins-container .upsell-container ul li {
  width: 25%;
  float: left;
  padding: 0;
  margin: 0;
}
.ins-container .upsell-container ul li a {
  padding: 10px;
  display: block;
}
.ins-container .upsell-container ul li a h5 {
  margin: 10px 0 5px 0;
  padding: 0;
  font-weight: 400;
  font-size: 16px;
}
.ins-container .upsell-container ul li a p {
  padding: 0;
  margin: 0;
  font-size: 14px;
}
/* 
 * WooCommerce 
 */
.ins-container .actions .ins-cart-update label {
  display: none;
}
.ins-container .actions .ins-cart-update .ins-coupon {
  padding: 0 0 0 10px;
  margin: 0;
  border: 1px solid #f2f2f2;
  float: left;
  height: 40px;
  line-height: 40px;
  color: #333;
  border-radius: 0;
  width: 50% !important;
  background: #fff;
  border-left: none;
}
.ins-container .actions .ins-cart-update .ins-coupon:focus {
  outline: 0;
}
.ins-container .actions .ins-cart-update .ins-coupon-button {
  padding: 0;
  margin: 0 !important;
  height: 40px;
  border: none;
  line-height: 40px;
  border-radius: 0;
  font-size: 14px;
  width: 50% !important;
  letter-spacing: 0;
  text-transform: none;
  background: #f2f2f2;
  color: #333;
}
.ins-container .cart-collaterals {
  margin-top: 40px;
}
.ins-container .cart-collaterals h2 {
  display: none;
}
.ins-container .cart-collaterals .cart_totals {
  width: 100% !important;
  border: none !important;
}
.ins-container .woocommerce-Price-amount.amount {
  color: #333;
}
.ins-container .cart-collaterals .wc-proceed-to-checkout a.checkout-button {
  background: #ffffff;
  display: block;
  text-align: center;
  padding: 7px 20px;
  text-decoration: none !important;
  border: 1px solid #e9570a;
  color: #e9570a;
  font-size: 14px;
  transition: 0.3s;
  border-radius: 0;
  margin: 20px 0 20px 0;
  line-height: 24px;
  text-transform: uppercase;
  letter-spacing: 0;
}
.ins-container
  .cart-collaterals
  .wc-proceed-to-checkout
  a.checkout-button:hover {
  background: #e9570a;
  color: #fff;
}

/* 
 *  Checkout 
 */
.empty-cart-content {
  display: flex;
  justify-content: center;
  align-items: center;
}
.ins-container .ins-checkout-inner #back_to_cart {
  background: #ffffff;
  display: inline-block;
  text-align: center;
  padding: 7px 20px;
  text-decoration: none !important;
  border: 1px solid #e9570a;
  color: #e9570a;
  font-size: 14px;
  transition: 0.3s;
  border-radius: 0;
  margin: 0 0 20px;
  line-height: 20px;
  text-transform: none;
}
.ins-container .ins-checkout-inner #back_to_cart:hover {
  background: #e9570a;
  color: #fff;
}
.ins-container .woocommerce-info {
  display: none !important;
}
.m-checkout-inner
  .checkout.woocommerce-checkout.processing
  #order_review
  #payment
  .place-order
  #place_order,
.checkout.woocommerce-checkout.processing #payment #place_order {
  background-image: url(/wp-content/plugins/woocommerce/assets/images/select2-spinner.gif);
  background-position: 60% 50%;
  background-repeat: no-repeat;
  opacity: 0.6;
}

/* Login form */
.ins-container .inslogin {
  font-weight: 500;
  font-size: 16px;
  color: #888;
  margin: 0 0 20px 0;
  display: block;
  text-align: center;
}
.ins-container .inslogin:focus {
  outline: none;
}
.ins-container .inslogin span {
  color: #333;
}
.ins-container .woocommerce .woocommerce-form-login {
  border: 1px solid #c2c2c2;
  box-sizing: border-box;
  border-radius: 5px;
  padding: 20px 20px;
  margin: 0 0 40px 0;
}
.ins-container .woocommerce .woocommerce-form-login p {
  margin: 0;
}
.ins-container .woocommerce .woocommerce-form-login p:nth-child(1) {
  margin: 0 0 15px 0;
}
.ins-container .woocommerce .woocommerce-form-login .form-row-first,
.ins-container .woocommerce .woocommerce-form-login .form-row-last {
  display: inline-block;
  width: 49%;
}
.ins-container .woocommerce .woocommerce-form-login label {
  font-size: 14px;
  line-height: 1;
  color: #333;
  font-weight: 600;
  margin: 0 0 10px 0;
}
.ins-container
  .woocommerce
  .woocommerce-form-login
  label.woocommerce-form-login__rememberme {
  display: flex;
  margin: 15px 0 10px 0;
  align-items: flex-end;
}
.ins-container .woocommerce .woocommerce-form-login input {
  background: #ffffff;
  border: 1px solid #dddde3;
  box-sizing: border-box;
  border-radius: 5px;
  box-shadow: none;
  margin: 0 5px 0 0;
}
.ins-container .woocommerce .woocommerce-form-login input:focus {
  outline: none;
}
.ins-container
  .woocommerce
  .woocommerce-form-login
  .woocommerce-form-login__submit {
  width: 140px;
  height: 40px;
  line-height: 40px;
  background: #333;
  border-radius: 5px;
  color: #fff;
  padding: 0;
  margin: 30px auto 0 auto;
  display: block;
  float: none;
}
.ins-container .woocommerce .woocommerce-form-login .lost_password {
  display: none;
}
/* Ajax login messages */
.ins-container .login_loader {
  margin: 20px 0 0 0;
  text-align: center;
}
.ins-container .login_msg {
  margin: 20px 0 0 0;
  text-align: center;
}
.ins-container .login_msg.fail {
  color: #e60000;
}
.ins-container .login_msg.success {
  color: #006600;
}

.ins-checkout-body .woocommerce {
  max-width: 100%;
}
.ins-checkout-body .woocommerce-form-coupon-toggle {
  display: none;
}
.ins-checkout-body h3 {
  font-size: 16px;
  margin: 12px 0;
  text-transform: uppercase;
  border-bottom: 1px solid #e9570a;
  padding: 0 0 5px 0;
  color: #333;
}
.ins-checkout-body p {
  margin: 0 0 15px 0;
}
.ins-checkout-body .woocommerce-additional-fields h3 {
  margin: 0 0 15px 0;
}
.ins-checkout-body form.woocommerce-checkout .form-row label {
  font-size: 14px;
  color: #333;
  margin-bottom: 5px;
  margin-top: 10px;
}
.ins-checkout-body .woocommerce-billing-fields .form-row-first {
  float: left;
  width: 48%;
  margin-right: 4%;
}
.ins-checkout-body .woocommerce-billing-fields .form-row-last {
  float: right;
  width: 48%;
}
.ins-checkout-body form.woocommerce-checkout .input-text,
.ins-checkout-body form.woocommerce-checkout select {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  border: 1px solid #c2c2c2;
  box-shadow: 1px 1px 4px #ebebeb;
  -moz-box-shadow: 1px 1px 4px #ebebeb;
  -webkit-box-shadow: 1px 1px 4px #ebebeb;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  outline: none;
  font-size: 14px;
  background: #fff;
  line-height: 36px;
  height: 36px;
  width: 100%;
}
.ins-checkout-body form.woocommerce-checkout .input-text:focus,
.ins-checkout-body form .form-row.woocommerce-validated input.input-text,
.ins-checkout-body form.woocommerce-checkout .select2-selection:focus {
  border: 1px solid #e9570a;
}
.ins-checkout-body .select2-container .select2-selection--single {
  height: auto;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-size: 14px;
}
.ins-checkout-body
  .select2-container
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 36px;
  color: #333;
}
.ins-checkout-body
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  margin-top: 3px;
}

.ins-checkout-body .col2-set .col-1 {
  margin: 0 0 20px 0;
}
.ins-checkout-body .woocommerce form .form-row.create-account {
  margin: 0 0 5px 0;
}
.ins-checkout-body #ship-to-different-address {
  border: none;
  text-transform: none;
  font-size: 14px;
  padding: 0;
  margin: 0 0 30px 0;
}
.ins-checkout-body .woocommerce .woocommerce-checkout label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1;
}
.ins-checkout-body #ship-to-different-address label {
  font-weight: 600;
  display: flex !important;
}
.ins-checkout-body
  #ship-to-different-address
  .woocommerce-form__input-checkbox {
  position: static;
  margin: 0 8px 0 0;
  transform: none;
}
.ins-checkout-body .woocommerce .woocommerce-checkout label input:focus {
  outline: none;
}
.ins-checkout-body form.woocommerce-checkout textarea.input-text {
  height: 80px;
}
.ins-checkout-body #order_review_heading {
  float: left;
  width: 100%;
  padding: 0 0 5px 0;
  margin: 0 0 15px 0;
}
.ins-checkout-body .woocommerce-checkout-review-order-table {
  font-size: 14px;
  margin: 5px 0 20px 0 !important;
  background: #fff;
}
.ins-checkout-body table.woocommerce-checkout-review-order-table thead tr th {
  background: #f2f2f2;
  border: none;
  padding: 0 0 0 15px;
  height: 46px;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
}
.ins-checkout-body table.woocommerce-checkout-review-order-table th {
  border: 0;
  color: #333;
}
.ins-checkout-body table.woocommerce-checkout-review-order-table tbody td {
  padding: 10px 10px 10px 15px;
  border: none;
  background: transparent;
  color: #333;
  font-size: 14px;
  border-bottom: 1px solid #f2f2f2;
}
.ins-checkout-body table.woocommerce-checkout-review-order-table tfoot th {
  background: #fff;
  border-bottom: 1px solid #f2f2f2;
  border-right: 1px solid #f2f2f2;
}
.ins-checkout-body table.woocommerce-checkout-review-order-table tfoot td {
  border-bottom: 1px solid #f2f2f2;
}
.ins-checkout-body .woocommerce-Price-amount.amount {
  color: #333;
}
.ins-checkout-body .woocommerce-checkout #order_review {
  background: transparent;
}
.ins-checkout-body .woocommerce-checkout #payment {
  font-size: 14px;
  background: transparent;
}
.ins-checkout-body .woocommerce-checkout #payment ul.payment_methods {
  border-bottom: none;
  margin: 0;
}
.ins-checkout-body .woocommerce-checkout #payment ul.payment_methods li label {
  padding: 10px 0 10px 0px;
  margin: 0;
  font-size: 14px;
  border-bottom: 1px solid #f2f2f2;
}
.ins-checkout-body .woocommerce-checkout #payment .place-order {
  padding: 1.41575em;
  margin: 0;
  background: #fff;
}
.ins-checkout-body .woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 0;
}
.woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text p,
#payment .payment_methods li p {
  font-size: 14px;
  color: #333;
}
.ins-checkout-body .woocommerce-checkout #payment div.payment_box {
  background-color: #f2f2f2;
}
.ins-checkout-body .woocommerce-checkout #payment div.payment_box::before {
  border: 1em solid #e6e6e6;
  border-right-color: transparent;
  border-left-color: transparent;
  border-top-color: transparent;
}
.ins-checkout-body #payment #place_order {
  background: #e9570a;
  display: block;
  text-align: center;
  padding: 7px 20px;
  text-decoration: none !important;
  border: 1px solid #e9570a;
  color: #fff;
  font-size: 14px;
  transition: 0.3s;
  border-radius: 2px;
  margin: 20px 0 20px 0;
  line-height: 20px;
  text-transform: uppercase;
}
.ins-checkout-body #payment #place_order:hover {
  background: #000;
  border: 1px solid #000;
}
/* Cross Sells */
.ins-checkout-body .woocommerce .cross-sells {
  margin: 40px 0 40px 0;
  border: 1px solid #dddde3;
  border-radius: 5px;
  padding: 30px 0;
}
.ins-checkout-body .woocommerce .cross-sells h2 {
  line-height: 1;
  font-size: 20px;
  text-align: center;
  color: #333;
  margin: 0 0 20px 0;
  font-weight: 600;
}
.ins-checkout-body .woocommerce .cross-sells ul {
  display: grid;
  grid-template-columns: 32% 32%;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: space-evenly;
}
.ins-checkout-body .woocommerce .cross-sells ul:before,
.ins-checkout-body .woocommerce .cross-sells ul:after {
  display: none;
}
.ins-checkout-body .woocommerce .cross-sells li a img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border: 1px solid #333;
  box-sizing: border-box;
  border-radius: 5px;
}
.ins-checkout-body .woocommerce .cross-sells li a h5 {
  font-size: 14px;
  line-height: 1;
  margin: 12px 0 0 0;
  font-weight: 600;
}
.ins-checkout-body .woocommerce .cross-sells li a p {
  font-size: 14px;
  color: #333;
  line-height: 1;
  margin: 10px 0 0 0;
}

/* Select 2 */
.select2-container--open .select2-dropdown--below {
  border-top: 1px solid #c2c2c2;
}
.select2-dropdown {
  border: 1px solid #c2c2c2;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #c2c2c2;
}

.ins-checkout-body .select2-container--default .select2-selection--single {
  background-image: none !important;
}

/* Fix */
.ins-inner table td,
.ins-inner table th {
  word-break: keep-all;
}

/* Payment Methods */
.woocommerce-SavedPaymentMethods.wc-saved-payment-methods {
  padding-left: 0;
}

.woocommerce-SavedPaymentMethods-new {
  list-style: none;
  margin-bottom: 9px !important;
}

.ins-checkout-inner form.woocommerce-checkout #ppc-button-ppcp-gateway {
  margin: auto;
}

.ins-checkout-inner
  form.woocommerce-checkout
  #ppc-button-ppcp-gateway
  .paypal-buttons.paypal-buttons-context-iframe {
  width: 94%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.ins-checkout-inner
  form.woocommerce-checkout
  #payment
  ul.wc_payment_methods
  li.wc_payment_method
  > input[type="radio"]:first-child {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  margin: 0 1em 0 0;
  line-height: 2;
  padding: 0;
}

.ins-checkout-inner
  form.woocommerce-checkout
  #payment
  ul.wc_payment_methods
  li.wc_payment_method
  > label {
  background: #fff;
  display: block;
  border-left: 5px solid #cbd5e0;
  padding: 8px 15px;
  transition: border 0.2s ease-in-out;
  margin-bottom: 4px;
  font-weight: bold;
}

.ins-checkout-inner
  form.woocommerce-checkout
  #payment
  ul.wc_payment_methods
  li.wc_payment_method
  > label::before {
  color: #e9570a;
}

.ins-checkout-inner
  form.woocommerce-checkout
  #payment
  ul.wc_payment_methods
  li.wc_payment_method
  input[type="radio"]:first-child:checked
  + label {
  border-left: 5px solid #e9570a;
  background: #ffc1a17d;
}

/*
 * Responsive
 */
@media (min-width: 1200px) {
  .ins-checkout-body .woocommerce .cross-sells li a img {
    max-height: 220px;
  }
}

@media (max-width: 768px) {
  .ins-container .quantity .qty {
    width: 3.631em;
  }
  .ins-container .actions .ins-cart-update {
    width: 100%;
  }
  .ins-container .actions .coupon.ins-cart-update {
    margin: 0 0 5px 0;
  }
  .ins-container .actions button.ins-cart-update.button {
    border: 1px solid #e6e6e6 !important;
    width: 100%;
  }

  /* Upsells */
  .ins-container .upsell-container h4 {
    font-size: 14px;
    text-align: center;
  }
  .ins-container .upsell-container ul li a {
    padding: 3px;
  }
  .ins-container .upsell-container ul li a h5 {
    font-size: 12px;
  }
  .ins-container .upsell-container ul li a p {
    font-size: 12px;
  }
}
