
/* basket */

.basket-box {
    background: #f9f9f9;
    padding: 20px;
    margin-top: 30px;
    border-radius: 16px;
}
.box {
    border-radius: 16px;
    background: #f9f9f9;
    margin-top: 25px;
    padding: 20px;
}


.first-row-title {
    font-size: 22px;
    font-weight: 600;
    /*margin-bottom: 15px;*/
}

.ck-item {
    display: flex;
    background: #fff;
    border: 1px solid #E1E3E3;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 20px;
}

.ck-item:last-child {
    margin-bottom: 0;
}

.ck-item-flex {
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
}

.ck-item-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 15px;
}

.ck-item-title {
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
    text-align: right;
    color: #000;
    direction: rtl;
    transition: 0.3s;
    padding-left: 10px;
}

.ck-item-price-body {
    display: flex;
    flex-direction: column;
}

.ck-item-price-1 {
    font-size: 20px;
    font-weight: 600;
    padding-left: 35px;
}

.ck-item-price-1 span {
    font-size: 14px;
    font-weight: normal;
}

.ck-item-price-2 {
    font-size: 14px;
    color: #A9ACAC;
    text-decoration: line-through;
    padding-left: 35px;
}

.ck-item-discount {
    width: 26px;
    height: 22px;
    background: #C80000;
    padding: 4px;
    font-size: 14px;
    color: #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    padding-top: 6px;
}

.ck-item-control {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
}

.ck-item-control button:hover {
    background: var(--color1);
    border-color: var(--color1);
    color: #fff;
}

.ck-item-control span {
    /*font-size: 18px;*/
    margin: 0 15px;
}

