.flowrand-dn-product-logistics {
    margin: 14px 0;
    padding: 12px 14px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 10px;
    background: rgba(0,0,0,.025);
    font-size: 14px;
    line-height: 1.8;
}
.flowrand-dn-product-logistics__title { font-weight: 700; margin-bottom: 2px; }
.flowrand-dn-product-logistics__label { font-weight: 600; }
.flowrand-dn-product-logistics__message { opacity: .82; }
.flowrand-dn-product-logistics__payments { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.flowrand-dn-payment-state { display:inline-flex; align-items:center; padding:2px 8px; border-radius:999px; background:rgba(0,0,0,.055); font-size:12px; }
.flowrand-dn-payment-state.is-allowed::before { content:'✓'; margin-left:4px; }
.flowrand-dn-payment-state.is-blocked::before { content:'×'; margin-left:4px; }

.flowrand-dn-digipay-widget {
    margin: 12px 0 16px;
    border: 1px solid #dbe4ff;
    border-radius: 16px;
    background: #f6f9ff;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.flowrand-dn-digipay-widget[hidden] { display:none !important; }
.flowrand-dn-digipay-widget__content {
    min-width: 0;
    flex: 1 1 auto;
}
.flowrand-dn-digipay-widget__title {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 800;
    color: #243b6b;
    margin: 0 0 4px;
}
.flowrand-dn-digipay-widget__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.8;
}
.flowrand-dn-digipay-widget__summary-prefix {
    color: #111111;
    font-weight: 700;
}
.flowrand-dn-digipay-widget__summary-separator {
    color: #c0c7d8;
}
.flowrand-dn-digipay-widget__summary-main {
    color: #6b7280;
    font-weight: 500;
}
.flowrand-dn-digipay-widget__aside {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flowrand-dn-digipay-widget__logo {
    width: 38px;
    height: 38px;
    display: block;
    object-fit: contain;
}
@media (max-width: 767px) {
    .flowrand-dn-digipay-widget {
        padding: 12px 13px;
        gap: 12px;
    }
    .flowrand-dn-digipay-widget__title {
        font-size: 15px;
    }
    .flowrand-dn-digipay-widget__summary {
        font-size: 12px;
    }
    .flowrand-dn-digipay-widget__logo {
        width: 36px;
        height: 36px;
    }
}


/* Replace the legacy hard-coded free-shipping box on product pages. */
.single-product .freeship {
    display: none !important;
}
.flowrand-dn-freeship-widget {
    margin: 12px 0 16px;
    padding: 0;
    border: 1px solid #e3e3e3;
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.025);
}
.flowrand-dn-freeship-widget[hidden] { display: none !important; }
.flowrand-dn-freeship-widget__main {
    padding: 12px 15px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.flowrand-dn-freeship-widget__image {
    width: 92px;
    height: 46px;
    object-fit: contain;
    flex: 0 0 92px;
}
.flowrand-dn-freeship-widget__content {
    min-width: 0;
    flex: 1 1 auto;
    text-align: right;
}
.flowrand-dn-freeship-widget__title {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
    color: #2e2e2e;
}
.flowrand-dn-freeship-widget__rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.flowrand-dn-freeship-widget__row {
    font-size: 12px;
    line-height: 1.75;
    color: #555;
}
.flowrand-dn-freeship-widget__row strong {
    color: #333;
    font-weight: 700;
}
.flowrand-dn-freeship-widget__threshold {
    color: #555;
}
.flowrand-dn-freeship-widget__nudge {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 15px 9px;
    border-top: 1px solid #f1d7df;
    background: #fff8fa;
    font-size: 11.5px;
    line-height: 1.7;
    color: #d81b60;
    font-weight: 700;
    text-align: right;
}
.flowrand-dn-freeship-widget__nudge[hidden] { display:none !important; }
@media (max-width: 767px) {
    .flowrand-dn-freeship-widget__main {
        padding: 11px 12px;
        gap: 9px;
    }
    .flowrand-dn-freeship-widget__image {
        width: 76px;
        height: 40px;
        flex-basis: 76px;
    }
    .flowrand-dn-freeship-widget__title {
        font-size: 15px;
    }
    .flowrand-dn-freeship-widget__row {
        font-size: 11.5px;
        line-height: 1.7;
    }
    .flowrand-dn-freeship-widget__nudge {
        padding: 7px 12px 8px;
        font-size: 11px;
    }
}
