@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,900&display=swap');

@keyframes down-btn {
    0% { bottom:20px; }    
    100% { bottom:0px; }

    0% { opacity:0; }    
    100% { opaicty:1; }
}

@-webkit-keyframes down-btn {
    0% { bottom:20px; }    
    100% { bottom:0px; }

    0% { opacity:0; }    
    100% { opaicty:1; }
}

@-moz-keyframes down-btn {
    0% { bottom:20px; }    
    100% { bottom:0px; }

    0% { opacity:0; }    
    100% { opaicty:1; }
}

@-o-keyframes down-btn {
    0% { bottom:20px; }    
    100% { bottom:0px; }

    0% { opacity:0; }    
    100% { opaicty:1; }
}

#categoryPage_subcategories {
    background-color: var(--section_color);
}

.cardSelected {
    z-index: 50;
}
/* Elegant */
.card_elegant {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 272px 100px 45px;
    grid-template-areas: "image" "text" "stats";
    border-radius: 18px;
    background: white;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.9);
    font-family: roboto;
    text-align: center;
    transition: 0.5s ease;
    cursor: pointer;
    margin: 20px auto;
}
.elegant_heart{ 
    display:flex; 
    justify-content: flex-end;
    cursor: pointer; 
    height: 20px;
    margin: 0 10% 0 10%;
}
.elegant_heart_icon { width: 20px; margin-right: 10px; }
.elegant_heart_icon.saved {
    background: url(../../assets/heart_saved.png) center center no-repeat;
    background-size: contain;
}
.elegant_heart_icon.unsaved {
    background: url(../../assets/heart_unsaved.png) center center no-repeat;
    background-size: contain;
}
.elegant_heart_count{ font-size: 14px; 
}

.elegant_footer {    
    margin: 40px auto 0;
    display: block;
    width: 80%;
}
.elegant_checkit {
    margin: 10px 0 -7px;
}
.elegant_btn {
    width: 100%;
    border: 1px solid var(--section_color);
}
.span_amazon_icon {
    display: block;
    background: url(../../assets/amazon.png) no-repeat center center;
    background-size: contain;
    width: 100%;
    border: none;
    height: 25px;
    margin: 10px 0 5px;
}