.ck-item-control button {
    width: 28px;
    height: 28px;
    background: #FFFFFF;
    border: 1px solid #C4C7C7;
    border-radius: 8px;
    padding-left: 4px;
    font-size: 12px;
    padding-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.ck-item-more {
    font-size: 14px;
    display: flex;
    align-items: center;
    padding: 15px;
}

.ck-item-more label {
    margin: 0;
}

.ck-item-more label {
    margin: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.ck-item-more label:first-child {
    margin-left: 20px;
}


.ck-item-more input {
    accent-color: var(--color1);
    margin-left: 5px;
    width: 16px;
    height: 16px;
}

.ck-item-img-body {
    position: relative;
    width: 120px;
    height: 120px;
    flex: 0 0 120px;
    background-color: #f1f1f1;
    overflow: hidden;
    border-radius: 10px;
}


.ck-item-img {
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -o-object-fit: contain;
    object-fit: contain;
    transition: 0.3s;
}


.ck-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.ck-box-final {
    background: #fff;
    border: 1px solid #E1E3E3;
    border-radius: 16px;
    padding: 2px 15px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.ck-box-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #E1E3E3;
    padding-top: 15px;
    justify-content: space-around;
}


.ck-box-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.ck-box-item-title {
    font-weight: 600;
    font-size: 13px;
}

.ck-box-item-mute {
    font-size: 14px;
    font-size: 14px;
    color: #747878;
    font-weight: 600;
    margin-left: 5px;
}

.ck-box-item-price {
    font-size: 16px;
    font-weight: 600;
}

.ck-box-item-toman {
    font-weight: 400;
    font-size: 13px;
    margin-right: 2px;
}

.ck-box-item.active {
    color: #D60D0D;
}

.ck-box-item.active .ck-box-item-mute {
    color: #D60D0D;
}

.ck-box-item.total {
    border-top: 1px solid #E1E3E3;
    padding-top: 15px;
}


.ck-box-btn {
    height: 42px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-top: 15px;
    color: #fff;
    background: var(--color1);
    border: 1px solid var(--color1);
    transition: 0.3s;
    font-size: 16px;
}

.ck-box-btn:hover {
    color: var(--color1);
    background: #fff;
}

.ck-box-bottom {
    margin-top: auto;
}

.ck-final-btn {
    display: none;
}

@media (max-width:767px) {
    .ck-final-btn {
        background: transparent;
        border: 0;
        padding: 0;
        margin: auto;
        display: block;
        font-size: 18px;
        background: #eee;
        line-height: 1;
        padding: 3px;
        border-radius: 16px;
        width: 35px;
        height: 35px;
        top: -20px;
        position: absolute;
        transition: 0.1s;
    }

    .ck-box-final {
        position: fixed;
        bottom: 0;
        min-height: auto;
        right: 0;
        width: 100%;
        border-radius: 0;
        z-index: 9;
    }

    .ck-box-item.total {
        border-top: 0;
        padding-top: 0;
        margin: 0;
    }

    .ck-box-top {
        /*border-bottom: 1px solid #E1E3E3;*/
        /*padding-bottom: 15px;*/
        /*margin-bottom: 15px;*/
        display: none;
    }

    .ck-final-btn.active {
        transform: rotate(-180deg);
    }

    .ck-box-top.active {
        display: block;
    }

    .basket-box {
        padding: 10px;
        margin-top: 15px;
    }

    .first-row-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .ck-item {
        border-radius: 16px;
        padding: 10px;
        margin-bottom: 10px;
        display: flex;
        flex-direction: column;
    }

    .ck-item-img-body {
        width: 100px;
        height: 100px;
        flex: 0 0 100px;
    }

    .ck-box-item {
        margin-top: 10px;
    }

    .ck-item-price-body {
        text-align: left;
        justify-content: end;
        margin-top: 5px;
    }

    .ck-item-price-1 {
        font-size: 16px;
    }

    .ck-item-control button {
        width: 25px;
        height: 25px;
    }

    .ck-item-control {
        margin-top: 5px;
    }

    .ck-box-item-price {
        font-size: 16px;
    }

    .ck-item-flex {
        display: flex;
        flex-grow: 1;
        flex-direction: column;
    }

    .ck-item-more {
        font-size: 12px;
        padding: 15px;
        flex-direction: column;
        align-items: start;
    }

    .ck-item-more label:first-child {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .ck-title {
        font-size: 16px;
    }



}



.ck-nav {
    background: #eeeeee85;
    border: 1px solid #E1E3E3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    transition: 0.3s;
}

.ck-nav span {
    margin-right: 0px;
}

.ck-nav img {
    width: 64px;
    height: 64px;
}


.ck-nav.active {
    border-color: var(--color3);
    background: #fff;
    font-weight: 600;
}

.ck-nav.disabled {
    opacity: 0.5;
}

.ck-nav.disabled:hover {
    color: #000;
    cursor: unset;
}

.address-item {
    margin-bottom: 15px;
    width: 100%;
}
.address-item-1 {
    margin-bottom: 15px;
    width: 100%;
}

.address-item-date {
    display: flex;
    align-items: center;
}

.address-item-mute {
    color: #5C5F5F;
    font-size: 14px;
    margin-bottom: 5px;
}


.address-item-info {
    margin-right: 15px;
}

.address-item-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #E1E3E3;
    border-radius: 16px;
    padding: 15px;
    cursor: pointer;
    margin-top: 20px;
}

.address-item input {
    display: none;
}

.address-radio {
    border: 2px solid #5C5F5F;
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.address-item input:checked~.address-item-inner {
    /* border-color: var(--color3); */
}

.address-item input:checked~.address-item-inner .address-radio {
    border: 6px solid var(--color1);
}


.address-item-edit {
    width: 26px;
    height: 26px;
    background: transparent;
    border: 1px solid #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
    transition: 0.3s;
    margin-right: 15px;
}

.address-item-edit:hover {
    background: var(--color1);
    border-color: var(--color1);
    color: #fff;
}

.ck-address-title {
    font-size: 19px;
    font-weight: 600;
    margin: 20px 0;
}

.address-item-add {
    display: flex;
    align-items: center;
    background: transparent;
    color: var(--color1);
    border: 0;
    font-size: 16px;
    transition: 0.3s;
    margin-bottom: 20px;
}

.address-item-add i {
    margin-top: 5px;
    margin-right: 4px;
    font-size: 14px;
}

.address-item-add:hover {
    color: #000;
}

@media (max-width:767px) {

    .ck-nav-body .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .ck-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 11px;
        padding: 3px;
    }

    .ck-nav img {
        width: 44px;
        height: 44px;
    }

    .ck-nav-body .col-4 {
        padding-left: 8px;
        padding-right: 8px;
    }

    .ck-address-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .address-item-title {
        font-size: 14px;
    }
}


.ck-item-count{
    position: relative;
    text-align: center;
    width: 40px;
    display: inline-block;
    font-size: 13px;
    margin: 3px 2px 3px;
    resize: vertical;
    border: none;
}


@media (min-width: 768px) {
    .position-sticky-md {
        position: -webkit-sticky !important;
        position: sticky !important;
    }
}

.bgSilver {
    background: #F9F9F9;
    width: 100%;
}



.back-box {
    background: #f9f9f9;
    padding: 30px;
    max-width: 450px;
    margin: auto;
    margin-top: 40px;
    border-radius: 16px;
    border: 1px solid #ddd;
}

.back-box-icon {
    width: 80px;
    margin: auto;
}

.back-box-subtitle {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    color: #444;
}

.back-box-title {
    text-align: center;
    font-size: 18px;
    color: #444;
    margin-top: 15px;
}

.back-box-info {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 16px;
    margin-top: 20px;
}

.back-box-flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-box-flex-2{
    margin-top: 15px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.back-box-price {
    color: #25ae88;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.back-box-price span {
    font-size: 16px;
    margin-right: 5px;
}

.back-box-text {
    font-size: 16px;
    color: #000;
}

.back-box-number {
    font-size: 16px;
    color: #000;
}

.back-box-btn-success {
    background: #25ae88;
    border: 1px solid #25ae88;
    color: #fff;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    transition: 0.3s;
}

.back-box-btn-success:hover {
    color: #fff;
    background: #20725b;
}

.back-box-btn-failed {
    background: #D75A4A;
    border: 1px solid #D75A4A;
    color: #fff;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    transition: 0.3s;
}

.back-box-btn-failed:hover {
    color: #fff;
    background: #89372d;
}


@media (max-width: 767px) {
    .back-box {
        margin: auto;
        margin-top: 20px;
        padding: 20px;
    }

    .back-box-icon {
        width: 60px;
    }

    .back-box-subtitle {
        font-size: 18px;
    }

    .back-box-title {
        font-size: 16px;
    }

    .back-box-info {
        padding: 15px;
    }

    .back-box-price {
        font-size: 16px;
    }

    .back-box-text {
        font-size: 14px;
    }
    .back-box-btn-success {
        margin-top: 40px;
        padding: 12px;
        font-size: 14px;
    }
    .back-box-btn-failed {
        margin-top: 40px;
        padding: 12px;
        font-size: 14px;
    }
}





/* modal comment  */
.modal-address .modal-content {
    border-radius: 12px;
}

.modal-address input {
    height: 45px;
    width: 100%;
    background: #fff;
    border: 1px solid #C4C7C7;
    padding: 10px;
    margin: 10px 0;
    border-radius: 6px;
    outline-color: var(--color1);
}

.modal-address select {
    height: 45px;
    width: 100%;
    background: #fff;
    border: 1px solid #C4C7C7;
    margin: 10px 0;
    border-radius: 6px;
    outline-color: var(--color1);
}

.modal-address textarea {
    width: 100%;
    background: #fff;
    border: 1px solid #C4C7C7;
    padding: 10px;
    border-radius: 6px;
    outline-color: var(--color1);
}


.modal-address .modal-dialog {
    max-width: 658px;
}


.modal-address-other label {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.modal-address-other {
    display: flex;
    align-items: center;
    border-top: 1px solid #C4C7C7;
    margin-top: 20px;
    padding-top: 20px;
}


.modal-address-check {
    width: 18px !important;
    height: 18px !important;
    padding: 0;
    margin: 0;
    margin-left: 10px;
    accent-color: var(--color1);
}


.btn-comment {
    width: 100%;
    height: 42px;
    border-radius: 40px;
    border: 0;
    background: var(--color1);
    border: 1px solid var(--color1);
    color: #fff;
    transition: 0.3s;
}

.btn-comment:hover {
    background: transparent;
    color: var(--color1);
}


.basket-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    padding-top: 10px;
}

.basket-item:first-child {
    padding-top: unset;

}

.basket-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}

.basket-total-title {
    font-size: 14px;
    font-weight: 600;
}

.basket-item-img {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    object-fit: contain;
    border: 1px solid #ddd;
}

.basket-item-info {
    margin-right: 15px;
    white-space: nowrap;
    width: 100%;
}

.basket-item-count {
    margin-top: 5px;
    display: flex;
    align-items: end;
}

.basket-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.basket-item-count span {
    color: var(--color1);
    font-size: 16px;
}

.basket-item-discount {
    color: #545454 !important;
    text-decoration: line-through;
    font-size: 14px !important;
}

.basket-link {
    background: var(--color1);
    color: #fff;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    /*border-radius: 8px;*/
    margin-top: 10px;
    border: 5px solid var(--color1);
    transition: 0.3s;
    bottom: 0;
    position: sticky;
}

.basket-link:hover {
    color: var(--color3);
}


.basket-item {
    padding:15px;
}

.basket-total {
    margin-top: 0;
}







/* basket offcanvas */


.offcanvas {
    position: fixed;
    bottom: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    /* visibility: hidden; */
    background-color: #fff;
    background-clip: padding-box;
    outline: 0;
    transition: transform .3s ease-in-out;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 350px;
    border-right: 1px solid rgba(0, 0, 0, .2);
    transform: translateX(-100%);
}

.offcanvas.show {
    transform: none;
}

.offcanvas-body {
    padding: 5px 0;
}

.offcanvas-head {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
}

.offcanvas-footer {
    padding: 15px;
    border-top: 1px solid #ccc;
    bottom: 35px;
    z-index: 1000;
    position: sticky;
}

.offcanvas-close {
    background: transparent;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: #444;
    padding: 0;
}

.offcanvas-title {
    font-weight: 600;
    color: #444;
    font-size: 18px;
}

#overlay-offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: -20;
    transition: background 0.1s ease, z-index 0s;
    transition-delay: 0.1s, 0.4s;
}

#overlay-offcanvas.active {
    visibility: visible;
    transition: background 0.1s ease, z-index 0s;
    transition-delay: 0s, 0s;
    background: rgba(72, 72, 72, 0.6);
    z-index: 1000;
}


