/*
 * jQuery / jqLite Wizard Plugin
 * version: 0.0.4
 * Author: Girolamo Tomaselli http://bygiro.com
 *
 * Copyright (c) 2013 G. Tomaselli
 * Licensed under the MIT license.
 */

@font-face {
    font-family: 'wizard-font';
    font-weight: normal;
    font-style: normal;
    src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SDGQAAAC8AAAAYGNtYXD6RMuEAAABHAAAAGRnYXNwAAAAEAAAAYAAAAAIZ2x5Zh39Yw4AAAGIAAAArGhlYWQGSx/bAAACNAAAADZoaGVhB8MDxwAAAmwAAAAkaG10eA9/ACAAAAKQAAAAHGxvY2EAbgCcAAACrAAAABBtYXhwAAkACQAAArwAAAAgbmFtZZ+vDy0AAALcAAABtnBvc3QAAwAAAAAElAAAACAAAwLgAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADwWgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQASAAAAA4ACAACAAYAAQAg6jTqOPBa//3//wAAAAAAIOo06jjwWv/9//8AAf/jFdAVzQ+sAAMAAQAAAAAAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAA/+AD4AOgAAYAAAkBESERIRED4P4g/gACAAHAAeD+4P6A/uAAAAEAIP/gBAADoAAGAAATAREhESERIAHgAgD+AAHA/iABIAGAASAAAAABAAAAQAGAA0AAAwAAEwkBEQABgP6AA0D+gP6AAwAAAAEAAAABAAB0IT+bXw889QALBAAAAAAA0ZXtrwAAAADRle2vAAD/4AQAA6AAAAAIAAIAAAAAAAAAAQAAA8D/wAAABAAAAP//BAAAAQAAAAAAAAAAAAAAAAAAAAcEAAAAAAAAAAAAAAACAAAABAAAAAQAACABfwAAAAAAAAAKABQAHgAyAEYAVgABAAAABwAHAAEAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEACwAAAAEAAAAAAAIABwCEAAEAAAAAAAMACwBCAAEAAAAAAAQACwCZAAEAAAAAAAUACwAhAAEAAAAAAAYACwBjAAEAAAAAAAoAGgC6AAMAAQQJAAEAFgALAAMAAQQJAAIADgCLAAMAAQQJAAMAFgBNAAMAAQQJAAQAFgCkAAMAAQQJAAUAFgAsAAMAAQQJAAYAFgBuAAMAAQQJAAoANADUd2l6YXJkLWZvbnQAdwBpAHoAYQByAGQALQBmAG8AbgB0VmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwd2l6YXJkLWZvbnQAdwBpAHoAYQByAGQALQBmAG8AbgB0d2l6YXJkLWZvbnQAdwBpAHoAYQByAGQALQBmAG8AbgB0UmVndWxhcgBSAGUAZwB1AGwAYQByd2l6YXJkLWZvbnQAdwBpAHoAYQByAGQALQBmAG8AbgB0Rm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('truetype');
}

