

@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;
}


body {
    direction: rtl;
    font-size: 14px;
    text-align: right;
    background-color: #f5f5f5;
    font-family: IRANSans_Enum !important;
}
a{
    text-decoration:none !important;
}
.master-wrapper-content {
    min-height: 400px;
}

.page {
    padding: 20px 0;
}

.clear {
    clear: both;
}

fieldset {
    background-color: #fff;
    padding: 10px;
    margin:2rem 0;
}

    fieldset legend {
        background-color: #fff;
        border: 1px solid #dee2e6;
        width: auto !important;
        font-size: 1.2em;
        padding: 5px;
        box-shadow: 0 2px 3px #f5f5f5;
        margin-top:-1.5rem;
    }

.field-validation-error {
    color: red;
}

.input-group > .input-group-append > .btn, .input-group > .input-group-append > .input-group-text, .input-group > .input-group-prepend:first-child > .btn:not(:first-child), .input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child), .input-group > .input-group-prepend:not(:first-child) > .btn, .input-group > .input-group-prepend:not(:first-child) > .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.product-box-add-to-cart-button {
    text-decoration: none !important;
}

    .product-box-add-to-cart-button:after {
        font-family: fontawesome;
        content: "\f217";
        font-size: 20px;
        color: green;
    }
.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;
    text-align:center;
}

/* ACCOUNT PAGE */
.account-page .card {
    margin: 0 0 20px 0;
}

/* SHOPPING CART PAGE */
.shopping-cart-page .cart-options {
    margin: 20px 0;
}

.shopping-cart-page .cart-footer > div {
    margin: 20px 0;
}

.shopping-cart-page .cart-footer .totals {
    padding: 10px;
}
/*********** 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;
            }

.header {
    background-color: #005baa;
    padding: 0 0 20px 0;
}

.header-logo {
    padding: 10px 0;
    position: relative;
    display:flex;
}

    .header-logo img {
        display: inline-block;
        width: 70px;
    }

    .header-logo .title {
        display: inline-block;
        color: #fff;
        vertical-align: bottom;
        margin: 0 20px 0 0;
    }

    .header-logo .ico {
        display: inline-block;
        color: #fff;
        margin: 0 20px 0 0;
    }

    .header-logo .ico-account, .header-logo .ico-register {
        left: 120px;
    }

    .header-logo .ico-logout, .header-logo .ico-login {
        left: 0;
    }

    .header-logo .ico-wishlist {
        left: 210px;
    }

    .header-logo .ico-cart {
        left: 350px;
    }

.header-links-wrapper {
    position: relative;
}

.header-links {
    position: absolute;
    bottom: 0;
    left: 0;
}

@media only screen and (max-width: 480px) {
    .header-logo .title {
        display: none;
    }

}

/* NAVBAR */
.navbar-light .navbar-nav .nav-link {
    color: #005baa;
}
/* CARD */
.card .inputs{
    display:flex;
    margin:1rem 0;
}
/* CATALOG AJAX */
.products-grid .card {
    min-height: 485px;
    margin: 5px 0;
}

    .products-grid .card .product-title {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        display: block;
    }

    .products-grid .card .card-img-top {
        max-height: 310px;
    }

.products-grid .old-product-price .price-value, .old-price {
    color: red;
    text-decoration: line-through;
}

#sortingcatalogview {
    margin: 10px 0;
}
/* CHECKOUT */
.checkout #newaddress-container {
    display: none;
}

.checkout .accordion-button::after {
    margin-left: 0;
}

/* PAGER */
.pager {
    text-align: center;
    margin: 20px 0;
}

    
/* nivoslider */
@media (min-width: 1001px) {
    .theme-custom {
        margin: 0 !important;
    }
}
/* OWLCAROUSEL */
.owl-carousel-wrapper {
    direction: ltr !important;
    margin: 30px 0;
}

    .owl-carousel-wrapper .owl-title {
        margin: 20px 0;
        display: block;
    }

.owl-carousel {
    display: none;
    width: 100%;
    position: relative;
    z-index: 1
}

    .owl-carousel .owl-item {
        direction: ltr !important;
    }

    .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-item .thumbnail {
            min-height: 470px;
            position: relative;
        }

            .owl-carousel .owl-item .thumbnail .caption {
                position: absolute;
                bottom: 0;
                direction: rtl;
                width: 100%;
            }

                .owl-carousel .owl-item .thumbnail .caption .link-title {
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    overflow: hidden;
                    display: block;
                }

           /*
                .owl-carousel .owl-item .thumbnail .picture img {
                    margin: 10px auto;
                    width: 80% !important;
                }*/

    .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{
    width:80% !important;
    margin:auto;
}
.owl-carousel .owl-item img.owl-lazy {
    transform-style: preserve-3d
}

.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
    }
/* END OWLCAROUSEL */

