/************************ Product List ***************************/
.block_margin_bottom {
    padding-bottom: 96px;
}

.store_wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    z-index: 1;
    margin-bottom: 96px;
}

#store_wrapper,
.store_wrapper:last-of-type {
    margin-bottom: 0;
}

.category_heading {
    margin-top: 80px;
    margin-bottom: -10px;
}

.category_heading:first-of-type {
    margin-top: 0;
}

.center_store {
    justify-content: center;
}

/************ Products *************/
.product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc((100% - 90px) / 4);
    margin-right: 30px;
    background-color: var(--white);
    border: 2px solid var(--border-grey);
    padding: 15px;
    box-sizing: border-box;
    margin-top: 30px;
    transition: 0.2s all ease-in-out;
    cursor: pointer;
}

.product:nth-of-type(4n) {
    margin-right: 0;
}

.center_store .product:last-of-type {
    margin-right: 0 !important;
}

.product_thumbnail {
    width: 100%;
    /* height: 450px; */
    overflow: hidden;
}

.product_thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transition: 0.2s all ease-in-out;
}

.label_container {
    position: relative;
    width: 100%;
    text-align: center;
}

.label {
    position: absolute;
    height: 30px;
    width: max-content;
    right: -15px;
    top: 20px;
    z-index: 5;
    padding: 12px 18px 6px 18px;
    background-color: var(--gold);
    color: var(--black);
    font-weight: 500;
}

.new_popular {
    left: -15px;
    background-color: var(--light-blue);
    color: var(--white);
}

.item_details .label {
    position: relative;
    right: 0;
    margin: -10px 0 45px 0;
}

.label i {
    margin-right: 8px;
}

.no_cat {
    display: none;
}

.product_details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product_details h3,
.product_details p {
    margin: 0;
    transition: 0.2s all ease-in-out;
}

.product_details h3 {
    text-align: center;
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--black);
}

.product_details i {
    width: 25px;
}

.product_details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product_details .product_details_base p {
    color: var(--black);
    margin-bottom: 0;
    font-weight: 500;
    width: 100%;
    text-align: center;
}

.product_details .product_details_base p i {
    margin-right: 8px;
}

.product_details .product_details_base .button {
    margin-top: 10px;
}

.product:hover {
    transition: 0.2s all ease-in-out;
}

.product:hover .product_thumbnail img {
    transform: scale(1.06);
    transition: 0.2s all ease-in-out;
}

.empty_state {
    text-align: center;
    display: none;
    /* margin-bottom: 100px; */
}

#load_more_container {
    display: none;
}

.view_more_button {
    margin-top: 50px;
}

.reviews_true {
    display: none;
}

.score-wrap .reviews_false {
    display: none !important;
}

/************************ Tags ***************************/
#selected_tag_text {
    margin: 30px auto 60px;
    width: max-content;
    display: none;
    align-items: center;
}

#selected_tag_text h4 {
    width: max-content;
    margin: 0
}

#selected_tag {
    padding: 0 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    height: 46px !important;
    background-color: var(--light-blue);
    text-align: center;
    color: var(--white);
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px;
    text-decoration: none;
    border: none;
    outline: none;
    margin-left: 30px;
}

#selected_tag_text .button_2 {
    margin-left: 25px;
}

.store_filtering .category_filter {
    width: calc((100% - 60px) / 3);
}

.store_filtering .search_bar {
    margin-top: 0;
    width: calc((100% - 60px) / 3);
    margin-left: 30px;
}

#age_review_modal .modal_wrapper {
    min-height: 450px;
}

@media (max-width: 1630px) and (min-width: 1400px) {
    .new_popular {
        top: 85px;
        left: unset;
        right: -15px;
    }
}

@media (max-width: 1330px) and (min-width: 750px) {
    .new_popular {
        top: 85px;
        left: unset;
        right: -15px;
    }
}

@media (max-width: 1050px) {
    #selected_tag_text {
        flex-direction: column;
        margin-bottom: 40px;
    }

    #selected_tag_text,
    #selected_tag_text h4 {
        width: 100%;
        text-align: center;
    }

    #selected_tag {
        margin-left: 0;
        margin-top: 20px;
    }

    #selected_tag_text .button_2 {
        margin-left: 0;
        margin-top: 25px;
    }
}

@media (max-width: 1400px) {
    .product,
    .product:nth-of-type(4n) {
        width: calc((100% - 60px) / 3);
        margin-right: 30px;
    }
    
    .product:nth-of-type(3n) {
        margin-right: 0;
    }

    .store_filtering .filter {
        width: 100%;
        margin-top: 96px;
        margin-bottom: 66px;
    }
}

@media (max-width: 1100px) {
    .store_filtering .category_filter {
        width: calc((100% - 30px) / 2);
    }
    
    .store_filtering .search_bar {
        margin-top: 0;
        width: calc((100% - 30px) / 2);
        margin-left: 30px;
    }
}

@media (max-width: 750px) {
    .product,
    .product:nth-of-type(3n),
    .product:nth-of-type(4n) {
        width: calc((100% - 30px) / 2);
        margin-right: 30px;
    }

    .product:nth-of-type(2n) {
        margin-right: 0;
    }

    .store_filtering .filter {
        flex-direction: column;
        width: 75%;
        margin-bottom: 30px;
    }

    .store_filtering .category_filter,
    .store_filtering .search_bar {
        width: 100%;
        margin-left: 0;
    }

    .store_filtering .search_bar {
        margin-top: 30px;
    }
}

@media (max-width: 680px) and (min-width: 540px) {
    .new_popular {
        top: 85px;
        left: unset;
        right: -15px;
    }
}

@media (max-width: 650px) {
    .store_filtering .filter {
        width: 100%;
    }

    .category_heading {
        text-align: center;
    }
}

@media (max-width: 540px) {
    .store_wrapper {
        flex-direction: column;
    }

    .store_filtering .filter {
        width: 100%;
    }

    .product,
    .product:nth-of-type(2n),
    .product:nth-of-type(3n),
    .product:nth-of-type(4n) {
        width: 100%;
        margin-right: 0 !important;
    }

    .product_thumbnail {
        width: 100%;
        height: 400px;
        overflow: hidden;
    }

    .product_thumbnail img {
        object-fit: contain;
    }
}