@font-face {
    font-family: 'fontawesome';
    src: url('/Fonts/Fontawesome/fontawesome.eot?#') format('eot'), url('/Fonts/Fontawesome/fontawesome.woff') format('woff'), url('/Fonts/Fontawesome/fontawesome.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'WooCommerce';
    src: url('/Fonts/WooCommerce/WooCommerce.eot?#') format('eot'), url('/Fonts/WooCommerce/WooCommerce.woff') format('woff'), url('/Fonts/WooCommerce/WooCommerce.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DiodrumArabic_Medium';
    src: url('/Fonts/DiodrumArabic_Medium/DiodrumArabic_Medium.eot?#') format('eot'), url('/Fonts/DiodrumArabic_Medium/DiodrumArabic_Medium.woff') format('woff'), url('/Fonts/DiodrumArabic_Medium/DiodrumArabic_Medium.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}



/*********** CSS RESET **********/


* {
    margin: 0;
    outline: none;
    padding: 0;
    text-decoration: none;
}

    *, *:before, *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

html {
    margin: 0;
    -webkit-text-size-adjust: none;
}

body {
    font-family: DiodrumArabic_Medium !important;
    line-height: 1.8;
}

ol, ul {
    list-style: none;
}

a {
    text-decoration: none !important;
}

    a img {
        border: none;
    }

    a:active {
        outline: none;
    }

input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
    margin: 0;
    border: 0;
    padding: 0;
}

input[type="button"],
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
}

.btn {
    border-radius: 50rem;
}

input:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0 1000px #fff;
}

script {
    display: none !important;
}

.footer {
    background-color: #f5f5f5;
}

.master-wrapper-content {
    min-height: 700px;
    padding: 10px 0;
}

.inputs {
    display: flex;
    margin: 1rem 0;
    align-items: center;
}

    .inputs label {
        white-space: nowrap;
        padding-left:10px;
    }

.required {
    color: red;
}

.add-to-wishlist-button {
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
}

.btn-primary {
    color: #fff;
    background-color: #4974a5;
    border-color: #4974a5;
}

    .btn-check:active + .btn-primary, .btn-check:checked + .btn-primary, .btn-primary.active, .btn-primary:active, .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: #A4B9D2;
        border-color: #A4B9D2;
    }

    .btn-primary:hover {
        color: #fff;
        background-color: #6D8FB7;
        border-color: #6D8FB7;
    }

    .btn-check:focus + .btn-primary, .btn-primary:focus {
        color: #fff;
        background-color: #335173;
        border-color: #335173;
        box-shadow: 0 0 0 0.25rem rgb(200 213 228 / 50%);
    }

    .btn-check:active + .btn-primary:focus, .btn-check:checked + .btn-primary:focus, .btn-primary.active:focus, .btn-primary:active:focus, .show > .btn-primary.dropdown-toggle:focus {
        box-shadow: 0 0 0 0.25rem rgb(200 213 228 / 50%);
    }

.separator.green {
    content: "";
    color: #a6cf45;
    border: 3px solid #a6cf45;
    width: 1px;
    height: 100%;
    padding: 0;
    border-radius: 10px;
}

.border-green {
    border: 4px solid #a6cf45;
    border-radius: 25px;
    padding: 5px;
}

.star-rating {
    width: 90px;
}

.input-group-quantity {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid var(--bs-gray-400);
    padding: 0 7px;
    border-radius: 7px;
    max-width: 90px;
    min-width: 70px;
}

    .input-group-quantity .quantity {
        text-align: center;
    }

        .input-group-quantity .quantity:focus, .input-group-quantity .quantit:active {
            box-shadow: none;
        }

    .input-group-quantity input {
        pointer-events: none;
    }