/* FOOTER */
.footer {
    background-color: #005baa;
    text-align: right;
    direction: rtl;
    line-height: 2em;
    color: white;
    margin: 30px 0 0 0;
}

    .footer .title {
        font-size: 1.7em;
        padding: 15px;
        border-bottom: 1px solid #ccc;
        margin: 0 0 10px 0;
    }

    .footer a {
        color: #fff;
    }

    .footer .footer-lower {
        background-color: #000;
        color: white;
        text-align: center;
        padding: 20px 0;
        margin: 10px 0 0 0;
    }
/* RATINGS */
.star-rating {
    width: 90px !important;
}



/*********** NOTIFICATIONS & POPUPS  ***********/

.noscript {
    border-bottom: 1px solid #333;
    background-color: #ff9;
    padding: 30px 15px;
    text-align: center;
    line-height: 22px;
    color: #444;
}

.ajax-loading-block-window {
    position: fixed;
    top: 50%;
    right: 50%;
    z-index: 999;
    width: 32px;
    height: 32px;
    margin: -16px -16px 0 0;
    background: url('../images/loading.gif') center no-repeat;
}

.please-wait {
    background: url('../images/ajax-loader-small.gif') no-repeat;
    padding-right: 20px;
    font-size: 14px;
}

.ui-dialog {
    max-width: 90%;
    border: 1px solid #ddd;
    box-shadow: 0 0 2px rgba(0,0,0,0.15);
    overflow: hidden;
    background-color: #fff;
    /*override jQuery UI styles, do not delete doubled properties*/
    border-radius: 0;
    padding: 0;
    font: normal 14px Arial, Helvetica, sans-serif;
}

    .ui-dialog:before {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
    }

.ui-dialog-titlebar {
    border-bottom: 1px solid #ddd;
    overflow: hidden;
    background-color: #eee;
    padding: 10px 15px;
    /*override jQuery UI styles, do not delete doubled properties*/
    border-width: 0 0 1px;
    border-radius: 0;
    background-image: none;
    padding: 10px 15px !important;
    font-weight: normal;
    cursor: auto !important;
}

    .ui-dialog-titlebar > span {
        float: right;
        font-size: 18px;
        color: #444;
        /*override jQuery UI styles, do not delete doubled properties*/
        float: right !important;
        margin: 0 !important;
    }

    .ui-dialog-titlebar button {
        position: absolute;
        top: 0;
        left: 0;
        width: 42px;
        height: 42px;
        border: none;
        overflow: hidden;
        background: url('../images/close.png') center no-repeat;
        font-size: 0;
        /*override jQuery UI styles, do not delete doubled properties*/
        top: 0 !important;
        right: auto !important;
        left: 0 !important;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 0;
        background: url('../images/close.png') center no-repeat !important;
        padding: 0 !important;
    }

        .ui-dialog-titlebar button span {
            display: none !important;
        }

.ui-dialog-content {
    height: auto !important;
    padding: 15px;
    line-height: 20px;
    /*override jQuery UI styles, do not delete doubled properties*/
    background-color: #fff !important;
    padding: 15px 15px 20px 15px !important;
    color: #777;
}

    .ui-dialog-content .page {
        min-height: 0;
    }

    .ui-dialog-content .page-title {
        min-height: 0;
        margin: 0 0 15px;
        padding: 0px 10px 10px 10px;
        text-align: center;
    }

        .ui-dialog-content .page-title h1 {
            font-size: 24px;
            line-height: 30px;
        }

    .ui-dialog-content .back-in-stock-subscription-page {
        text-align: center;
    }

        .ui-dialog-content .back-in-stock-subscription-page .tooltip {
            margin-bottom: 10px;
        }

        .ui-dialog-content .back-in-stock-subscription-page .button-1 {
            border: none;
            background-color: #4ab2f1;
            padding: 10px 15px;
            font-size: 15px;
            color: #fff;
            text-transform: uppercase;
        }

            .ui-dialog-content .back-in-stock-subscription-page .button-1:hover {
                background-color: #248ece;
            }

.eu-cookie-bar-notification {
    position: fixed;
    top: 50%;
    right: 50%;
    z-index: 1050;
    width: 320px;
    height: 180px;
    margin: -90px -160px 0 0;
    border: 1px solid #ccc;
    box-shadow: 0 0 2px rgba(0,0,0,0.15);
    background-color: #fff;
    padding: 20px;
    text-align: center;
}

    .eu-cookie-bar-notification .text {
        margin-bottom: 20px;
        line-height: 20px;
    }

    .eu-cookie-bar-notification button {
        min-width: 60px;
        margin: 5px 0 10px;
        border: none;
        background-color: #4ab2f1;
        padding: 8px 12px;
        font-size: 14px;
        color: #fff;
    }

        .eu-cookie-bar-notification button:hover {
            background-color: #248ece;
        }

    .eu-cookie-bar-notification a {
        display: block;
        color: #4ab2f1;
    }

        .eu-cookie-bar-notification a:hover {
            text-decoration: underline;
        }
/* PRODUCT DETAILS */


