
.image_holder {
    height: 250px;
}

.image_holder img
{
    max-height: 250px;
}

.left-panel {
        --bs-bg-opacity: 1;
        background-color: rgba(var(--bs-light-rgb),var(--bs-bg-opacity)) !important;
}

.container-filters
{
    margin-right: 0;
}

.ais-RefinementList-checkbox {
    margin-right: .5rem;
}

.ais-RefinementList-labelText {
    font-size: 13px;
    margin-right: .25rem;
}

.ais-RefinementList-list {
    max-height: 22rem;
    overflow-y:scroll;
    overflow-x:hidden;
    scrollbar-color: #691e6e lightgrey;
}

.a2is-HitsPerPage-select:hover {
    background-image: none;
}
.ais-HitsPerPage-select, .ais-SortBy-select {
    font-size: 1rem;
}

.a2is-HitsPerPage::after {
    content: none;
}

.in_stock_btn {
    background-color: #693075;
    border-color: #693075;
    color: white;
}
.oos_stock_btn {
    background-color: red;
    border-color: red;
    color: white;
}

.ais-Hits-item {
    padding: .5rem;
    box-shadow: 0 0 0 0;
}

.ais-SearchBox {
    height: 64px;
    width: 90%;
    padding-bottom:1rem;
}

.ais-SearchBox .ais-SearchBox-input {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #555;
    box-shadow: 0 4px 48px 0 rgba(0, 0, 0, 0.2);
    font-family: Hind, sans-serif;
    height: 32px;
    /*
      The "Hind" font family is vertically off-balance.
      Adding 4px of padding top makes it more vertically aligned.
    */
    padding: 4px 36px 0 36px;
}

.ais-SearchBox-submit {
    padding: 0 1rem 0 2rem;
    width: 0px;
}

.ais-SearchBox .ais-SearchBox-input::placeholder {
    color: rgba(33, 36, 61, 0.24);
    opacity: 1; /* Firefox */
}

.ais-SearchBox-input:-ms-input-placeholder {
    color: rgba(33, 36, 61, 0.24);
}

.ais-SearchBox-input::-ms-input-placeholder {
    color: rgba(33, 36, 61, 0.24);
}

.ais-SearchBox-submit {
    color: #e2a400;
}

.ais-CurrentRefinements-list {
    /*display: block;*/
}

.ais-CurrentRefinements-list-item {
    border: 1px solid black;
    padding: .35rem;
    margin: .15rem;
}

.ais-RefinementList-labelText {
    font-size: 12px;
}

.ais-RefinementList-item--selected .ais-RefinementList-checkbox {
    background-color: #db00e2;
}

.ais-RefinementList-item--selected .ais-RefinementList-checkbox, .ais-GeoSearch-input:checked {
    background-size: 0px;
    border-color: currentcolor;
    box-shadow: rgba(35,38,59,.05) 0 1px 0 0 inset;
    color: #db00e2;
}

.ais-RefinementList-count
{
    background-color: inherit;
    border:none;
    font-weight:bold;
    font-size: .75rem;
    margin-left: auto;
    margin-right: 0;
}

.clear-filters {
    align-items: center;
    display: flex;
}

.clear-filters svg {
    margin-right: 8px;
}

.hit-sku { font-weight: bold;}
.hit-name { height:2.5rem; }