.table tr td {
    display: table-cell;
    vertical-align: middle;
}
/* #region CARD */
.card.custom {
    border: none !important;
}

    .card.custom .card-body {
        border: 1px solid #a6cf45;
        border-radius: 10px;
        margin: 5px 0 0 0;
    }

    .card.custom .card-header {
        background-color: #a6cf45;
        border-radius: 5px !important;
    }

    .card.custom .buttons {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .card.custom .inputs {
        display: flex;
        margin: 10px 0;
    }
/* #endregion*/
/* #region HEADER */
.admin-header-links {
    background-color: #333;
    text-align: center;
    color: #eee;
}

    .admin-header-links * {
        display: inline-block;
        margin: 0 10px;
        line-height: 35px;
        font-size: 12px;
        font-weight: bold;
    }

    .admin-header-links .impersonate {
        display: inline-block;
    }

        .admin-header-links .impersonate a {
            background-color: #555;
            padding: 0 15px;
        }

            .admin-header-links .impersonate a:hover {
                background-color: #666;
            }

.logo img {
    max-width: 150px;
}

.logo h1 {
    display: none;
}

.ico-cart {
    color: #a6cf45;
}

    .ico-cart i {
        font-size: 1.8em;
    }

        .ico-cart i:hover {
            color: black;
        }

.cart-qty-wrapper {
    position: absolute;
    top: -5px;
    left: 60%;
    background: #000;
    border-radius: 45%;
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 20px;
    height: 20px;
    text-align: center;
    justify-content: center;
    color: white;
}
/* #endregion*/
/* #region TOPMENU */
.top-menu {
    background-color: #a6cf45;
    color: white;
    border-radius: 5px;
}

    .top-menu .nav-link {
        color: white;
    }

    .top-menu .nav-item {
        display: flex;
        align-items: center;
    }

        .top-menu .nav-item a {
            color: black;
            font-weight: bold;
            padding-top: 0;
        }

            .top-menu .nav-item a:hover {
                color: white;
            }

    .top-menu .nav-link.separator {
        content: "";
        color: white;
        border: 3px solid white;
        width: 1px;
        height: 70%;
        padding: 0;
        border-radius: 10px;
    }

    .top-menu .navbar-nav {
        margin: 0 auto;
    }
/* #endregion*/
/* #region SEARBOX */
.search-box-container {
    border: 4px solid #a6cf45;
    border-radius: 25px;
    padding: 5px;
}

    .search-box-container input[type=text] {
        border: none;
        padding: 0 40px 0 10px;
        height: 30px;
    }

#searchButton {
    border: none;
    background: transparent;
    padding: 0 11px;
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
}

.fa-search {
    color: #a6cf45;
}
/* #endregion*/
.form-control:focus {
    box-shadow: none;
}

.befor {
    width: 40px;
    height: 20px;
    border-right: 5px solid white;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top: 5px solid white;
    border-bottom: 5px solid white;
}

.after {
    width: 40px;
    height: 20px;
    border-left: 5px solid white;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border-top: 5px solid white;
    border-bottom: 5px solid white;
}
/* #region NOTIFICATIONS & POPUPS */
.bar-notification {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    padding: 15px 10px 15px 25px;
    line-height: 16px;
    color: #fff;
    opacity: 0.95;
}

    .bar-notification.success {
        background-color: #4bb07a;
    }

    .bar-notification.error {
        background-color: #e4444c;
    }

    .bar-notification .content {
        margin: 0 0 0 10px;
    }

        .bar-notification .content a {
            color: #fff;
            text-decoration: underline;
        }

    .bar-notification .close {
        position: absolute;
        top: 0;
        left: 0;
        width: 32px;
        height: 32px;
        margin: 7px;
        background: #fff url('../images/close.png') center no-repeat;
        cursor: pointer;
    }
/* #endregion */
/* checkout */
.checkout #newaddress-container {
    display: none;
}

.checkout .accordion-button::after {
    margin-left: 0;
}
/* SEARCHPAGE */
.search-page .item-box .card {
    min-height: 477px;
}

.item-box img {
    width: 100%;
    max-height: 300px;
}

/* #region GROUPNAVIGATION */
.product-categories, .product-categories .cat-item {
    position: relative;
    padding: 3px 0;
    border-bottom: 1px solid #f1f1f1;
    list-style: none;
}

    .product-categories .cat-item:last-child {
        border-bottom: none;
    }

    .product-categories a, .product-categories ul li a {
        margin-right: 25px;
    }

    .product-categories .close {
        font-family: "FontAwesome";
        position: absolute;
        right: 0;
        top: 2px;
        cursor: pointer;
    }

        .product-categories .close:before {
            content: "\f0fe";
        }

        .product-categories .close.expanded:before {
            content: "\f146";
        }
/* #endregion GROUPNAVIGATION */

/* #region OWLCAROUSEL */
.owl-carousel-wrapper {
}

    .owl-carousel-wrapper .title {
        background-color: #a6cf45;
        color: white;
        padding: 10px 0;
        border-radius: 5px;
    }

        .owl-carousel-wrapper .title > * {
            margin: 0 10px;
        }

        .owl-carousel-wrapper .title a {
            color: white;
        }

.owl-nav i {
    color: #a6cf45 !important;
    font-size: 2em !important;
    border: none !important;
}

    .owl-nav i:active, .owl-nav i:hover {
        color: #ff5252 !important;
    }

