form.woocommerce-checkout {
  margin-top: 40px;
  .required {
    color: #df0000;
    text-decoration: none;
    border: none;
  }
  .woocommerce-account-fields {
    label {
      font-size: 16px;
      color: var(--heading);
    }
  }
  .woocommerce-shipping-fields {
    h3 {
      font-size: 16px;
      color: var(--heading);
      font-weight: 400;
    }
  }
  .woocommerce-billing-fields {
    h3 {
      font-size: 24px;
      color: var(--heading);
      font-weight: 500;
      line-height: 1.7em;
      margin-bottom: 9px;
      text-transform: uppercase;
    }
  }
  .woocommerce-additional-fields {
    label {
      font-size: 16px;
      color: var(--heading);
      margin-bottom: 10px;
    }
    textarea {
      border: 1px solid #aaaaaa;
      height: 106px;
      padding-left: 10px;
      background: transparent;
    }
  }
  .woocommerce-account-fields,
  .woocommerce-billing-fields,
  .woocommerce-shipping-fields {
    margin-bottom: 5px;
    .form-row {
      position: relative;
      margin-bottom: 0;
     margin-top: 0;
      label {
        color: var(--heading);
        margin-bottom: 10px;
      }
      .screen-reader-text {
        width: auto;
        height: auto;
        overflow: unset;
        clip: unset;
      }
      input:focus {
        box-shadow: 0 0 5px #ccc;
        opacity: 1 !important;
        outline: 0;
        background-color: #fff;
      }

      input {

        background: transparent;
      }
      .select2.select2-container {
        margin-bottom: 20px;
        width: 100% !important;
      }
      .select2-selection--single {
            border: 1px solid #aaa;
      }  
      input:not(.input-checkbox),
      select {
        border: 1px solid #aaaaaa;
        height: 45px;
        line-height: 45px;
        padding: 0 15px;
        margin-bottom: 20px;
        width: 100%;
        transition: 0.3s all;

      }
      select {
        padding: 0 20px;
      }
      .selection .select2-selection--single {
        .select2-selection__rendered {
          line-height: 50px;
        }

      }
    }
  }
}

