/* === Machiko Express — cart offer box === */
.machiko-express {
    margin-top: 16px;
    border: 1px solid #d32483;
    border-radius: 6px;
    background: #fff;
    padding: 16px 20px;
}

.machiko-express-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.machiko-express-text {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.machiko-express-text p {
    margin: 0;
}

.machiko-express-lead {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px !important;
}

.machiko-express-title {
    font-size: 18px;
    font-weight: 700;
    color: #d32483;
    letter-spacing: 0.5px;
}

.machiko-express-sub {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.machiko-express-note {
    font-size: 12px;
    color: #888;
    margin-top: 4px !important;
}

.machiko-express-action {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.machiko-express-price {
    font-size: 20px;
    font-weight: 700;
    color: #d32483;
    white-space: nowrap;
}

.machiko-express-add {
    background: #d32483 !important;
    border: 1px solid #d32483 !important;
    color: #fff !important;
    white-space: nowrap;
}

.machiko-express-add[disabled] {
    opacity: 0.6;
    cursor: default;
}

/* === Unified realization time (cart summary + confirmation) === */
.machiko-express-term {
    margin: 6px 0;
    font-size: 15px;
}

.machiko-express-term-label {
    font-weight: 600;
    margin-right: 6px;
}

.machiko-express-term-value,
.cart-summary-line.machiko-express-term .value {
    color: #d32483 !important;
    font-weight: 600;
}

/* Hide the native per-carrier delivery time everywhere it appears (carrier
   selection, final order review, order confirmation page). PrestaShop requires
   the carrier "transit time" field to be non-empty, so instead of clearing it
   we suppress it and show our single unified "Realization time" line. */
.carrier-delay {
    display: none !important;
}

@media (max-width: 575.98px) {
    .machiko-express-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .machiko-express-action {
        width: 100%;
        justify-content: space-between;
    }
}
