@media (max-width: 480px) {
    .comparator_produse .thumbnail-product img {
        height: 150px;
        object-fit: scale-down;
    }
    .dbx-table {
        position: relative;
        overflow-x: auto;
    }
    td.dbx-table-column.dbx-table-column-head,
    th.dbx-table-column.dbx-table-column-head {
        position: sticky;
        position: -webkit-sticky;
        z-index: 10;
        left: 0;
        width: 150px !important;
        background-color: whitesmoke;
        padding: 0 15px;
        border: 1px solid #dbdada !important;
    }
    .comparator_produse .dbx_wrapper {
        overflow-y: hidden;
        overflow-x: auto;
        min-height: 0.01%;
    }
    th.dbx-table-column {
        min-width: 120px !important;
        width: 135px !important;
    }
    th.dbx-table-column.dbx-table-column-head {
        width: 100px !important;
    }
    .p-atc-btn {
        font-size: 10px;
    }
    .dbx-table th {
        text-transform: none;
    }
    .p-price {
        flex-flow: column nowrap !important;
        text-align: left;
        align-items: baseline !important;
        min-height: 33px !important;
    }
    .stock-p {
        width: 100% !important;
    }
}

.p-price-big .amount {
    color: #333;
}

td.dbx-table-column p.p-value.title {
    font-size: 14px !important;
}

td.dbx-table-column p.p-value {
    font-size: 13px !important;
}

.dbx-table th {
    text-transform: none;
}

.thumbnail-product img {
    height: 250px;
    object-fit: scale-down;
}

.thumbnail-product {
    position: relative;
}

.custom_dbx_badge {
    background-color: #b01a51;
    color: #fff;
    padding: 3px 7px;
    border-top-right-radius: 0.375em;
    border-bottom-right-radius: 0.375em;
    font-size: 12px;
    left: 0;
    position: absolute;
    bottom: 0;
}

.dbx-table {
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    background-color: transparent;
}

th.dbx-table-column {
    min-width: 180px;
    width: 20%;
    padding-left: 10px;
    padding-right: 10px;
    border: 0;
    border-top: 0 !important;
    vertical-align: middle;
}

.dbx-table-column-head {
    width: 20%;
    min-width: 0;
    background-color: rgba(0, 0, 0, 0.01);
    border-right: 1px solid rgba(0, 0, 0, 0.03) !important;
}

.dbx-table .product-specs {
    position: relative;
    margin-bottom: 10px;
}

a.p-title-link {
    color: #000;
}

h3.p-title-h {
    padding: 0 5px;
    width: 100%;
    text-align: left;
    font-size: 0.9em;
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

div.p-title {
    height: 55px;
    margin-bottom: 5px;
    text-decoration: none;
}

.p-stock,
.p-price,
.p-atc {
    width: 100%;
    margin: 5px 0;
}

.p-price {
    display: inline-flex;
    margin-left: 0;
    margin-right: auto;
    flex-flow: row nowrap;
    gap: 5px;
    align-items: center;
}

.p-atc-btn {
    background-color: #993399;
    color: #fff;
    padding: 5px 10px;
    border-radius: 0.375em;
    font-weight: 500;
}

.stock-p {
    display: block;
    padding: 0.3em 0.6em;
    font-size: 75%;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25em;
    text-transform: lowercase;
    margin-left: 0;
    margin-right: auto;
    width: fit-content;
}

.stock-p.instock {
    background-color: #009900;
}

.stock-p.onbackorder {
    background-color: red;
}

.stock-p.out_of_stock {
    background-color: black;
}

.p-price-big {
    font-size: 75%;
    opacity: 0.7;
    text-decoration: line-through;
    color: #333;
}

.p-price-small {
    font-size: 16px;
    color: red;
}

.dbx-table .add_to_cart_button {
    margin-left: 0 !important;
    margin-right: auto !important;
    display: block !important;
    width: fit-content;
}

.p-sale {
    position: absolute;
    background: red;
    top: 0;
    left: 0;
    padding: 2px 6px;
    border-top-right-radius: 0.375em;
    border-bottom-right-radius: 0.375em;
    color: #fff;
}

td.dbx-table-column {
    border: none;
}

.dbx-table > tbody > tr:nth-of-type(odd) {
    background-color: #eff9fe;
}