.woocommerce-checkout {
  .cart-checkout-dark {
         .woocommerce-form-login , .woocommerce-form-coupon {
             .form-inner {
                border-color:#2d2d2d;
                 .form-row input.input-text {
                     border-color:#2d2d2d;
                 }
             }
        }
    .woocommerce-checkout {
     
      .jws_woo_your_order .woocommerce-checkout-review-order .shop_table th,
      .jws_woo_your_order .woocommerce-checkout-review-order {
        .shop_table  {
          td , th {
            border-color: #2d2d2d; 
          }  
        }
        .place-order button.button {
          color: #191919;
        }
        .woocommerce-checkout-payment li .payment_box {
          background: #000000;
          border: 1px solid #2d2d2d;
        }
      }
      .woocommerce-additional-fields textarea {
        border: 1px solid #2d2d2d;
      }
      .woocommerce-account-fields,
      .woocommerce-billing-fields,
      .woocommerce-shipping-fields {
        .form-row {
          .selection .select2-selection--single,
          input:not(.input-checkbox),
          select {
            border: 1px solid #2d2d2d;
          }
          select {
             background-color: transparent;
             background-image:url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
          }
        }
      }
    }

    select {
      option {
        color: var(--heading);
      }
    }
    .woocommerce-form-login-toggle,
    .woocommerce-form-coupon-toggle {
      background: var(--heading);
    }
    .jws_woo_your_order .woocommerce-checkout-review-order {
      .woocommerce-checkout-payment .form-inner,
      .shop_table {
        background: var(--heading);
      }
    }
  }
  .jws_woo_your_order {
    h3 {
      font-size: 24px;
      color: var(--heading);
      font-weight: 500;
      line-height: 1.7em;
      margin-bottom: 20px;
      text-transform: uppercase;
    }
    .woocommerce-checkout-review-order {
      .shop_table {
        background: #f5f5f5;
        ul {
          list-style: none;
        }
      }
      .place-order {
        button.button {
          display: block;
          position: relative;
          text-align: center;
          cursor: pointer;
          background: var(--main);
          transition: 0.3s all;
          color: #ffffff;
          min-width: 100%;
          height: 50px;
          line-height: 50px;
          .transition(0.3s all);
          letter-spacing: 0.7px;
          font-weight: 600;
          font-size: 16px;
          border: none;
          outline: none;
          &:hover {
            box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05),
              0px 2px 2px rgba(0, 0, 0, 0.05), 0px 4px 4px rgba(0, 0, 0, 0.05),
              0px 8px 8px rgba(0, 0, 0, 0.05), 0px 16px 16px rgba(0, 0, 0, 0.05);
          }
        }
        .woocommerce-terms-and-conditions-wrapper {
          font-size: 80%;
          line-height: 1.8;
          .woocommerce-privacy-policy-text {
            margin-bottom: 30px;
          }
          .woocommerce-terms-and-conditions {
            border: 1px solid rgb(236, 236, 236);
            padding: 15px;
            margin: 20px 0;
          }
        }
      }

      .woocommerce-checkout-payment {
        h3 {
          margin-top: 60px;
        }
        .form-inner {
          background: #f5f5f5;
          padding: 20px 25px 35px;
        }
        .wc_payment_methods {
          padding: 0px;
          list-style-type: none;
        }
        li {
          margin-bottom: 20px;
          &.woocommerce-info {
            background: var(--light);
            color: var(--heading);
          }
          label {
            margin-bottom: 0;
            font-weight: 500;
            color: var(--heading);
            letter-spacing: 0.7px;
            display: inline;
          }
          input {
            margin-right: 5px;

            margin-top: 8px;
          }
          .payment_box {
            background: #ffffff;
            padding: 5%;
            margin: 15px 0;
            border: 1px solid #ececec;
            font-size: 14px;
          }
          &.payment_method_paypal {
            img {
              width: 145px;
              margin: 0 15px;
            }
            a {
              font-size: 14px;
              color: var(--heading);
              text-decoration: underline;
            }
          }
        }
      }
      .shop_table {
        background: #f5f5f5;
        padding: 17px 30px;
        border-collapse: unset;
        border-spacing: 0;
        th,
        td {
          text-align: left;
          border-bottom: 1px solid #ebebeb;
          padding: 20px 0;
          color: var(--heading);
        }
        th {
          font-weight: 500;
        }
        td {
          &:last-of-type {
            text-align: right;
            font-weight: 500;
          }
        }
        thead th {
          font-weight: 500;
          &:last-of-type {
            text-align: right;
          }
        }
        tfoot {
          tr:last-child {
            th {
              font-size: 20px;
            }
            td {
              font-size: 18px;
              strong {
                font-weight: 500;
              }
            }
            th,
            td {
              border: none;
            }
          }
        }
      }
    }
  }
  .woocommerce-form-coupon-toggle,
  .woocommerce-form-login-toggle {
    margin-bottom: 10px;
    background: #f5f5f5;
    padding: 15px 30px;
    font-size: 18px;
    color: var(--heading);
    padding: 24px 40px;
    letter-spacing: 0.5px;
    > div {
        background: transparent;
        border: 0;
        margin: 0;
        color:var(--body); 
        padding: 0; 
    }
    a {
      color: #0774c8;
      background: transparent;
    padding: 0;
    margin: 0;
    }
  }
  .woocommerce-form-coupon,
  .woocommerce-form-login {
    padding: 30px 0;
    .form-inner {
      border: 1px solid #ececec;
      padding: 30px 30px;
    }
    > p {
      padding: 0 5px;
    }
    p:first-child {
      margin-bottom: 30px;
    }
    .lost_password {
      a {
        color: var(--heading);
        &:hover {
          color: var(--main);
        }
      }
    }
    .form-row {
      .woocommerce-form-login__rememberme {
        margin-right: 10px;
      }
      input.input-text {
        border: 1px solid #ececec;
        height: 50px;
        line-height: 50px;
        padding: 0 40px;
        margin-bottom: 10px;
        display: block;
        width: 100%;
      }
      button {
        position: relative;
        text-align: center;
        color: #ffffff;
        min-width: 100%;
        display: block;
        height: 50px;
        line-height: 50px;
        .transition(0.35s ease);
        font-weight: 700;
        background: #000000;
        font-size: 14px;
        border: none;
        outline: none;
        text-transform: uppercase;
        padding: 0 30px;
        &:hover {
          background:var(--main);
        }
      }
    }
  }
  .woocommerce-form-login {
    .form-row {
      button {
        margin: 10px 0;
      }
    }
  }
  .woocommerce-form-coupon {
    .form-row {
      display: inline-block;
      vertical-align: top;

      &.form-row-first {
        min-width: calc(~"100% - 210px");
      }
      &.form-row-last {
        min-width: 200px;
      }
    }
  }
}
body.dark-mode-on {
 .woocommerce-success,
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
        background: #191919;
      }
  
   
  .woocommerce .blockUI.blockOverlay , .blockUI.blockOverlay {
        background: rgba(19, 19, 19, 0.8) !important;
   }  

}