.owl-carousel .owl-stage-outer {
    padding: 0 1px;
}

.owl-carousel {
    display: none;
    width: 100%;
    position: relative;
    direction: ltr !important;
}

    .owl-carousel .owl-item {
        direction: rtl;
    }

        .owl-carousel .owl-item .thumbnail {
            min-height: 470px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

            .owl-carousel .owl-item .thumbnail .old-price {
                color: red;
                text-decoration: line-through;
            }

            .owl-carousel .owl-item .thumbnail .price {
            }

        .owl-carousel .owl-item .caption a.book_link_title {
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
            display: block;
        }

    .owl-carousel .owl-stage {
        position: relative;
        -ms-touch-action: pan-Y;
        -moz-backface-visibility: hidden
    }

        .owl-carousel .owl-stage:after {
            content: ".";
            display: block;
            line-height: 0;
            height: 0
        }

    .owl-carousel .owl-stage-outer {
        position: relative;
        overflow: hidden
    }

    .owl-carousel .owl-item, .owl-carousel .owl-wrapper {
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        -webkit-transform: translate3d(0,0,0);
        -moz-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0)
    }

    .owl-carousel .owl-item {
        position: relative;
        min-height: 1px;
        float: left;
        -webkit-backface-visibility: hidden
    }

    .owl-carousel .owl-dots.disabled, .owl-carousel .owl-nav.disabled {
        display: none
    }

    .no-js .owl-carousel, .owl-carousel.owl-loaded {
        display: block
    }

    .owl-carousel .owl-dot, .owl-carousel .owl-nav .owl-next, .owl-carousel .owl-nav .owl-prev {
        cursor: pointer;
        cursor: hand;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none
    }

    .owl-carousel.owl-loading {
        opacity: 0;
        display: block
    }

    .owl-carousel.owl-hidden {
        opacity: 0
    }

    .owl-carousel.owl-drag .owl-item {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none
    }

    .owl-carousel.owl-grab {
        cursor: move;
        cursor: grab
    }

    .owl-carousel.owl-rtl {
        direction: rtl
    }

        .owl-carousel.owl-rtl .owl-item {
            float: right
        }

    .owl-carousel .animated {
        animation-duration: 1s;
        animation-fill-mode: both
    }

    .owl-carousel .owl-animated-in {
        z-index: 0
    }

    .owl-carousel .owl-animated-out {
        z-index: 1
    }

    .owl-carousel .fadeOut {
        animation-name: fadeOut
    }

@keyframes fadeOut {
    0% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

.owl-height {
    transition: height .5s ease-in-out
}

.owl-carousel .owl-item .owl-lazy {
    opacity: 0;
    transition: opacity .4s ease
}

.owl-carousel .owl-item img.owl-lazy {
    transform-style: preserve-3d
}

.owl-carousel .owl-item img {
    max-height: 300px;
}

.owl-carousel .owl-video-wrapper {
    position: relative;
    height: 100%;
    background: #000
}

.owl-carousel .owl-video-play-icon {
    position: absolute;
    height: 80px;
    width: 80px;
    left: 50%;
    top: 50%;
    margin-left: -40px;
    margin-top: -40px;
    background: url(owl.video.play.png) no-repeat;
    cursor: pointer;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    transition: transform .1s ease
}

    .owl-carousel .owl-video-play-icon:hover {
        -ms-transform: scale(1.3,1.3);
        transform: scale(1.3,1.3)
    }

.owl-carousel .owl-video-playing .owl-video-play-icon, .owl-carousel .owl-video-playing .owl-video-tn {
    display: none
}

.owl-carousel .owl-video-tn {
    opacity: 0;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: opacity .4s ease
}

.owl-carousel .owl-video-frame {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%
}

.owl-carousel .owl-next, .owl-carousel .owl-prev {
    position: absolute;
    display: inline-block;
    top: 43%
}

.tm-category-panel .tm-category-panel-menu > li, .tm-search-block .tm-list-toggle {
    position: relative
}

.owl-carousel .owl-next {
    left: 15px
}

.owl-carousel .owl-prev {
    right: 15px
}

    .owl-carousel .owl-next.disabled, .owl-carousel .owl-prev.disabled {
        display: none
    }

.owl-nav i {
    display: inline-block;
    width: 46px;
    height: 46px;
    line-height: 46px;
    font-size: 20px;
    color: #d6d6d6;
    border-radius: 50%;
    text-align: center;
    background: #fff;
    border: 1px solid #d6d6d6
}

    .owl-nav i:active, .owl-nav i:hover {
        color: #ff5252
    }
/* #endregion OWLCAROUSEL */


/* #region PRODUCT DETAILS */
.book-detail .description ul li .first {
    background-color: #fafafa;
    padding: 5px 10px;
    margin: 10px 10px;
}

.book-detail .description ul li .old-price {
    text-decoration: line-through;
    color: red;
}

.book-detail .description ul li .last {
    background-color: #f0f8ff;
    padding: 5px 10px;
    margin: 10px 10px;
}

.book-detail .description .buttons .btnAddToCart {
    float: right;
}

.book-detail .image-wrapper img {
    width: 100%;
}

.book-detail ul li {
    display: flex;
    width: 100%;
    min-height: 25px;
}

#review_form {
    margin: 30px 0;
    padding: 40px;
    background-color: #f5f5f5;
}

