header {
    z-index: 1;
    box-shadow: 0px 2px 10px white;
}

body {
    display: flex;
    flex-direction: column;
    height: 100svh; /* Set a Height so that the Grid will overflow causing it be scrollable*/
    overflow: hidden;
}

.air-conditioners {
    padding-block: 1vw;
    grid-auto-rows: min-content; /* Make this Section Scrollable because having a Search Bar in a Sticky Header causes all kinds of jankyness */
    overflow-y: scroll;
}

/* #region Search */
.nav-search-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .25s ease-out;
}
@media only screen and (max-width:  1474px) {
    .search-container {
        width: 80%;
    }
}
@media only screen and (max-width:  1156px) {
    .search-container {
        display: none;
    }
}

.search-container-mobile {
    display: none;
}
@media only screen and (max-width:  1156px) {
    .search-container-mobile {
        z-index: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: .25s ease-out;
        margin-bottom: .2rem;
    }
}

.search-box {
    padding-inline: 1rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .5rem;
    border-radius: 10px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.30);
    transition: .25s ease-out;
}

.search-svg {
    height: auto;
    width: clamp(1.5rem, 3vw, 1.7rem);
}

.search {
    padding-block: 1rem;
    width: 100%;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    border: none;
    outline: none;
    background-color: white;
}
@media only screen and (max-width:  1156px) {
    .search {
        padding-block: 0.6rem;
    }
}
/* #endregion Search */

/* #region Filter */
.filter-svg {
    height: auto;
    width: clamp(1.5rem, 3vw, 1.7rem);
    fill: var(--accent-color);
    cursor: pointer;
}

.filter-menu{
    top: 0;
    transform: translateX(-100%);
    height: 100vh;
    overflow-y: scroll;
    width: 25%;
    background-color: white;
    transition: transform .25s ease-out;
}
@media only screen and (max-width:  1156px) {
    .filter-menu{
        width: 60%;
    }
}
.filter-container.active .filter-menu{
    transform: translateX(0);
}

.filter-container {
    z-index: 3;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.10);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease-out, visibility .25s ease-out;

    &.active{
        opacity: 1;
        visibility: visible;
    }
}

.filter-title {
    margin: 0;
    padding-block: 0.2vw;
    padding-left: 1vw;
    padding-right: 0.5vw;
    width: calc(100% - 2.5vw);
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-container {
    padding-left: 1vw;
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 1vw;
}

.checkbox-group-name {
    text-align: left;
    padding-left: 1vw;
    margin-bottom: 0;
}

.checkbox-group {
    padding-left: 1vw;
    display: grid;
    grid-template-columns: 2rem auto;
    gap: 0.5rem;
}

.filter-checkbox {
    color: currentColor;
}

.filter-checkbox-label {
    font-size: 1.25rem;
}

.filter-close-button {
    padding-inline: 0;
    margin: 0;
    background-color: white;
    border: none;
    cursor: pointer;
    transition: .25s ease-out;

    &:hover {
        transform: scale(0.9);
    }
}
.filter-close-button-svg {
    width: clamp(1.5rem, 2vw, 2rem);
    fill: var(--accent-color);
    transition: .25s ease-out;
}
/* #endregion Filter */