.woocommerce-success,
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  padding: 20px;
  font-size: 14px;
  display: table;
  width: 100%;
  padding: 20px;
  border-top: 2px solid;
  background-color: #f7f7f7;
  .notice_body {
    display: table-cell;
    vertical-align: middle;
    padding: 10px;
  }
  .notice_icon {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    width: 70px;

    &:before {
      width: 70px;
      font-family: FontAwesome;
    }
  }
  trong {
    font-weight: bold;
  }
  margin-bottom: 15px;
  a {
    display: inline-block;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 15px;
    margin: 0 5px 0 0;
  }
}
.woocommerce-info {
  border-color: #E0B252;
  color: #E0B252;
  a {
    background: #E0B252;
  }
  .notice_icon:before {
    content: "\f05a";
  }
}
.woocommerce-error[role="alert"] {
  border-color: #ff4136;
  color: #ff4136;
  a {
    background: #ff4136;
  }
  .notice_icon:before {
    content: "\f071";
  }
}
.woocommerce-message[role="alert"] {
  border-color: #2ab039;
  color: #2ab039;
  a {
    background: #2ab039;
  }
  .notice_icon:before {
    content: "\f00c";
  }
}  



ul[role="alert"] {
  list-style-type: none;
}

/** ------------------------------------------------------------------------------------------------* THANK YOU PAGE* ------------------------------------------------------------------------------------------------ */
.woocommerce-order-received .site-content .entry-content > .woocommerce {
  max-width: 800px;
  margin: 0 auto;
}

.woocommerce-order-received .responsive-table {
  margin-bottom: 60px;
}

.woocommerce-order-received .woocommerce .woocommerce-thankyou-order-received {
  background: transparent;
  border: 2px dashed var(--heading);
  color: var(--heading);
  font-weight: 600;
  width: 100%;
  text-align: center;
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.4;
  padding: 15px 25px;
}
.woocommerce-order-details {
  margin-bottom: 50px;
}
.woocommerce-order-received ul.order_details {
  margin-left: 0;
}

.woocommerce-order-details__title,
.wc-bacs-bank-details-heading {
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 5px;
  text-align: center;
}

.woocommerce-order-details__title + h3,
.wc-bacs-bank-details-heading + h3 {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 30px;
  text-align: center;
}

.woocommerce-customer-details > h2,
.woocommerce-customer-details > h3 {
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}

.woocommerce-customer-details .woocommerce-column__title {
  font-size: 18px;
  letter-spacing: 0;
  font-weight: 600;
  line-height: 30px;
  margin-top: 12px;
  color: var(--heading);
  margin-bottom: 20px;
}

.woocommerce-order-received {
  .woocommerce {
    max-width: 800px;
    margin: 0 auto;
  }
}

.woocommerce-order-details {
  h2 {
    margin-bottom: 19px;
    font-size: 24px;
    font-weight: 700;
    color: var(--heading);
    margin-top: 20px;
  }
  table {
    tbody {
      tr {
        .product-name {
          .product-quantity {
            font-size: 14px;
            font-weight: 400;
          }
        }
        th,
        td {
          padding: 15px 12px;
          border: none;
          border-bottom: 1px solid #e6e6e6;
        }
        th {
          text-align: left;
        }
      }
    }
    tfoot {
      tr {
        th,
        td {
          padding: 15px 12px;
          border: none;
          border-bottom: 1px solid #e6e6e6;
          color: var(--heading);
          text-align: left;
        }
        td {
          text-align: right;
        }
      }
    }
    thead {
      background: none;
      tr {
        th {
          padding: 15px 10px;
          letter-spacing: 1px;
          font-size: 18px;
          font-weight: 600;
          text-transform: uppercase;
          line-height: 1.4;
          color: var(--heading);
          vertical-align: middle;
          border: none;
          border-bottom: 2px solid #efefef;
          text-align: left;
        }
      }
    }
    .product-name {
      a {
        display: inline-block;
      }
    }
    .product-total {
      text-align: right;
    }
  }
}
.woocommerce-columns--addresses,
.woocommerce-Addresses {
  margin: 20px -15px 0;
  .col-1,
  .col-2 {
    float: left;
    width: 48%;
    max-width: 100%;
    address {
      padding: 25px 30px 30px 30px;
      border: 2px dashed var(--heading);
      line-height: 30px;
      font-style: italic;
    }
    h3 {
      font-size: 22px;
      margin-bottom: 20px;
      color: var(--heading);
    }
  }
  .col-1 {
    margin-right: 30px;
  }
}
  .jws_options_table {
        background: rgb(255, 255, 255);
        padding: 10px 0;
        margin-top: 10px !important;
        text-align: left;  
        li {
               padding: 5px 15px;
               &:not(:last-child) {
                  border-bottom: 1px solid #f1f1f1;
               } 
          }
    }
