/* Login Box */
.hdl-loginbox-container {
    position: fixed;
    display: flex;
    overflow-y: auto;
    width: 100vw;
    height: 100vh;
    background: #fff;
    top: 0;
    right: 0;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    z-index: 99999;
}

.hdl-loginbox {
    position: relative;
    text-align: center;
    width: 380px;
    max-width: 100%;
    flex: 0 0 auto;
}

.post_txt_content .hdl-loginbox .woocommerce-notices-wrapper ul li::before {
    display: none;
}

.woocommerce .hdl-loginbox form.login {
    border-radius: 8px;
    border: 1px solid #ededed;
    padding: 30px;
}

.hdl-loginbox-logo {
    position: relative;
    display: block;
    width: 70px;
    height: 70px;
    margin: 0 auto;
}

.hdl-loginbox-sitename {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 10px 40px 10px;
}

.hdl-loginbox-extra {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 11px;
    line-height: 22px;
    margin-top: 20px;
}

.post_txt_content .hdl-loginbox-sitename a {
    position: relative;
    display: inline-block;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #434365;
    margin: 0 auto;
}

.post_txt_content .hdl-loginbox h2 {
    font-size: 18px;
    padding: 0;
    color: #000;
    font-weight: bold;
}

.woocommerce .hdl-loginbox form .form-row label {
    margin: 10px 0;
    color: #62666d;
    font-size: 13px;
}

.woocommerce .hdl-loginbox form .form-row input.input-text {
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e0e0e2;
    padding: 10px;
    text-align: center;
    direction: ltr;
}

.woocommerce .hdl-loginbox form .form-row input.input-text:focus,
.woocommerce .hdl-loginbox form .form-row input.input-text:active {
    border-color: #008eb2;
}

.woocommerce .hdl-loginbox .woocommerce-form-login .woocommerce-form-login__submit {
    position: relative;
    display: block;
    float: unset;
    width: 100%;
    border-radius: 8px;
    padding: 15px;
    margin: 30px 0 0 0;
    background: #384397 !important;
}

.hdl-loginbox-backbtn {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 30px;
}

.post_txt_content .hdl-loginbox-backbtn>a {
    position: relative;
    display: inline-block;
    font-size: 36px;
    color: #000;
}

.post_txt_content .hdl-loginbox-backbtn>a:hover,
.post_txt_content .hdl-loginbox-backbtn>a:active,
.post_txt_content .hdl-loginbox-backbtn>a:focus {
    color: #eb0046;
}

#hdl-loginbox-resend-form {
    display: none;
}

.hdl-loginbox-countdown {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    font-weight: bold;
    color: #81858b;
}

.hdl-loginbox-resend {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #0fabc6;
    cursor: pointer;
}

.hdl-loginbox-hide {
    display: none;
}

/* Checkout */
.hdl-checkoutbox-container {
    position: fixed;
    display: flex;
    overflow-y: auto;
    width: 100vw;
    height: 100vh;
    background: #fff;
    top: 0;
    right: 0;
    justify-content: center;
    align-items: center;
    align-content: flex-start;
    flex-wrap: wrap;
    z-index: 99999;
}

.post_txt_content .hdl-checkoutbox-container .woocommerce-error li::before {
    display: none;
}

.hdl-checkoutbox {
    position: relative;
    text-align: center;
    width: 1170px;
    max-width: 100%;
    padding: 20px;
    margin-top: 65px;
    flex: 0 0 auto;
}

