@keyframes star-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.85;
    }
}

@keyframes badgePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(128, 128, 128, 0.7);
    }

    100% {
        box-shadow: 0 0 0 8px rgba(128, 128, 128, 0);
    }
}

#nav-attract {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;

    .nav-attract-item {
        position: relative;
        z-index: 3;


        .item-btn {
            position: relative;
            z-index: 2;
            color: var(--specil-color, #fff);
            min-width: var(--special-Minwidth, 150px);;
            min-height: var(--special-Minheight, 43px);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: .5rem;
            padding: .3rem;
            border-radius: 6px;
            transition: all .3s ease-in-out;
            animation: badgePulse 2s infinite;

            svg {
                margin-bottom: .1rem;
                fill: currentColor;
                transition: all .3s ease;
            }

            &::before {
                content: "";
                position: absolute;
                inset: 0;
                border-radius: inherit;
                background: var(--special-bg, #fff);
                z-index: -2;
                transition: opacity .3s ease-in-out;
            }

            &::after {
                content: "";
                position: absolute;
                inset: 0;
                border-radius: inherit;
                padding: 1px;

                background: var(--special-bg, #fff);
                -webkit-mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
                -webkit-mask-composite: xor;
                mask-composite: exclude;

                z-index: -1;
                pointer-events: none;
            }

            &:hover {
                background: var(--special-bg);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                cursor: pointer;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
                color: transparent;

                svg {
                    fill: var(--special-bg);
                }

                &::before {
                    opacity: 0;
                }


            }
        }

        .item-badge {
            position: absolute;
            top: -6px;
            right: -6px;
            z-index: 3;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 18px;
            height: 18px;
            padding: 0 5px;
            border-radius: 50px;
            background: linear-gradient(135deg, #ff3b3b, #ff7a18);
            color: #fff;
            font-size: 11px;
            font-weight: 600;
            line-height: 1;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
            overflow: visible;

            &::after {
                content: "";
                position: absolute;
                inset: 0;
                border-radius: inherit;
                z-index: -1;
            }
        }


    }
}

.customer_service_box {
    display: flex;
    align-items: center;
    gap: 20px;

    .exchange-icon {
        color: #0066cc;
    }
}

.new_navbar_menu ul li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 400;
}

.new_navbar_menu ul li span {
    display: flex;
}

.new_navbar_menu ul li span svg {
    height: 20px;
}

.customer_service_info {
    display: flex;
    gap: 10px;
    font-size: 14px;
    align-items: center;
}


.search_products {
    max-height: 500px;
    min-height: 180px;
    overflow-y: hidden;
    overflow-x: hidden;
}

.doviz-kurlari {
    display: flex !important;
    font-size: 15px;
    list-style: none;
    margin-left: 0 !important;
    gap: 5px;
}

.customer_service_info p {
    margin: 0 !important;
    font-weight: 600;

}

.customer_service_info-left {
    display: flex;
    align-items: center;
    font-size: 15px;
    gap: 3px;
}

.customer_service_info-right {
    display: flex;
    align-items: center;
    font-size: 15px;
    gap: 3px;
}

.new_navbar_menu .menu-items-wrap {
    display: flex;
    align-items: flex-start;
    list-style: none;
    gap: 20px;

    .menu-item {
        position: relative;
        transition: all .3s ease-in-out;
        z-index: 1050;

        &:not(.not-effect)::before {
            content: '';
            position: absolute;
            right: 0;
            bottom: -3px;
            width: 0;
            height: 1px;
            background: #12468f;
            transition: .2s ease-in;
        }

        &:hover {
            transform: scale(1.03);

            &::before {
                width: 100%;
            }
        }
    }


}

.distinction-item {
    position: relative;
    gap: 10px;

    .distinction-sub-item {
        position: relative;

        &::after {
            content: "";
            position: absolute;
            right: -5px;
            top: 50%;
            transform: translateY(-50%);
            width: 1px;
            height: 80%;
            background: rgb(229, 229, 229);
        }
    }

    & + &::after {
        content: "";
        position: absolute;
        left: -10px;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 80%;
        background:rgb(229, 229, 229);
    }
}


/*Default Css*/
.search {
    display: flex;
}

.form-inline {

    justify-content: flex-end;
}

.search-main {
    background-color: #f2f2f2 !important;
    border-radius: 10px 0 0 10px !important;

    &::placeholder {
        color: #6b6b6b !important;
    }
}

@media (min-width: 992px) {

    .search-button {
        color: #fff;
        border: 0;
        padding: 11px 15px;
        border-radius: 0 10px 10px 0 !important;
        font-size: 16px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .search-main {

        border-top-left-radius: 2rem;
        border-bottom-left-radius: 2rem;
    }

    .form-inline .form-control {
        width: 80%;
        border-right: 0px;
        padding: 11px 15px 10px 30px;
    }

    .search-menu {
        width: 972px;
        height: 357px;
        position: absolute;
        right: 0;
        border: 1px solid #488ed1;
        border-top-right-radius: 28px;
        border-bottom-right-radius: 28px;
        border-top-left-radius: 28px;
        border-bottom-left-radius: 28px;
        background-color: white;
        z-index: 999;
    }

    .product-width {
        max-width: 73%;
        flex: 0 0 73%;
    }

    .img-photo {
        position: relative;
        width: 70px;
        height: 55px;
        overflow: hidden;
        background-position: center;
    }

    .text-type {
        font-size: 14px;
    }

    .text-type.text-dark:hover {
        text-decoration: none;
        color: #488ed1 !important;
    }

    .categories-width {
        max-width: 27%;
        flex: 0 0 27%;
    }

    .search-main::-webkit-search-cancel-button {
        display: none;


    }
}

.navbar.s {
    display: block;
}

@media (min-width: 1024px) {

    .search-menu {
        width: 972px;
        height: 357px;
        position: absolute;
        right: -76px;
        border: 1px solid #488ed1;
        border-top-right-radius: 28px;
        border-bottom-right-radius: 28px;
        border-top-left-radius: 28px;
        border-bottom-left-radius: 28px;
        background-color: white;
    }
}

@media (max-width: 375px) {
    .categories-width {
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 35px;
        padding-right: 54px;
    }
}

@media (max-width: 414px) {
    .categories-width {
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 47px;
        padding-right: 63px;
    }
}

@media (max-width: 991px) {
    .search {
        max-height: max-content;
    }
    .search-menu {

        position: absolute;
        right: 0;
        border-top-right-radius: 28px;
        border-bottom-right-radius: 28px;
        border-top-left-radius: 28px;
        border-bottom-left-radius: 28px;
        width: 100%;
        flex-wrap: wrap;
        background-color: white;
    }

    .search-main {
        border-color: #f6f6f6;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        z-index: 2;

    }

    .search-button {
        background-color: white;
        color: white;
        padding-top: 15px;
        padding-bottom: 15px;
        padding-left: 20px;
        padding-right: 20px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .form-inline .form-control {
        width: 100%;
    }

    .search-categories {
        padding-bottom: 5px;
        border-bottom: 1px solid #f6f6f6;
    }

    .search-categories .sc-r-border {
        border-right: 1px solid #f6f6f6;
    }

    .sc-bg {
        background-color: #fbfbfb;
        z-index: 0;
    }

    .sc-bg .text-type-b:hover {
        text-decoration: none;
    }

    .s-tb-border {
        border-top: 1px solid #f6f6f6;
        border-bottom: 1px solid #f6f6f6;
        border-right: 1px solid #f6f6f6;
        border-left: 1px solid #f6f6f6;
    }

    .product-width {
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 21px;
        padding-right: 21px;
    }

    .img-photo {
        position: relative;
        width: 50px;
        height: 50px;
        overflow: hidden;
        background-position: center;
    }

    .serachbb {
        min-height: 40px !important;
    }

    .text-type {
        font-size: 12px;
    }

    .text-type.text-dark:hover {
        text-decoration: none;
        color: #488ed1 !important;
    }

    .categories-width {
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 9vw;
        padding-right: 15vw;
    }

    .search-main::-webkit-search-cancel-button {
        display: none;
    }

    #textaramasonuc {
        padding-right: 9vw;
        padding-left: 9vw;
    }

    #textkategoriler {
        padding-right: 15vw;
        padding-left: 15vw;
    }
}


.button-main {
    background-color: #12468f;
}


.scroll-main {
    overflow: overlay;
}

.scroll-main::-webkit-scrollbar {
    width: 10px;
    border-radius: 20px;
    background-color: #e4e4e6;
    border-left: 1px solid #ffffff;

}

.scroll-main::-webkit-scrollbar-thumb {
    background-color: #12468f;
    border-radius: 20px;
}

.scroll-main::-webkit-scrollbar-thumb:hover {
    background-color: #0b4979;
}

.color-main {
    color: #12468f;
}

/* product quantities */
.counter-main {
    width: 50px;
    margin: auto;
    display: flex;
    align-items: center;


}

.counter-main input {
    width: 50px;
    border: 0;
    line-height: 30px;
    font-size: 20px;
    text-align: center;
    background: white;
    color: black;
    appearance: none;
    outline: 0;
}

.counter-main span {
    display: block;
    font-size: 20px;

    cursor: pointer;
    color: #0052cc;
    user-select: none;
}

.img-icon-small {
    position: relative;
    top: -3px;
    width: 12px;
    height: 14px;
    overflow: hidden;
}

.text-hiza {
    position: relative;
    top: -2px;
}

.img-icon {
    position: relative;
    width: 20px;
    height: 20px;
    overflow: hidden;
    margin: auto;
    display: block;
}

.img-photo .img-fluid {
    height: 100%;
}

.line-height {
    line-height: 34px;
}

.ayril {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}


.clear_border a {
    border-bottom: 0px !important;
}

.brdr_clearL:last-child a {
    border-bottom: 0px !important;
}

.second_sub_title.active .sub_alt.first_sub_alt .item-name {
    color: #408fd4;
}

.thirt_alt_sub.active .sub_alt .item-name {
    color: #408fd4;
}

.submenu.last_sub_show.show .item-name {
    color: inherit;
}

.first_sub {
    position: absolute;
    top: 0;
    left: 100%;
    visibility: hidden;
    width: 280px;
    background: #fff;
    box-shadow: 0 7px 8px 2px rgb(0 0 0 / 15%);
    min-height: 100%;
    z-index: 999;
}

.first_sub li {
    border-bottom: 0px;
    padding: 6px 10px 6px 20px !important;
}

@keyframes spFadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.submenu.show {
    top: 0;
    left: 100%;
    visibility: visible;
    animation: spFadeInDown 200ms ease-in-out;
}

.submenu.second_sub li.kat_filter_menu:before {
    display: none;
}

.submenu.second_sub li.kat_filter_menu {
    padding: 0px !important;
}

.last_sub_show {
    padding-left: 0px;
}

.second_sub {
    position: absolute;
    top: 0;
    left: 100%;
    visibility: hidden;
    width: 280px;
    background: #fff;
    box-shadow: 0 7px 8px 2px rgb(0 0 0 / 15%);
    min-height: 100%;
    z-index: 999;
}

.third_sub {
    margin-left: 0px;
    background-color: transparent;
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
    width: 100%;
    transition: 0s;
    position: absolute;
    visibility: hidden;
    z-index: 9;
    top: 0px;
    padding-left: 0px;
    z-index: 99;
    height: 100%;
}

.second_sub_menu {
    padding-left: 0px;
}

.second_sub_menu a.sub_alt {
    padding-left: 10px;
    margin: 0px 0px;
    padding-bottom: 10px;
    padding-top: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    line-height: 30px;
    color: #343a40;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 20px;
    width: 100%;
    margin: 0px;
    padding: 0px;
    border: 0px;
}

.second_sub_title:last-child a {
    border-bottom: 0px;
}

.last_sub_show li:last-child a {
    border-bottom: 0px;
}

.second_sub.show {
    visibility: visible;
    top: 0;
    left: 100%;
}

.third_sub.show {
    visibility: visible;
    top: 0;
    left: 100%;
}

.first_sub_alt {
    margin: 0px 20px;
    padding-bottom: 10px;
    padding-top: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    line-height: 30px;
    color: #343a40;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0px;
    padding: 0px;
    border: 0px;
}

.big_p.parent.nav-link {
    margin: 0px 20px;
}

#collapseforr .card-body {
    padding-left: 0px;
    padding-right: 0px;
}

.sidebar__menu .nav-item {
    position: initial;
}

.bayi_cat_tree .nav-item .nav-link {
    color: #343a40;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0px 10px;
    border: 0px;
    padding: 0px;
    width: 100%;
}

.pos_r_in_page .bayi_cat_tree {
    display: none;
}

.pos_r_in_page .bayi_cat_tree.show {
    position: absolute;
    min-width: 300px;
    background: #fff;
    z-index: 99;
    display: block;
}

.pos_r_in_page .bayi_cat_tree.show {
    border: 0px;
}

.pos_r_in_page .bayi_cat_tree.show ul.navbar-nav {
    padding: 0 0;
    background: #fff;
    -webkit-box-shadow: 0 0 20px 0 rgb(0 0 0 / 15%);
    box-shadow: 0 7px 8px 2px rgb(0 0 0 / 15%);
    border-radius: 0 0 10px 10px;
    overflow: visible;
}

.s_width {
    width: 100%;
    margin-left: -15px;
    margin-right: 0px;
}

@media (min-width: 1200px) {
    .hidden-lg {
        display: none !important;
    }
}

.search_cats {
    max-height: 460px;
    overflow-y: auto;
}

#aramaSonuc .list-group-item {
    border: none;
}