.woocommerce-thankyou-order-details {
  list-style-type: none;
  padding: 0;
  + p {
    font-size: 16px;
    background-color: #f6f6f6;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 30px;
    text-align: center;
  }
  display: flex;
  -webkit-display: flex;
  display: -webkit-flex;
  -ms-display: flex;
  flex-direction: row;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  justify-content: space-between;
  -webkit-justify-content: space-between;
  li {
    flex-grow: 1;
    -ms-flex-grow: 1;
    -webkit-flex-grow: 1;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 20px;
    border-right: 1px solid #dfdfdf;
    text-align: center;
    strong {
      display: block;
      color: var(--heading);
      line-height: 24px;
    }
  }
}

@media (max-width: 767px) {
  form.woocommerce-checkout .row > div,
  form.woocommerce-checkout .woocommerce-billing-fields,
  form.woocommerce-checkout .woocommerce-shipping-fields {
    margin-bottom: 25px;
  }
  .woocommerce-checkout .woocommerce-form-login .form-row.form-row-first,
  .woocommerce-checkout .woocommerce-form-login .form-row.form-row-last {
    width: 100%;
  }
  .woocommerce-checkout .woocommerce-form-coupon,
  .woocommerce-checkout .woocommerce-form-login {
    padding: 15px;
  }
  .woocommerce-checkout .jws_woo_your_order .woocommerce-checkout-review-order {
    padding: 6% 0px;
  }
  form.woocommerce-checkout
    .woocommerce-billing-fields
    .form-row
    .selection
    .select2-selection--single,
  form.woocommerce-checkout .woocommerce-billing-fields .form-row input,
  form.woocommerce-checkout
    .woocommerce-shipping-fields
    .form-row
    .selection
    .select2-selection--single,
  form.woocommerce-checkout .woocommerce-shipping-fields .form-row input {
    font-size: 14px;
    padding: 0 20px;
  }
  form.woocommerce-checkout .woocommerce-additional-fields textarea {
    font-size: 14px;
    padding: 20px;
    height: 150px;
    border-radius: 20px;
  }
  .woocommerce-checkout .jws_woo_your_order h3,
  form.woocommerce-checkout .woocommerce-billing-fields h3,
  form.woocommerce-checkout .woocommerce-shipping-fields h3 {
    font-size: 18px;
    margin-bottom: 25px;
  }
  form.woocommerce-checkout .woocommerce-additional-fields .form-row label,
  form.woocommerce-checkout .woocommerce-billing-fields .form-row label,
  form.woocommerce-checkout .woocommerce-shipping-fields .form-row label {
    left: 21px;
  }
  .woocommerce-checkout .woocommerce-form-coupon .form-row {
    display: block;
    width: 100%;
  }
}
.woocommerce .blockUI.blockOverlay {
    opacity: 1 !important;
    background: rgba(255,255,255,0.6) !important;
}
.woocommerce .blockUI.blockOverlay:before,.woocommerce .loader:before {
        left: 50%;
        top: 50%;
        margin-left: -20px;
        margin-top: -20px;
        font-family: "jws_icon";
        content: '\e834';
        animation: MoveCircle360 2s infinite linear;
        display: inline-block;
        position: absolute;
        font-size: 40px;
        color: var(--heading);
}

.dark-mode-on {
    .woocommerce-order-details table {
        thead tr th {
            border-color:#2d2d2d;
        }
    }
    .woocommerce-order-details table tbody tr , .woocommerce-order-details table tfoot tr  {
        th , td {
            border-color:#2d2d2d; 
        }
    }
}
