:root {
    --vobler-w: 84px;
    --vobler-h: 70px;
    --vobler-font: 18px;
    --vobler-gap: 96px;
    --vobler-bottom: 20px;
    --vobler-img: url("/img/gp-crni-jastuk-84x70px.png");
}

.popust_list_view {
    width: var(--vobler-w) !important;
    height: var(--vobler-h) !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background-color: transparent !important;
    background-image: var(--vobler-img) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% 100% !important;

    color: #fff !important;
    font-size: var(--vobler-font) !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    font-family: 'Gotham Bold', sans-serif !important;
    text-align: center;
}

.list .item {
    display: flex;
}

.list .item > .itemInList {
    flex: 1 1 auto;
    min-width: 0;
}

.itemInList {
    position: relative !important;
}

.itemInList .priceBox,
.itemInList .pricesDiv .oldSinglePrice,
.itemInList .price {
    position: static !important;
}

.itemInList:has(.popust_list_view) .priceBox {
    padding-right: var(--vobler-gap) !important;
}

.itemInList .akcija_wrapper,
.itemInList .akcija_wrapper_t {
    position: absolute !important;
    top: auto !important;
    bottom: var(--vobler-bottom) !important;
    right: 10px !important;
    margin: 0 !important;
    padding-left: 0 !important;
    transform: none !important;
    pointer-events: none;
}

.itemInList:has(.lc-price-label):has(.popust_list_view) {
    --vobler-w: 72px;
    --vobler-h: 60px;
    --vobler-font: 16px;
    --vobler-gap: 90px;
    --vobler-chip-h: 32px;
    --vobler-img: url("/img/gp-crni-jastuk-72x60px.png");
}

.itemInList:has(.lc-price-label):has(.popust_list_view) .akcija_wrapper,
.itemInList:has(.lc-price-label):has(.popust_list_view) .akcija_wrapper_t {
    bottom: calc(var(--vobler-bottom) + var(--vobler-chip-h) + 5px) !important;
}

.itemInList:has(.lc-price-label):has(.popust_list_view) .LCPrice .left-align,
.itemInList:has(.lc-price-label):has(.popust_list_view) .singleLCPrice .left-align {
    min-width: 0 !important;
}

.itemInList:has(.lc-price-label):has(.popust_list_view) .lc-price-label {
    position: absolute;
    bottom: var(--vobler-bottom);
    right: 10px;
    width: var(--vobler-w);
    height: var(--vobler-chip-h);
    padding: 2px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    line-height: 11px;
    z-index: 2;
}

.t3_vobleri .popust_list_view,
.itemDetailsT4 .popust_list_view {
    margin-left: 0 !important;
    padding: 0 !important;
}

.t3_vobleri {
    line-height: 0;
}

.search-result-prices .popust_list_view {
    flex: 0 0 auto;
}

@media (max-width: 1024px) {
    :root {
        --vobler-w: 72px;
        --vobler-h: 60px;
        --vobler-font: 16px;
        --vobler-gap: 84px;
        --vobler-bottom: 16px;
        --vobler-img: url("/img/gp-crni-jastuk-72x60px.png");
    }

    .itemInList:has(.lc-price-label):has(.popust_list_view) {
        --vobler-gap: 90px;
        --vobler-chip-h: 30px;
    }

    .popust_list_view {
        margin-left: 0 !important;
    }
}
