#product-grid {
    width: 95%;
    margin: 0 auto;
    grid-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
    grid-auto-columns: 1fr;
    display: grid;
    background: #d6dbed;
    padding: 2em;
}

.new-product {
    color: #ff7300;
    padding-bottom: 0.25em;
}

button.add-to-compare[data-toggle="true"] {
    color: black;
}

.grid-button-buy {
    background: #1d4ed8;
    color: #bfdbfe;
    display: table;
    padding: .5em 1.4em;
    border-radius: 50px;
    cursor: pointer;
    transition: .4s ease-in-out;
}

.product-grid-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.product-grid-pricing .money {
    font-size: 1em;
    font-weight: normal;
    color: #4e4f59;
    margin: 0;
    padding: 0;
}

.product-grid-img-container .coming-soon {
    position: absolute;
    left: 0;
    top: 0;
}

.product-text h3 {
    height: auto;
    color: var(--black);
    text-transform: none;
    padding-top: 0;
    font-family: Gilroy, sans-serif;
    font-size: 19px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 0;
    margin: 0;
}

.product-text .product-price {
    color: var(--black);
    font-family: Radomir Tinkov Gilroy Medium, sans-serif;
    font-size: 16px;
    font-weight: 500;
    display: block;
    margin: 0;
}

.grid-button-buy.active {
    background: #16a34a;
    color: #bbf7d0;
    transition: .3s ease-in-out;
}

.product-text .product-subtitle {
    max-width: 400px;
    color: #4e4f59;
    font-size: 14px;
    display: block;
    font-family: Gilroy, sans-serif;
    padding: 0.55em 0 0 0;
    margin: 0;
    font-weight: 500;
    line-height: 1.2;
}

.product-item {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    background: white;
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: 1px 1px 10px 4px #0000001c;
    height: 330px;
}

.product-grid-img {
    width: auto;
    margin: 0 auto;
    display: block;
    max-height: 150px;
}

.product-grid-img-container {
    border-radius: 5px;
    width: 100%;
    align-items: center;
    display: flex;
    position: relative;
}

select#sort-select {
    border: 2px solid black;
    padding: 1em;
    border-radius: 50px;
    margin-bottom: 0;
}

#loading-message {
    width: 100%;
    position: fixed;
    display: flex;
    bottom: 20;
    justify-content: center;
}

#loading-message svg {
    max-width: 64px;
    margin: 0 auto;
}

div#filter-container {
    padding-top: 2em;
    width: 95%;
    margin: 0 auto;
}

#product-collection-grid {
    display: flex;
    flex: 1;
}



#product-filter-panel {
    width: 100%;
    transition: all .3s ease-in-out;
    margin-left: 0;
    height: 100vh;
    z-index: 98;
    position: fixed;
    background: white;
    top: 0;
    overflow: auto;
    top: -110vh;
    transition: 0.4s cubic-bezier(0.85, 0, 0.15, 1);
}

.mobile-collapsed-panel {
    top: 0 !important;
}

@media screen and (min-width: 768px) {
    #product-filter-panel {
        max-width: 260px;
        top: 50px;
        position: sticky;
        transition: all .3s ease-in-out;
        margin-left: 0;
    }
}

.collapsed-panel {
    margin-left: -245px !important;
}

.product-filters {
    position: sticky;

    width: 80%;
    margin: 0 auto;
    overflow-y: auto;
    max-height: 90vh;
}



.product-tag-searchable {
    background-color: #f5f7ff;
    border: 1px solid #cbcfde;
    padding: .30em .50em;
    margin: .35em;
    font-family: Gilroy, sans-serif;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* This styles the scrollbar track (the part the thumb moves along) */
.product-filters::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Track background color */
    border-radius: 10px;
    /* Rounded corners for the track */
}

/* This styles the scrollbar thumb (the part that you drag) */
.product-filters::-webkit-scrollbar-thumb {
    background: #d6dbed;
    /* Thumb background color */
    border-radius: 10px;
    /* Rounded corners for the thumb */
}

/* Changes the thumb color on hover or when active */
.product-filters::-webkit-scrollbar-thumb:hover {
    background: #abb1c5;
}

/* This styles the scrollbar itself (width and height) */
.product-filters::-webkit-scrollbar {
    width: 8px;
    /* Width of the vertical scrollbar */
    height: 8px;
    /* Height of the horizontal scrollbar */
}

.collection-search {
    padding: 1em;
    font-size: 16px;
}

.product-tag-searchable:hover,
.active-tag {
    border-color: black;
}


.product-filter-tags {
    display: flex;
    flex-wrap: wrap;
}

.hidden {
    display: none;
}

.swatch-bubble.active-tag::before {
    content: "\f058";

}

.swatch-bubble::before {
    cursor: pointer;
    content: "\f111";
    font-weight: 900;
    text-shadow: 0 0 3px #000;
    font-size: 36px;
    margin-right: .25em;
    font-family: "Font Awesome 5 Pro";
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}


#swatch-container {
    display: flex;
    flex-wrap: wrap;
}

.collection-help {
    display: block;
    margin-top: 3em;
    border-top: 1px solid #dadada;
}

.product-filter-container {
    width: 95%;
    margin: 0 auto;
    display: flex;
    padding: .5em 0;
    justify-content: space-between;
    align-items: center;
}