.parent-img-container {
    display: flex;
    margin: 20px 0;
}
/* #endregion */
/* NIVOSLIDER */
.theme-custom .nivo-controlNav {
    bottom: -54px !important;
}

    .theme-custom .nivo-controlNav a {
        box-shadow: 0 0 1px 0 rgba(0,0,0,0.8) !important;
    }
/* SHIPMENTTIME */
.shipment-time {
    width: 100% !important;
}
/* #region ajaxloader */
.ajaxloader {
    margin: 0 auto;
    height: 50px;
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 99999;
}

    .ajaxloader .x-rtl {
        direction: rtl;
    }

    .ajaxloader .inner {
        border: 5px solid rgba(150, 210, 29, 0.9);
        opacity: 0.9;
        border-left-color: transparent;
        border-right-color: transparent;
        border-radius: 50%;
        width: 27px;
        height: 27px;
        position: relative;
        top: -36px;
        margin: 0 auto;
        -webkit-animation: spin-right 1s linear infinite normal;
        -moz-animation: spin-right 1s linear infinite normal;
        -ms-animation: spin-right 1s linear infinite normal;
        animation: spin-right 1s linear infinite normal;
        -webkit-animation-delay: 0;
        -moz-animation-delay: 0;
        -o-animation-delay: 0;
        animation-delay: 0;
    }

    .ajaxloader .outer {
        border: 5px solid rgba(150, 210, 29, 0.9);
        opacity: 0.9;
        border-right-color: transparent;
        border-left-color: transparent;
        width: 44px;
        height: 44px;
        margin: 0 auto;
        border-radius: 50%;
        -webkit-animation: spin-pulse 1s linear infinite normal;
        -moz-animation: spin-pulse 1s linear infinite normal;
        -ms-animation: spin-pulse 1s linear infinite normal;
        animation: spin-pulse 1s linear infinite normal;
        -webkit-animation-delay: 0;
        -moz-animation-delay: 0;
        -o-animation-delay: 0;
        animation-delay: 0;
    }

@-moz-keyframes spin-right {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin-right {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin-right {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@-moz-keyframes spin-pulse {
    from {
        -moz-transform: rotate(360deg);
    }

    to {
        -moz-transform: rotate(0deg);
    }
}

@-webkit-keyframes spin-pulse {
    from {
        -webkit-transform: rotate(360deg);
    }

    to {
        -webkit-transform: rotate(0deg);
    }
}

@keyframes spin-pulse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* #endregion */

/* checkout */

.checkout #newaddress-container {
    display: none;
}

.checkout .accordion-button::after {
    margin-left: 0;
}

.number {
    font-family: IRANSans_FaNum !important;
}
/* product review */
.woocommerce p.stars a {
    position: relative;
    height: 2em;
    width: 1.5em;
    text-indent: -999em;
    display: inline-block;
    text-decoration: none
}

    .woocommerce p.stars a::before {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 2em;
        height: 2em;
        line-height: 1;
        font-family: WooCommerce;
        font-size: 1.7em;
        content: '\e021';
        text-indent: 0
    }

    .woocommerce p.stars a:hover ~ a::before {
        content: '\e021'
    }

.woocommerce p.stars:hover a::before {
    content: '\e020'
}

.woocommerce p.stars.selected a.active::before {
    content: '\e020'
}

.woocommerce p.stars.selected a.active ~ a::before {
    content: '\e021'
}

.woocommerce p.stars.selected a:not(.active)::before {
    content: '\e020'
}

#review_form_wrapper .comment-form .stars a {
    border: none;
    color: #fed700;
    line-height: 14px
}

    #review_form_wrapper .comment-form .stars a:after {
        color: #afafaf;
        font-family: FontAwesome;
        font-weight: 400
    }

    #review_form_wrapper .comment-form .stars a.star-1:after {
        content: '\f006'
    }

    #review_form_wrapper .comment-form .stars a.star-2:after {
        content: '\f006\f006'
    }

    #review_form_wrapper .comment-form .stars a.star-3:after {
        content: '\f006\f006\f006'
    }

    #review_form_wrapper .comment-form .stars a.star-4:after {
        content: '\f006\f006\f006\f006'
    }

    #review_form_wrapper .comment-form .stars a.star-5:after {
        content: '\f006\f006\f006\f006\f006'
    }

    #review_form_wrapper .comment-form .stars a.active:after,
    #review_form_wrapper .comment-form .stars a:hover:after {
        color: #fed700
    }
