#vendor-toggle.open {
    opacity: 1;
    right: 16px;
}
#vendor-toggle {
    opacity: 0;
    right: -400px;
    transition: all 0.25s;
    animation-timing-function: ease-in-out;
}

.right-nav-vendor-contain {
    background: #fff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-bottom: 80px;
    min-height: 60vh;
    max-height: 60vh;
    z-index: 100;
    width: 364px;
    position: absolute;
    top:100px;
}
.vendor-grid-accordion {
    padding: 0px;
    background: #f0eeed;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.vendor-grid-accordion-btn {
    position: relative;
    width: 100%;
    background-color: #fff;
    color: #777;
    cursor: pointer;
    padding: 12px 24px;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.3s;
    margin-top: 0;
    text-transform: uppercase;
    margin-top: 0px;
    font-size: 0.75em;
    letter-spacing: 0.4px;
    font-weight: 500;
    border-radius: 6px;
    margin-bottom: 6px;
    transition: none !important;
}
.vendor-grid-accordion-btn::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #f0eeed;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
}
.vendor-grid-accordion-content {
    padding: 0px;
    display: none;
    overflow: hidden;
    background-color: #f9f9f9;
    margin-bottom: 6px;
    position: relative;
    border-radius: 0 0 6px 6px;
}
.vendor-grid-container {
    display: grid
;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0px 8px;
    background: #fff;
    max-height: 40vh;
    padding-top: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-y: auto;
    white-space: normal;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}
.vendor-grid-item {
    text-align: center;
    margin-bottom: 18px;
    transition: opacity 300ms;
    display: block;
    position: relative;
}
.brand-list-btn {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background-color: #fff;
    color: #777;
    cursor: pointer;
    padding: 24px 24px 16px;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.3s;
    margin-top: 0;
    text-transform: uppercase;
    margin-top: 0px;
    font-size: 0.75em;
    letter-spacing: 0.4px;
    font-weight: 500;
    border-radius: 6px 6px 0 0;
    transition: none !important;
}
.brand-list-btn::after {
    content: 'A-Z';
    font-size: 9px;
    font-weight: bold;
    color: #bebebe;
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
}
.vendor-grid-accordion-open {
    padding: 0px;
    display: block;
    overflow: hidden;
    background-color: #fff;
    position: relative;
    padding: 0 24px;
}
.vendor-list {
    display: flex
;
    flex-direction: column;
    width: 100%;
    padding: 0;
    overflow-y: scroll;
    max-height: 100vh;
    background: #fff;
}
a.vendor-list-item {
    padding: 10px 0 !important;
    
}
a.vendor-list-item {
    background: #fff;
    list-style: none;
    font-size: 0.9em;
    font-weight: 500;
    color: #000;
    text-decoration: none ! Important;
    display: flex
;
    width: 100%;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    padding: 12px 30px;
    opacity: 0.6;
    transition: opacity 0.3s;
    position: relative;
}
.vendor-grid-accordion-content::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    z-index: 999;
}
.vendor-grid-item p {
    font-weight: 500;
    font-size: 0.85em;
    margin-bottom: 2px;
    letter-spacing: 0.2px;
    display: none;
}
.vendor-grid-item img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    margin-bottom: 6px;
    overflow: hidden;
    border-radius: 6px;
}
@media only screen and (max-width: 768px) {
    
    .background-blur {
        visibility: hidden;
        opacity: 0;
        position: fixed;
        height: 100vh;
        width: 100vw;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }
    
    .mobile-tab-container::before {
        left: 0;
        top: 0;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    }
    #vendor-toggle {
        background: #fff !important;
        border-radius: 12px 12px 0 0;
        padding: 0px !important;
        overflow: hidden;
    }
    .right-nav-vendor-contain {
        width: 100% !important;
        margin-bottom: 0 !Important;
        padding: 0 !Important;
        height: 80vh;
        top: 100vh;
        background: transparent !important;
    }
    a.vendor-list-item {
        justify-content: center !important;
    }
    .tab-btn {
        flex: 1;
        background: none;
        border: none;
        padding: 10px;
        color: #818080;
        padding: 4px 24px;
        text-transform: uppercase;
        font-size: 0.75em;
        letter-spacing: 0.4px;
        font-weight: 400;
        cursor: pointer;
        transition: 0.3s;
        white-space: nowrap;
        scroll-snap-align: start;
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        user-select: none;
    }
    .vendor-swipe {
        position: relative;
        height: 74px;
        width: 100%;
        flex-direction: column;
    }
    .vendor-swipe-icon {
        display: block;
        width: 9px;
        height: 11px;
        margin-top: 8px;
        opacity: 0.4;
        margin: 0 auto;
        margin-top: 8px;
    }
    .mobile-tabs {
        display: flex;
        justify-content: space-around;
        padding: 0;
        min-height: 40px;
        display: flex;
        gap: 0px;
        flex-wrap: nowrap;
        padding: 0 10px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        margin-top: 8px;
    }
    .mobile-tabs::before {
        left: 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    }
    .mobile-tabs::before, .mobile-tabs::after {
        content: "";
        position: absolute;
        top: 30px;
        width: 30px;
        height: 50%;
        z-index: 1;
        pointer-events: none;
    }
    .tab-btn.active {
        color: #142161 !important;
        font-weight: 500;
    }
        .mobile-tab-container {
        display: flex;
        flex-direction: column;
        position: relative;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 100;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        display: flex;
        justify-content: flex-start;
        position: relative;
    }
    .hide-desktop {
        display: flex ! Important;
    }
    .mobile-tab-container::before, .mobile-tab-container::after {
        content: "";
        position: absolute;
        width: 40px;
        height: 40px;
        pointer-events: none;
        z-index: 101;
        width: 100%;
        position: sticky;
        min-height: 20px;
    }
    .tab-content-container {
        padding: 0;
        position: relative;
        display: block;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .tab-content.active {
        display: block;
    }
    .tab-content {
        display: none;
        position: relative;
        overflow-y: scroll;
        min-height: 100%;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
        .brand-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
        justify-content: center;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 40px;
    }
    .brand-list li {
        width: 32%;
        text-align: center;
        cursor: pointer;
        transition: opacity 0.3s;
    }
    a.vendor-list-item {
        font-size: 0.95em ! Important;
    }
    #vendor-toggle.open {
        top: 40vh;
    }
    #vendor-toggle {
        right: 0 !Important;
    }
    .mobile-tab-container::after {
        position: fixed ! Important;
        bottom: 0;
        background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    }
    
}