/* Tudetic Delivery Predict — front styles.
   v2 layout (PS9 redesign 2026-05-01): two-row card with stock + ETA, tighter
   visual weight, accent on countdown, integrates with tudetic primary color.
*/
.tdp-block {
    margin: 0.75rem 0;
    padding: 0.75rem 0.95rem;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    background: #f3faf3;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #1f2937;
}
.tdp-block--cart {
    background: #f1f7ff;
    border-color: #c8dcf2;
}

/* v2 two-row layout */
.tdp-block--v2 {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: #f4faec;
    border-color: #d8e8b8;
}
.tdp-block--v2 .tdp-block__row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.tdp-block--v2 .material-icons {
    font-size: 18px;
    line-height: 1;
}
.tdp-block--v2 .tdp-block__icon-ok {
    color: var(--tdc-primary, #2f9e44);
}
.tdp-block--v2 .tdp-block__icon-truck {
    color: var(--tdc-primary-dark, #2f7a2f);
}
.tdp-block--v2 .tdp-block__stock-text {
    font-weight: 600;
    color: #1f4d1f;
}
.tdp-block--v2 .tdp-block__eta-text { font-size: 0.92rem; }

/* legacy single-row inline styling kept for cart/checkout contexts */
.tdp-text { color: #333; }
.tdp-countdown {
    font-variant-numeric: tabular-nums;
    color: #c23616;
    margin: 0 4px;
    white-space: nowrap;
}
.tdp-eta {
    color: var(--tdc-primary-dark, #1f7a1f);
    margin-left: 4px;
    font-weight: 600;
}
.tdp-order-eta {
    background: #fff8d6;
    border: 1px solid #d6b853;
    padding: 8px 12px;
    margin: 12px 0;
    border-radius: 6px;
    font-size: 1rem;
}
.tdp-order-eta strong { margin: 0 4px; }
.tdp-order-eta__abs { color: #555; font-size: 0.9em; }
