.shape-filter{
    border: 0.07em solid var(--light-gray-border);
    border-radius: 0.3em;
    margin-bottom: 1em;
}

.shape-filter .shape-part .wrapper-text p{
    margin-bottom: 0;
}

.shape-filter .shape-part .shape-title{
    padding: 0.8em 1em;
}

.shape-filter .shape-part .shape-title{
    margin-top: 0;
    cursor: pointer;
    border-bottom: 0.07em solid var(--light-gray-border);
}

.shape-filter .shape-part .shape-title p{
    font-family: "poppins-bold", sans-serif;
}

.shape-filter .shape-part .shape-title svg{
    font-size: 1.2em;
}

.shape-filter .shape-part .shape-items{
    height: 13em;
    margin: 0.5em 1.1em 0.5em 0;
    padding-left: 0.7em;
    padding-right: 0.7em;
    overflow-y: auto;
}

/* #shape-thread, #shape-footprint, #shape-nut-type, #shape-washer-type{
    display: none;
} */

.shape-filter .shape-part .shape-items .shape{
    padding: 0.3em;
    margin: 0.3em 0;
    border-radius: 0.3em;
    cursor: pointer;
    border: 0.07em solid transparent;
}

.shape-filter .shape-part .shape-items .shape:hover{
    border-color: var(--blue-back-color)
}

/* .shape-filter .shape-part .shape-items .shape:last-child{
    margin-bottom: 0;
} */

.shape-filter .shape-part .shape-items .shape .wrapper-img{
    margin-right: 1em;
}

.shape-filter .shape-part .shape-items .shape .wrapper-img img{
    width: 3.4em;
    height: 3.4em;
    border-radius: 0.3em;
}

.shape-filter .shape-part .shape-items .shape .wrapper-text{
    margin-top: 0;
}

/* For WebKit-based browsers (Chrome, Safari, Edge, older Opera): */
.shape-items::-webkit-scrollbar{
    width: 0.4em; /* Adjust as desired */
}

/* .shape-items::-webkit-scrollbar-button{
    background-color: var(--gray-blue-txt-color) !important;
    margin: 0.5em 0;
} */

.shape-items::-webkit-scrollbar-track{
    background-color: var(--light-gray-back-color-2); /* Light gray background */
    -webkit-box-shadow: inset 0 0 5px rgb(192, 192, 192);
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
    box-shadow: inset 0 0 5px rgb(192, 192, 192);
}

.shape-items::-webkit-scrollbar-thumb{
    background-color: var(--blue-back-color); /* Light gray background */
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
}

/* Handle on hover */
.shape-items::-webkit-scrollbar-thumb:hover{
    background-color: var(--blue-back-color);
}

.sort-by .ui.selection.dropdown{
    min-width: 10em;
    width: 11.5em;
    max-width: 13em;
}

.sort-by .ui.selection.dropdown, .wrapper-search-DIN .ui.fluid.input > input{
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border: 0.07em solid var(--light-gray-border) !important;
    box-shadow: unset !important;
    font-size: 1em !important;
    padding: 0.8em 1em 0.8em 1em !important;
    border-radius: 0.3em !important;
    height: 3.5em;
}

/* .wrapper-search-DIN{
    margin-right: 1em;
} */

.wrapper-search-DIN label{
    font-size: 1.1em;
    margin-right: 0.7em;
    font-family: "poppins-bold", sans-serif;
}

.wrapper-search-DIN .ui.fluid.input{
    flex-wrap: nowrap;
    align-items: center;
}

.wrapper-search-DIN .ui.fluid.input > input{
    width: 100%;
    min-width: 8em;
    max-width: 10em;
    padding: 0.8em 2.5em 0.8em 1em !important;
    line-height: 1.5;
}

.wrapper-search-DIN .ui.fluid.input svg{
    top: 50%;
    transform: translateY(-50%);
    right: 1.3em;
}

.wrapper-search-DIN .ui.fluid.input > input::placeholder{
    font-size: 1.1em !important;
}

.sort-by .ui.selection.dropdown svg, .wrapper-search-DIN .ui.fluid.input > svg{
    font-size: 0.9em !important;
    vertical-align: middle !important;
}

.wrapper-search-DIN .dropdown-type-products{
    display: none;
    min-width: 55vw;
    width: 50vw;
    max-width: 90vw;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #f9f9f9;
    border: 0.07em solid var(--light-gray-border);
    border-radius: 0.3em;
    z-index: 99;
    padding: 1em 0.6em 1.5em 1.5em;
}