/* FOOTER */
.footer .title {
    border-bottom: 1px solid #fff;
    padding: 10px 0;
    font-weight: bold;
    font-size: 1.2em;
}

.footer ul {
    padding: 0;
}

    .footer ul li {
        padding: 5px 0;
    }
/* follow-us */
.follow-us {
    text-align: center;
}

    .follow-us .title {
        margin: 0 0 10px;
        background: none;
        cursor: auto;
    }

    .follow-us .social ul {
        margin: 0 0 30px;
        /*border-bottom: 1px solid #ddd;*/
        padding: 0 0 30px;
        font-size: 0;
    }

    .follow-us .social li {
        display: inline-block;
        margin: 0 5px;
    }

    .follow-us .social a {
        display: block;
        width: 38px;
        height: 38px;
        background: url('../images/social-sprite.png') no-repeat;
        font-size: 0;
    }

    .follow-us .social .enamad a, .follow-us .social .samandehi a {
        width: auto;
        height: auto;
        background: transparent;
    }

    .follow-us .social .facebook a {
        background-position: 0 0;
    }

    .follow-us .social .twitter a {
        background-position: -38px 0;
    }

    .follow-us .social .rss a {
        background-position: -76px 0;
    }

    .follow-us .social .youtube a {
        background-position: -114px 0;
    }

    .follow-us .social .google-plus a {
        background-position: -152px 0;
    }

    .follow-us .social .instagram a {
        background-position: -228px 0;
    }

    .follow-us .social .telegram a {
        background-position: -190px 0;
    }

/*#region comments */
.commentlist .comment {
    border-bottom: 1px solid #eee;
    padding: 1rem;
    border-radius: var(--bs-border-radius);
}

    .commentlist .comment:last-child {
        border-bottom: none;
    }

    .commentlist .comment:hover {
        background-color: #eee;
    }

    .commentlist .comment .comment_container > * {
        margin: 1rem 0;
    }

    .commentlist .comment .comment-info, .commentlist .comment .user-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.vote {
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px 12px;
    display: inline-block;
    transition: transform 0.2s ease;
}

    .vote:hover {
        transform: scale(1.2);
    }

    .vote[data-vote="yes"]:hover {
        color: #4CAF50;
    }

    .vote[data-vote="no"]:hover {
        color: #f44336;
    }

    .vote i {
        vertical-align: middle;
    }
/* برای نمایش متن راهنما هنگام هاور */
.vote {
    position: relative;
}

    .vote:hover::after {
        content: attr(data-vote);
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        background: #333;
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        white-space: nowrap;
    }

    .vote[data-vote="yes"]:hover::after {
        content: "موافق";
    }

    .vote[data-vote="no"]:hover::after {
        content: "مخالف";
    }

/*#endregion comments */
/*#region filters */


/*#region price */

.ui-widget {
    font-family: inherit !important;
    font-size: .9rem;
}

.ui-widget-header {
    background: var(--c);
}

.ui-widget-content {
    border: 1px solid transparent;
    background: var(--bs-gray-400);
}

    .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
        border: 1px solid var(--c-light);
        background: var(--c);
        border-radius: 50%;
    }

.price-range-inputs {
    margin: 0 0 2rem 0;
}

    .price-range-inputs .from, .price-range-inputs .to {
        justify-content: space-between;
        width: 100%;
    }

    .price-range-inputs .input-price {
        border: 1px solid #e5e7eb;
        border-radius: 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        background-color: #fff;
    }
/*#endregion price */
.filter-container {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
}

.apply-filter-btn {
    position: sticky;
    bottom: 0;
    color: white;
    padding: 12px;
    text-align: center;
    border: none;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.3);
    z-index: 10;
}

@media only screen and (max-width: 768px) {
    .filter-container {
        margin-bottom: 2rem;
    }
}
/*#endregion filters */
/*#region card */
/* بازنویسی کلاس card در Bootstrap بدون استفاده از box-shadow */
.card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;
    transition: all 0.2s ease-in-out;
}

