.products-subnav-btn {
    border: 2px solid #cccccc !important;
}

.products-subnav-btn-active {
    position: relative;
    z-index: 101;
    margin-bottom: -2px;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom: 2px solid #ffffff !important;
}

.products-subnav-btn-active::after {
    transform: rotate(180deg);
}

#products-subnav {
    z-index: 100;
    border-radius: 0;
    border-width: 2px;
    padding-top: 0;
    padding-bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 50vh;
    width: 100%;
}

#products-subnav.products-subnav-attr {
    padding: 1rem;
}

#products-subnav.show-submenu {
    display: block;
}

#products-subnav li:hover, #products-subnav li:hover a  {
    background-color: var(--westech-green) !important;
    color: white !important;
}

#products-subnav::-webkit-scrollbar {
    appearance: none;
    -webkit-appearance: none;
    width: 7px;
}

#products-subnav::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    box-shadow: 0 0 1px gba(255, 255, 255r, .5);
    -webkit-box-shadow: 0 0 1px gba(255, 255, 255r, .5);
}

.products-subnav-item {
    padding: 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.products-subnav-link {
    padding: 0.75rem 1rem !important;
}

.products-subnav-attr-title {
    font-weight: 500;
    text-transform: capitalize;
    margin-bottom: 0;
}

/* Desktop CSS Changes */
@media only screen and (min-width: 992px) {
    #products-subnav-btn {
        display: none;
    }
    #products-subnav {
        position: relative;
        display: block;
        max-height: unset !important;
        border-width: 1px;
        transform: unset !important;
        overflow-y: visible;
    }
}

#product-filter-item {
    display: none;
}
#products-grid {
    display: grid;
    gap: 1rem;
}
#products-grid .products-grid-item {
    position: relative;
    text-decoration: none;
    color: black;
}
#products-grid .products-grid-item-product {
    padding-left: 1rem;
    padding-right: 1rem;
}
#products-grid img {
    height: 140px;
    width: 100%;
    object-fit: contain;
}
.product-item-additional-info {
    margin-bottom: .25rem;
}
.product-item-free-shipping {
    position: absolute;
    left: 0;
    background: var(--westech-green);
    margin: 0;
    padding: 0.375rem;
    color: white;
}
.sub-image-wide {
    min-width: 140px;
}
.main-product-img-container {
    justify-content: center;
}
.main-product-img-container span {
    width: 100%;
}

.main-product-img-container span .main-image {
    width: 100%;
}

.zoomImg {
    background-color: white;
}

.product-attribute-dropdown {
    position: relative;
    height: 68px;
}

input:focus, .form-select:focus {
    border-color: var(--westech-green) !important;
    /* box-shadow: 0 0 0 .25rem rgba(0, 107, 110, .25) !important; */
}

.product-attribute-dropdown label {
    position: relative;
    z-index: calc(50 - var(--index));
}

.product-attribute-dropdown .form-select {
    position: absolute;
    z-index: calc(50 - var(--index));
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-attribute-dropdown .form-select:has(:nth-child(11)) {
    -ms-overflow-style: unset;
    scrollbar-width: unset;
}

form div.form-check label.form-check-label:hover {
    text-decoration: underline;
}

.form-select option {
    position: relative;
}

.form-select option:hover:not(:disabled), .form-select option:checked {
    background: var(--westech-green);
    color: white;
}

@media only screen and (min-width: 576px) {
    #products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (min-width: 768px) {
    #products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {

}

/* Desktop CSS Changes */
@media only screen and (min-width: 992px) {
    #products-grid { 
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (min-width: 1200px){

}