.basketItems{
    height: 700px;
    overflow: auto;
}
.remove-cart-item{
    color: #d0370e;
    padding-top: 10px;
    position: relative;
    left: 20px;
}


.navbar-btn-badge {
    background: var(--color2);
    width: 15px;
    height: 15px;
    position: absolute;
    left: 10%;
    top: 30%;
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding-top: 3px;
}

/* offcanvas */
@media (max-width: 767.5px) {
    .dropdown ul::before {
        content: unset;
    }

    .dropdown a::after {
        content: '\f104';
        font-size: 16px;
        flex-grow: 1;
        justify-content: end;
        display: flex;
        align-items: center;
    }

    .dropdown .dropdown>a:after {
        margin-top: -2px;
        font-size: 16px;
    }

    .offcanvas-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: #f2f2f2;
        z-index: 9999;
        transition: all 0.3s ease-in-out;
    }

    .dropdown ul {
        left: unset;
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: #f3f3f3;
        z-index: 9999;
        transition: all 0.3s ease-in-out;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .dropdown ul.active {
        right: 0;
    }

    .offcanvas-nav.active {
        right: 0;
    }


    .offcanvas-header {
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--color1);
        background-color: #fff;
        padding: 0 15px;
        margin-bottom: 10px;
    }


    .offcanvas-header .close {
        background: transparent;
        border: 0;
        color: var(--color1);
        font-size: 20px;
    }

    .offcanvas-header .back {
        background: transparent;
        border: 0;
        color: var(--color1);
        font-size: 20px;
    }

    .nav-item {
        padding: 10px 20px;
        margin-left: 0px;
        display: flex;
    }

    .dropdown ul li a {
        padding: 10px 20px;
    }

    .nav-item a {
        padding: 0;
        display: flex;
        align-items: center;
        width: 100%;
        font-size: 14px;
        font-weight: normal;
    }

    .navbar-toggler {
        border: 0;
        margin: 0;
        padding: 0;
        color: var(--color1) !important;
        display: flex;
        margin-left: 10px;
    }

    .navbar-left {
        display: flex;
        align-items: center;
        justify-content: start;
        flex-direction: row-reverse;
    }

    .navbar-btn-badge {
        left: 20%;
        top: 50%;
    }


}


@media (min-width:768px) {
    .offcanvas-header {
        display: none;
    }
}


.jconfirm .jconfirm-box.jconfirm-type-green
{
    border-top: var(--color1) !important;
    -webkit-animation-name: type-green;
    animation-name: type-green;
}

.jconfirm .jconfirm-box .jconfirm-buttons button.btn-green{
    background-color: var(--color1);
}
.jconfirm .jconfirm-box .jconfirm-buttons button.btn-green:hover{
    background-color: var(--color2);
}
.btn-success-theme{
    background-color: var(--color1);
    color: #fff;
}

.login-btn {
    height: 46px;
    width: 200px;
    background: var(--color2);
    color: #fff;
    font-size: 16px;
    padding: 5px 15px;
    border: 0;
    border-radius: 10px;
    font-weight: 400;
    margin: 0;
    margin-right: 20px;
    transition: 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color2);
}