.sdr-cart-subtotal-after-discount th,
.sdr-cart-subtotal-after-discount td {
    color: var( --sdr-checkout-subtotal-color, #2ea44f ) !important;
    font-weight: 600 !important;
}

/* Keep the minimum-order message on one line-run even when a theme sets the
   WooCommerce notice to display:flex; justify-content:space-between (Bricks,
   etc.). As the single grow-to-fill child there is no gap to distribute. */
.sdr-mo-notice-body {
    flex: 1 1 auto;
    text-align: left;
}

/* Minimum-order prompt — one standalone component for the cart progress and the
   shop/product banner. Theme-aware: the tint/border/track are translucent shades
   of the configured accent, so it reads cleanly on light and dark themes. */
.sdr-mo {
    margin: 1rem 0;
    padding: 1rem 1.15rem;
    border: 1px solid var( --sdr-mo-border, rgba( 33, 150, 243, 0.32 ) );
    border-radius: 12px;
    background: var( --sdr-mo-tint, rgba( 33, 150, 243, 0.08 ) );
    font-size: 0.95rem;
    line-height: 1.5;
}

.sdr-mo__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.sdr-mo__title {
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: -0.01em;
}

.sdr-mo__pct {
    font-weight: 600;
    color: var( --sdr-checkout-progress-color, #2196F3 );
    font-variant-numeric: tabular-nums;
}

.sdr-mo__track {
    overflow: hidden;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: var( --sdr-mo-track, rgba( 33, 150, 243, 0.18 ) );
}

.sdr-mo__track span {
    display: block;
    height: 100%;
    min-width: 6px;
    border-radius: inherit;
    background: var( --sdr-checkout-progress-color, #2196F3 );
    transition: width 0.4s ease;
}

.sdr-mo__text {
    margin: 0.6rem 0 0;
}

/* The banner spans the full content width above the product/shop columns, even
   if a theme drops it into a flex, grid, or floated context. */
.sdr-mo--banner {
    width: 100%;
    flex-basis: 100%;
    clear: both;
    box-sizing: border-box;
}

.sdr-mo--cart .checkout-button {
    margin-top: 0.9rem;
    width: 100%;
    text-align: center;
    opacity: 0.65;
    cursor: not-allowed;
}

@media ( prefers-reduced-motion: reduce ) {
    .sdr-mo__track span {
        transition: none;
    }
}

.sdr-checkout-po-field__note,
.sdr-checkout-po-field__hint {
    margin: 0.5rem 0 0;
    color: #4e6478;
    font-size: 0.92rem;
}

.sdr-checkout-upload {
    margin-top: 1.25rem;
}

.sdr-checkout-upload__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.sdr-checkout-upload__dropzone {
    position: relative;
    padding: 1rem;
    border: 1px dashed #b5c6d6;
    border-radius: 14px;
    background: #f8fbfd;
}

.sdr-checkout-upload__input {
    width: 100%;
}

.sdr-checkout-upload__placeholder {
    display: block;
    margin-top: 0.5rem;
    color: #566b7f;
    font-size: 0.92rem;
}

.sdr-checkout-upload__status {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.92rem;
}

.sdr-checkout-upload__status.is-error {
    color: #b42318;
}

.sdr-checkout-upload__status.is-success {
    color: #0f766e;
}

.sdr-checkout-upload__delete {
    margin-top: 0.75rem;
}