/* Stock Display Steps - presentation only */

/* Native PrestaShop value is kept as hidden data source. */
/* Keep PrestaShop's native stock block as an invisible data source only.
   product.js may hide/show it repeatedly during combination changes without
   affecting the visible Stock Display Steps output. */
#pQuantityAvailable {
    display: none !important;
}

#quantityAvailable {
    display: none !important;
}

.stock-display-steps-output {
    display: inline-block;
}

.stock-display-steps-line {
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
    gap: 6px;
    margin: 6px 0 10px !important;
    line-height: 1.2;
}

.stock-display-steps-label {
    color: #004545;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    flex: 0 1 auto;
}

.stock-display-steps-value {
    display: inline-block;
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 5px;
    background: #E4E13C;
    color: #004545;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.stock-display-steps-value-request {
    background: #e8e8e8;
    color: #004545;
}

#quantityAvailableTxt,
#quantityAvailableTxtMultiple {
    display: none !important;
}

@media (max-width: 479px) {
    .stock-display-steps-line {
        gap: 5px;
    }

    .stock-display-steps-label,
    .stock-display-steps-value {
        font-size: 13px;
    }

    .stock-display-steps-value {
        padding: 3px 6px;
    }
}