/* حذف border اضافی در card-header و card-footer */
.card-header,
.card-footer {
    background-color: transparent;
    border-color: rgba(0, 0, 0, 0.05);
}

    .card-header:first-child {
        border-radius: 1.25rem 1.25rem 0 0;
    }

    .card-footer:last-child {
        border-radius: 0 0 1.25rem 1.25rem;
    }

/* تصویر داخل کارت بدون لبه‌های تیز */
.card-img-top {
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
}

.card-img-bottom {
    border-bottom-left-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
}

/* استایل hover برای کارت (بدون سایه) */
.card:hover {
    border-color: rgba(0, 0, 0, 0.15);
}

/* کارت با حاشیه رنگی برای برجسته‌سازی */
.card.border-primary {
    border-color: var(--c) !important;
    border-left: 4px solid var(--c);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.card.border-success {
    border-left: 4px solid #198754;
}

.card.border-danger {
    border-left: 4px solid #dc3545;
}

.card.border-warning {
    border-left: 4px solid #ffc107;
}

.card.border-info {
    border-left: 4px solid #0dcaf0;
}

.card.bg-light-soft {
    background-color: #f8f9fa;
    border-color: #e9ecef;
}

/* گروه کارت‌ها (card group) */
.card-group .card {
    border-radius: 0;
}

    .card-group .card:first-child {
        border-top-left-radius: 1.25rem;
        border-bottom-left-radius: 1.25rem;
    }

    .card-group .card:last-child {
        border-top-right-radius: 1.25rem;
        border-bottom-right-radius: 1.25rem;
    }

/* کارت با فاصله داخلی بیشتر */
.card .card-body {
    padding: 1.5rem;
}

/* عنوان کارت با فونت زیباتر */
.card-title {
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* متن کارت با رنگ ملایم‌تر */
.card-text {
    color: #6c757d;
    line-height: 1.5;
}
/*#endregion card */

/*#region blog and panel */
.blogpost-page .post-head h1 {
    font-size: 1.5rem;
}

.post, .panel {
    width: 100%;
    background-color: #ffffff;
    border-radius: 24px;
    /*box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);*/
    padding: 30px;
    margin: 0 auto 20px auto;
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
    position: relative;
    overflow: hidden;
}

    .post:hover, .panel:hover {
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
    }

.panel-flat {
    padding: 1rem;
}

    .panel-flat:hover {
        transform: none;
        box-shadow: none;
    }

    .panel-flat .panel-title {
        font-size: 1.3rem;
    }

.post-head, .panel-head {
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f4fa;
    padding-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
}

.post-title, .panel-title {
    font-size: 1.2rem;
    padding-bottom: 1rem;
    font-weight: bold;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.5;
    flex: 1 1 auto;
    transition: color 0.2s ease;
    word-break: break-word;
}

    .post-title:hover, .panel-title:hover {
        color: #3b82f6;
    }

.post-date {
    font-size: 0.85rem;
    color: #94a3b8;
    background-color: #f1f5f9;
    padding: 4px 12px;
    border-radius: 50px;
    white-space: nowrap;
    margin-right: 10px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.post-body, .panel-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 25px;
    text-align: justify;
    background-color: #fafcff;
    padding: 20px;
    border-radius: 16px;
    border-right: 4px solid var(--c2);
}

.blog-details {
    margin-top: 20px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

    .buttons > * {
        text-align: center;
    }

    .buttons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.9rem;
        font-weight: 500;
        text-decoration: none;
        border-radius: 50px;
        transition: all 0.25s ease;
        border: 1px solid transparent;
    }

.read-comments {
    background-color: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0 !important;
}

    .read-comments:hover {
        background-color: #e2e8f0;
        color: #1e293b;
        transform: scale(1.02);
    }

.read-more {
    background-color: var(--c2);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--c2-shadow);
}

    .read-more:hover {
        background-color: var(--c2-dark);
        box-shadow: 0 6px 16px var(--c2-shadow);
        transform: translateY(-2px);
        color: white;
    }

@media (max-width: 600px) {
    .post {
        padding: 20px;
    }

    .post-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .post-date {
        margin-right: 0;
        align-self: flex-start;
    }

    .post-body {
        padding: 15px;
        font-size: 0.95rem;
    }

    /*.buttons {
        flex-direction: column;
        align-items: stretch;
    }*/

    .buttons a {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .post-title {
        font-size: 1.2rem;
    }

    .post-body {
        padding: 12px;
    }
}

.zwnj, .post-title, .post-body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/*#endregion blog and panel*/

/*#region checkout page */
/* ============================================
   Checkout Page Custom Styles
   ============================================ */
.checkout {
    margin: 2rem 0;
}

    .checkout .accordion-item .fa-circle-check {
        opacity: 0;
        visibility: hidden;
        transition: all .3s;
    }

    .checkout .accordion-item.active .fa-circle-check {
        opacity: 1;
        visibility: visible;
    }

:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #eef2ff;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #1f2937;
    --gray-color: #6b7280;
    --light-gray: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-soft: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.05);
    --radius-lg: 1rem;
    --radius-md: 0.75rem;
    --radius-sm: 0.5rem;
}

