/*--------------------------------------------------------------
  >> : Checkout
--------------------------------------------------------------*/
  
.woocommerce-checkout header#AppHeader {
    filter: invert(1);
}
.woocommerce-checkout header#AppHeader .col-xxl-3 {
    display:none;
}

.woocommerce-checkout header#AppHeader .col {
    width:50%;
}


.woocommerce-checkout header#AppHeader .col-xxl-8 {
    display:flex;
    justify-content:flex-end;
}

footer#AppFooter img {
    filter: invert(1);
}

footer#AppFooter {
    background:var(--fable-off-black)
}


/*--------------------------------------------------------------
  >> : Coupon Codes
--------------------------------------------------------------*/
  
  .woocommerce-form-coupon-toggle .woocommerce-info {
    padding: 0 !important;
    background: transparent;
    font-weight: 500 !important;
    font-size: 1.2rem !important;
  }

  .woocommerce-form-coupon-toggle .woocommerce-info,
  .woocommerce-form-coupon-toggle .woocommerce-info * {
    color: var(--fable-deep-black) !important;
    font-size: 1.1rem;
    text-align: left;
    margin: 0;
  }

  .woocommerce-form-coupon {
    padding: 13px 0;
    padding-top: 5px;
  }

  .coupon-inputs {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
  }

  .coupon-inputs input[type="text"] {
    padding: 12px 16px !important;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border: 1px solid #dddddd;
    width: 100%;
  }

  .coupon-inputs button {
    font-size: 1.1em;
    font-weight: 400;
    letter-spacing: -0.04em;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 12px 16px;
    border: none;
    width: 100px;
    background: var(--fable-deep-black);
    color: #fff;
    font-weight: 500;
  }

/*--------------------------------------------------------------
  >> : Backgrounds
--------------------------------------------------------------*/
  .woocommerce-checkout #AppMain {
    background: #FAFAFA;
  }


/*--------------------------------------------------------------
  >> : Wrappers
--------------------------------------------------------------*/
  .row.checkout-field-body {
    padding-bottom: 16px;
  }

  .woocommerce-checkout-fields {
    background: #ffffff;
    overflow: hidden;
    padding: 2rem;
    border-radius: var(--border-radius);
  }

  .checkout-field-header p {
    font-size:1.7rem;
    letter-spacing: -0.02em;
    font-family: var(--header-font);
  }

  .woocommerce-checkout-fields:not(:last-child) {
    margin-bottom: 1.5rem;
  }

  .checkout-field-header {
    margin: 0;
  }

  .checkout-field-header .col {
    padding: 16px;
    font-size: 1.3rem;
  }

  .checkout-field-body {
    margin: 0;
  }

  .checkout-field-body > .col {
    padding: 16px;
    padding-bottom: 0;
  }


/*--------------------------------------------------------------
  >> : Different Shipping Switch
--------------------------------------------------------------*/
  #ship-to-different-address span {
    position: relative;
    min-height: 36px;
    padding-left: 70px;
    display: inline-flex;
    align-items: center;
  }

  #ship-to-different-address span:before {
    content: '';
    position: absolute;
    width: 60px;
    height: 36px;
    border-radius: 100px;
    background: #ececec;
    top: 0;
    left: 0;
  }

  #ship-to-different-address span:after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 100px;
    background: #c4c4c4;
    top: 4px;
    left: 4px;
    transition: all .5s ease;
  }

  #ship-to-different-address input {
    display: none;
  }

  #ship-to-different-address input:checked + span:after {
    background: #5c5c5c;
    left: 28px;
    transition: all .5s ease;
  }

/*--------------------------------------------------------------
  >> : Select2
--------------------------------------------------------------*/
  .select2-container .select2-selection--single {
    border-radius: 0;
    height: 50px;
    border-radius: 0;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    display: flex;
    align-items: center;
    border-color: #ececec;
  }

  .select2-container {
    vertical-align: top;
  }

  .select2-container--default .select2-selection--single .select2-selection__rendered {
    height: auto;
    line-height: 1;
    padding-left: 0;
  }

  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    top: 2px;
  }


/*--------------------------------------------------------------
  >> : Checkout Cart Item
--------------------------------------------------------------*/
  .checkout-cart-item {
    margin: 0;
    padding-bottom: 16px;
    position: relative;
  }

  .checkout-cart-item > .col {
    padding: 0;
  }

  .checkout-cart-item picture {
    width:100%;
    aspect-ratio: 1/1;
    border-radius:10px;
    overflow:hidden;
    display:block;
}

.checkout-cart-item .col-10 {
    padding-left:1rem;
}


