body {
    font-family: sans-serif;
    padding: 1em;
}

.ais-SearchBox {
    margin: 1em 0;
}

.ais-Pagination {
    margin-top: 1em;
}

.left-panel {
    float: left;
    margin-top: 1em;
    width: 300px;
}

.right-panel {
    margin-left: 20px;
    width: 100%;
}

.searchHeaderContainer {
    max-width: 1700px;
    margin: 0 auto;
}

.ais-InstantSearch {
    display: flex;
    max-width: 1700px;
    margin: 0 auto;
}

.ais-Hits-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1em;
}

.ais-Hits-item {
    max-width: 300px;
}

.ais-Hits-item img {
    margin-right: 1em;
    max-width: 100%;
    height: auto;
}

.hit-name {
    margin-bottom: 0.5em;
}

.hit-description {
    color: #888;
    font-size: 14px;
    margin-bottom: 0.5em;
}

.product-info {
    margin-top: 5px;
    float: left;
}

.product-card-container {
    display: grid;
}

#products-grid .ais-Hits-list {
    display: grid;
    overflow: hidden;
    gap: 10px;
    row-gap: 30px;
    grid-auto-rows: minmax(100px, auto);
    margin-left: 0;
    margin-right: 0;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.ais-RefinementList-searchBox:has(:disabled) {
    opacity: 0.5;
}

#refinement-list {
    margin-top: 10px;
}

.ais-Panel-header span {
    font-size: 20px;
    text-transform: capitalize;
    color: black;
}

.color-filter-tooltip-main {
    display: block;
    width: 47px;
    height: 47px;
    margin: 2px;
    position: relative;
    border: thin solid #00000063;
}

.color-filter-tooltip-main .tooltip-content {
    background: #fff;
    border-radius: inherit;
    margin: inherit;
    max-width: 360px;
    min-width: 210px;
    padding: 12px 16px;
    z-index: 100;
    display: none;
    position: absolute;
    text-align: left;
    color: #1d1d1d;
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
    letter-spacing: 0;
    line-height: 1.4;
    font-size: inherit;
    border: 1px solid #2f2f31;
    margin-bottom: 5px;
    bottom: 100%;
    left: 0
}

.color-filter-tooltip-main .tooltip-content:after, .color-filter-tooltip-main .tooltip-content:before {
    border: solid transparent;
    content: "";
    height: 0;
    position: absolute;
    width: 0
}

.color-filter-tooltip-main .tooltip-content:after {
    border-width: 5px;
    border-color: transparent
}

.color-filter-tooltip-main .tooltip-content:before {
    border-width: 6px;
    border-color: transparent
}

.color-filter-tooltip-main .tooltip-content:after, .color-filter-tooltip-main .tooltip-content:before {
    top: 100%
}

.color-filter-tooltip-main .tooltip-content:after {
    border-top-color: #fff;
    left: 15px;
    margin-left: -5px
}

.color-filter-tooltip-main .tooltip-content:before {
    border-top-color: #2f2f31;
    left: 15px;
    margin-left: -6px
}

.color-filter-tooltip-main .tooltip-toggle {
    cursor: help
}

.color-filter-tooltip-main .tooltip-toggle:focus + .tooltip-content, .color-filter-tooltip-main .tooltip-toggle:hover + .tooltip-content, .color-filter-tooltip-main:hover .tooltip-content {
    display: block
}

.color-filter-tooltip-main .tooltip-content {
    text-align: center;
    min-width: 0;
    padding: 0
}

.color-filter-tooltip-main .tooltip-content .color-filter-box {
    display: block;
    min-width: 135px;
    height: 120px
}

.color-filter-tooltip-main .tooltip-content .tooltip-color-hex {
    color: #1d1d1d;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase
}

#colorGroupFilter .ais-RefinementList-list {
    max-width: 270px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    grid-row-gap: 2px;
    grid-column-gap: 2px;
    overflow-y: initial;
}

.ais-RefinementList-list {
    max-height: 500px;
    overflow-y: auto;
}

.hit-name {
    font-size: 17px;
    font-weight: 700;
}

.color-filter-beige {
    background-color: beige;
}

.color-filter-blue {
    background-color: #4682b4;
}

.color-filter-grey {
    background-color: #68696d;
}

.color-filter-white {
    background-color: #f0f8ff;
}

.color-filter-green {
    background-color: #6aa84f;
}

.color-filter-brown {
    background-color: #7e644b;
}

.color-filter-red {
    background-color: #b22222;
}

.color-filter-yellow {
    background-color: #fffb87;
}

.color-filter-teal {
    background-color: #81b4b1;
}

.color-filter-black {
    background-color: #000000;
}

.color-filter-multicolored {
    background: linear-gradient(45deg, #ff7e00 0%, #ef69b9 14%, #d6083b 28%, #651f76 42%, #651f76 42%, #005a8c 56%, #1693a5 70%, #74c244 84%, #ebdb26 98%);
}

.color-filter-pink {
    background-color: #ff69b4;
}

.color-filter-orange {
    background-color: #d2691e;
}

.color-filter-purple {
    background-color: #8e7cc3;
}

.color-filter-lavender {

}

.offcanvas-start.show {
    z-index: 10000;
}