/* ============================================================
   CPS Warranty Banner — All variants
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800;900&family=DM+Mono:wght@500&display=swap');

/* ── VARIANT 1: Sticky announcement bar ── */

.cps-ws {
    background: #09437A;
    padding: 10px 48px 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 99999;
    width: 100%;
    box-shadow: 0 2px 8px rgba(9,67,122,0.25);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.cps-ws.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.cps-ws__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.cps-ws__shield {
    display: flex; align-items: center; flex-shrink: 0;
}
.cps-ws__text {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
    text-align: center;
}
.cps-ws__highlight {
    color: #4ADE80;
    font-weight: 700;
}
.cps-ws__mult { color: rgba(255,255,255,0.85); }
.cps-ws__struck {
    text-decoration: line-through;
    text-decoration-color: rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.45);
}
.cps-ws__sep {
    margin: 0 4px;
    color: rgba(255,255,255,0.3);
}
.cps-ws__cta {
    background: #E8640A;
    color: #fff;
    padding: 5px 14px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}
.cps-ws__cta:hover { background: #c9540a; }
.cps-ws__close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.45);
    padding: 4px 6px;
    line-height: 1;
    transition: color 0.15s;
    display: flex;
    align-items: center;
}
.cps-ws__close:hover { color: #fff; }

/* ── VARIANT 2: Full inline banner ── */

.cps-wb {
    background: #09437A;
    border-radius: 14px;
    padding: 38px 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0 auto;
}
.cps-wb__bg-num {
    position: absolute;
    right: -10px; top: -28px;
    font-size: 210px;
    font-weight: 900;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    font-family: 'DM Mono', monospace;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.05em;
}
.cps-wb__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}
.cps-wb__title {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 14px;
    padding: 0;
    border: none;
}
.cps-wb__accent { color: #4ADE80; }
.cps-wb__desc {
    font-size: 15px;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
    max-width: 500px;
    margin-bottom: 22px;
}
.cps-wb__desc strong { color: #fff; }
.cps-wb__compare {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.cps-wb__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
}
.cps-wb__pill--us {
    background: rgba(74,222,128,0.18);
    border: 1.5px solid rgba(74,222,128,0.45);
    color: #4ADE80;
}
.cps-wb__pill--them {
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.4);
    text-decoration: line-through;
    text-decoration-color: rgba(255,255,255,0.25);
}
.cps-wb__vs {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.cps-wb__right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.cps-wb__shield {
    width: 100px; height: 112px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cps-wb__shield-svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
}
.cps-wb__shield-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.cps-wb__shield-num {
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    font-family: 'DM Mono', monospace;
}
.cps-wb__shield-unit {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.65);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.cps-wb__cta {
    background: #E8640A;
    color: #fff;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
    font-family: 'DM Sans', sans-serif;
}
.cps-wb__cta:hover { background: #c9540a; }

/* ── VARIANT 3: Compact bar ── */

.cps-wbar {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-left: 4px solid #4ADE80;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
.cps-wbar__icon {
    width: 40px; height: 40px;
    background: #E1F5EE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cps-wbar__body { flex: 1; min-width: 200px; }
.cps-wbar__title {
    font-size: 15px;
    font-weight: 700;
    color: #09437A;
    margin-bottom: 3px;
}
.cps-wbar__sub {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}
.cps-wbar__sub strong { color: #0F6E56; }
.cps-wbar__badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.cps-wbar__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'DM Mono', monospace;
    white-space: nowrap;
}
.cps-wbar__badge--us   { background: #E1F5EE; color: #0F6E56; }
.cps-wbar__badge--them { background: #F0F4F8; color: #94a3b8;
    text-decoration: line-through;
    text-decoration-color: #b0bec5; }
.cps-wbar__vs { font-size: 11px; color: #94a3b8; font-weight: 600; }

/* ── VARIANT 4: Corner badge ── */

.cps-wbadge {
    background: #09437A;
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
    display: inline-block;
    min-width: 88px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
.cps-wbadge__days {
    font-size: 30px;
    font-weight: 900;
    color: #4ADE80;
    font-family: 'DM Mono', monospace;
    line-height: 1;
}
.cps-wbadge__label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 3px;
}
.cps-wbadge__sub {
    font-size: 10px;
    color: rgba(255,255,255,0.45);
    margin-top: 3px;
}
.cps-wbadge__check {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: #4ADE80;
    font-weight: 600;
    margin-top: 5px;
}

/* ── Responsive ── */

@media (max-width: 680px) {
    .cps-wb {
        grid-template-columns: 1fr;
        padding: 28px 22px;
    }
    .cps-wb__right { flex-direction: row; justify-content: flex-start; }
    .cps-wb__bg-num { font-size: 130px; top: -16px; right: -8px; }
    .cps-ws { padding: 10px 44px 10px 14px; }
    .cps-ws__text { font-size: 12px; }
}

@media (max-width: 480px) {
    .cps-wbar { gap: 10px; }
    .cps-wbar__badges { width: 100%; }
}
