﻿
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99999999;
    top: 0px;
    left: 0px;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

/*** product ***/
.product-container {
    background-color: #f1f1f1ff;
    padding: 50px 0;
}

.product-container .container {
    background-color: white;
    border-radius: 30px;
    padding: 1rem 0 0.5rem 1rem;
}

.product-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: solid 0.5px rgba(0, 0, 0, 0.1);
}

.product-item a {
    text-decoration: none;
    color: black;
}

.product-item:hover {
    box-shadow: 5px 10px 18px gray;
    transition: 0.5s;
}


.product-item .item-detail h5 {
    display: block;
    max-width: 400px;
    height: calc(18px * 1.4 * 2); /*  $font-size*$line-height*$lines-to-show; */
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.4;
    -webkit-line-clamp: 2; /* line to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
    display: flex;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .product-carousel .owl-nav {
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .product-carousel .owl-nav .owl-prev,
    .product-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .product-container .container {
        background-color: white;
        border-radius: 30px;
        padding: 1rem 0rem 0.5rem 0rem;
    }

    .product-item .item-detail h5 {
        height: calc(15px * 1.4 * 2); /*  $font-size*$line-height*$lines-to-show; */
        font-size: 15px;
    }

    .product-item .item-detail span {
        font-size: 15px !important;
    }

    .addMoreproduct {
        transform: none;
    }
}


.addMoreproduct {
    transform: translateX(25px);
    border: solid 0.5px #b2b2b2;
    padding: 10px 20px;
    background-color: blue;
    color: white;
    font-size: 20px;
    font-weight: 600;
}


.addMoreproduct:hover {
    background-color: #3b3bff;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: all 0.5s;
}