@media (min-width: 992px) {
    [data-layout="mobile"] {
        display: none;
    }
}
@media (max-width: 991px) {

    .container-filters {
        max-width: initial;
        width: 100%;
        will-change: transform;
        z-index: 10002;
        background: #fff;
        border-radius: 16px;
        padding-bottom: 4rem;
        transition: transform .3s cubic-bezier(.465, .183, .153, .946);
        position: fixed;
        top: 1.5rem;
        left: 0;
        transform: translateY(120vh);
    }

    .container-filters .container-header, .container-filters .container-body {
        padding: 2rem 2rem 0;
    }

    .container-filters > div {
        padding-left:4px;
        padding-right:4px;
    }

    .container-filters-footer-button-wrapper {
        padding-left: 20px;
    }

    .filtering .header {
        cursor: pointer;
    }

    .filtering .header-logo {
        pointer-events: none;
        position: absolute;
        top: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
    }

    .filtering .header-title, .filtering .container-results, .filtering .right-panel, .container-filters-footer {
        display: none;
    }

    .filtering .container-filters {
        position: absolute;
        transform: translateY(4rem);
    }

    .filtering .container-filters-footer {
        width: 100%;
        z-index: 10003;
        background-color: #fff;
        border-top: 1px solid #ebecf3;
        justify-content: space-between;
        margin: 0 -2rem;
        padding: 1rem;
        display: flex;
        position: fixed;
        bottom: 0;
    }

    .container-filters-footer-button-wrapper {
        width: calc(50% - .5rem);
    }

    .container-filters-footer .ais-ClearRefinements-button, .container-filters-footer .button {
        cursor: pointer;
        font: inherit;
        text-align: center;
        width: 100%;
        background-color: rgba(65, 66, 71, .08);
        border: none;
        border-radius: 8px;
        justify-content: center;
        padding: 12px;
        font-size: .75rem;
        font-weight: bold;
        display: flex;
    }

    .ais-ClearRefinements {
        margin-top:5px;
    }

    .container-filters-footer .button-primary {
        color: #fff;
        background-color: #e2a400;
    }

    .filtering .filters-button {
        display: none;
    }

    .filters-button {
        color: #fff;
        cursor: pointer;
        font: inherit;
        min-height: 40px;
        min-width: 112px;
        background-color: #e2a400;
        border: none;
        border-radius: 8px;
        justify-content: center;
        align-items: center;
        font-size: .875rem;
        font-weight: bold;
        display: flex;
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        box-shadow: 0 4px 22px rgba(185, 135, 0, .5);
    }

    .filters-button svg {
        height: 14px;
        width: 16px;
        margin-right: 8px;
    }

    .container {
        padding: 4rem 2rem;
    }

    .container-options {
        display: none;
    }

    .header .ais-SearchBox {
        width: 100vw;
        position: absolute;
        bottom: 0;
        left: 0;
        transform: translateY(50%);
    }

    .header .ais-SearchBox .ais-SearchBox-form {
        max-width: 90%;
        margin: auto;
    }

    .ais-SearchBox .ais-SearchBox-input, .ais-RefinementList .ais-SearchBox-input {
        font-size: 1rem;
    }

    .ais-RefinementList .ais-SearchBox-input {
        min-height: 48px;
    }

    .ais-RefinementList
    {
        padding-left: 5px;
        padding-right: 5px;
    }

    .ais-RefinementList-list {
        grid-gap: 0 2rem;
        grid-template-rows: repeat(10, 1fr);
        grid-auto-flow: column;
        overflow-x: scroll;
        overflow-y:hidden;
        display: grid;
    }

    .ais-RefinementList-item {
        flex: 50%;
    }

    .ais-RefinementList-checkbox {
        height: 1.5rem;
        min-width: 1.5rem;
    }

    .ais-RefinementList-item--selected .ais-RefinementList-checkbox:after {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='12' height='9'%3E%3Cdefs%3E%3Cpath id='a' d='M0 0h24v24H0z'/%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd' transform='translate(-6 -8)'%3E%3Cmask id='b' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3C/mask%3E%3Cpath fill='%23fff' fill-rule='nonzero' d='M16.5 8.5L18 10l-6.99 7-4.51-4.5L8 11l3.01 3z' mask='url(%23b)'/%3E%3C/g%3E%3C/svg%3E");
        height: 100%;
        left: initial;
        top: initial;
        transform: initial;
        width: initial;
        background: none;
        justify-content: center;
        align-items: center;
        display: flex;
        position: relative;
    }

    .ais-HierarchicalMenu-link:before {
        background-color: rgba(65, 66, 71, .08);
        border-radius: 50%;
        padding: 8px;
    }

    .ais-ToggleRefinement-checkbox {
        min-width: 47px;
        margin-left: 2rem;
        position: relative;
    }

    .ais-ToggleRefinement-checkbox:after {
        height: 1.5rem;
        width: 1.5rem;
        top: -4px;
    }

    .ais-ToggleRefinement-checkbox:before {
        right: 54px;
    }

    .ais-RatingMenu-starIcon {
        height: 1.5rem;
        width: 1.5rem;
        margin-right: 1rem;
    }

    .ais-Hits-list {
        grid-gap: 1rem;
    }

    .hit {
        display: flex;
    }

    .hit-image-container {
        flex: 1;
        margin-right: 2rem;
    }

    .hit-info-container {
        flex: 2;
    }

    .hits-empty-state-image, [data-layout="desktop"] {
        display: none;
    }
}
