﻿:root {
    --primary-color: 4, 3, 3;
    --secondary-color: 143, 29, 20;
    --btn-bck-color: rgb(var(--primary-color));
    --btn-bck-color-hover: rgb(var(--secondary-color));
    --dummy-color: 128, 128, 128;
    --third-color: 88, 175, 102;
    --linear-gradient: linear-gradient(90deg, rgba(var(--primary-color),1) 0%, rgba(var(--secondary-color),1) 100%);
    --box-shadow: #dddddd;
    --border-radius: 5px;
    --font-color: #535152;
    --success-color: 0, 141, 89;
    --error-color: 143, 29, 20;
}


.product-cards-body {
    margin: auto;
    width: 95%;
}

.grid-card-body {
    position: relative;
    padding: 0px;
    border-radius: var(--border-radius);
}
.grid-card-body-btns{
    height: 510px;
}
    .grid-card-body a {
        color: #155767;
    }

    .grid-card-body:hover {
        transform: translateY(-8px);
        z-index: 1;
        box-shadow: 3px 3px 5px var(--box-shadow)
    }

    .grid-card-body .card-buttons {
    display: flex;
    justify-content: center;
    gap: 5px;
    height: 50px;
    width: 100%;
    font-size: 25px;
    cursor: pointer;
    background: var(--linear-gradient);
    box-shadow: 0 -1px 1px rgb(var(--primary-color));
}


.list-card-body {
    position: relative;
    padding: 0px;
    border-radius: var(--border-radius);
}

    .list-card-body a {
        color: #155767;
    }

    .list-card-body:hover {
        transform: translateY(-8px);
        z-index: 1;
        box-shadow: 3px 3px 5px var(--box-shadow)
    }

    .list-card-body .card-buttons {
    display: flex;
    justify-content: center;
    gap: 5px;
    height: 50px;
    width: 100%;
    font-size: 25px;
    cursor: pointer;
    background: var(--linear-gradient);
    box-shadow: 0 -1px 1px rgb(var(--primary-color));
}

.card-product-info {
    position: relative;
    height: 440px;
    font-size: 14px;
    box-shadow: 0 0 2px var(--box-shadow);
    background-color: white;
    border-radius: var(--border-radius);
}
.card-product-info-btns {
    height: 470px;
}
.list-card-product-info {
    position: relative;
    height: 230px;
    font-size: 14px;
    box-shadow: 0 0 2px var(--box-shadow);
    background-color: white;
    border-radius: var(--border-radius);
}
.card-product-info.adjust-card-height {
    height: 480px;

}
.list-card-product-info.adjust-list-height {
    height: 250px;
}

.card-product-info .stock-and-sale-wrapper {
    height: 20px;
    width: 100%;
}

.card-product-info .product-image-wrapper {
    position: relative;
    height: 200px;
}

.card-product-info .product-name-wrapper {
    padding: 0 1rem;
    padding-top: 10px
}

.card-product-info .product-price-wrapper {
    position: relative;
    height: 90px;
    width: 100%;
    border-bottom: 0.5px solid #e5e5e5;
    display: flex;
    flex-direction: column;
}

    .card-product-info .product-price-wrapper h4 {
        margin: 0;
    }

    .card-product-info .product-price-wrapper .old-price {
        position: absolute;
        right: 5%;
        top: 0;
        font-weight: bold;
        text-decoration: line-through;
        font-size: 17px;
        color: rgba(var(--primary-color), 0.5);
    }

    .card-product-info .product-price-wrapper .retail-price-container {
        display: flex;
        justify-content: center;
        align-content: center;
        height: 40px;
        width: 100%;
    }

    .card-product-info .product-price-wrapper .price-container {
        height: 50px;
        width: 100%;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }


.card-product-info .product-manufacturer-wrapper {
    height: 60px;
    width: 100%;
    padding: 5px 1rem;
}


.card-product-info .product-image {
    max-height: 200px;
    max-width: 250px;
}
.card-product-info .list-product-image {
    max-height: 190px;
    max-width: 90%;
}
@media only screen and (max-width: 600px) {
    .card-product-info .list-image-wrapper {
        max-height: 175px;
        width: 100px;
    }

    .custom-card-list .list-card-body {
        width: 75%
    }

    .custom-card-list .name {
        width: 65%;
    }

    .card-product-info .product-price-wrapper {
        border-bottom: none;
    }

    .list-card-product-info .product-manufacturer-wrapper {
        display: none;
    }

    .list-card-product-info .product-code {
        display: none;
    }

    .list-card-product-info .productcode {
        display: none;
    }

    .list-card-product-info .product-name-wrapper {
        height: 60px;
    }
    .list-card-body p.name {
        height: 80px;
        font-size: 13px
    }

    .list-card-product-info p.name {
        width: auto;
    }

    .stock-and-sale-wrapper {
        width: auto;
    }

    .list-card-product-info {
        height: 180px;
    }
    .hideDiv {
        display:none !important;
    }
    .list-card-product-info.adjust-list-height {
        height: 170px;
    }
}

    @media only screen and (max-width: 416px) {


        .custom-card-list .list-card-body {
            width: 72%;
        }

    }

    @media only screen and (max-width: 400px) {


        .custom-card-list .list-card-body {
            width: 68%;
        }

    }
    @media only screen and (max-width: 392px) {


        .custom-card-list .list-card-body {
            width: 67%;
        }
    }
    @media only screen and (max-width: 376px) {


        .custom-card-list .list-card-body {
            width: 64%;
        }

    } 
    @media only screen and (max-width: 362px) {


        .custom-card-list .list-card-body {
            width: 61%;
        }

    } 