/* Accordion Container */
.checkout .accordion {
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
}

/* Accordion Items - box-shadow ملایم */
.checkout .accordion-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* Accordion Headers */
.checkout .accordion-button {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    background: white;
    color: var(--dark-color);
    border: none;
    box-shadow: none;
    transition: background-color 0.2s ease;
}

    .checkout .accordion-button:not(.collapsed) {
        background: var(--primary-light);
        color: var(--primary-color);
    }

    .checkout .accordion-button:focus {
        box-shadow: none;
        border-color: transparent;
    }

    .checkout .accordion-button:disabled {
        background: var(--light-gray);
        color: var(--gray-color);
        opacity: 0.7;
        cursor: not-allowed;
    }

/* Accordion Body */
.checkout .accordion-body {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid var(--border-color);
}

/* Fieldset Styling */
fieldset {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: white;
}

legend {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    background: white;
    padding: 0 0.75rem;
    width: auto;
    float: none;
    display: inline-block;
    margin-bottom: 0;
    border: none;
}

/* Form Labels */
label.col-form-label {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

/* Form Controls */
.form-select {
    min-height: 36px;
}

.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-size: 0.875rem;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-color);
        outline: none;
    }

    .form-control.border-success {
        border-color: var(--success-color);
        background-color: #ecfdf5;
    }

    .form-control.border-danger {
        border-color: var(--danger-color);
        background-color: #fef2f2;
    }

/* Required Fields */
.required label.col-form-label::after {
    content: "*";
    color: var(--danger-color);
    margin-right: 4px;
}

/* Buttons */
.checkout .btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

    .checkout .btn-primary:hover {
        background-color: var(--primary-dark);
        box-shadow: var(--shadow-soft);
    }

    .checkout .btn-primary:active {
        background-color: var(--primary-dark);
    }

    .checkout .btn-primary:disabled {
        background-color: var(--gray-color);
        opacity: 0.6;
        cursor: not-allowed;
    }

/* ==================== Shipping Options ==================== */
.shipping-options-list {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.shipping-option-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background: white;
    transition: background-color 0.2s ease;
}

    .shipping-option-item:first-child {
        border-top-right-radius: var(--radius-md);
        border-top-left-radius: var(--radius-md);
    }

    .shipping-option-item:last-child {
        border-bottom-right-radius: var(--radius-md);
        border-bottom-left-radius: var(--radius-md);
    }

    .shipping-option-item.active {
        border: 1px solid var(--primary-color);
        background-color: var(--bs-accordion-active-bg);
    }

    .shipping-option-item:hover {
        box-shadow: var(--shadow-soft);
    }

    .shipping-option-item input[type="radio"] {
        width: 1rem;
        height: 1rem;
        accent-color: var(--primary-color);
        cursor: pointer;
    }

/* ==================== Payment Methods ==================== */
.payment-method-list {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.payment-method-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem;
    background: white;
    transition: background-color 0.3s ease;
}

    .payment-method-item:first-child {
        border-top-right-radius: var(--radius-md);
        border-top-left-radius: var(--radius-md);
    }

    .payment-method-item:last-child {
        border-bottom-right-radius: var(--radius-md);
        border-bottom-left-radius: var(--radius-md);
    }

    .payment-method-item.active {
        border: 1px solid var(--primary-color);
        background-color: var(--bs-accordion-active-bg);
        transition: background-color 0.3s ease;
    }

    .payment-method-item:hover {
        box-shadow: var(--shadow-soft);
    }

    .payment-method-item input[type="radio"] {
        width: 1rem;
        height: 1rem;
        accent-color: var(--primary-color);
        cursor: pointer;
    }

/* ==================== Summary Card ==================== */
.checkout .summary-card {
    background: var(--light-gray);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
}

.checkout .summary-row {
    transition: background-color 0.2s ease;
}

    .checkout .summary-row:hover {
        background-color: rgba(79, 70, 229, 0.04);
    }