.book-detail .image-wrapper img {
    width: 100%;
}
.book-detail .description ul li{
    display:flex;
    margin:10px 0;
}
/* 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;
        right: 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
    }
/* homepagecategory */
.category-item img {
    width: 100%;
}
/* homepagecategorylist */
.category-item {
    display: inline-block;
    background-color: #005baa;
    color: #fff;
    padding: 20px 10px;
    margin: 5px;
    font-size: 17px;
}

    .category-item a {
        color: #fff !important;
    }

    .category-item.collection {
        background-color: red;
    }
/* AdvancedSearch */
.full-adv-search {
    margin: 30px 0;
}

    .full-adv-search .list-group {
        width: 100%;
    }

    .full-adv-search .form-group {
        margin: 10px 0;
    }
/* NEWS */
.news-list-homepage .view-all, .news-list-homepage .title {
    background-color: #fff;
    text-align: center;
    margin: 10px 0;
    padding: 20px;
    border: 1px solid rgba(0,0,0,.125);
}

.news-item {
    margin: 10px 0;
}

    .news-item .news-body img {
        width: 100%;
    }
/* MEDIA DOWNLOAD */
ul.media-link-wrapper {
    margin: 10px 0;
    padding: 0;
}

    ul.media-link-wrapper li {
        display: inline-block;
        margin: 3px;
    }

        ul.media-link-wrapper li a {
            font-size: 0.6em;
            color: green;
            border: 1px solid;
            padding: 10px;
            text-decoration: none;
        }

            ul.media-link-wrapper li a:hover {
                color: white;
                background-color: green;
            }

        ul.media-link-wrapper li.first a {
            color: white;
            background-color: green;
        }
/*#region barnotification */

#bar-notification {
    position: fixed;
    top: 10px;
    max-width: 500px;
    margin: 0 auto;
    right: 10px;
    z-index: 1055;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    #bar-notification.show {
        display: block;
    }

    #bar-notification.success {
        background: linear-gradient(135deg, rgba(46, 204, 113, 0.95), rgba(26, 188, 156, 0.95));
        color: white;
    }

    #bar-notification.info {
        background: linear-gradient(135deg, rgba(52, 152, 219, 0.95), rgba(41, 128, 185, 0.95));
        color: white;
    }

    #bar-notification.warning {
        background: linear-gradient(135deg, rgba(243, 156, 18, 0.95), rgba(231, 126, 34, 0.95));
        color: white;
    }

    #bar-notification.error {
        background: linear-gradient(135deg, rgba(231, 76, 60, 0.95), rgba(192, 57, 43, 0.95));
        color: white;
    }

.bar-notification .close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

    .bar-notification .close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

    .bar-notification .close::before,
    .bar-notification .close::after {
        content: '';
        position: absolute;
        width: 16px;
        height: 2px;
        background: white;
    }

    .bar-notification .close::before {
        transform: rotate(45deg);
    }

    .bar-notification .close::after {
        transform: rotate(-45deg);
    }

.bar-notification .content {
    font-size: 1.2rem;
    margin: 30px 0 10px 0;
    line-height: 1.6;
}

    .bar-notification .content a {
        color: white;
        text-decoration: none;
        font-weight: 600;
        padding: 3px 8px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }

        .bar-notification .content a:hover {
            background: rgba(255, 255, 255, 0.3);
            text-decoration: underline;
        }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    to {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
}

.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}




@media (max-width: 600px) {
    #bar-notification {
        max-width: 300px;
        padding: 20px;
    }

    .bar-notification .content {
        font-size: 1rem;
        margin: 30px 0 0 0;
    }
}
/*#endregion*/


.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
    padding-left: 30px;
}

    .btn-loading::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 15px;
        width: 18px;
        height: 18px;
        margin: -9px 0 0 -9px;
        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);
    }
}

/*********** 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;
}

/* #region autocomplete searchbox */

#search {
    display: flex;
    position: relative;
    width: 100%;
}

    #search input[type=text] {
        width: 90%;
        padding-right: 2em;
    }

    #search .search-spinner {
        padding-right: 1em;
    }

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 4px 4px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    width: 90%;
}

.autocomplete-item {
    padding: 0;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s;
}

    .autocomplete-item:last-child {
        border-bottom: none;
    }

.autocomplete-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.autocomplete-image {
    width: 50px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    margin-left: 15px;
    border: 1px solid #eee;
}

.autocomplete-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.autocomplete-item-active,
.autocomplete-item:hover {
    background-color: #f8f9fa;
}

    .autocomplete-item-active .autocomplete-text,
    .autocomplete-item:hover .autocomplete-text {
        color: #4a90e2;
    }

.search-spinner {
    position: absolute;
    right: .5em;
    top: 9px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #4a90e2;
    animation: spin 1s ease-in-out infinite;
    /*display: none;*/
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .search-spinner.visible {
        opacity: 1;
    }

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.autocomplete-results::-webkit-scrollbar {
    width: 8px;
}

.autocomplete-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.autocomplete-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

    .autocomplete-results::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

/* #endregion autocomplete searchbox */