.products-section {
    height: 100%;
    margin: 24px;
    display: flex;
    gap: 13px;
}

    .products-section .products-card {
        border-radius: 10px;
        background: rgba(0, 21, 34, 0.40);
        box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.03);
    }

    .products-section .products-list {
        width: 100%;
        max-height: calc(100vh - 118px);
        padding: 31px 24px;
    }

.products-list .products-topbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}
span.email_unwrap {
    color: #fff;
    padding-right: 7px;
}
.clients-table tbody tr.active span.email_unwrap {
    color:#000;
}
.products-topbar .products-topbar-brand {
    color: #FFF;
    font-family: Ubuntu-Medium;
    font-size: 26px;
    font-weight: 500;
}

.products-topbar .products-topbar-actions > button {
    width: 136px;
    height: 36px;
    border-radius: 6px;
    background: #074AF8;
    color: #FFF;
    text-align: center;
    font-family: Ubuntu-Medium;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.products-list .products-items {
    width: 100%;
    display: grid;
    height: auto;
  /*  overflow: auto;*/
    grid-template-columns: repeat(auto-fill, minmax(318px, 1fr));
    grid-template-rows: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 24px;
}

.products-list .products-items-empty {
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

    .products-list .products-items-empty h3 {
        color: rgba(255, 255, 255, 0.87);
        font-family: Ubuntu-Medium;
        font-size: 30px;
        font-weight: 700;
    }

.product-card {
    cursor: pointer;
    width: 318px;
    height: 184px;
    border-radius: 6px;
    text-decoration: none;
    background: rgba(0, 21, 34, 0.45);
}
    .product-card.product_grid {
        min-height: 184px;
        height:auto;
    }
    .product-card .product-logo {
        background: #001522;
        height: 121px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .product-card .product-logo img {
            max-width: 310px;
            max-height: 113px;
        }

    .product-card .product-name {
        height: 63px;
        padding: 20px;
    }

        .product-card .product-name h3 {
            color: #FFFFFF;
            text-align: center;
            font-family: Ubuntu-Medium;
            font-size: 20px;
            font-weight: 500;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
            .product-card.product_grid .view_product h3 {
                white-space: wrap;
                text-align: left;
                font-size: 14px;
            }

.products-section .product-details {
    position: relative;
    width: 400px;
    padding: 40px 20px;
}

.product-details .product-title {
    display: flex;
    align-items: center;
}

    .product-details .product-title h3 {
        color: #FFFFFF;
        font-family: Ubuntu-Medium;
        font-size: 20px;
        font-weight: 500;
        overflow-wrap: anywhere;
        max-height: 82px;
        overflow: hidden;
    }

    .product-details .product-title .edit {
        cursor: pointer;
        margin-left: 10px;
    }
.product-card.product_grid span.edit.delete-icon {
    top: 31px;
}
    .product-details .product-title .close {
        right: 19px;
        top: 46px;
    }

.product-details .product-actions {
    margin-top: 10px;
}

    .product-details .product-actions .details-link {
        text-decoration: none;
        color: #2F80ED;
    }

.product-details .product-description {
    margin-top: 25px;
}

    .product-details .product-description h4 {
        color: #E0E0E0;
        font-feature-settings: 'clig' off, 'liga' off;
        font-family: Ubuntu-Regular;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 133.4%; /* 21.344px */
    }

    .product-details .product-description p {
        margin-top: 5px;
        width: 320px;
        color: rgba(255, 255, 255, 0.60);
        font-feature-settings: 'clig' off, 'liga' off;
        font-family: Ubuntu-Regular;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px;
        max-height: 300px;
        overflow-y: auto;
        overflow-wrap: break-word;
    }

.product-details .product-options {
    margin-top: 25px;
}

    .product-details .product-options ul {
        margin-top: 5px;
        list-style-position: inside;
        max-height: 210px;
        overflow-y: auto;
    }

        .product-details .product-options ul li {
            color: rgba(255, 255, 255, 0.60);
            font-feature-settings: 'clig' off, 'liga' off;
            font-family: Ubuntu-Regular;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 30px; /* 187.5% */
        }
.product-card.product_grid {
    position: relative;
}

    .product-card.product_grid span.edit {
        position: absolute;
        width: 30px;
        height: 30px;
        display: inline-block;
        background: #074af8;
        border-radius: 50%;
        text-align: center;
        line-height: 30px;
        right: 0;
        top: -10px;
        z-index: 2;
    }
.view_product button {
    padding: 0px 14px;
}

.view_product {
    text-align: center;
    padding-bottom: 10px;
}



div.height_auto {
    height: auto;
}

div#show-product-modal {
}

div.height_auto h3 {
    border-bottom: 1px solid;
    width: 100%;
    padding-bottom: 9px;
    margin-bottom: 15px;
}

.height_auto .product-description h4 {
    margin-bottom: 10px;
}

.height_auto .product-description {
    margin-bottom: 19px;
}

.height_auto .product-options h4 {
    margin-bottom: 10px;
}

.height_auto .product-options ul li {
    list-style: inside;
}

.product-card.product_grid h3 {
    text-transform: capitalize;
}
.view_product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.product-card.product_grid .product-name {
    padding: 10px;
    height: unset;
}
@media screen and (max-width: 1440px) {
    .products-list .products-items {
        grid-template-columns: repeat(auto-fill, minmax(294px, 1fr));
        grid-template-rows: repeat(auto-fill, minmax(160px, 1fr));
        grid-gap: 50px;
    }
}

@media screen and (max-width: 1038px) {
    .products-list .products-items {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        grid-template-rows: repeat(auto-fill, minmax(160px, 1fr));
        grid-gap: 80px;
    }
}


@media screen and (max-width: 840px) {
    .products-list .products-items {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .product-card {
        width: 80%;
    }

        .product-card .product-logo img {
            max-width: 100%;
            max-height: 100%;
        }
}