/* ── Product badges (stock + min order) ─────────────────────────────────── */
.smo-product-badges {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 0 10px;
}

.smo-product-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #555;
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
}

.smo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.smo-dot--green  { background: #2e7d32; }
.smo-dot--yellow { background: #f5a623; }

.smo-badge__qty {
    color: #333;
    font-weight: 600;
}

/* ── Progress bar — inside SGO sidebar, before tiers ───────────────────── */
.smo-sidebar-progress {
    margin-bottom: 14px;
}

.smo-sidebar-progress__track {
    position: relative;
    height: 26px;
    background: #FFC107;
    border-radius: 6px;
    overflow: hidden;
}

.smo-sidebar-progress__bar {
    position: absolute;
    inset: 0;
    width: 0%;
    background: #cdeed7;
    border-radius: 6px;
    transition: width 0.3s ease, background 0.3s ease;
}

.smo-sidebar-progress__label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.03em;
    pointer-events: none;
    z-index: 1;
}

/* ── Mobile progress bar (sopra sgo-mobile-bar) ────────────────────────── */
/* Desktop: sempre nascosta (il JS può togliere --hidden anche su viewport larghi) */
@media (min-width: 901px) {
    .smo-mobile-progress {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

@media (max-width: 900px) {
    .smo-mobile-progress {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 68px;
        z-index: 9998;
        background: #fff;
        border-top: 2px solid #FFC107;
        box-shadow: 0 -2px 8px rgba(0,0,0,.08);
        padding: 7px 16px;
    }
    .smo-mobile-progress__track {
        position: relative;
        height: 26px;
        background: #FFC107;
        border-radius: 6px;
        overflow: hidden;
    }
    .smo-mobile-progress__bar {
        position: absolute;
        inset: 0;
        width: 0%;
        background: #cdeed7;
        border-radius: 6px;
        transition: width .3s ease;
    }
    .smo-mobile-progress__label {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 600;
        color: #555;
        letter-spacing: .03em;
        pointer-events: none;
        z-index: 1;
    }
}
.smo-mobile-progress--hidden { display: none !important; }

/* ── Blocked cart button ────────────────────────────────────────────────── */
.smo-btn-blocked {
    opacity: 0.4 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}
