/**
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2020 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

#vp_homeproduct {
    color: #FFF;
    margin-top: 40px;
}

#vp_homeproduct .block_title {
    /* font-family: 'Playfair Display', serif; */
    font-family: 'Roboto Slab', serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-align: center;
    margin-bottom: 30px;
}

#vp_homeproduct #main_product_area {
    height: 650px;
    width: 100%;
    background:
        linear-gradient(
            rgba(21, 58, 46, 0.75),
            rgba(21, 58, 46, 0.75)
        ),
        url('../img/bg_image.jpg');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#vp_homeproduct .product_wrapper {
    width: 1100px;
    height: 290px;
    display: flex;
    position: relative;
    justify-content: space-between;
    background-color: #FFF;
}

#vp_homeproduct .product_thumbnail {
    position: absolute;
    object-fit: cover;
    height: 600px;
    top: -150px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#vp_homeproduct .product_links_container {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#vp_homeproduct .product_info_wrapper,
#vp_homeproduct .product_description_wrapper {
    color: #104c39;
    width: 50%;
}

#vp_homeproduct .product_description_wrapper {
    display: flex;
    flex-direction: column;
}

#vp_homeproduct .product_name {
    font-family: 'Roboto Slab', serif;
    font-size: 65px;
    font-weight: 900;
    line-height: 1.3;

    display: inline-block !important;
    margin: 0;
    padding: 15px 15px 0;
    margin-left: 10px;
    border-bottom: 2px solid #95c11f;
}

#vp_homeproduct .product_description {
    /* font-family: 'Roboto Slab', serif; */
    font-family: "Helvetica Neue Pro", 'Roboto Slab', Arial, sans-serif;
    /* font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; */
    font-size: 14px;
    line-height: 1.3;
    text-align: left;

    display: inline-block;
    overflow: hidden;
    height: 110px;
    width: 280px;
    margin-left: 25px;
    padding-top: 20px;
}

#vp_homeproduct .discount_label {
    opacity: 0;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 140px;
    top: -30px;
    padding: 5px 10px;
    background-image: url(../icons/fire.svg);
    background-repeat: no-repeat;
    background-size: 24px 26px;
    background-position: center center;
    background-color: #95C11F;
    transition: ease-in-out .3s;
}

#vp_homeproduct .discount_label.has_discount {
    opacity: 1;
    transition: ease-in-out .3s;
}

#vp_homeproduct .product_short_description {
    font-family: "Helvetica Neue Pro", 'Roboto Slab', Arial, sans-serif;
    /* font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; */
    /* font-family: 'Roboto', sans-serif; */
    padding: 30px 20px 0px 220px;
}

#vp_homeproduct .product_short_description p {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    padding: 0 10px 5px 0;
    border-bottom: 2px solid #95C11F;
}

#vp_homeproduct .product_short_description p span {
    text-transform: initial;
}

#vp_homeproduct .product_price {
    text-align: right;
    padding-right: 20px;
    position: absolute;
    right: 0;
    bottom: 70px;
    display: flex;
    font-weight: bold;
    font-family: "Helvetica Neue Pro", 'Roboto Slab', Arial, sans-serif;
    /* font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; */
    /* font-family: 'Roboto', serif; */
}

#vp_homeproduct .price_amount_wrapper p {
    line-height: 1;
    margin: 0;
}

#vp_homeproduct .price_amount_wrapper .price_amount {
    font-size: 24px;
}

#vp_homeproduct .product_price .price_label {
    margin-right: 10px;
    font-size: 16px;
    margin-bottom: 0;
}

#vp_homeproduct .product_discount_price {
    /* font-family: 'Roboto Slab', sans-serif; */
    font-family: "Helvetica Neue Pro", 'Roboto Slab', Arial, sans-serif;
    /* font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; */
    font-size: 12px;
    font-weight: normal;
    text-align: right;
    text-decoration: line-through;
    padding-top: 5px;
    transition: ease-in-out .3s;
}

#vp_homeproduct .product_discount_price.has_discount {
    opacity: 1;
}

#vp_homeproduct .product_link,
#vp_homeproduct .category_link {
    font-family: 'Roboto Slab', sans-serif;
    text-align: center;
    font-weight: bold;

    display: inline-block;
    padding: 20px 110px;
    width: 350px;

    color: #104c39;
    background: #95C11F;
    box-shadow: -8px 7px 0 0 #104c39;
    transition: ease-in-out .3s;
}

#vp_homeproduct .category_link {
    box-shadow: 8px 7px 0 0 #104c39;
}

#vp_homeproduct .product_link:hover,
#vp_homeproduct .category_link:hover {
    background: #7FA123;
    box-shadow: 0 0 0 0 #104c39;
}

#vp_homeproduct .product_item {
    margin-top: auto;
}

#vp_homeproduct .product_image_wrapper img {
    margin-top: auto;
    object-fit: cover;
    transition: ease-in-out .3s;
}

#vp_homeproduct .product_item:nth-child(1) .product_image_wrapper img {
    height: 180px;
    width: 150px;
}

#vp_homeproduct .product_item:nth-child(2) .product_image_wrapper img {
    height: 190px;
}

#vp_homeproduct .product_item:nth-child(3) .product_image_wrapper img {
    height: 220px;
    width: 160px;
}

#vp_homeproduct .product_item:nth-child(4) .product_image_wrapper img {
    height: 230px;
    width: 180px;
}

#vp_homeproduct .product_item:nth-child(5) .product_image_wrapper img {
    height: 240px;
    width: 180px;
}

#vp_homeproduct .product_item:nth-child(6) .product_image_wrapper img {
    height: 250px;
}

#vp_homeproduct .product_item:nth-child(7) .product_image_wrapper img {
    height: 260px;
    width: 200px;
}