[class^="wiz-icon-"], [class*=" wiz-icon-"] {
    font-family: 'wizard-font';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wiz-icon-chevron-right:before {
    /* content: "\f05a"; */
    font-size: 64px;
    position: absolute;
}

.wiz-icon-arrow-right:before {
    content: "\ea34";
    margin-left: 4px;
}

.wiz-icon-arrow-left:before {
    content: "\ea38";
    margin-right: 4px;
}

.wizard {
    border: none;
}

    .wizard .steps-index-container {
        position: relative;
        overflow: visible;
        padding: 8px 4px 0;
        margin-bottom: 15px;
    }

    .wizard .steps-content {
        /*border-top: 1px solid #d4d4d4;*/
    }

    /* ===== نوار مراحل (Stepper): flex با ستون‌های مساوی؛ بدون آفست دستی ===== */
    .wizard ul.steps {
        --step-green: #5cb85c;
        --step-gray: #e4e4e4;
        display: flex;
        padding: 0;
        margin: 0;
        list-style: none;
        position: relative;
    }

        .wizard ul.steps > li {
            flex: 1 1 0;
            min-width: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            float: none;
            width: auto;
            height: auto;
            padding: 0;
            margin: 0;
            line-height: 1.5;
            font-size: 12px;
            text-align: center;
        }

            /* خط اتصال: ::before مسیر خاکستری، ::after نوار سبز که با انیمیشن پر می‌شود */
            .wizard ul.steps > li:not(:first-child)::before,
            .wizard ul.steps > li:not(:first-child)::after {
                content: '';
                position: absolute;
                top: 13px;
                height: 3px;
                border-radius: 2px;
                inset-inline-start: -50%;
                z-index: 0;
            }

            .wizard ul.steps > li:not(:first-child)::before {
                width: 100%;
                background-color: var(--step-gray);
            }

            .wizard ul.steps > li:not(:first-child)::after {
                width: 0;
                background-color: var(--step-green);
                transition: width .45s ease;
            }

            .wizard ul.steps > li.active:not(:first-child)::after,
            .wizard ul.steps > li.completed:not(:first-child)::after {
                width: 100%;
            }

            .wizard ul.steps > li.completed {
                cursor: pointer;
            }

            .wizard ul.steps > li > .step-index {
                display: block;
                position: relative;
                z-index: 1;
                width: 28px;
                height: 28px;
            }

            .wizard ul.steps > li .step-index .label {
                position: relative;
                box-sizing: border-box;
                display: block;
                width: 28px;
                height: 28px;
                padding: 0;
                border: 3px solid var(--step-gray);
                border-radius: 50%;
                background-color: #fff;
                color: #8a8f94;
                font-size: 13px;
                font-weight: 600;
                line-height: 22px;
                text-align: center;
                transition: background-color .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease, transform .35s ease;
            }

            /* مرحله جاری */
            .wizard ul.steps > li.active .step-index .label {
                border-color: var(--step-green);
                color: var(--step-green);
                box-shadow: 0 0 0 5px rgba(92, 184, 92, .2);
                animation: kwStepPop .45s ease;
            }

            /* مرحله‌های انجام‌شده: دایره سبز با تیک */
            .wizard ul.steps > li.completed .step-index .label {
                border-color: var(--step-green);
                background-color: var(--step-green);
                color: transparent;
            }

                .wizard ul.steps > li.completed .step-index .label::after {
                    content: '\2713';
                    position: absolute;
                    inset: 0;
                    color: #fff;
                    font-size: 14px;
                    line-height: 22px;
                    animation: kwStepCheck .35s ease;
                }

            .wizard ul.steps > li > .step-text {
                display: block;
                position: static;
                width: 100%;
                margin-top: 8px;
                padding: 0 2px;
                color: #9aa0a6;
                font-size: 12px;
                white-space: normal;
                text-align: center;
                text-wrap: balance;
                transition: color .35s ease, font-weight .35s ease;
            }

            .wizard ul.steps > li.completed > .step-text {
                color: #555;
            }

            .wizard ul.steps > li.active > .step-text {
                color: #212529;
                font-weight: 600;
            }

            .wizard ul.steps > li .wiz-icon-chevron-right {
                display: none;
            }

    @keyframes kwStepPop {
        0% { transform: scale(.7); }
        60% { transform: scale(1.18); }
        100% { transform: scale(1); }
    }

    @keyframes kwStepCheck {
        0% { transform: scale(0); opacity: 0; }
        100% { transform: scale(1); opacity: 1; }
    }

    @media (prefers-reduced-motion: reduce) {
        .wizard ul.steps > li .step-index .label,
        .wizard ul.steps > li .step-index .label::after {
            animation: none !important;
        }

        .wizard ul.steps > li::after,
        .wizard ul.steps > li .step-index .label,
        .wizard ul.steps > li > .step-text {
            transition: none !important;
        }
    }

    .wizard .top-actions {
        z-index: 99;
        position: absolute;
        right: 0;
        top: 0;
        line-height: 46px;
        height: 46px;
        float: right;
        vertical-align: middle;
        background-color: #e5e5e5;
        border-left: 1px solid #d4d4d4;
        padding: 0 10px;
        display: table;
        box-shadow: -3px 0 2px -1px #888;
        -webkit-box-shadow: -3px 0 2px -1px #888;
        -moz-box-shadow: -3px 0 2px -1px #888;
        -o-box-shadow: -3px 0 2px -1px #888;
    }

        .wizard .top-actions .btn-group {
            display: table-cell;
            vertical-align: middle;
        }

    .wizard .bottom-actions {
        width: 100%;
        float: right;
    }

        .wizard .bottom-actions .btn-next,
        .wizard .bottom-actions .btn-prev {
            /* margin: 10px; */
        }

.btn-next {
    border-radius: 9px;
    /*background-color: var(--btn-Extention);*/
    float: left;
    /* font-size: 13px; */
    /* padding: 13px 31px; */
}

.wizard .bottom-actions .btn-prev {
    background-color: #999;
    float: right;
    border: none;

}

.wizard .bottom-actions {
    margin-left: 0px;
    color: white;
    padding: 12px 6px;
    border-radius: 3px;
    font-size: 15px;
    cursor: pointer;
    margin-top: 25px;
    margin-left: 5px;
    min-width: 118px;
}

.btn-prev.disabled.hidden {
    display: none !important;
}

.wizard .bottom-actions .btn-prev {
    /* float: left; */
}

.wizard .steps-content .step-pane:not(.active) {
    display: none;
}

.wizard .steps-content .step-pane {
    /*padding: 20px 10px;*/
}

.wizard .btn-next,
.wizard .btn-prev {
    white-space: nowrap;
    font-size: 13px;
    padding: 13px 31px;
}

    .wizard .btn-next:not(.final-step) .finished-text {
        display: none;
    }

    .wizard .btn-next.final-step .next-text,
    .wizard .btn-next.final-step .wiz-icon-arrow-right {
        display: none;
    }

.wizard .wiz-icon-chevron-right.colorA::before {
    /* left: -23px; */
    /* top: -9.5px; */
    /* z-index: 2; */
    /* color: #ededed; */
    /* transform: rotate(180deg); */
}

.wizard .wiz-icon-chevron-right.colorB::before {
    left: -24px;
    top: -9.5px;
    z-index: 1;
    transform: rotate(180deg);
    /* color: #b5b5b5; */
    display: none;
}

.TitleInfo {
    position: absolute;
    top: 0px;
    width: 83%;
    left: 33px;
}

.wizard li.active .wiz-icon-chevron-right.colorA::before {
    /* color: #e5501f; */
}

.wizard li.completed .wiz-icon-chevron-right.colorA::before {
    /* color: #b5e4ab; */
}

.top-actions {
    display: none !important;
}

.step-index .label {
    padding: 0.22em .4em .3em;
    font-size: 22px;
}

@media only screen and (max-width: 767px) {
    .WizardContainer {
        margin-bottom: 76px;
    }

    .addtocartBottom {
        font-size: 12px;
    }

    .top-buffer {
        padding: 4px 7px;
    }

    .addtocartBottom .Cartleft {
        width: 82%;
        margin-left: 0px;
        color: rgba(19,19,19,1);
        padding: 0px;
        border: none;
    }

    .addtocartBottom {
        /* margin-bottom: 38px; */
    }

    .OrderDelete {
        position: absolute;
        width: 33px;
        height: 26px;
        background: transparent !important;
        left: -12px;
        top: -7px
    }

    .wizard .bottom-actions .btn-next, .wizard .bottom-actions .btn-prev, #btnPaymentOnline, #btnPaymentKart {
        position: relative;
        bottom: 19px;
        width: 100%;
        right: 0;
        margin: 0 !important;
        margin-top: 32px !important;
        border-radius: 4px !important;
        z-index: 11111111;
        display: inherit
    }

    .wizard .bottom-actions {
        position: fixed;
        bottom: -1px;
        background-color: white;
        box-shadow: 0px -3px 8px -5px #333;
        margin: 0px;
        left: 0px;
        right: 0px;
        height: 79px;
        padding: 3px 9px;
    }

    .wizard ul.steps > li > .step-text {
        font-size: 11px;
    }
}

@media only screen and (max-width: 590px) {
    .step-text {
        /* display: none !important; */
    }

}

.final-step, .btn-prev {
    /* display: none !important; */
}


.right-actions {
    width: 43%;
    display: inline-block;
    float: left;
}

.left-actions {
    width: 45%;
    /* display: inline-block; */
    float: right;
}


.btn-next.final-step.btn-infoz {
    display: none;
}