.search_cats .list-group-item {
    padding: 7px 0px 7px 0px !important;
}

.list-group-item:first-child {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

div#aramaSonuc a {
    transition: none;
    padding: 0px;
}

div#aramaSonuc .cat-category-name a, div#aramaSonuc .cat-category-name span {
    font-weight: 500;
    font-size: 14px;
}

ul.child-cat {
    padding-left: 20px;
}

div#aramaSonuc ul.first, ul.category-search, ul.category-search-right {
    display: inline-grid;
    width: 100%;
}

#aramaSonuc h3 {
    margin: 0;
    padding: 0px 0px 20px;
    color: #12468f;
    font-size: 16px;
}

#aramaSonuc .list-group-item {
    border: none;
}

#aramaSonuc .list-group-item > div.row > div {
    padding: 0;
}

#aramaSonuc .list-group-item .col-md-9 .row {
    padding: 5px !important;
}

.list-group-item a {
    font-size: 12px;
}

a.search-product-image {
    display: inline-block;
    float: left;
    margin-right: 5px;
    margin-left: 0;
    border: 1px solid #dee2e6;
    padding: 5px !important;
}

a.arama-kutusu-urun.arama-kutusu-urun-kodu {
    display: block;
    margin-bottom: -5px;
}

span.quantity.urun-quainty {
    line-height: 4;
}

