﻿/*Banner*/

.banner-area {
    position: relative;
}

.banner-image, .banner-image img {
    height: 480px;
    object-fit: cover;
}

.banner-text-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-title {
    font-family: 'Baloo Paaji 2', sans-serif;
    font-size: 46px;
    font-weight: 700;
    line-height: 56px;
    text-align: center;
    color: #fff;
}


/*Content*/

.home-page-area {
    position: relative;
    top: -137px;
    z-index: 1;
}

.waved-container {
    overflow: hidden;
}

.container-wave {
    background-image: url(/img/rovnie/white-wave.webp);
    width: 100%;
    height: 137px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.waved-container-content {
    position: relative;
    background: #fff;
    top: -5px;
    padding-top: 50px;
    padding-bottom: 120px;
}

.products-area {
    display: flex;
    flex-direction: column;
    row-gap: 62px;
}

.products-title {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    color: #444444;
    width: 720px;
    margin: auto;
}


.product-categories ul {
    display: flex;
    align-items: center;
    list-style: none;
    justify-content: center;
    column-gap: 1rem;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    row-gap: 1rem;
}

    .product-categories ul li a {
        font-family: Poppins;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        color: #444;
        text-decoration: none;
        padding: 12px 36px;
        border: 1px solid #E8E8E8;
        display: block;
        border-radius: 50px;
        transition: .4s;
        background: #fff;
    }

        .product-categories ul li a.active {
            border: 1px solid #D0121C;
            background: #D0121C;
            color: #fff;
            transition: .4s;
        }

.products-title-and-categories {
    display: flex;
    flex-direction: column;
    row-gap: 62px;
}



.product-card {
    background: #F6F6F6;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.product-card-image-area, .product-card-image-area img {
    aspect-ratio: 1/1;
    position: relative;
    object-fit: contain;
}

.product-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: .4s;
}

.product-card:hover .product-hover-image
{
    opacity: 1;
    visibility: visible;
    transition: .4s;
}
    .product-card .product-hover-image > img
    {
        position:relative;
        z-index: 1;
    }


    .product-card .product-default-image {
        opacity: 1;
        visibility: visible;
        transition: .4s;
    }

.product-card:hover .product-default-image {
    opacity: 0;
    visibility: hidden;
    transition: .4s;
}



.product-default-image.single-image, .product-hover-image.single-image {
    transition: unset !important;
    position: relative;
    z-index: 1;
}

    .product-default-image.single-image + .product-backdrop-line {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        /*padding: 0 40px;*/
        opacity: 0;
        visibility: hidden;
        transition: .4s;
    }

.product-card:hover .product-default-image.single-image + .product-backdrop-line {
    opacity: 1;
    visibility: visible;
    transition: .4s;
}



.product-card:hover .product-default-image.single-image {
    opacity: 1;
    visibility: visible;
    transition: unset !important;
}


.spinner-container {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

    .spinner-container .spinner-border {
        border-bottom-color: #d0121c;
        border-left-color: #ffffff00;
    }



.product-hover-image .product-backdrop-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-title {
    font-family: Poppins;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    color: #626262;
    transition: .4s;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-card-title {
    color: #D0121C;
    transition: .4s;
}

.product-card-link {
    text-decoration: none;
}


@media only screen and (max-width: 1199px)
{
    .product-card {
        padding: 20px 12px;
    }
}


@media only screen and (max-width: 991px) {
    .container-wave {
        background-image: url(/img/rovnie/white-wave.webp);
        width: calc(100% + 250px);
        height: 50px;-
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: -150px center;
    }

    .product-categories ul {
        flex-wrap: unset;
        white-space: nowrap;
        justify-content: start;
        overflow: hidden;
        overflow-x: auto;
    }

    .product-categories ul::-webkit-scrollbar
    {
        display: none;
    }

    .products-title {
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .banner-title {
        font-size: 34px;
        line-height: 44px;
    }

    .waved-container-content {
        padding-top: 30px;
    }
}