.hdl-checkoutbox-steps {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.hdl-checkoutbox-step {
    display: inline-block;
    color: #bfbfbf;
}

.hdl-checkoutbox-step-inner {
    float: right;
    width: 105px;
}

.hdl-checkoutbox-step-line {
    position: relative;
    float: right;
    width: 95px;
    height: 2px;
    margin-top: 22px;
    background: #e4e4e4;
}

.post_txt_content .hdl-checkoutbox-step-inner i {
    font-size: 45px;
}

.post_txt_content .hdl-checkoutbox-step-inner h3 {
    position: relative;
    display: block;
    font-size: 16px;
    padding: 0;
    text-align: center;
}

.hdl-checkoutbox-step.hdl-active {
    color: #2ca444;
}

.hdl-checkoutbox-step.hdl-active .hdl-checkoutbox-step-line {
    background: #2ca444;
}

.woocommerce .hdl-checkoutbox table.shop_table {
    border: 0;
}

.woocommerce .hdl-checkoutbox table.shop_table th {
    color: #999;
    font-size: 16px;
    font-weight: normal;
    padding: 15px 10px;
}

.woocommerce .hdl-checkoutbox table.shop_table .cart_item {
    box-shadow: 0 2px 10px rgb(31 45 61 / 16%);
    border-radius: 8px;
}

.woocommerce .hdl-checkoutbox table.shop_table .cart_item:hover {
    transform: scale(1.01) translateZ(0);
    box-shadow: 0 3px 20px rgb(31 45 61 / 15%);
}

.woocommerce .hdl-checkoutbox table.shop_table .cart_item td {
    border: 0;
    padding: 10px;
    color: #333;
    font-size: 16px;
}

.woocommerce .hdl-checkoutbox table.shop_table .cart_item td.product-thumbnail {
    padding: 5px;
    width: 70px;
    text-align: center;
    position: relative;
}

.woocommerce .hdl-checkoutbox table.shop_table .cart_item td.product-thumbnail a {
    position: relative;
    display: block;
    text-align: center;
}

.woocommerce .hdl-checkoutbox table.shop_table .cart_item td.product-thumbnail img {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 4px;
}

.woocommerce .hdl-checkoutbox table.shop_table .cart_item td.product-name a {
    position: relative;
    display: block;
    color: #333 !important;
    font-size: 16px;
}

.post_txt_content .woocommerce .hdl-checkoutbox table.shop_table .cart_item td.product-name p {
    margin-bottom: 0;
    color: #666;
}

.woocommerce .hdl-checkoutbox table.shop_table .cart_item td.product-quantity .quantity {
    position: relative;
    display: inline-block;
    padding: 2px 5px;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
}

.woocommerce .hdl-checkoutbox table.shop_table .cart_item td.product-quantity .quantity .qty {
    background: #fff;
    border-radius: 0;
}

.woocommerce .hdl-checkoutbox table.shop_table .cart_item td.product-quantity .quantity .qty::-webkit-inner-spin-button,
.woocommerce .hdl-checkoutbox table.shop_table .cart_item td.product-quantity .quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.woocommerce .hdl-checkoutbox table.shop_table .cart_item td.product-remove a.remove {
    color: #666 !important;
    border-radius: 0;
    margin: 0 auto;
}

.woocommerce .hdl-checkoutbox table.shop_table .cart_item td.product-remove a.remove:hover {
    color: red !important;
    background: none;
}

.woocommerce .hdl-checkoutbox table.shop_table td.actions {
    border: 0;
    padding: 10px;
}

.woocommerce .hdl-checkoutbox .cart_totals table.shop_table {
    border-radius: 0;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
}

.woocommerce .hdl-checkoutbox .cart_totals table.shop_table td {
    width: 50%;
    padding: 10px;
    vertical-align: middle;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    text-align: left;
}

.woocommerce .hdl-checkoutbox .cart_totals table.shop_table th {
    width: 50%;
    padding: 10px;
    vertical-align: middle;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    text-align: right;
}

.woocommerce .hdl-checkoutbox .cart-collaterals .cart_totals {
    width: 35%;
}

.woocommerce .hdl-checkoutbox table.shop_table .hdl-checkoutbox-empty-tr {
    height: 10px;
}

.hdl-checkoutbox-footer {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 30px;
}

.hdl-checkoutbox-footer-btn {
    position: relative;
    box-shadow: 0 3px 6px rgb(96 108 236 / 15%), 0 1px 3px rgb(0 0 0 / 11%);
    width: 190px;
    padding: 25px 10px 2px 10px;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    border-radius: 10px;
}

.hdl-checkoutbox-footer-btn.hdl-prev {
    float: right;
    color: #2ca444 !important;
    background: #fff;
}

.hdl-checkoutbox-footer-btn.hdl-next {
    float: left;
    color: #f2f2f2 !important;
    background: #2ca444;
}

.hdl-checkoutbox-footer-btn>i {
    position: relative;
    line-height: 30px;
    font-size: 24px;
    font-weight: bold;
}

.hdl-checkoutbox-footer-btn.hdl-prev>i {
    float: right;
}

.hdl-checkoutbox-footer-btn.hdl-next>i {
    float: left;
}

.hdl-checkoutbox-copyright {
    position: relative;
    display: block;
    width: 100%;
    /*margin-top: 60px;*/
    text-align: center;
    font-size: 13px;
    color: #999;
}

.hdl-checkoutbox-copyright-top {
    position: relative;
    display: inline-block;
    width: 80px;
    border-bottom: 1px solid #ccc;
    margin: 0 auto;
}

.post_txt_content .hdl-checkoutbox-copyright a {
    color: #000;
    font-weight: bold;
    margin: 0 5px;
}

.hdl-checkoutbox-right {
    position: relative;
    float: right;
    width: 38%;
}

.hdl-checkoutbox-left {
    position: relative;
    float: left;
    width: 59%;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgb(31 45 61 / 16%);
}

.woocommerce .hdl-checkoutbox table.shop_table .cart_item td.product-total bdi {
    direction: rtl;
}

.hdl-checkoutbox-quantity {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    border-radius: 50%;
    background: #434365;
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
}

.hdl-checkoutbox-right-top {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    max-height: 300px;
    overflow: hidden;
    overflow-y: auto;
    padding: 5px;
}

.hdl-checkoutbox-container .woocommerce-form-coupon {
    display: none !important;
}

.hdl-checkoutbox-right-coupon {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border: 1px solid #999;
    border-radius: 4px;
    padding: 3px;
}

.hdl-checkoutbox-right-coupon input {
    position: relative;
    float: right;
    width: 66%;
    border: none;
    outline: none;
    padding: 10px;
    font-size: 14px;
}

.hdl-checkoutbox-right-coupon label {
    position: relative;
    float: left;
    width: 33%;
    border-radius: 4px;
    outline: none;
    background: #e4e4e4;
    color: #999;
    padding: 10px;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    cursor: not-allowed;
}

.hdl-checkoutbox-right-coupon label.hdl-active {
    background: #2ca444;
    color: #fff;
    cursor: pointer;
}

.hdl-checkoutbox-right-bottom {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 5px;
}

.hdl-checkoutbox-right-table {
    width: 100%;
}

.woocommerce .hdl-checkoutbox table.shop_table.woocommerce-checkout-review-order-table tfoot td,
.woocommerce .hdl-checkoutbox table.shop_table.woocommerce-checkout-review-order-table tfoot th {
    border: none;
}

.hdl-checkoutbox-right-bottom-row {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #e4e4e4;
    font-size: 16px;
    font-weight: normal;
    color: #000;
}

.hdl-checkoutbox-right-bottom-row-r {
    position: relative;
    float: right;
    width: 45%;
    text-align: right;
    padding: 15px 0;
    color: #666;
}

.hdl-checkoutbox-right-bottom-row-l {
    position: relative;
    float: left;
    width: 54%;
    text-align: left;
    padding: 15px 0;
}

.post_txt_content .hdl-checkoutbox-right-bottom-row-l a.woocommerce-remove-coupon {
    color: #ff0055;
}

.hdl-checkoutbox-shipping-methods {
    position: relative;
    display: block;
    width: 100%;
    padding: 10px 0;
}

.hdl-checkoutbox-shipping-method {
    position: relative;
    float: right;
    width: 46%;
    margin: 2% 2% 0 2%;
    padding: 15px;
    border-radius: 4px;
    font-size: 16px;
    box-shadow: 0 2px 10px rgb(31 45 61 / 16%);
    cursor: pointer;
}

.hdl-checkoutbox-shipping-method.hdl-active {
    border: 2px solid #2ca444;
}

.hdl-checkoutbox-shipping-method.hdl-active:before {
    content: "\eed8";
    position: absolute;
    display: block;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #2ca444;
    color: #fff;
    font-family: IcoFont !important;
    speak: none;
    font-style: normal;
    font-size: 24px;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    line-height: 25px;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

.hdl-checkoutbox-shipping-method .hdl-logo {
    position: relative;
    display: block;
    width: 100%;
    height: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-bottom: 5px;
}

.hdl-checkoutbox-shipping-method-1 .hdl-logo {
    background-image: url(/wp-content/plugins/hdl-digilogin/img/post-pishtaz-logo.png);
}

.hdl-checkoutbox-shipping-method-6 .hdl-logo {
    background-image: url(/wp-content/plugins/hdl-digilogin/img/post-vijzeh-logo.png);
}

.hdl-checkoutbox-shipping-method-8 .hdl-logo {
    background-image: url(/wp-content/plugins/hdl-digilogin/img/post-sefareshi-logo.png);
}

.hdl-checkoutbox-shipping-method-9 .hdl-logo {
    background-image: url(/wp-content/plugins/hdl-digilogin/img/post-pishtaz-logo.png);
}

.hdl-checkoutbox-shippingfee .hdl-shipping-free-circle {
    position: relative;
    display: inline-block;
    background-image: url(/wp-content/plugins/hdl-digilogin/img/pen-circle.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 10px 20px;
}

.hdl-checkoutbox-right #payment {
    display: none !important;
}

.woocommerce form .form-row.hdl-checkoutbox-form-row-2 {
    float: right;
    width: 48%;
    margin: 0 1% 6px 1%;
}

.woocommerce form .form-row.hdl-checkoutbox-form-row-3 {
    float: right;
    width: 31.33%;
    margin: 0 1% 6px 1%;
}

.hdl-checkoutbox-left .woocommerce-billing-fields {
    text-align: right;
}

.woocommerce form .hdl-checkoutbox-left .woocommerce-billing-fields .form-row label {
    font-size: 16px;
    line-height: 45px;
}

.woocommerce form .hdl-checkoutbox-left .woocommerce-billing-fields .form-row input,
.woocommerce form .hdl-checkoutbox-left .woocommerce-billing-fields .form-row select {
    background: #fff;
    border: 1px solid #aaa;
    font-size: 14px;
    padding: 7px;
    font-family: vazir;
    border-radius: 5px;
    outline: unset;
}

.hdl-checkoutbox-left .woocommerce-billing-fields .select2-container--default .select2-selection--single {
    background: #fff;
    padding: 4px;
    height: 38px;
    border: 1px solid #aaa;
}

.hdl-checkoutbox-left .woocommerce-billing-fields .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
    background: #fff;
}

.hdl-checkoutbox-left .woocommerce-billing-fields .select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow {
    top: 5px;
}

.hdl-input-ltr input {
    direction: ltr;
}

.hdl-receipt-payment {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 15px;
    border-radius: 4px;
    font-size: 16px;
    box-shadow: 0 2px 10px rgb(31 45 61 / 16%);
    cursor: pointer;
}

.hdl-receipt-payment .hdl-receipt-payment-icon {
    position: relative;
    display: block;
    margin: 0 auto 10px auto;
}

.hdl-receipt-payment.hdl-active {
    border: 2px solid #2ca444;
}

.hdl-receipt-payment.hdl-active:before {
    content: "\eed8";
    position: absolute;
    display: block;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #2ca444;
    color: #fff;
    font-family: IcoFont !important;
    speak: none;
    font-style: normal;
    font-size: 24px;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    line-height: 25px;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

.hdl-thankyou-message {
    position: relative;
    display: block;
    width: 100%;
    margin: 40px 0 70px 0;
}

.hdl-thankyou-icon {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 80px;
}

.hdl-thankyou-icon.hdl-thankyou-icon-success {
    color: #2ca444;
}

.hdl-thankyou-icon.hdl-thankyou-icon-failed {
    color: #eb0046;
}

.hdl-checkoutbox-container .woocommerce-thankyou-order-received {
    font-size: 16px;
    font-weight: bold;
    color: #2ca444;
}

.hdl-checkoutbox-container .woocommerce-thankyou-order-failed {
    font-size: 16px;
    font-weight: bold;
    color: #eb0046;
}

.hdl-checkout-header {
    width: 100%;
    height: 65px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: block;
    z-index: 99999999999;
    background: #fff;
    padding: 0 2%;
    box-shadow: 0 0 20px rgb(0 0 0 / 40%);
}

.hdl-checkout-header a.hdl-checkout-header-account {
    height: 46px;
    width: 46px;
    line-height: 49px;
    font-size: 25px;
    color: #1b2142ad !important;
    padding: 0;
    margin: 10px 15px 0 0 !important;
    text-align: center !important;
    float: left;
    background: #f0f2f7;
    cursor: pointer;
    border-radius: 4px;
}

.hdl-checkout-header-res {
    width: 100%;
    max-width: 1170px;
    height: auto;
    margin: 0 auto;
}

.hdl-billing-hidden {
    display: none;
}

@media (max-width: 870px) {
    .hdl-loginbox-container {
        align-content: flex-start;
    }

    .woocommerce .hdl-loginbox form.login {
        padding: 40px;
        border: none;
        margin: 0;
    }

    .woocommerce .hdl-loginbox form .form-row input.input-text {
        border: none;
        background: #f0f0f1;
    }

    .woocommerce .hdl-loginbox form .form-row input.input-text:focus,
    .woocommerce .hdl-loginbox form .form-row input.input-text:active {
        border-bottom: 3px solid #008eb2;
    }

    .hdl-checkoutbox-steps {
        padding: 10px 0 60px 0;
    }

    .hdl-checkoutbox-step-inner {
        width: 50px;
    }

    .hdl-checkoutbox-step-line {
        width: 20px;
        margin-top: 15px;
    }

    .post_txt_content .hdl-checkoutbox-step-inner i {
        font-size: 35px;
    }

    .post_txt_content .hdl-checkoutbox-step-inner h3 {
        display: none
    }

    .post_txt_content .hdl-checkoutbox-step.hdl-active .hdl-checkoutbox-step-inner h3 {
        display: block;
        position: absolute;
        width: 100%;
        right: 0;
        left: 0;
        font-size: 18px;
        padding: 10px 0;
        background: #fff;
    }

    .woocommerce .hdl-checkoutbox table.shop_table .cart_item td {
        padding: 15px 20px;
    }

    .woocommerce .hdl-checkoutbox table.shop_table .cart_item td:before {
        color: #666;
    }

    .woocommerce .hdl-checkoutbox table.shop_table .cart_item td.product-name {
        text-align: right !important;
        font-weight: bold;
    }

    .woocommerce .hdl-checkoutbox table.shop_table .cart_item td.product-name:before {
        display: none;
    }

    .woocommerce .hdl-checkoutbox table.shop_table .cart_item td.product-name:after {
        content: " ";
        position: relative;
        display: block;
        width: 100%;
        height: 1px;
        background: #e4e4e4;
        margin-top: 20px;
    }

    .woocommerce .hdl-checkoutbox table.shop_table td.actions .button {
        width: 100% !important;
    }

    .woocommerce .hdl-checkoutbox .cart-collaterals .cart_totals {
        width: 100%;
    }

    .woocommerce .hdl-checkoutbox .cart_totals table.shop_table td {
        width: 100%;
    }

    .woocommerce .hdl-checkoutbox .cart_totals table.shop_table td:before {
        color: #666;
        font-size: 16px;
    }

    .hdl-checkoutbox-footer {
        position: fixed;
        bottom: 0;
        right: 0;
        background: #fff;
        z-index: 99;
        padding: 10px 20px;
    }

    .hdl-checkoutbox-footer-btn {
        float: unset;
        width: 100%;
        display: block;
        margin-bottom: 10px;
    }

    .hdl-checkoutbox-copyright {
        margin-bottom: 130px;
    }

    .hdl-checkoutbox-left {
        float: unset;
        display: block;
        width: 100%;
    }

    .hdl-checkoutbox-right {
        float: unset;
        display: block;
        width: 100%;
    }

    .hdl-checkoutbox-right-top {
        display: none;
    }

    .woocommerce form .form-row.hdl-checkoutbox-form-row-2,
    .woocommerce form .form-row.hdl-checkoutbox-form-row-3 {
        width: 100%;
        clear: both;
        float: unset;
        margin: 0 0 6px;
    }

    .hdl-checkoutbox-shipping-method {
        float: unset;
        display: block;
        width: 100%;
        margin: 20px 0 0 0;
    }
}