/* Global */
a, .sugg-a {
    text-decoration: none;
}

.sugg-a:hover {
    text-decoration: none;
}

.form-control2 {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    /* -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; */
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    outline: none;
}

.accordion-button:not(.collapsed) {
    color: black;
    background-color: white;
}

.accordion-button {
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125) !important;
}


.accordion-button:focus {
    /* box-shadow: 0 0 0 .25rem rgba(13,110,253,.25); */
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: black;
    /* background-color: #e7f1ff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125); */
}

.accordion-item {
    /* background-color: #fff; */
    /* border: 1px solid rgba(0,0,0,.125); */
    border: none;
}

.accordion-body-attr {
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #dedede #f5f5f5;
}

.accordion-body-attr-cat {
    max-height: 378px !important;
}

.accordion-item {
    margin-bottom: 10px;
}

@media screen and (max-width: 992px) {
    .display-none {
        display: none;
    }

    .overflow-hidden {
        overflow: hidden;
    }
}


@media screen and (max-width: 992px) {
    .h-mobile {
        display: none;
    }
}

@media screen and (min-width: 992px) {
    .h-desktop {
        display: none;
    }
}

@media screen and (max-width: 992px) {
    .show_filter_wrap {
        margin-top: 10px;
        text-align: right;
    }
}

@media screen and (max-width: 992px) {
    #overlay {
        background-color: rgba(0, 0, 0, 0.386);
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        width: 100%;
        z-index: 1;
        height: 100vh;
    }

    .attrs {
        background-color: white;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 60%;
        z-index: 2;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        height: 100vh;
        overflow-y: auto;
    }
}

/* categories */
/* categories */
#categories .item {
    padding: 0px 10px;
}

#categories .item.active,
#categories .item:hover {
    background-color: #eeeeee;
}

.categories ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.categories ul li:hover {
    /* color: gray; */
    cursor: pointer;
    /* font-weight: bold; */
}

/* products */
.products {
    display: flex;
    flex-wrap: wrap;
    /* gap: 20px; */
}

.products .product {
    /* width: 222px; */
    height: auto;
    border-bottom: 1px solid rgb(228, 228, 228);
    padding-bottom: 5px;
    width: calc(25% - 20px);
    margin-right: 20px;
    margin-bottom: 20px;

    /* more */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.products .product a {
    text-decoration: none;
}

.products .product a:hover {
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .products .product {
        width: calc(50% - 20px);
    }
}

.products .product img {
    width: 100%;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    height: 161px;
    object-fit: cover;
}

.products .product .text {
    padding: 0px 8px;
}


.products .product h6 {
    color: #65435c;
}

/* wrap-search */
.wrap-search {
    position: relative;
}

#search-suggestion {
    position: absolute;
    width: 100%;
    background-color: white;
    z-index: 1;
}

.suggestion {
    /* display: flex; */
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(215, 215, 215);
    border-radius: 4px;
    max-height: 300px;
    overflow-y: auto;
}

.suggestion .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    font-weight: bold;
}

.suggestion .item .product-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.suggestion .item .img-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggestion .item:hover {
    background-color: rgb(242, 242, 242);
}

.h-categories {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    /*scrollbar-width: thin;*/
}

/* Targets the entire scrollbar */
.h-categories::-webkit-scrollbar {
    height: 5px; /* Adjust height for horizontal scrollbar (thinner) */
    width: 5px; /* Adjust width for vertical scrollbar (thinner) */
}

/* Targets the movable part of the scrollbar */
.h-categories::-webkit-scrollbar-thumb {
    background-color: #c7c7c7; /* A visible but subtle color */
    border-radius: 3px; /* Round the corners */
    border: 1px solid transparent; /* Optional: adds a slight transparent border */
}

/* Targets the empty space the scrollbar moves along */
.h-categories::-webkit-scrollbar-track {
    background: #f1f1f1; /* A very light color for the track */
    border-radius: 3px;
}