.jem-trspo-progress {
    --jem-trspo-progress-color: #E52421;
    box-sizing: border-box;
    clear: both;
    flex: 0 0 100%;
    grid-column: 1 / -1;
    max-width: 100%;
    min-width: 0;
    margin: 0 0 24px;
    width: 100%;
}

/*
 * Some WooCommerce themes build the Cart/Checkout wrapper as a two-column CSS Grid or
 * wrapping Flexbox. The page progress element must always occupy a complete row so it does
 * not push the Cart and order-summary columns onto separate rows.
 */
.woocommerce > .jem-trspo-progress--page,
.wp-block-woocommerce-cart > .jem-trspo-progress--page,
.wp-block-woocommerce-checkout > .jem-trspo-progress--page {
    flex-basis: 100%;
    grid-column: 1 / -1;
    justify-self: stretch;
}

.jem-trspo-progress__message {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 9px;
}

.jem-trspo-progress__track {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    height: 4px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.jem-trspo-progress__fill {
    background: var(--jem-trspo-progress-color);
    border-radius: inherit;
    display: block;
    height: 100%;
    max-width: 100%;
    min-width: 0;
    transition: width 280ms ease;
}

.jem-trspo-progress.is-achieved .jem-trspo-progress__fill {
    width: 100%;
}

/*
 * Floating/mini-cart treatment. It stays inside the panel body's existing horizontal spacing
 * and is inserted between the product list and the View cart / Checkout buttons. The compact
 * measurements work for desktop side panels and full-width mobile drawers without changing
 * the theme's panel width or scroll behavior.
 */
.widget_shopping_cart_content .jem-trspo-progress--mini-cart,
.panel__body .jem-trspo-progress--mini-cart {
    align-self: stretch;
    flex: 0 0 auto;
    grid-column: 1 / -1;
    margin: 18px 0 20px;
    max-width: 100%;
    padding: 0;
    width: 100%;
}

.widget_shopping_cart_content .jem-trspo-progress--mini-cart .jem-trspo-progress__message,
.panel__body .jem-trspo-progress--mini-cart .jem-trspo-progress__message {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}

.widget_shopping_cart_content .jem-trspo-progress--mini-cart .jem-trspo-progress__track,
.panel__body .jem-trspo-progress--mini-cart .jem-trspo-progress__track {
    background: rgba(127, 127, 127, 0.25);
    height: 3px;
}

@media (max-width: 767px) {
    .widget_shopping_cart_content .jem-trspo-progress--mini-cart,
    .panel__body .jem-trspo-progress--mini-cart {
        margin: 14px 0 16px;
    }

    .widget_shopping_cart_content .jem-trspo-progress--mini-cart .jem-trspo-progress__message,
    .panel__body .jem-trspo-progress--mini-cart .jem-trspo-progress__message {
        font-size: 12px;
        line-height: 1.35;
        margin-bottom: 7px;
    }
}
