/* Reusable public product availability badges. Inventory state remains in Blade/model logic. */
.nx-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    min-height: 27px;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.nx-stock-badge--out {
    border-color: #f5c6c6;
    background: #fdecec;
    color: #b42318;
}

.nx-stock-badge--in {
    border-color: #b9e5c8;
    background: #eaf7ef;
    color: #167347;
}

.nx-stock-badge--low {
    border-color: #ebd69a;
    background: #fff5dd;
    color: #946200;
}

.nx-stock-badge__dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: currentColor;
}

.nx-home-product-card__footer .nx-stock-badge,
.nx-catalog-product-summary .nx-stock-badge,
.nx-v7-product-copy .nx-stock-badge,
.product__summary .nx-stock-badge { margin-top: 5px; }

.product__notify .nx-stock-badge { margin: 0; }

@media (max-width: 767px) {
    .nx-stock-badge {
        min-height: 25px;
        padding: 4px 8px;
        font-size: 11px;
    }
}