.product-collection-header {
    position: sticky;
    background: white;
    top: 0;
    z-index: 98;
}


a.product-image-link {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


div#filter-controls {
    display: flex;
    align-items: center;
}

.mobile-filter {
    display: flex;
    padding-right: 2em;
    cursor: pointer;
}

.mobile-filter div {
    padding-right: .75em;
}


.hide-filter {
    display: none;
    cursor: pointer;
    padding-right: 2em;
}

.hide-filter div {
    padding-right: .75em;
}

.hide-filter-label {
    font-weight: bold;
}

@media screen and (min-width: 768px) {
    .hide-filter {
        display: flex;
        align-items: center;
    }

    .hide-filter-label {
        display: flex !important;
    }

    .mobile-filter {
        display: none;
    }
}


.product-collection-img-wrapper {
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.collapsible-container {
    width: 100%;
}

@media screen and (min-width: 768px) {
    .collapsible-container {
        width: 90%;
    }
}

.collapsible-container h4 {
    cursor: pointer;
    border-top: 2px solid #d6dbed;
    padding-top: .5em;
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
}

.collapsible-container h4::after {
    content: "+";
}

.product-filter-tags.active h4::after {
    content: "-"
}

.product-filter-tags.active .product-tag-searchable {
    display: block;
    transition: all 0.3s ease;


}

.product-tag-searchable {
    display: none;
    transition: all 0.3s ease;
}

.filter-checkbox {
    padding: .25em 0;
    display: flex;
    align-items: center;
}

.filter-checkbox label {
    margin: 0;
    padding-left: 0.45em;
}



.mobile-filter-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

#mobile-filter-close {
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;

}

#mobile-filter-close i {
    margin-left: .5em;
    font-size: 1.5em;
}

@media screen and (min-width: 768px) {
    .mobile-filter-container {
        display: none !important;
    }
}

button.product-tag-searchable[disabled] {
    opacity: .5;
    pointer-events: none;
}

.product-filter-container h2 {
    font-size: 1.5em;
    line-height: 1;
    margin: 0;
    padding: 0;
}

._skeleton {
    width: 200px;
    height: 330px;
    background-color: white;
    animation: shimmer 1.5s infinite linear;
}

._skeleton-main {
    height: 330;

}

._skeleton-text {
    margin-top: 1em;
    display: block;
    height: 30px;
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 200px 0;
    }
}

/* Adding the shimmer effect */
._skeleton {
    background: linear-gradient(to right, white 8%, #ecf1ff 18%, white 33%);
    background-size: 100% 100%;
    width: 100%;
}

div#_skeleton-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.reset-button {
    border-style: none;
    border: 2px solid #d6dbed;
    cursor: pointer;
    background: none;
    border-radius: 6px;
    padding: .5em;
    display: flex;
    align-items: center;
    transition: .2s ease-in-out;
}

.reset-button:hover {
    border-color: black;
}

.reset-button i {
    padding-left: 1em;
}

.hidden {
    display: none;
}

.non-interactable {
    opacity: .5;
    pointer-events: none !important;
}

p.variant-labels {
    font-weight: bold;
    margin: 0;
    padding: 0;
    font-size: 0.75em;
    color: #4e4f59;
    padding-bottom: 1.5em;

}

.product-price span {
    font-size: .75em;
    margin-right: .25em;
    color: #4e4f59;
    font-style: italic;
}

button.add-to-compare {
    padding: .75em;
    background: transparent;
    display: table;
    margin: 0 auto;
    max-width: 190px;
    cursor: pointer;
    color: #4e4f59;
}


div#comparing-products {
    background: #ffffff;
    position: fixed;
    bottom: -150px;
    width: 100%;
    min-height: 110px;
    left: 0;
    z-index: 98;
    box-shadow: 0px -1px 20px 0px #0000006b;
    transition: 0.3s cubic-bezier(0.85, 0, 0.15, 1);
}

div#comparing-products.comparing-active {
    bottom: 0;
}

.active-compared-product img {
    height: 25px;
}



.comparing-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.active-compare-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    color: #ff2e2e;
    cursor: pointer;
}

.active-compared-product {
    position: relative;
    text-align: center;
    background: #d6dbed;
    padding: 1em;
}

.active-compared-product p {
    margin: 0;
    font-size: 0.7em;
    padding-top: 1em;
}

.compare-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

a.compare-action {
    font-size: 0.8em;
    background: black;
    padding: 1em;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: table;
    text-align: center;
    margin: 0 auto;
}

.tiny-clear {
    cursor: pointer;
    display: block;
    margin-top: 0.7em;
    font-size: 0.9em;
    color: dimgray;
    text-decoration: none;
}

.clear-a {
    color: inherit;
    text-decoration: none;
}

.grid-product-interactions {
    display: flex;
    align-items: center;
}

@media screen and (min-width: 768px) {

    a.compare-action {
        font-size: 1em;
    }

    .active-compared-product img {
        height: 100px;
        margin: 0 auto;
    }

    #product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .comparing-container {
        max-width: 890px;
        margin: 0 auto;
        padding: 1em;
        grid-gap: 17px;
    }


}

@media screen and (min-width: 1024px) {
    #product-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (min-width: 1920px) {
    #product-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}