.vendor-subcategories-display {
    display: block;
}
.vendor-subcategories-display.inactivesubcatg {
    display: none;
}
.vendor-category-search-results-dropdown {      
    position: absolute;
    /* ensure the dropdown is directly under the input using top:100% */
    top: 87%;
    display: none;
    width: 700px;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: auto;
    background-color: white;
}
.flexDisplay  {
    display: flex !important;    
}
.blockDisplay  {
    display: block !important;
}
.noneDisplay  {
    display: none !important;
}
/* #fullitem-img-slideshow  { */
    /* width: calc(550px * 2); */
    /* animation-name: itemsImgslideshow;
    animation-duration: 10.6s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-delay: 3s; */
/* } */
/* @keyframes itemsImgslideshow
{ */
    /* there will be 2 pauses of 3s each and the two movements will take 0.5 s each. So total animation 
    duration is 5+5+0.3+0.3 = 10.6s */
    /* the % for 0.3s move: 10.6s = 100%, 0.3s = ? ie 2.83% */
    /* 0% {margin-left: 0;}
    2.83% {margin-left: -500px;} */
    /* the % for 5s pause: 10.6s = 100%, 5s = ? ie 47.17% +(2.83%) */
    /* 50% {margin-left: -500px;} */
    /* the % for 0.3s move: 10.6s = 100%, 0.3s = ? ie 2.83% +(50%) */
    /* 52.83% {margin-left: 0;} */
    
    /* pause at 0px for 5s */
    /* 100% {margin-left: 0;}
} */

.lightbox-container {
    max-width: 25%;
    text-align: center;
}
.main-image {  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.thumbnail-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.thumbnail {
    cursor: pointer;
    border: 1px solid transparent;
    transition: border 0.3s ease;
}
.thumbnail:hover {
    border: 1px solid #007bff;
}
.thumbnail.active {
    border: 1px solid red;
}
.navbar {
    flex: 10%;
    margin-left: 70px;
}
.hamburger {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    /* background-color: #fff;
    margin: 5px 0; */
}
.hamburger span {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background-color: black;
    transition: all 0.3s ease;
}
.nav-menu {
    position: absolute;
    list-style: none;
    display: none;
    flex-direction: column;
    gap: 20px;   
    background-color: white;
    border: 1px solid black;
    padding: 10px;
    box-sizing: border-box;
    z-index: 1;

}
.nav-menu.active {
    display: flex;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
.searchicon-for-items-in-subcategories {
    cursor: pointer;
    font-size: 30px;
    color: black;
    text-align: center;
    display: inline-block;
}
.input-for-items-in-subcategories {
    width: 0;
    height: 40px;
    padding: 5px 10px;
    border: 1px solid black;
    border-radius: 10px;
    outline: none;
    transition: width 0.3s ease, opacity 0.3s ease;
}
.search-description-header {
    flex: 60%;
    margin-left: 100px;
}
.input-and-inputicon-parent {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 5%;
}
.search-results-autocomplete-dropdown {
    position: absolute;
    /* ensure the dropdown is directly under the input using top */
    top: 87%;
    display: none;
    width: 700px;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: auto;
    background-color: white;
}
/* for mobile devices */
@media (max-width: 768px) {
    .input-for-items-in-subcategories {
        width: 0;
        padding: 0;
        border: none;
        opacity: 0;
    }
    .input-for-items-in-subcategories.active {
        width: 200px;
        padding: 5px 10px;
        border: 1px solid #ccc;
        opacity: 1;
    }
    .searchicon-for-items-in-subcategories {
        display: inline-block !important;
    }
}
/* for larger devices */
@media (min-width: 769px) {
    .input-for-items-in-subcategories {
        width: 680px;
        opacity: 1;
    }
    .searchicon-for-items-in-subcategories {
        display: none !important;
    }
    .search-description-header {
        flex: 10%;
    }
    .input-and-inputicon-parent {
        flex: 80%;
    }
}
