/*
 * Local_DesignerApp — Lead-Time badge styles (Quick 260603-pf0, M1-LAUNCH-PREP-01;
 * restyled Quick 260927-jjr).
 *
 * Shared across PDP (--pdp), cart (--cart) and checkout summary (--checkout).
 * This module CSS is plain CSS (no LESS, no theme variables available), so the
 * hex values below mirror the Atelier design tokens defined in
 * app/design/frontend/Local/deinemshop/web/css/custom/abstracts/_variables.less:
 *   @atelier-ink       #2A2822 — badge text (measured contrast on the tint: 12.8:1)
 *   @atelier-sage-tint #EEF0E6 — badge background
 *   @atelier-sage-deep #4F5D3C — icon color (measured contrast on the tint: 6.16:1)
 * Deliberately NO red and NO amber (@color__brand-cta / amber #F6A619 is the
 * button/CTA color elsewhere in the theme) — the badge must read as neither a
 * warning nor a call to action.
 *
 * Breeze zeroes inline SVG icon width (see memory breeze_svg_icon_width_zeroed,
 * mechanism 1: the global `svg, img, video { max-width: 100%; height: auto }`
 * rule in the compiled default.css can collapse a percentage max-width toward
 * ~0 inside a shrinking flex container). .lead-time-icon is targeted with a
 * two-class selector (.lead-time-badge .lead-time-icon) so it outranks the
 * single-element rule regardless of stylesheet load order, and width/height/
 * min-width/max-width all carry !important to survive it.
 */
.lead-time-badge {
    display: flex;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    color: #2A2822;
    background-color: #EEF0E6;
    border: 1px solid #CFD6BF;
    border-radius: 10px;
    text-align: left;
}

.lead-time-badge .lead-time-icon {
    display: block;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: none !important;
    color: #4F5D3C;
}

.lead-time-badge .lead-time-text {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.lead-time-badge--pdp {
    margin: 12px 0 4px;
}

.lead-time-badge--cart {
    margin: 8px 0 0;
}

.lead-time-badge--checkout {
    margin: 6px 0 0;
}
