@font-face {
    font-family: 'yekanBakh';
    src: url('../fonts/Fa3/Yekan Bakh FA 04 Regular.eot');
    src: url('../fonts/Fa3/Yekan Bakh FA 04 Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Fa3/Yekan Bakh FA 04 Regular.woff') format('woff'),
    url('../fonts/Fa3/Yekan Bakh FA 04 Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'yekanBakh';
    src: url('../fonts/Fa3/Yekan Bakh FA 05 Medium.eot');
    src: url('../fonts/Fa3/Yekan Bakh FA 05 Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Fa3/Yekan Bakh FA 05 Medium.woff') format('woff'),
    url('../fonts/Fa3/Yekan Bakh FA 05 Medium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'yekanBakh';
    src: url('../fonts/Fa3/Yekan Bakh FA 06 Bold.eot');
    src: url('../fonts/Fa3/Yekan Bakh FA 06 Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Fa3/Yekan Bakh FA 06 Bold.woff') format('woff'),
    url('../fonts/Fa3/Yekan Bakh FA 06 Bold.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'yekanBakh';
    src: url('../fonts/Fa3/Yekan Bakh FA 07 Heavy.eot');
    src: url('../fonts/Fa3/Yekan Bakh FA 07 Heavy.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Fa3/Yekan Bakh FA 07 Heavy.woff') format('woff'),
    url('../fonts/Fa3/Yekan Bakh FA 07 Heavy.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


:root {
    --siteBg: #FFFFFF;
    --dark: #2F2F2F;
    --primary: #CC0A0A;
    --linear: linear-gradient(to left, #CC0A0A, #de3232);
    --light-gray: #F1F1F1;
    --gray: #727272;
    --border: rgba(0, 0, 0, 0.1);
    --secondary: #2860E6;
    --green: #05A24B;
}


* {
    outline: none !important;
}

html, body {
    direction: rtl;
    font-family: 'yekanBakh';
    font-weight: 400;
    font-size: 14px;
    text-align: right;
    width: 100%;
    height: 100vh;
    background-color: var(--siteBg);
    background-size: cover;
    color: var(--dark);
    padding: 0;
    margin: 0;
    overflow-x: hidden;

}

ul, li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

.rtl {
    direction: rtl;
}

.ltr {
    direction: ltr;
}

.form-control:focus {
    border-color: rgba(0, 0, 0, 0.1);

    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(253, 13, 13, 0.25);
}

.form-control {
    border-color: var(--border);
    border-radius: 10px;
}

.form-floating label {
    color: var(--gray) !important;
    font-size: 14px !important;
}

.btn {
    border-radius: 10px;
    padding: 15px;
}

.btn-primary {
    background: var(--linear);
    border: unset;
    /*padding: 15px;*/
}

.notyf__icon {
    margin-right: 0;
    margin-left: 10px;
}

.notyf__wrapper {
    padding-right: 0;
}

input::placeholder {
    color: #AFAFAF;
}

/* ورود به سایت */
.login {
    background: url("../img/loginBg.jpg");
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: 100vh;
}

.topُSite .title {
    color: var(--siteBg);
    font-weight: 300;
}

.topُSite .title b {
    color: var(--primary);
    font-weight: bold;
}

.topُSite {
    background: linear-gradient(to right, #2F2F2F 18%, #4E4E4E 84%, #2f2f2f 98%);
    width: 100%;
    height: 54px;
    display: flex;
    align-items: center;
}

.login .bottom {
    color: var(--gray);
    font-size: 13px;
    padding: 30px;
}

.login .bottom b {
    color: var(--dark);
}

.login .contentParent {
    flex-grow: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login .contentParent .loginBox {
    background-color: var(--siteBg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 40px;
    position: relative;
    z-index: 10;
    max-width: 550px;
    margin: 10px auto;
}

.login .contentParent .loginBox .box_in {
    position: relative;
    z-index: 100;
}

.login .contentParent .loginBox:before {
    content: "";
    width: 80%;
    height: 106%;
    border-radius: 10px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    right: 10%;
    top: -6%;
    filter: blur(10px);
    z-index: -1;
}

.login .contentParent .loginBox:after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: #fff;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}

.login .wellCome {
    color: var(--gray);
}

.login .textDescription {
    font-size: 14px;
}

.login .textDescription span {
    color: var(--primary);
    display: block;
}
.login .form-control
{
    height: auto;
}
.login .secondStep .form-control {
height: 60px;
  text-align: center !important;
    flex-grow: 1;
    box-shadow: unset !important;
}

.login .resendCode {
    cursor: pointer;
    /*color: var(--primary);*/
}

/* هدر سایت */
header {
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    position: relative;
    z-index: 100;
}

header .headerBg {

}

/*header:before {*/
/*    content: "";*/
/*    width: 80%;*/
/*    height: 106%;*/
/*    border-radius: 10px;*/
/*    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0) 100%);*/
/*    position: absolute;*/
/*    right: 10%;*/
/*    top: -6%;*/
/*    filter: blur(10px);*/
/*    z-index: -1;*/
/*}*/

/*header:after {*/
/*    content: "";*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    border-radius: 10px;*/
/*    background: #fff;*/
/*    position: absolute;*/
/*    right: 0;*/
/*    top: 0;*/
/*    z-index: 1;*/
/*}*/
header .topHeader {

}

.border-bottom {
    /*border-color: var(--border) !important;*/
}

header .searchBox {
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border);
    border-radius: 10px;
}

header .searchBox input {
    flex-grow: 1;
    padding: 7px;
    border: unset;
}

header .searchBox .searchIcon {
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--dark);
    width: 50px;
    height: 50px;
    transform: rotateY(180deg);
    border-radius: 9px;
}

.userDrop {
    /*margin-left: auto;*/
}

.userDrop .btn .userImage, .headerCard .userImage {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: #F1F1F1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--dark);
    margin-left: 8px;
}

.userDrop .btn, .headerCard {
    display: flex;
    align-items: center;
    flex-direction: row;
    color: var(--dark);
}

.userDrop .btn .userDetails .userName, .headerCard .userName {
    text-align: right;
    font-weight: bold;
}

.headerCard .price {
    color: var(--primary);
    /*font-weight: bold;*/
    font-size: 16px;
}

.userDrop .btn .userDetails .score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}

.userDrop .btn .userDetails .score .badge {
    font-size: 16px;
    margin-right: 16px;
    padding: 4px 8px;
    border-radius: 15px;
    font-weight: normal;
}

.dropdown-toggle::after {
    margin-right: 1em;
    content: "";
    border-top: .5em solid;
    border-left: .5em solid transparent;
    border-right: .5em solid transparent;
}

header .dropdown-menu {
    width: 100%;
    overflow: hidden;
    padding: 0 15px;
}

header .dropdown-menu .dropdown-item {
    padding: 15px 10px;
    border-bottom: 1px solid var(--border);
}

header .dropdown-menu li:last-child .dropdown-item {
    border-bottom: 0;
}

.headerCard {

}

.offcanvas .cartPrice {
    display: flex;
    /*flex-direction: column;*/
    color: var(--gray);
    justify-content: space-between;
    padding: 20px 5px;
}

.offcanvas .cartPrice .price {
    font-size: 20px;
    color: var(--dark);
}

.offcanvas .cartPrice .price span {
    font-size: 16px;
}

.offcanvas .offcanvas-body .cartItem .item {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px 0;

    border-bottom: 1px solid var(--border);
}

.cartList .cartItem .details .remove {
    width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*margin-left: 8px;*/
    opacity: 0.5;
    transition: all 0.3s;
    filter: grayscale(20);
}

.cartList .cartItem .details .remove:hover {
    cursor: pointer;
    opacity: 1;
    filter: grayscale(0);
}

.cartList .cartItem .details .badge {
    font-weight: 500;
}

.bg-custom {
    background: var(--linear);
}

.offcanvas .offcanvas-body .item .details {
    width: calc(100% - 150px);
    display: flex;
    align-items: center;
}

.offcanvas .offcanvas-body .cartItem .item .details img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-left: 10px;
}

.offcanvas .offcanvas-body .cartItem .item .details .detail .name {
    color: var(--dark);
    margin-bottom: 10px;
    transition: all 0.3s;

}

.cartList .cartItem {
    border-bottom: 1px solid var(--border);
    background: #fff;
    padding: 8px 5px;
    margin-bottom: 8px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.cartList .cartItem .productImage {
    width: 60px;
    height: 60px;
    border: 1px solid var(--border);
    margin-left: 8px;
}

.cartList .cartItem .details {
    display: flex;
    font-size: 15px;
    background: #fff;
    padding: 4px;
    /*border-bottom: 1px solid var(--border);*/
    justify-content: space-between;
    flex-grow: 1;
}

.cartList .cartItem .details .remove {
    /*margin-left: 10px;*/
}

.cartList .cartItem .count .counterBox {
    max-width: 150px;
}

.cartList .cartItem .count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding-right: 10px;
}

.cartList .cartItem .count .price {
    font-size: 16px;
    color: var(--dark);
    font-weight: bold;
}

.cartList .cartItem .count .price span {
    font-size: 14px;
    color: var(--dark);
    font-weight: normal;
    margin-right: 8px;
}

.input-group input {
    border: unset;
    text-align: center;
    font-size: 20px;
}

.input-group {
    height: 50px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

header .headerNav {
    display: flex;
    align-items: center;
}

header .headerNav .navLink {
    display: flex;
    align-items: start;
    flex-direction: column;
    width: 120px;
    color: var(--dark);
    transition: all 0.2s;
}

header .headerNav .navLink:hover {

    cursor: pointer;

}

header .headerNav .navItem .navLink:hover .fa {
    font-weight: bold;
}

header .headerNav .navItem.active .navLink .fa {
    font-weight: bold;
}

header .headerNav .navItem .navLink .en {
    color: var(--gray);
    font-family: 'Arial', sans-serif;
}

header .headerNav .navItem.active .navLink .en {
    font-weight: bold;
    color: var(--primary);
}

footer {
    background-color: #2F2F2F;
    border-radius: 15px;
    background-image: url("../img/footerBg.png");
    padding: 40px;
    margin: 20px auto;
}

footer .text {
    font-size: 16px;
    line-height: 30px;
    color: #fff;
    font-weight: 300;
    margin-top: 24px;
}

footer .title {
    color: #B8B8B8;
    font-size: 14px;
    line-height: 30px;
    font-weight: 400;
}

footer .subtitle {

    font-size: 14px;
    line-height: 30px;
    color: #fff;
    direction: ltr;
    display: block;
    transition: all 0.2s;
}

footer .item .subtitle:hover {
    color: var(--primary);
}

footer .secTitle {
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 16px;
}

hr {
    border-color: rgba(255, 255, 255, 0.3);
}

.footerNav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footerNav .navLink {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
    color: #fff;
    transition: all 0.3s;
}

.footerNav .navLink .en {
    color: #B8B8B8;
    font-family: 'Arial', sans-serif;
}

.footerNav .navLink:hover {
    cursor: pointer;
    color: var(--primary);
}

.navigationBox {
    padding: 15px 0;
    background-color: #fff;
    box-shadow: 0 -5px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.navigationBox .navItem {
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.navigationBox .navItem .icons {
    margin-bottom: 5px;
}

.navigationBox .navItem .icons .icon-two {
    display: none;
}

.navigationBox .navItem.active .icons .icon-two {
    display: block;
}

.navigationBox .navItem.active .icons .icon-one {
    display: none;
}

.navigationBox .navItem.active {
    color: var(--primary);
    font-weight: bold;
}

.carItem {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
    margin: 16px auto;
}

.carItem .image {
    width: 100px;
    height: 100px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    z-index: 1;
}

.carItem img {
    width: 80%;
}

.carItem .image::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--primary),
        var(--dark),
        var(--primary)
    );
    opacity: 0;
    transition: 0.3s;
    animation: rotateBorder 0.5s linear infinite;
    z-index: -2;
}

/* لایه سفید داخلی برای جلوگیری از تداخل */
.carItem .image::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: #fff;
    border-radius: 50%;
    z-index: -1;
}

.carItem:hover .image::before {
    opacity: 1;
}

.carItem .image img {
    width: 80%;
    height: auto;
    position: relative;
    z-index: 2;
    border-radius: 20px;
}

@keyframes rotateBorder {
    100% {
        transform: rotate(360deg);
    }
}


.topTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topTitle .title .circle {
    width: 20px;
    height: 20px;
    border-radius: 50px;
    margin-left: 8px;
    background: var(--linear);
    display: inline-block;
}

.topTitle .title {
    font-size: 24px;
    font-weight: 500;
    color: var(--dark);
}

.topTitle .title .description {
    font-size: 15px;
    color: var(--gray);
    font-weight: 400;
}

.arrows {
    display: flex;
    align-items: center;
    gap: 0;
}

.seeMore {
    background-size: 300% 100%;
}

.seeMore:hover {
    animation: moveBg 1.2s linear infinite;
}

.arrows i {
    font-size: 18px;
    opacity: 0.2;
    transform: translateX(0);
    animation: arrowFlow 1.2s infinite;
}

/* تاخیر هر فلش */
.arrows i:nth-child(2) {
    animation-delay: 0.2s;
}

.arrows i:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes moveBg {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}

@keyframes arrowFlow {

    0% {
        opacity: 0.1;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(4px);
    }

    100% {
        opacity: 0.1;
        transform: translateX(0);
    }

}


/*--productBox--*/
.productList .productBox .addToCart {
    width: 170px;
}

.productList .productBox .productImage {
    margin-bottom: 0;
}

.productBox .report .dropdown-toggle:after {
    content: unset;
}

.productBox .report .dropdown-toggle {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -9px;
    top: -45px;
    background-color: unset;
    border: 1px solid var(--border);
}

.newProducts .productBox .report .dropdown-toggle {
    right: -5px;
    top: 10px;
}

.newProducts .productBox .report .dropdown-item img {
    width: 18px;
}

.newProducts .productBox .report .dropdown-item {
    display: flex;
    align-items: center;
}

.productList .productBox {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /*height: 110px;*/
    margin-bottom: 16px;
    padding: 15px;
    overflow: unset;
    position: relative;
}

.productList .productDetails {
    position: unset !important;
    display: flex;
    align-items: center;
}

.productList .productBox .productDetails .badge {
    border-radius: 20px !important;
}

.productList .productBox .details .items {
    width: max-content;
}

.productList .productBox .productImage {
    width: 70px;
    height: 70px;
}

.productList .productBox .productImage .productImage img {
    width: 100%;
}

.productBox {
    padding: 22px 15px 15px 15px;
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
    margin: 0 auto 24px auto;
    position: relative;
}

.productBox .productDetails {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.productBox .productDetails .badge {
    width: calc(50% - 2px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--dark);
    font-size: 14px;
    font-weight: normal;
    height: 22px;
    border-radius: 0;
}

.productBox .productImage {
    width: 100%;
    height: 160px;
    display: block;
    margin-bottom: 8px;
}

.productBox .productImage img {
    width: 95%;
    object-fit: scale-down;
    height: 95%;
    margin: 5px auto;
    display: block;
}

.productBox .details .name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-size: 14px;
    color: var(--dark);
}

.productBox .details .items {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 4px auto;
    width: 100%;
}

.productBox .details .items li {
    padding: 4px;
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

.productBox .pricePlace {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    position: relative;
    padding-left: 20px;
}

.productBox .pricePlace .price {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary);
}

.productBox .pricePlace .price span {
    font-size: 14px;
    font-weight: normal;
    color: var(--gray);
    position: absolute;
    transform: rotateZ(90deg);
    left: -5px;
    top: 2px;
}

.btn-outline-dark {
    border-color: var(--border);;
}

.addToCart .btn-outline-dark {
    width: 100%;
    /*margin-top: 16px;*/
    padding: 14px;
}

.addToCart.disabled {
    opacity: 0.3;
}

.productBox {
    transition: .25s;
}

/* وقتی داخل سبد است */
.productBox.is-in-cart {
    border-color: var(--primary);
    box-shadow: -10px 10px 6px rgba(0, 0, 0, 0.15);
}

/* حالت خطا */
.productBox.is-error {

}

.notyf .la-exclamation-circle {
    font-size: 28px;
    color: #fff !important;
}

.notyf__icon {

    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brandBox {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 10px auto;
    transition: all 0.2s;
}

.brandBox img {
    height: 75px;
    margin-bottom: 16px;
}

.brandBox .name {
    color: var(--dark);
}

.brandBox:hover {
    border-color: var(--primary);
    box-shadow: -10px 10px 6px rgba(0, 0, 0, 0.15);
    box-sizing: initial;
}

.swal2-actions {
    flex-direction: row-reverse;
}

#notifications .modal-content {
    background: url("../img/notifBg.jpg");
    background-size: cover;
    border-radius: 20px;
    border: unset;
}

.breadcrumb {
    padding: 24px 0;
}

.breadcrumb .items {
    display: flex;
    align-items: center;
    color: var(--gray);
}

.breadcrumb .items .link {
    cursor: pointer;
    color: var(--dark);
}

.breadcrumb .items .link:hover {
    cursor: pointer;
    color: var(--primary);
}

.breadcrumb .items .la {
    padding: 0 10px;
}

.sidebar {
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 40px;
    position: sticky;
    top: 10px;
}

.sidebar .topTitle .title {
    font-size: 20px;
}

.sidebar .topTitle .removeFilter {
    color: #2860E6;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    position: relative;
}

.sidebar .topTitle .removeFilter .la {
    transform: translateX(-10px);
    transition: all 0.2s;
    opacity: 0;
}

.sidebar .topTitle .removeFilter:hover {
    color: var(--primary);
    cursor: pointer;
}

.sidebar .topTitle .removeFilter:hover .la {
    transform: translateX(0px);
    opacity: 1;
}

.sidebar .topTitle {
    margin-bottom: 24px;
}

.sidebar .searchBox, .sidebar .searchItems {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.sidebar .searchItems {
    border-bottom: unset;
    margin-bottom: 0;
}

.sidebar .searchBox .form-control, .sidebar .searchItems .form-control {
    padding: 20px;
}

.sidebar .searchBox .form-control::placeholder, .sidebar .searchItems .form-control::placeholder {
    color: #AFAFAF;
}

.sidebar .searchBox label, .sidebar .searchItems label {
    position: absolute;
    left: 20px;
    top: 18px;
    font-size: 26px;
    transform: rotateY(180deg);
    color: #2F2F2F;
}

@media only screen and (max-width: 920px) {
    .sidebar .searchBox {
        border-bottom: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

.sidebar .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar .title .name {
    font-size: 16px;
}

.sidebar .title .la {
    font-size: 20px;
}

.sidebar .filterItems {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.sidebar .category .title:hover {
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar .searchItems {
    margin-top: 20px;

}

.sidebar .items {
    max-height: 300px;
    overflow: auto;
    padding-left: 15px;
    margin-left: -15px;
    overflow-x: hidden;
}

.sidebar .searchItems label {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray);
    border-radius: 100%;
    top: 21px;
    transition: all 0.2s;
}

.sidebar .searchItems label:hover {
    background-color: var(--primary);
    cursor: pointer;
    color: #fff;
}

.sidebar .searchItems label .la {
    font-size: 14px;
}

.sidebar .items .form-check-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
}

.sidebar .items .form-check-label span:last-child {
    font-size: 13px;
    color: var(--gray);
}

.form-check-input {
    width: 1.5em;
    height: 1.5em;
    margin-top: 0;
    margin-left: 15px;
    border: 2px solid #2F2F2F;
    border-radius: 5px !important;

}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);

}

.sidebar .itemsBox {
    display: none;
}

@media only screen and (max-width: 992px) {
    .sidebar {
        /*position: fixed;*/
        /*right: 0;*/
        /*top: 0;*/
        /*z-index: 1000;*/
        /*background-color: #fff;*/
    }
}

.rotate {
    transform: rotateX(180deg);
}

.form-switch .form-check-input {
    border-radius: 50px !important;
    float: left;
    margin-left: 0;
}

.form-switch {
    padding-right: 0;
}

.productBox .abc {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media only screen and (max-width: 1200px) {
    .productBox .abc {
        width: 100%;
        margin-top: 24px;
    }
}

.glightbox-clean .gslide-desc {
    font-family: 'yekanBakh';
    width: 100%;
    text-align: justify;
    line-height: 25px;
    font-size: 14px;
}

.glightbox-clean .gslide-title {
    font-family: 'yekanBakh';
    font-size: 16px;
    font-weight: 600;
    margin-bottom: auto;
    color: var(--dark);
}

.page-link {
    padding: 15px;
    color: var(--dark);
}

.active > .page-link, .page-link.active {
    background-color: var(--primary);
    border-color: var(--primary);
}

.sidebar .cartItems .item .title {

}

.sidebar .cartItems .item .subtitle {
    color: var(--gray);
}

.sidebar .cartItems .item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
}

.sidebar .cartItems .item:last-child {
    border-bottom: unset;
    margin-bottom: 24px;
}

.cartPrice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    padding: 15px;
    position: relative;
    background-color: #FFF;
    /*border: 2px solid var(--primary);*/
    /*box-shadow: -8px 8px 3px rgba(0,0,0,0.2);*/
    /*background: linear-gradient(135deg, #1a1a2e, #16213e);*/
}

.cartPrice::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(
        30deg,
        #ff006e,
        #8338ec,
        #0062ff,
        #00f5d4,
        #ff006e,
        #ff6100,
        #3a86ff,
        #34c055,
        #ff006e
    );

    background-size: 200% 200%;
    border-radius: 14px;
    z-index: -1;
    animation: gradientRotate 3s linear infinite;
}

/*.cartPrice::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    inset: 1px;*/
/*    background: #1a1a2e;*/
/*    border-radius: 14px;*/
/*    z-index: -1;*/
/*}*/

@keyframes gradientRotate {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.cartPrice:after {
    content: "";
    height: 10px;
    width: calc(100% + 44px);
    background-color: var(--primary);
    position: absolute;
    left: -22px;
    z-index: -2;
}

.cartPrice .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cartPrice .item .title {
    font-size: 18px;
    color: var(--primary);
    font-weight: bold;
}

.cartPrice .item .title span {
    font-size: 14px;
    color: var(--gray);
    margin-right: 4px;
    font-weight: 500;
}

.cartPrice .item .subtitle span {
    font-size: 16px;
    color: var(--primary);
    font-weight: bold;
}

.sidebar .description b {
    color: var(--dark);
}

.sidebar .description {
    line-height: 30px;
    margin: 24px auto 0 auto;
    color: var(--gray);
}

.sidebar .cartFooter .totalPrice {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar .cartFooter {
    background-image: url("../img/cartbg.png");
    border-radius: 0 0 14px 14px;
}

.sidebar .cartFooter .totalPrice .title {
    font-size: 16px;
    color: var(--dark);
    font-weight: 500;
}

.sidebar .cartFooter .totalPrice {
    padding: 0 0 15px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.sidebar .cartFooter .totalPrice .subtitle {
    font-size: 20px;
    color: var(--primary);
    font-weight: 500;
}

.wayBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--border);
    margin-bottom: 8px;
}

.wayBox .form-check-input {
    margin: 16px 0 0 0;
}

.paymentWay {
    display: flex;
}

.paymentWay .form-check {
    padding: 0;
    margin: 0;
    text-align: center;
}


/*-------------------------------------userPanel-------------------------------------*/
.userPanelSidebar {
    padding: 30px 20px;
}

.userPanelSidebar .top {
    display: flex;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.userPanelSidebar .top .userImage {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    overflow: hidden;
    margin-left: 10px;
}

.userPanelSidebar .top .userImage img {
    width: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.userPanelSidebar .top .userDetails {
    display: flex;
    flex-direction: column;
}

.userPanelSidebar .top .userDetails .name {
    margin-bottom: 5px;
    font-weight: 600;
}

.userPanelSidebar .top .userDetails .phoneNumber {
    direction: ltr;
}

.userPanelSidebar .panelMenu .item.disabled {
    opacity: 0.5;
}

.userPanelSidebar .panelMenu .item {
    position: relative;
}

.userPanelSidebar .panelMenu .item.logOut .item-link {
    color: var(--danger);
}

.userPanelSidebar .panelMenu .item.active:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(to left, #FF5E2B10, #FF5E2B00);
    right: -20px;
    top: 0;
}

.userPanelSidebar .panelMenu .item.active .item-link {
    color: var(--secondary);
}

.userPanelSidebar .panelMenu .item.active img:first-child {
    filter: invert(48%) sepia(79%) saturate(2864%) hue-rotate(342deg) brightness(101%) contrast(101%);
}

.userPanelSidebar .panelMenu {
    padding-top: 40px;
}

.userPanelSidebar .panelMenu .item-link {
    padding: 13px 0;
    display: flex;
    align-items: center;
    color: var(--dark);
    transition: all 0.3s;
    position: relative;
    z-index: 10;
}

.userPanelSidebar .panelMenu .item-link:hover {
    color: var(--secondary);
}

.userPanelSidebar .panelMenu .item.disabled .item-link:hover {
    color: var(--dark);
    cursor: default;
}

.panelTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light);
}

.userPanel .btn {
    padding: 10px 15px;
}

.userPanel .btn-outline-light {
    display: flex;
    align-items: center;
}

.userPanel .btn i {
    font-size: 24px;
    margin-left: 5px;
}

.userPanel table {
    vertical-align: center;
    font-size: 15px;
}

.userPanel table .badge {
    margin: 0;
}

.userPanel .badge {
    border-radius: 0;
}

.glightbox-clean .gslide-desc {
    font-family: "yekan";
    width: 100%;
    text-align: justify;
    line-height: 25px;
    font-size: 14px;
}

.glightbox-clean .gslide-title {
    font-family: "yekan";
    font-size: 16px;
    font-weight: 600;
    margin-bottom: auto;
    color: var(--dark);
}

.empty {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin: 24px auto;
    color: #2B2A29;
    font-size: 24px;
    text-align: center;
}

.empty img {
    max-width: 350px;
    width: 90%;
    margin: 10px auto;
}

@media only screen and (max-width: 992px) {
    .empty {
        margin: 16px auto;
        font-size: 18px;
    }

    .empty img {
        max-width: 250px;
    }
}

.productList .productBox .bottomDetails .productDetails {
    position: unset !important;
    width: max-content;
}

.productList .productBox .bottomDetails {
    position: absolute;
    width: 100%;
    height: 35px;
    bottom: 0;
    right: 0;
    background-color: #e6e6e6;
    /*color: #fff;*/
    padding: 5px 20px;
    border-radius: 0 0 9px 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.productList .productBox {

    padding-bottom: 45px;

}

.productList .productBox .details .name {
    margin-bottom: 0 !important;
}

.productList .productBox .history {
    padding: 3px 8px;
    background: linear-gradient(-45deg, #8408d6, #c50418, #338aff, #ffd600);
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    background-size: 600%;
    animation: anime 5s linear infinite;
    display: block;
    width: max-content;
}

@keyframes anime {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