/*--------------------------------------------------------------
  >> : Shipping Methods
--------------------------------------------------------------*/
  .woocommerce-shipping-package-name {
    padding-top: 16px;
  }

  #shipping_method {
    padding: 0;
    padding-top: 16px;
    list-style: none;
    display: inline-block;
    width: 100%;
  }

  #shipping_method li {
    display: inline-block;
    position: relative;
    width: 100%;
  }

  #shipping_method li:not(:last-child) {
    margin-bottom: 16px;    
  }

  #shipping_method li input {
    display: none;
  }

  #shipping_method label {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
    padding-left: 50px;
    min-height: 40px;
    padding-top: 10px;
    line-height: 1;
  }

  #shipping_method label:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid #ececec;
    background-color: #f7f7f7;
    border-radius: 10px;
  }

  #shipping_method label:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid #ececec;
    border-radius: 10px;
  }

  #shipping_method li input[type="hidden"] + label:before,
  #shipping_method li input:checked + label:before {
    background-color: #333333;
  }

  #shipping_method li input[type="hidden"] + label:after,
  #shipping_method li input:checked + label:after {
    background-image: url('/app/themes/devignstudios-toolkit/resources/icons/check.svg');
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center center;
    filter: invert(100) brightness(100);
  }

li.checkout-total-fee.order-total {
    padding: 13px 10px;
    background: #fafafa;
    border-radius: 10px;
    margin-left: -10px;
    width: calc(100% + 30px);
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 8px;
}

/*--------------------------------------------------------------
  >> : Checkout Totals
--------------------------------------------------------------*/
  .checkout-totals {
    position: relative;
    margin-top: 16px;
  }

  .checkout-totals p {
    padding-top: 16px;
  }

  .checkout-totals ul {
    padding: 0;
    list-style: none;
    width: 100%;
  }

  .checkout-totals li {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 8px;
  }

  .checkout-totals .order-total .total-label {
    font-weight: 600;
  }

ul.wc_payment_methods.payment_methods.methods {
    padding: 0;
    list-style: none;
    margin-top:20px;
    
}

ul.wc_payment_methods.payment_methods.methods label[for="payment_method_stripe"],
.woocommerce-shipping-package-name,
.checkout-totals .h6  {
    font-size:1.2rem;
    font-weight:500;
}

.wc-stripe-elements-field, .wc-stripe-iban-element-field {
    padding: 14px !important;
    border-radius: 10px;
}

ul.woocommerce_error.woocommerce-error.wc-stripe-error {
    list-style:none;
    background:red;
    padding:10px;
    border-radius:10px;
}

button#place_order {
    font-size: 1.1em;
    font-weight: 400;
    letter-spacing: -0.04em;
    border-radius: 14px;
    padding: 1rem 1.4em;
    border:none;
    width:100%;
    margin-top:10px;
    background:var(--fable-deep-black);
    color:#fff;
    font-weight:500;
}

button#place_order:hover {
    background:#000;
}

.form-control {
    border-radius: 10px;
}

.woocommerce-info {
    background: var(--fable-link);
    margin-bottom: 20px;
    padding: 10px;
    text-align: center;
    color: #fff !important;
    font-weight:500;
    font-family:var(--header-font);
}

.woocommerce-info a {
    color:#fff;
    text-decoration:underline;
}

p.form-row.form-row-wide.create-account.woocommerce-validated {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
}

input#createaccount {
    -webkit-appearance:none;
     width: 60px;
    height: 36px;
    border-radius: 100px;
    background: #ececec;
    position:relative;
    cursor:pointer;
    margin-right:10px;
}

input#createaccount:before {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 100px;
    background: #c4c4c4;
    top: 4px;
    left: 4px;
    transition: all .5s ease;
}

input#createaccount:checked:before {
    background: #5c5c5c;
    left: 28px;
    transition: all .5s ease;
}

.create-account label {
    display:flex;
    align-items:center;
    padding:16px;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    font-family: var(--header-font);
    justify-content: center;
}

.checkbox.form-label {
    padding-left: 55px;
    position: relative;
    padding-top: 5px;
}

.checkbox.form-label [type="checkbox"] {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #f7f7f7;
}

.checkbox.form-label [type="checkbox"]:checked {
    background-color: #333333;
    background-image: url('/app/themes/devignstudios-toolkit/resources/icons/check-white.svg');
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center center;
}


/*--------------------------------------------------------------
  >> : Media
--------------------------------------------------------------*/

@media (max-width:768px) {
  .woocommerce-checkout-fields {
    padding:1rem;
  }
}

@media (max-width:1199px) {
  .woocommerce-checkout header#AppHeader .col:nth-child(1),
  .woocommerce-checkout header#AppHeader .col:nth-child(3) {
      display: none !important;
  }

  .woocommerce-checkout header#AppHeader .col:nth-child(2) {
      width:100%;
  }
}