/* Alert Styling */
.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-md);
    color: #065f46;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

    .alert-success i {
        color: var(--success-color);
        margin-right: 0.5rem;
    }

/* Modal */
.modal-content {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.modal-header {
    background: var(--primary-light);
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
}

.modal-title {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .accordion-body {
        padding: 1rem;
    }

    .accordion-button {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    fieldset {
        padding: 1rem;
    }

    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .shipping-option-item,
    .payment-method-item {
        padding: 0.875rem;
    }

    .summary-card {
        padding: 0.25rem 0.75rem;
    }

    .value {
        flex-direction: column;
        align-items: stretch;
    }

    .copy-btn {
        align-self: flex-end;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .accordion-body {
        padding: 1.25rem;
    }
}

/* RTL Support */
[dir="rtl"] .accordion-button::after {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .alert-success i {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .required label.col-form-label::after {
    margin-right: 0;
    margin-left: 4px;
}

[dir="rtl"] .text-end {
    text-align: left !important;
}

[dir="rtl"] .text-sm-start {
    text-align: right !important;
}

/* Scrollbar (اختیاری - ملایم) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }
/*#endregion checkout page */
/*#region autocomplete searchbox */
.search-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(1px);
    z-index: 999;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#search {
    position: relative;
    z-index: 1000;
    width: 100%;
    display: flex;
}

    #search.search-active {
        position: relative;
        z-index: 1001;
    }



/* ========== autocomplete result style ========== */
.autocomplete-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1002;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.autocomplete-image {
    width: 50px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    margin-left: 15px;
    border: 1px solid #eee;
}
/* scrollbar special */
.autocomplete-results::-webkit-scrollbar {
    width: 5px;
}

.autocomplete-results::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.autocomplete-results::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

    .autocomplete-results::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.4);
    }

.autocomplete-item {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

    .autocomplete-item:last-child {
        border-bottom: none;
    }

    .autocomplete-item i {
        color: #5c5c5c;
    }

.autocomplete-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.autocomplete-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

    .autocomplete-item:hover .autocomplete-link {
        color: white;
    }

    .autocomplete-item:hover .autocomplete-text {
        color: white;
    }

    .autocomplete-item:hover .autocomplete-count {
        color: rgba(255, 255, 255, 0.9);
    }

    .autocomplete-item:hover i {
        color: white;
    }

.autocomplete-item-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

    .autocomplete-item-active .autocomplete-link {
        color: white;
    }

    .autocomplete-item-active .autocomplete-count {
        color: rgba(255, 255, 255, 0.9);
    }

.autocomplete-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

    .autocomplete-info i {
        color: #667eea;
        font-size: 18px;
        transition: all 0.2s ease;
        width: 20px;
    }

.autocomplete-text {
    font-size: 15px;
    font-weight: 500;
    color: #5c5c5c;
}

.autocomplete-count {
    font-size: 13px;
    color: #5c5c5ce0;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.autocomplete-item:hover .autocomplete-count {
    background: rgba(255, 255, 255, 0.2);
}

.search-spinner {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
    z-index: 1002;
}

    .search-spinner.visible {
        display: block;
    }

@keyframes spin {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

@media (max-width: 768px) {
    .autocomplete-results {
        max-height: 300px;
        border-radius: 12px;
    }

    .autocomplete-link {
        padding: 12px 16px;
    }

    .autocomplete-text {
        font-size: 14px;
    }

    .autocomplete-count {
        font-size: 11px;
        padding: 3px 8px;
    }

    .search-box-text {
        padding: 12px 45px 12px 16px;
        font-size: 14px;
    }
}

@media (prefers-color-scheme: dark) {
    .autocomplete-results {
        background: #1e1e1e;
        border: 1px solid #333;
    }

    .autocomplete-link {
        color: #e0e0e0;
    }

    .autocomplete-item {
        border-bottom-color: #333;
    }

    .autocomplete-count {
        background: #2d2d2d;
        color: #aaa;
    }
}

/*#endregion */

/*#region captcha */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
    padding-left: 30px !important;
}

    .btn-loading::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 5px;
        width: 18px;
        height: 18px;
        border: 2px solid transparent;
        border-radius: 50%;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        animation: spin 0.8s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/*#region ********** skeleton & captcha *************/
.captcha-skeleton {
}

.skeleton-header {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-body {
    height: 80px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-footer {
    height: 30px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.captcha-skeleton-body {
    width: 304px;
    height: 78px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.captcha-skeleton.captcha-loaded {
    display: none;
}
/*#endregion captcha */