#vp_homeproduct .product_item_name {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Roboto Slab', sans-serif;
    font-size: 16px;
    margin-top: 10px;
    height: 40px;
    transition: ease-in-out .3s;
}

#vp_homeproduct .product_image_wrapper {
    position: relative;
    bottom: 0;
    transition: ease-in-out .3s;
}

#vp_homeproduct .product_item.slick-current .product_image_wrapper,
#vp_homeproduct .product_item:not(.slick-slide).active .product_image_wrapper {
    bottom: 10px;
}

#vp_homeproduct .product_item.slick-current .product_item_name,
#vp_homeproduct .product_item:not(.slick-slide).active .product_item_name {
    font-size: 28px;
    color: #95C11F;
}

#vp_homeproduct #product_items_list .product_item:hover {
    cursor: pointer;
}

#vp_homeproduct #product_items_list .product_item:not(.active):hover img {
    transform: scale(1.05);
}

#vp_homeproduct #product_items_list {
    display: flex;
    position: relative;
    justify-content: center;
}

@media screen and (max-width: 1420px) {
    #vp_homeproduct .product_item:nth-child(1) .product_image_wrapper img {
        height: 150px;
        width: 130px;
    }
    
    #vp_homeproduct .product_item:nth-child(2) .product_image_wrapper img {
        height: 160px;
    }
    
    #vp_homeproduct .product_item:nth-child(3) .product_image_wrapper img {
        height: 170px;
        width: 140px;
    }
    
    #vp_homeproduct .product_item:nth-child(4) .product_image_wrapper img {
        height: 180px;
        width: 150px;
    }
    
    #vp_homeproduct .product_item:nth-child(5) .product_image_wrapper img {
        height: 190px;
        width: 150px;
    }
    
    #vp_homeproduct .product_item:nth-child(6) .product_image_wrapper img {
        height: 200px;
    }
    
    #vp_homeproduct .product_item:nth-child(7) .product_image_wrapper img {
        height: 210px;
        width: 180px;
    }
}



@media screen and (max-width: 1200px) {
    #vp_homeproduct .product_image_wrapper img {
        display: none;
    }

    #vp_homeproduct .product_item {
        padding: 0 10px;
    }

    #vp_homeproduct .product_item.active::after {
        content: '';
        position: absolute;
        top: 0;
        display: block;
        height: 50px;
        width: 120px;
        background: url('../img/active_item.svg');
    }

    #vp_homeproduct #main_product_area {
        align-items: flex-end;
    }

    #vp_homeproduct .product_wrapper {
        position: static;
        width: 100%;
        height: 430px;
    }

    #vp_homeproduct .product_thumbnail {
        height: 340px;
        top: 0;
    }

    #vp_homeproduct .discount_label {
        top: 0;
        right: 0;
    }

    #vp_homeproduct .product_name {
        font-size: 48px;
        margin-top: 20px;
    }

    #vp_homeproduct .product_short_description {
        padding: 20px;
        padding-bottom: 0;
        margin-top: 100px;
    }

    #vp_homeproduct .product_description {
        padding: 20px;
        margin: 0;
        width: auto;
        height: auto;
    }

    #vp_homeproduct .product_price {
        position: static;
        padding-right: 0;
        padding-left: 20px;
    }

    #vp_homeproduct .product_discount_price {
        text-align: left;
    }

    #vp_homeproduct .product_link,
    #vp_homeproduct .category_link {
        padding: 14px;
        margin: 40px 20px;
        width: 100%;
    }

    #vp_homeproduct #product_items_list .slick-prev  {
        background: #104c39 url('../icons/double_left_arrow.svg') no-repeat;
    }

    #vp_homeproduct #product_items_list .slick-next  {
        background: #104c39 url('../icons/double_right_arrow.svg') no-repeat;
    }

    #vp_homeproduct #product_items_list .slick-arrow {
        padding: 0;
        border: none;
        font-size: 0;
        width: 50px;
        height: 100%;
        background-size: 20px;
        background-position: center;
    }

    #vp_homeproduct .product_item_name {
        margin: 20px 0;
        line-height: 40px;
    }

    #vp_homeproduct .product_item.slick-slide:not(.slick-current) .product_item_name {
        opacity: .75;
    }

    #vp_homeproduct .product_item.slick-current .product_item_name {
        font-size: 24px;
        font-weight: bold;
    }

    #vp_homeproduct #product_items_list .slick-arrow,
    #vp_homeproduct #product_items_list .product_item.slick-slide {
        outline: none;
    }
}

@media (max-width: 768px) {
    #vp_homeproduct .product_name {
        position: absolute;
        left: 0px;
        right: 0px;
        text-align: center;
        border: none;
    }

    #vp_homeproduct .product_thumbnail {
        height: 260px;
    }

    #vp_homeproduct .product_description {
        margin-top: 100px;
    }
}

@media (max-width: 550px) {
    #vp_homeproduct #main_product_area,
    #vp_homeproduct .product_wrapper {
        height: auto;
    }
    
    #vp_homeproduct .product_wrapper {
        margin-top: 220px;
        display: block;
    }

    #vp_homeproduct .product_description_wrapper,
    #vp_homeproduct .product_info_wrapper {
        width: 100%;
    }

    #vp_homeproduct .product_short_description {
        margin-top: 0px;
    }

    #vp_homeproduct .product_links_container {
        position: static;
        flex-direction: column-reverse;
        padding-bottom: 20px;
    }

    #vp_homeproduct .product_price {
        justify-content: center;
        padding: 20px;
    }

    #vp_homeproduct .product_link,
    #vp_homeproduct .category_link {
        margin: 10px 20px;
        width: auto;
        box-shadow: 8px 7px 0 0 #104c39;
    }
}