.wrapper-search-DIN .dropdown-type-products > svg{
    right: 0.4em;
    top: 0.4em;
    font-size: 1.65em;
    padding: 0.2em;
    width: 1.1em;
    height: 1.1em;
    z-index: 10;
    background-color: var(--light-gray-border);
}

.wrapper-search-DIN .dropdown-type-products .din-result{
    font-size: 1.3em;
    font-family: "poppins-semibold", sans-serif;
    border-bottom: 0.07em solid #eeeeee;
    padding-bottom: 0.7em;
    padding-right: 2em;
}

.wrapper-search-DIN .dropdown-type-products #result-type-products{
    min-height: 3vh;
    max-height: 50vh;
    overflow: auto;
    padding-right: 1em;
    margin-top: 1.5em;
}

.wrapper-search-DIN .dropdown-type-products #result-type-products::-webkit-scrollbar{
    width: 0.4em; /* Adjust as desired */
    height: 0.4em;
}

.wrapper-search-DIN .dropdown-type-products #result-type-products::-webkit-scrollbar-track{
    background-color: var(--light-gray-back-color-2); /* Light gray background */
    -webkit-box-shadow: inset 0 0 5px rgb(192, 192, 192);
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
    box-shadow: inset 0 0 5px rgb(192, 192, 192);
}

.wrapper-search-DIN .dropdown-type-products #result-type-products::-webkit-scrollbar-thumb{
    background-color: var(--blue-back-color); /* Blue background */
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
}

/* Handle on hover */
.wrapper-search-DIN .dropdown-type-products #result-type-products::-webkit-scrollbar-thumb:hover{
    background-color: var(--blue-back-color);
}

.wrapper-search-DIN .dropdown-type-products #result-type-products a{
    margin: 0.2em 0;
    padding: 0.2em 0;
    font-size: 1.1em;
}

.sort-by .ui.selection.dropdown .text{
    font-size: 1.1em !important;
    margin-right: 1em;
    line-height: 1.6;
}

.sort-by .ui.selection.dropdown .default.text{
    color: var(--light-gray-txt-color);
}

.sort-by .ui.selection.dropdown .menu{
    border: 0.07em solid var(--light-gray-border) !important;
    box-shadow: unset !important;
    min-width: unset;
}

.sort-by .ui.selection.dropdown .menu div{
    color: var(--dark-txt-color);
    font-size: 1.1em;
    display: block;
    border-color: #f1f1f1 !important;
    padding: 0.8em 1.1em 0.8em 1.1em !important;
    transition: all 0.3s ease !important;
}

.sort-by .ui.selection.dropdown .menu .active.item{
    font-weight: inherit !important;
    background-color: var(--blue-back-color) !important;
    color: var(--white-txt-color) !important;
}

.sort-by .ui.selection.dropdown .menu > .item:hover{
    background-color: var(--blue-back-color) !important;
    color: var(--white-txt-color) !important;
}

.aside-subcategory-links{
    border: 0.07em solid var(--light-gray-border);
    border-radius: 0.2em;
    background-color: var(--white-back-color);
}

.aside-subcategory-links .subcategory-title{
    padding: 0.8em 1em;
    margin-top: 0;
    border-bottom: 0.07em solid var(--light-gray-border);
}

.aside-subcategory-links .subcategory-title p{
    font-size: 1.2em;
    font-family: "poppins-bold", sans-serif;
    margin-bottom: 0;
}

.aside-subcategory-links .subcategory-links .link a{
    display: block;
    padding: 0.6em 1em;
    font-size: 1.2em;
}

.aside-subcategory-links .link:last-child a{
    border-bottom: 0;
}

@media screen and (max-width: 1199px){
    .wrapper-search-DIN .dropdown-type-products{
        min-width: 60vw;
        width: 70vw;
    }
}


@media screen and (max-width: 991px){
    .wrapper-search-DIN .dropdown-type-products{
        min-width: 65vw;
        width: 77vw;
    }
}

@media screen and (max-width: 767px){
    .column-shapes{
        order: -1;
        margin-bottom: 3em;
    }
    #shape-head, #subcategory-links{
        display: none;
    }
    .wrapper-search-DIN .dropdown-type-products{
        min-width: 65vw;
        width: 75vw;
    }
}

@media screen and (max-width: 575px){
    .wrapper-search-DIN .dropdown-type-products{
        min-width: 80vw;
        width: 95vw;
    }
}