/* Button_Curtain */
.card_button_curtain {
    margin: 20px auto;
}
.button_curtain {
    font-family: Poppins, sans-serif; 
    color: white;
    position: relative;
    height: 400px;
    margin: 0 auto;
    background: rgb(19, 171, 8);
    overflow: hidden;
    text-align: center;
}
.description-button_curtain h2 {font-family: Poppins, sans-serif; font-size: 20px; line-height: 20px; font-weight: 400;}
.description-button_curtain p {font-family: Poppins, sans-serif; font-size: 14px; font-weight: 400; margin-top: 25px;}
.go-to-post-button{
    position: absolute;
    z-index: -1; opacity: 0;
    left: 50%; transform: translateX(-50%); bottom: 40px;
    font-family: Poppins, sans-serif; font-size: 17px; font-weight: 500; letter-spacing: 1px; 
    color: rgb(19, 171, 8); background: #fff;
    border-radius: 2px; 
    box-shadow: 0 10px 20px #72727254;
    -webkit-transition: all ease-in-out .3s; transition: all ease-in-out .3s;
}
.input-button_curtain, .toggle-button_curtain {
    position: absolute;
    width: 50px; height: 50px;
    bottom: 20px; right: 20px;
    outline: none;
    z-index: 10;
}
.input-button_curtain { opacity: 0; }
.toggle-button_curtain {
    pointer-events: none;
    border-radius: 50%;
    color: rgb(19, 171, 8);
    background: #fff;
    transition: 0.5s;
    text-align: center;
    line-height: 50px;
    font-size: 36px;
    box-shadow: 0 0 0 0px rgb(19, 171, 8);
}
.input-button_curtain:checked ~ .toggle-button_curtain {
    box-shadow: 0 0 0 500px rgb(19, 171, 8);
    transform: rotate(225deg);
}
.imgBx-button_curtain, .description-button_curtain {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.description-button_curtain {
    padding: 20px;
    box-sizing: border-box;
    z-index: 11;
    pointer-events: none;
    transition: 0.5s;
    opacity: 0;
}
.input-button_curtain:checked ~ .description-button_curtain {
    opacity: 1;
    transition-delay: 0.1s;
}
.input-button_curtain:checked ~ .go-to-post-button {
    z-index: 15;
    transform: translateX(-50%);
    opacity: 1;
    transition-delay: 0.1s;
}
.input-button_curtain:checked ~ .go-to-post-button:hover {
    color: #fff;
    background: rgb(19, 171, 8);
    -webkit-transform: translateY(2px);
    transform: translate(-50%, 2px);
    transition-delay: 0s;
}

/* Flat */
.card_flat {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 48px 240px 55px 7px;
    grid-template-areas: "image" "text" "stats";
    background: white;
    font-family: roboto;
    text-align: center;
    transition: 0.5s ease;
    cursor: pointer;
    margin: 20px;
}
.card_flat .card_flat_header{
    height: 48px;
}
.card_flat_header a {
    display: block;
    position: absolute;
    background: rgb(19, 171, 8);
    width: 112px;
    height: 48px;
    font-weight: 500;
    font-size: 24px!important;
    line-height: 48px;
    color: #fff!important;
    right: 0;
    text-decoration: none;
    padding: 0;
}
.card_flat_header span {
    margin: 0;
}
.card_flat_line span { 
    display: block;
    width: 100%; 
    height: 0.1px; 
    margin: 0; 
    background-color: #e0e0e0
}

.flat_card_img_heart {
    display:flex; 
    justify-content: flex-end;
    cursor: pointer; 
    height: 20px;
    margin: 0 5% 0 10%;
}
.flat_card_img_heart_icon { width: 20px; margin-right: 10px; }
.flat_card_img_heart_icon.saved {
    background: url(../../assets/heart_saved.png) center center no-repeat;
    background-size: contain;
}
.flat_card_img_heart_icon.unsaved {
    background: url(../../assets/heart_unsaved.png) center center no-repeat;
    background-size: contain;
}
.flat_card_img_heart_count{ font-size: 14px; 
}

/* Compact */
.card_compact {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 48px 210px 100px 60px;
    grid-template-areas: "name" "image" "description" "stats";
    border-radius: 18px;
    background: white;
    font-family: roboto;
    text-align: center;
    transition: 0.5s ease;
    cursor: pointer;
    margin: 20px auto;
}
.compact-stats p {
    margin: 0;
    padding: 0;
    font-size: 20px;
}
.compact_card_img_heart{ 
    display:flex; 
    justify-content: flex-end;
    cursor: pointer; 
    height: 20px;
    margin: 0;
}
.compact_card_img_heart_icon { width: 20px; margin-right: 3px; }
.compact_card_img_heart_icon.saved {
    background: url(../../assets/heart_saved.png) center center no-repeat;
    background-size: contain;
}
.compact_card_img_heart_icon.unsaved {
    background: url(../../assets/heart_unsaved.png) center center no-repeat;
    background-size: contain;
}
.compact_card_img_heart_count{ 
    font-size: 12px;
    padding: 2px 0;
}
.compact_product_btn {
    width: 144px;
    color: white!important;
    text-shadow: 1px 1px black;
    font-size: 16px;
    padding: 10px 20px;
    margin: 8px 0;
}


/* Others */
.card_product {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 272px 100px 45px;
    grid-template-areas: "image" "text" "stats";
    border-radius: 18px;
    background: white;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.9);
    font-family: roboto;
    text-align: center;
    transition: 0.5s ease;
    cursor: pointer;
    margin: 20px auto;
}
.product_card_img_heart{ 
    display:flex; 
    justify-content: flex-end;
    cursor: pointer; 
    height: 20px;
    margin: 0 10% 0 10%;
}
.product_card_img_heart_icon { width: 20px; margin-right: 10px; }
.product_card_img_heart_icon.saved {
    background: url(../../assets/heart_saved.png) center center no-repeat;
    background-size: contain;
}
.product_card_img_heart_icon.unsaved {
    background: url(../../assets/heart_unsaved.png) center center no-repeat;
    background-size: contain;
}
.product_card_img_heart_count{ font-size: 14px; 
}

.card_product_footer {    
    margin: 40px auto 0;
    display: block;
    width: 80%;
}
.span_checkit_icon {
    margin: 10px 0 -7px;
}
.card_product_btn {
    width: 100%;
    border: 1px solid var(--section_color);
}
.span_amazon_icon {
    display: block;
    background: url(../../assets/amazon.png) no-repeat center center;
    background-size: contain;
    width: 100%;
    border: none;
    height: 25px;
    margin: 10px 0 5px;
}

