.drug-list-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: -80px;
    margin-bottom: 15px;
}

.drug-list-table td,
.drug-list-table th {
    text-align: left;
    padding: 5px 10px;
}

.drug-list-table thead th {
    padding-top: 0;
}

.drug-list-table tbody th {
    text-align: left;
    font-weight: normal;
}

.drug-list-table tr> :first-child {
    padding-left: 5px;
}

.drug-list-table tr> :last-child {
    padding-right: 5px;
}

.drug-list-table .product-qty {
    text-align: right;
}

.drug-list-table .product-price {
    text-align: right;
}

.drug-list-table tbody tr:nth-child(odd) {
    background: var(--yellow);
}

.drug-list-table tbody tr:nth-child(even) {
    /*background: #e5f1fa;*/
}

.drug-list-table tbody tr:hover {
    outline: 2px solid #000;
}

.drug-list-table .drug-btn.add-to-cart-button {
    width: auto;
    text-align: center;
    padding: 5px;
    font-size: smaller;
    white-space: nowrap;
}



@media screen and (max-width: 1000px) {

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead tr {
        display: none;
    }

    tr {
        margin-bottom: 10px;
    }

    .drug-list-table td,
    .drug-list-table tbody th {
        position: relative;
        display: flex;
        justify-content: space-between;
        gap: 1.5rem;
        text-align: right;
    }

    .drug-list-table td::before,
    .drug-list-table tbody th::before {
        content: attr(data-label);
        font-weight: bold;
    }

    .drug-list-table th,
    .drug-list-table tr> :first-child,
    .drug-list-table td.action-col {
        padding: 5px 10px;
    }

    .drug-list-table .drug-btn.add-to-cart-button {
        width: 100%;
    }
}