#aramaSonuc .quantity {
    font-size: 11px;
}

.product_fliter_box {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.product_filter_text {
    display: flex;
    flex-direction: column;
    padding-left: 15px;
}

.product_filter_text span {
    color: #12468f;
    font-size: 16px;
    font-weight: 100;
}

.search_cats::-webkit-scrollbar {
    width: 6px;
    border-radius: 20px;
    background-color: #e4e4e6;
    border-left: 1px solid #ffffff;

}

.search_cats::-webkit-scrollbar-thumb:hover {
    background-color: #0b4979;
}

.search_product_scrool {
    max-height: 400px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.search_product_scrool::-webkit-scrollbar {
    width: 6px;
    border-radius: 20px;
    border-left: 1px solid #ffffff;

}

.category-search-right ul {
    padding-left: 0px;
}

.category-search-right {
    padding-left: 10px;
}

.product_s_flex {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.list-p-bg {
    background: transparent;
}

.quick_buton .add_basket_box .text-center {
    width: 30%;
}

.sonuc_empty {
    margin: 0;
    padding: 0px 0px 30px;
    color: #12468f;
    font-size: 16px;
}

.h100 {
    height: 100%;
}

.category-search-right {
    height: 100%;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
}

.product_s_flex .add_basket_box a {
    padding: 8px 4px 8px 10px !important;
    height: 30px;
}

.product_s_flex .qty-plus-minus {
    height: 30px;
    width: 95px;
    margin-right: -4px;
}

.qty-plus-minus input.qty-input {
    font-size: 15px;
}

.search input:focus {
    box-shadow: none;
    border-color: #488ed1;
}

.product_s_flex .ec_qtybtn i {
    -webkit-text-stroke: 1px #fff;
}

.nice_box {
    display: flex;
    align-items: center;
    justify-content: end;
    height: 100%;
    gap: 10px;
}

.btn-fill {
    position: relative;
    padding: .3rem;
    transition: all .3s ease;


    &::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, #0F3C97, #2A1E68) !important;
        border-radius: 6px;
        transform: scale(0);
        transform-origin: center;
        transition: transform .4s ease;
        z-index: -1;
    }

    &:hover {
        color: #fff;
        transform: translateY(-.2px);

        svg path {
            fill: #ffff;
            stroke: #124789 !important;
        }

        &::before {
            transform: scale(1);
        }

    }
}

/*Media Queries*/

@media (max-width: 768px) {
    .tab_search_content.overflow_sonuc #menu1 .list-group-item , .search-product-list{
       padding: 0 !important;
    }
    .overflow_sonuc::-webkit-scrollbar {
        width: 5px !important;
    }
}

