
/** PRODUCT ITEMS **/

.product_items {
    display: flex;
    flex-wrap: wrap;
    gap: 3.5%;
}

.product_items > article {
    flex-shrink: 0;
    margin-bottom: 2rem;
    width: 31%;
}

/** Product items: Image **/

.product_items .image {
    background-color: #E9E9E9;
    border-radius: 2rem;
    min-height: 10rem;
    overflow: hidden;
    position: relative;
}

/** Product items: Actions **/

.product_items .temp_lock {
    bottom: 0;
    position: absolute;
    -webkit-transition: height 0.5s ease-out;
	-moz-transition: height 0.5s ease-out;
	-o-transition: height 0.5s ease-out;
    transition: height 0.5s ease-out;
    height: 200%;
    width: 100%;
}

.product_items .actions {
    align-items: center;
    background-color: #00000000;
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
    justify-content: center;
    opacity: 0;
    position: absolute;
    height: 160%;
    width: 100%;
    -webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
    transition: all 0.5s;
    -webkit-transition-timing-function: cubic-bezier(0.25,0.2,0.25,1.75);
	-moz-transition-timing-function: cubic-bezier(0.25,0.2,0.25,1.75);
	-o-transition-timing-function: cubic-bezier(0.25,0.2,0.25,1.75);
    transition-timing-function: cubic-bezier(0.25,0.2,0.25,1.75);
}

.product_items > article:hover .temp_lock {
    height: 0;
}

.product_items > article:hover .actions {
    background-color: #00000045;
    height: 125%;
    opacity: 1;
}

.product_items .actions > * {
    background-color: #FFFFFF;
    border-radius: 3rem;
    overflow: hidden;
    position: relative;
    height: 6rem;
    width: 6rem;
}

.product_items .actions div {
    background-color: #FFFFFF;
    background-position: center;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    height: 100%;
    width: 100%;
}

.product_items .actions > * > .icon_a {
    opacity: 1;
}

.product_items .actions > *:hover > .icon_a {
    opacity: 0;
}

.product_items .actions > *:hover > .icon_b {
    opacity: 1;
}

/** Product items: Actions > Wishlist **/

.product_items .actions > .add_wishlist > .icon_a {
    background-image: url("../../svg/disable_wishlist.svg");
    background-size: auto 45%;
}

.product_items .actions > .add_wishlist > .icon_b {
    background-image: url("../../svg/enable_wishlist.svg");
    background-size: auto 45%;
}

.product_items .actions > .wishlist_added > .icon_c {
    background-image: url("../../svg/active_wishlist.svg");
    background-size: auto 45%;
    opacity: 1;
}

/** Product items: Actions > Shopping **/

.product_items .actions > .add_shopping > .icon_a {
    background-image: url("../../svg/disable_shopping.svg");
    background-size: auto 45%;
}

.product_items .actions > .add_shopping > .icon_b {
    background-image: url("../../svg/enable_shopping.svg");
    background-size: auto 45%;
}

.product_items .actions > .shopping_added > .icon_c {
    background-image: url("../../svg/active_shopping.svg");
    background-size: auto 45%;
    opacity: 1;
}

/** Product items: Actions > View detail **/

.product_items .actions > .view_product > .icon_a {
    background-image: url("../../svg/disable_view.svg");
    background-size: 53%;
}

.product_items .actions > .view_product > .icon_b {
    background-image: url("../../svg/enable_view.svg");
    background-size: 53%;
}

/** Product items: Tag **/

.product_items .tag {
    line-height: 2.5rem;
    padding: 2rem 0;
}

.product_items .name {
    font-size: 2rem;
}

/** RESPONSIVE **/

@media (max-width: 850px) {

    .product_items {
        gap: 4%;
    }

    .product_items > article {
        width: 48%;
    }
}

@media (max-width: 550px) {

    .product_items {
        gap: none;
    }

    .product_items > article {
        width: 100%;
    }
}