/*
 * Shippo LOCAL brand badge — cascade-defeat stylesheet (v4.7.0 bare text).
 * Loaded via <link rel="stylesheet"> from hooks/index/links.post.tpl
 * (renamed in v4.1.1 — CS-Cart's index:styles hook strips raw <link>).
 * Selectors stacked to drive specificity past any theme rule that targets a
 * single tag/class. Every declaration is !important. The inline style=""
 * attribute on the element itself (in local_badge.tpl / shippo_listing.js) is
 * the first line of defence; this file is the cascade backup if those inline
 * styles are theme-stripped or this stylesheet 404s.
 *
 * v4.7.0 — per "Shipping desgin layout 2.0" the badge is bare bright-cyan bold
 * text, NOT a pill: no background, no border, no radius, no padding, no icon.
 * The brand-critical, theme-overridable surface is the text colour
 * (CS_CART_ADDON_MISTAKES.md §61), pinned here: #06B6D4 (bright cyan).
 */
b.shippo-local-badge,
b.shippo-local-badge[data-shippo-badge],
span.shippo-local-badge,
strong.shippo-local-badge,
.shippo-cards .shippo-local-badge,
.shippo-pdp  .shippo-local-badge,
.shippo-listing-banner .shippo-local-badge,
[data-shippo-badge].shippo-local-badge {
    display: inline !important;
    color: #06B6D4 !important;
    font-weight: 800 !important;
    font-size: 1em !important;
    line-height: inherit !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif !important;
    font-style: normal !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    vertical-align: baseline !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    text-indent: 0 !important;
    overflow: visible !important;
    clip: auto !important;
}

/*
 * Backward-compat: pre-v4.7.0 markup wrapped the word in a
 * .shippo-local-badge__label span. New markup puts the word directly in the
 * badge element, but keep this rule so any cached/hydrated old markup still
 * shows the word in brand cyan.
 */
.shippo-local-badge .shippo-local-badge__label,
b.shippo-local-badge .shippo-local-badge__label,
span.shippo-local-badge .shippo-local-badge__label,
[data-shippo-badge].shippo-local-badge .shippo-local-badge__label {
    color: #06B6D4 !important;
    background: transparent !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-decoration: none !important;
}
