/* ==========================================================================
   plan-shopper.css - Parker Insurance Idaho Individual Plan Finder Styles
   Design tokens: Primary #201C61, Text #1F2937, Muted #4B5563, Border #E5E7EB,
   Background #F9FAFB, Amber #F59E0B, Brand Red #A92F2C, Success #10B981
   ========================================================================== */

/* --- Smooth Transition for Full Screen Expansion --- */
.app-container {
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.form-panel {
    transition: width 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                max-width 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                min-width 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                background-color 0.4s ease !important;
}

.info-panel {
    transition: width 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                min-width 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                max-width 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                flex-grow 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.5s ease,
                transform 0.7s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

body.shopper-fullscreen-active .form-panel,
body.shopper-fullscreen-active .info-panel,
.app-container.shopper-fullscreen-active .form-panel,
.app-container.shopper-fullscreen-active .info-panel {
    transition-delay: 0.15s !important;
}

/* --- Full Screen Mode when viewing plans --- */
body.shopper-fullscreen-active .app-container,
.app-container.shopper-fullscreen-active {
    /* Kept default row-reverse so it expands from right to left smoothly */
}

body.shopper-fullscreen-active .info-panel,
.app-container.shopper-fullscreen-active .info-panel,
.shopper-fullscreen-active .info-panel {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    flex-grow: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(-40px) !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

body.shopper-fullscreen-active .form-panel,
.app-container.shopper-fullscreen-active .form-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    flex: 1 1 100% !important;
    background: #F9FAFB !important;
    box-shadow: none !important;
    padding: 0 !important; /* Removes 40px side margins so footer spans 100% true edge-to-edge */
}

/* Ensure the Parker Insurance logo is visible at the very top */
body.shopper-fullscreen-active .form-header,
.app-container.shopper-fullscreen-active .form-header {
    border-bottom: none;
    background: transparent;
    padding: 1.25rem 2rem 0 2rem !important;
    max-width: 1480px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 5 !important;
}

body.shopper-fullscreen-active .form-header .header-top,
.app-container.shopper-fullscreen-active .form-header .header-top {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
}

body.shopper-fullscreen-active .mobile-logo-link,
.app-container.shopper-fullscreen-active .mobile-logo-link {
    display: inline-flex !important;
    align-items: center !important;
}

body.shopper-fullscreen-active .mobile-header-logo,
body.shopper-fullscreen-active img.mobile-header-logo,
.app-container.shopper-fullscreen-active .mobile-header-logo,
.app-container.shopper-fullscreen-active img.mobile-header-logo {
    display: block !important;
    height: 44px !important;
    width: auto !important;
    max-width: 240px !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.shopper-fullscreen-active #header-text,
.app-container.shopper-fullscreen-active #header-text {
    display: none !important;
}

/* Header Navigation Actions (Visible on Mobile in Shopper Mode) */
.header-step-actions {
    display: none;
}

/* Expand content wrapper to wide dashboard */
body.shopper-fullscreen-active .form-content-wrapper,
.app-container.shopper-fullscreen-active .form-content-wrapper {
    max-width: 1480px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 1.5rem 2rem 3rem 2rem !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 10 !important;
}

body.shopper-fullscreen-active #step-4,
.app-container.shopper-fullscreen-active #step-4 {
    max-width: 100% !important;
    width: 100% !important;
    overflow: visible !important;
}

body.shopper-fullscreen-active .question-item,
.app-container.shopper-fullscreen-active .question-item {
    max-width: 100% !important;
    width: 100% !important;
    overflow: visible !important;
}

/* Hide fixed bottom footer sections on desktop in plan shopper mode - moved into sticky right sidebar */
@media (min-width: 1025px) {
    body.shopper-fullscreen-active .form-panel > .form-footer-sections,
    .app-container.shopper-fullscreen-active .form-panel > .form-footer-sections,
    body.shopper-fullscreen-active .form-footer-sections,
    .app-container.shopper-fullscreen-active .form-footer-sections {
        display: none !important;
    }
}

/* On mobile (<= 1024px): In plan shopper mode:
   Remove the "Need help now?" section (.agent-card),
   while keeping the "Why work with an agent?" footer (#free-agent-trust-pill) at the bottom of the form */
@media (max-width: 1024px) {
    body.shopper-fullscreen-active .agent-card,
    .app-container.shopper-fullscreen-active .agent-card {
        display: none !important;
    }

    body.shopper-fullscreen-active .form-panel > .form-footer-sections,
    .app-container.shopper-fullscreen-active .form-panel > .form-footer-sections,
    body.shopper-fullscreen-active .form-footer-sections,
    .app-container.shopper-fullscreen-active .form-footer-sections {
        display: block !important;
        margin: 1.5rem auto 0 auto !important;
        padding-bottom: 3.5rem !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    body.shopper-fullscreen-active #free-agent-trust-pill,
    .app-container.shopper-fullscreen-active #free-agent-trust-pill {
        display: flex !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Plan Cards Responsive Grid in Full Screen Mode */
@media (min-width: 860px) {
    body.shopper-fullscreen-active .shopper-plans-list,
    .app-container.shopper-fullscreen-active .shopper-plans-list {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
        gap: 1.25rem !important;
        align-items: start !important;
    }
}

/* ==========================================================================
   VIEWPORT-PINNED RIGHT SIDEBAR & SHOPPER LAYOUT
   ========================================================================== */

/* Main Shopper Layout & Columns */
.shopper-content-layout {
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.shopper-main-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-sizing: border-box;
}

/* Pinned to far right side of viewport */
#shopper-right-sidebar,
.shopper-right-sidebar {
    position: fixed !important;
    top: 85px !important;
    right: 24px !important;
    width: 290px !important;
    z-index: 100 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.95rem !important;
    max-height: calc(100vh - 105px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: #CBD5E1 transparent !important;
    pointer-events: auto !important;
    animation: shopperSidebarSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    margin: 0 !important;
    padding: 0 !important;
}

@keyframes shopperSidebarSlideIn {
    from {
        opacity: 0;
        transform: translateX(16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#shopper-right-sidebar::-webkit-scrollbar,
.shopper-right-sidebar::-webkit-scrollbar {
    width: 4px;
}

#shopper-right-sidebar::-webkit-scrollbar-thumb,
.shopper-right-sidebar::-webkit-scrollbar-thumb {
    background-color: #CBD5E1;
    border-radius: 4px;
}

/* Sidebar Cards Base */
.shopper-sidebar-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    box-sizing: border-box;
}

/* CARD 1: NEED HELP NOW? */
.shopper-agent-card {
    border-top: 4px solid var(--primary, #201C61);
}

.shopper-agent-profile-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.shopper-agent-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.shopper-agent-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E2E8F0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: block;
}

.shopper-agent-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    background: #10B981;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
}

.shopper-agent-profile-meta {
    flex: 1;
    min-width: 0;
}

.shopper-agent-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark, #1E293B);
    line-height: 1.2;
}

.shopper-agent-card-copy {
    margin: 0 0 0.85rem 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #475569;
}

.shopper-agent-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.shopper-sidebar-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: var(--primary, #201C61);
    color: #FFFFFF !important;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.65rem 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(32, 28, 97, 0.18);
}

.shopper-sidebar-phone-btn:hover {
    background: #151240;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(32, 28, 97, 0.26);
}

.shopper-sidebar-phone-btn i {
    color: #38BDF8;
}

.shopper-sidebar-email-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #F8FAFC;
    color: #334155 !important;
    border: 1px solid #CBD5E1;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shopper-sidebar-email-btn:hover {
    background: #F1F5F9;
    border-color: #94A3B8;
    color: var(--primary, #201C61) !important;
}

.shopper-agent-hours-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.74rem;
    color: #64748B;
    padding-top: 0.55rem;
    border-top: 1px solid #F1F5F9;
}

/* CARD 2: WHY WORK WITH AN AGENT (ROTATING BANNER) */
.shopper-trust-card {
    border-top: 4px solid #10B981;
}

.shopper-sidebar-card-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.shopper-trust-icon-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #ECFDF5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.shopper-trust-title {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--text-dark, #1E293B);
    line-height: 1.25;
}

.shopper-trust-sub {
    font-size: 0.72rem;
    color: #64748B;
    display: block;
    margin-top: 0.15rem;
}

.shopper-sidebar-trust-pill {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    padding: 0.7rem 0.85rem !important;
    margin: 0 !important;
    min-height: 48px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-shadow: none !important;
    transition: opacity 0.25s ease, transform 0.25s ease !important;
}

.shopper-sidebar-trust-pill.banner-fade-out {
    opacity: 0 !important;
    transform: translateY(-4px) !important;
}

.shopper-sidebar-trust-pill .banner-body-line {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #0F172A !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    line-height: 1.35 !important;
}

.shopper-sidebar-trust-pill .banner-body-line i {
    color: #10B981 !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
}


/* Responsive Viewport Alignment & Overlap Prevention */
@media (min-width: 1025px) {
    body.shopper-fullscreen-active .form-header,
    .app-container.shopper-fullscreen-active .form-header,
    body.shopper-fullscreen-active .form-content-wrapper,
    .app-container.shopper-fullscreen-active .form-content-wrapper {
        max-width: min(1480px, calc(100vw - 355px)) !important;
        margin-right: 335px !important;
        margin-left: auto !important;
        padding-right: 1.25rem !important;
    }
}

/* Hide Sticky Right Sidebar on Mobile / Tablets <= 1024px */
@media (max-width: 1024px) {
    #shopper-right-sidebar,
    .shopper-right-sidebar {
        display: none !important;
    }
    .shopper-main-column {
        width: 100% !important;
    }
    .shopper-content-layout {
        display: block !important;
    }
    body.shopper-fullscreen-active .form-header,
    .app-container.shopper-fullscreen-active .form-header,
    body.shopper-fullscreen-active .form-content-wrapper,
    .app-container.shopper-fullscreen-active .form-content-wrapper {
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-right: 1.25rem !important;
        padding-left: 1.25rem !important;
    }

    /* Remove empty blue info-panel section on mobile/tablet */
    body.shopper-fullscreen-active .info-panel,
    .app-container.shopper-fullscreen-active .info-panel,
    .shopper-fullscreen-active .info-panel {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;
    }
}

/* ==========================================================================
   MOBILE STICKY "ASK A QUESTION" BUTTON & POPUP MODAL
   ========================================================================== */
.shopper-mobile-ask-btn {
    position: fixed !important;
    bottom: 1.15rem !important;
    right: 1.15rem !important;
    z-index: 9999 !important;
    background: linear-gradient(135deg, #201C61 0%, #1e1b4b 100%) !important;
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 9999px !important;
    padding: 0.45rem 1.05rem 0.45rem 0.55rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    box-shadow: 0 6px 20px rgba(32, 28, 97, 0.38) !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.shopper-mobile-ask-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 26px rgba(32, 28, 97, 0.48) !important;
    background: linear-gradient(135deg, #18154D 0%, #17153B 100%) !important;
}

.shopper-mobile-ask-btn.shopper-ask-btn--hidden {
    transform: translateY(180%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.shopper-ask-btn-avatar-wrap {
    position: relative !important;
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
}

.shopper-ask-btn-avatar {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1.5px solid #FFFFFF !important;
    display: block !important;
}

.shopper-ask-btn-dot {
    position: absolute !important;
    bottom: -1px !important;
    right: -1px !important;
    width: 8px !important;
    height: 8px !important;
    background-color: #10B981 !important;
    border: 1.5px solid #201C61 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 4px #10B981 !important;
}

.shopper-ask-btn-text {
    letter-spacing: -0.2px !important;
    white-space: nowrap !important;
}

/* Hide Ask Button on Desktop */
@media (min-width: 1025px) {
    .shopper-mobile-ask-btn {
        display: none !important;
    }
}

/* Hide sticky Ask button in "book time with an agent" states (Steps 5, 6, 7 or booking state) */
body.in-booking-state .shopper-mobile-ask-btn,
.app-container.in-booking-state .shopper-mobile-ask-btn,
body:has(#step-5.active) .shopper-mobile-ask-btn,
body:has(#step-6.active) .shopper-mobile-ask-btn,
body:has(#step-7.active) .shopper-mobile-ask-btn,
.app-container:has(#step-5.active) .shopper-mobile-ask-btn,
.app-container:has(#step-6.active) .shopper-mobile-ask-btn,
.app-container:has(#step-7.active) .shopper-mobile-ask-btn,
.shopper-mobile-ask-btn.booking-state-hidden {
    display: none !important;
}

/* Mobile Help Modal / Bottom Sheet */
.shopper-mobile-help-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 100000 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    animation: fadeInShopper 0.25s ease !important;
}

.shopper-mobile-help-sheet {
    background: #FFFFFF !important;
    border-radius: 20px 20px 0 0 !important;
    width: 100% !important;
    max-width: 520px !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.25) !important;
    border: 1px solid #CBD5E1 !important;
    border-bottom: none !important;
    animation: shopperSheetSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding-bottom: env(safe-area-inset-bottom, 1.5rem) !important;
}

@keyframes shopperSheetSlideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.shopper-mobile-help-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1.15rem 1.25rem 0.85rem 1.25rem !important;
    border-bottom: 1px solid #F1F5F9 !important;
    position: sticky !important;
    top: 0 !important;
    background: #FFFFFF !important;
    z-index: 10 !important;
}

.shopper-mobile-help-title {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
}

.shopper-mobile-help-close {
    background: #F1F5F9 !important;
    border: none !important;
    color: #475569 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    transition: all 0.15s ease !important;
}

.shopper-mobile-help-close:hover {
    background: #E2E8F0 !important;
    color: #0F172A !important;
}

.shopper-mobile-help-body {
    padding: 1rem 1.15rem 1.5rem 1.15rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
}



/* --- Shopper Container --- */
.plan-shopper-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: fadeInShopper 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInShopper {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Exchange Rate Mobile Inline vs Desktop Badge --- */
.shopper-exchange-rate-mobile-inline {
    display: none;
    font-weight: 700;
    color: var(--primary, #201C61);
}

.shopper-mobile-summary-header {
    display: none;
}

/* --- Summary & Subsidy Bar --- */
.shopper-summary-bar {
    background: #ffffff;
    border: 1px solid var(--border, #E5E7EB);
    border-radius: 12px;
    padding: 1rem 1.35rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.shopper-summary-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.shopper-location-meta {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: #4B5563;
    flex-wrap: wrap;
}

.shopper-location-meta i {
    color: var(--primary, #201C61);
}

.shopper-meta-loc {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary, #201C61);
}

.shopper-meta-sep {
    color: #94A3B8;
    margin: 0 2px;
    font-weight: 400;
    user-select: none;
}

.shopper-meta-item {
    font-size: 0.88rem;
    font-weight: 600;
    color: #374151;
}

.shopper-meta-metric {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.86rem;
    line-height: 1.25;
    white-space: nowrap;
}

.shopper-meta-metric-label {
    color: #64748B;
    font-weight: 600;
    font-size: 0.84rem;
}

.shopper-meta-metric-val {
    font-weight: 800;
    font-size: 0.88rem;
    color: #1F2937;
}

.shopper-meta-metric-val.highlight-green {
    color: #059669;
}

.shopper-meta-metric-val.highlight-yellow {
    color: #D97706;
}

.shopper-meta-metric-val.highlight-red {
    color: #DC2626;
}

.shopper-meta-metric-val.highlight-blue {
    color: var(--primary, #201C61);
}

.shopper-meta-metric-val.highlight-coverage {
    color: var(--primary, #201C61);
}

.shopper-meta-coverage {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.shopper-meta-coverage i {
    color: var(--primary, #201C61);
    font-size: 0.88rem;
    margin-right: 1px;
}

.shopper-coverage-note {
    font-size: 0.82rem;
    font-weight: 500;
    color: #64748B;
    margin-left: 2px;
}

.shopper-edit-btn {
    background: #ffffff;
    border: 1px solid var(--border, #E5E7EB);
    color: var(--text-gray, #4B5563);
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
}

.shopper-edit-btn:hover {
    background: #f1f5f9;
    color: var(--primary, #201C61);
    border-color: #cbd5e1;
}

.shopper-subsidy-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.85rem;
}

.shopper-metric-box {
    background: #F9FAFB;
    border: 1px solid #EEF2F6;
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.shopper-metric-label {
    font-size: 0.75rem;
    color: var(--text-gray, #4B5563);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.shopper-metric-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark, #1F2937);
}

.shopper-metric-value.highlight-green {
    color: #059669;
}

.shopper-metric-value.highlight-blue {
    color: var(--primary, #201C61);
}

/* Eligibility Alert Banner */
.shopper-eligibility-alert {
    background: #EFF6FF;
    border-left: 4px solid var(--primary, #201C61);
    padding: 0.85rem 1.15rem;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #1E3A8A;
    line-height: 1.45;
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.shopper-eligibility-alert i {
    font-size: 1.1rem;
    margin-top: 2px;
}

/* --- Filter & Controls Toolbar --- */
.shopper-filter-toolbar {
    background: #ffffff;
    border: 1px solid var(--border, #E5E7EB);
    border-radius: 12px;
    padding: 1.15rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.shopper-toolbar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.shopper-metal-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.shopper-metal-pill {
    background: #F9FAFB;
    border: 1px solid var(--border, #E5E7EB);
    color: var(--text-dark, #1F2937);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.shopper-metal-pill:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
}

.shopper-metal-pill.active {
    background: var(--primary, #201C61) !important;
    color: #ffffff !important;
    border-color: var(--primary, #201C61) !important;
    box-shadow: 0 2px 8px rgba(32, 28, 97, 0.25);
}

.shopper-metal-pill .shopper-metal-count {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.72;
    font-variant-numeric: tabular-nums;
}

.shopper-metal-pill.active .shopper-metal-count {
    opacity: 0.92;
    color: #ffffff;
}

.shopper-metal-pill[data-metal="Bronze"] { border-color: #FDBA74; }
.shopper-metal-pill[data-metal="Silver"] { border-color: #CBD5E1; }
.shopper-metal-pill[data-metal="Gold"] { border-color: #FDE047; }
.shopper-metal-pill[data-metal="Platinum"] { border-color: #C7D2FE; }
.shopper-metal-pill[data-metal="Catastrophic"] { border-color: #CBD5E1; }

.shopper-filter-select {
    padding: 0 0.85rem;
    height: 42px !important;
    min-height: 42px !important;
    line-height: 42px !important;
    border: 1px solid var(--border, #E5E7EB);
    border-radius: 8px;
    font-size: 0.88rem;
    background: #FAFAFA;
    color: var(--text-dark, #1F2937);
    outline: none;
    cursor: pointer;
    font-weight: 500;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.shopper-filter-select:focus {
    border-color: var(--primary, #201C61);
    background: #ffffff;
}

.shopper-checkbox-label,
.question-item .shopper-checkbox-label {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    font-size: 0.88rem !important;
    color: var(--text-dark, #1F2937) !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    user-select: none !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 0.85rem !important;
    height: 42px !important;
    min-height: 42px !important;
    line-height: 42px !important;
    box-sizing: border-box !important;
    background: #FAFAFA !important;
    border: 1px solid var(--border, #E5E7EB) !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
    align-self: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.shopper-checkbox-label:hover,
.question-item .shopper-checkbox-label:hover {
    background: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
}

.shopper-checkbox-label span,
.question-item .shopper-checkbox-label span {
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: var(--text-dark, #1F2937) !important;
}

.shopper-checkbox-label input[type="checkbox"],
.question-item .shopper-checkbox-label input[type="checkbox"] {
    appearance: auto !important;
    accent-color: var(--primary, #201C61) !important;
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    position: relative !important;
    top: 0 !important;
}

/* Catastrophic Hardship Filter Pill in Toolbar */
.shopper-catastrophic-filter-wrap,
.question-item .shopper-catastrophic-filter-wrap {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.55rem !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 0.85rem !important;
    box-sizing: border-box !important;
    background: #FFFFFF !important;
    border: 1px solid var(--border, #CBD5E1) !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
    align-self: center !important;
    position: relative !important;
    z-index: 60 !important;
    margin: 0 !important;
}

.shopper-catastrophic-filter-wrap:hover,
.question-item .shopper-catastrophic-filter-wrap:hover {
    background: #F8FAFC !important;
    border-color: #94A3B8 !important;
}

.shopper-catastrophic-inner-label,
.question-item .shopper-catastrophic-inner-label {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.55rem !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    user-select: none !important;
    line-height: 1 !important;
    background: transparent !important;
    border: none !important;
}

.shopper-catastrophic-inner-label input[type="checkbox"],
.question-item .shopper-catastrophic-inner-label input[type="checkbox"] {
    appearance: auto !important;
    accent-color: var(--primary, #201C61) !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    position: relative !important;
    box-shadow: none !important;
    border: none !important;
}

.shopper-catastrophic-label-content,
.question-item .shopper-catastrophic-label-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.15 !important;
}

.shopper-catastrophic-main-title {
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: var(--text-dark, #1F2937) !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

.shopper-catastrophic-subtext {
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    color: #64748B !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

.shopper-toolbar-info-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748B !important;
    font-size: 0.95rem !important;
    margin-left: 0.2rem !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    position: relative !important;
    transition: color 0.15s ease !important;
}

.shopper-toolbar-info-trigger:hover,
.shopper-toolbar-info-trigger.is-active {
    color: var(--primary, #201C61) !important;
}

/* Tooltip Popup on Toolbar Info Trigger: Pops DOWNWARDS so it never overlaps or gets cut off by header */
.shopper-toolbar-info-trigger .shopper-tooltip-box {
    top: calc(100% + 12px) !important;
    bottom: auto !important;
    left: auto !important;
    right: -10px !important;
    transform: translate(var(--clamp-shift-x, 0px), 0) !important;
    width: 340px !important;
    max-width: min(340px, calc(100vw - 24px)) !important;
    z-index: 999999 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    box-sizing: border-box !important;
}

.shopper-toolbar-info-trigger .shopper-tooltip-box::before {
    bottom: 100% !important;
    top: auto !important;
    height: 12px !important;
}

.shopper-toolbar-info-trigger .shopper-tooltip-box::after {
    bottom: 100% !important;
    top: auto !important;
    left: auto !important;
    right: 14px !important;
    transform: translate(calc(0px - var(--arrow-shift, 0px)), 0) !important;
    border-bottom: 7px solid #0F172A !important;
    border-top: none !important;
    border-left: 6px solid transparent !important;
    border-right: 6px solid transparent !important;
}

.shopper-toolbar-info-trigger:hover .shopper-tooltip-box,
.shopper-toolbar-info-trigger:focus .shopper-tooltip-box,
.shopper-toolbar-info-trigger:focus-within .shopper-tooltip-box,
.shopper-toolbar-info-trigger.is-active .shopper-tooltip-box {
    display: block !important;
    animation: shopperTooltipInDown 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes shopperTooltipInDown {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.shopper-filter-controls-group {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}

.shopper-sort-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shopper-sort-label {
    font-size: 0.85rem;
    color: #64748B;
    font-weight: 700;
    white-space: nowrap;
}

.shopper-metric-network {
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: block !important;
    line-height: 1.25 !important;
}

/* --- Plan Cards List --- */
.shopper-plans-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.shopper-plan-card {
    background: #ffffff;
    border: 1px solid var(--border, #E5E7EB);
    border-radius: 14px;
    padding: 1.4rem 1.4rem 1.4rem 1.7rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    box-sizing: border-box !important;
}

.shopper-plan-card.is-expanded {
    height: auto !important;
    align-self: start !important;
}

.shopper-plan-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* --- High-Luster Metallic Edge Bar (10px wide with specular reflection) --- */
.shopper-plan-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    bottom: -1px;
    width: 10px;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    pointer-events: none;
    z-index: 2;
    transition: filter 0.2s ease;
}

/* Gold Metallic Highlight */
.shopper-plan-card.gold-highlight::before {
    background: linear-gradient(155deg, 
        #996515 0%, 
        #FFDF73 18%, 
        #D4AF37 42%, 
        #FFF6C8 60%, 
        #B38728 78%, 
        #6B4408 100%
    );
    box-shadow: 
        inset 1px 0 1px rgba(255, 255, 255, 0.95), 
        inset -1px 0 1px rgba(80, 50, 10, 0.45),
        1px 0 4px rgba(180, 130, 40, 0.3);
    border: none;
}
.shopper-plan-card.gold-highlight:hover {
    border-color: #FCD34D;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.18);
}
.shopper-plan-card.gold-highlight:hover::before {
    filter: brightness(1.12);
}

/* Silver Metallic Highlight */
.shopper-plan-card.silver-highlight::before {
    background: linear-gradient(155deg, 
        #64748B 0%, 
        #FFFFFF 18%, 
        #94A3B8 42%, 
        #F8FAFC 60%, 
        #64748B 78%, 
        #334155 100%
    );
    box-shadow: 
        inset 1px 0 1px rgba(255, 255, 255, 0.95), 
        inset -1px 0 1px rgba(30, 41, 59, 0.4),
        1px 0 4px rgba(100, 116, 139, 0.25);
    border: none;
}
.shopper-plan-card.silver-highlight:hover {
    border-color: #CBD5E1;
    box-shadow: 0 8px 24px rgba(100, 116, 139, 0.18);
}
.shopper-plan-card.silver-highlight:hover::before {
    filter: brightness(1.12);
}

/* Bronze Metallic Highlight */
.shopper-plan-card.bronze-highlight::before {
    background: linear-gradient(155deg, 
        #8C5E45 0%, 
        #D2B49F 18%, 
        #A87455 42%, 
        #E4C9B6 60%, 
        #906246 78%, 
        #6B4430 100%
    );
    box-shadow: 
        inset 1px 0 1px rgba(255, 255, 255, 0.5), 
        inset -1px 0 1px rgba(60, 20, 5, 0.2),
        1px 0 4px rgba(135, 73, 28, 0.15);
    border: none;
}
.shopper-plan-card.bronze-highlight:hover {
    border-color: #FDBA74;
    box-shadow: 0 8px 24px rgba(180, 83, 9, 0.12);
}
.shopper-plan-card.bronze-highlight:hover::before {
    filter: brightness(1.12);
}

/* Platinum Metallic Highlight */
.shopper-plan-card.platinum-highlight::before {
    background: linear-gradient(155deg, 
        #4338CA 0%, 
        #FFFFFF 18%, 
        #A5B4FC 42%, 
        #EEF2FF 60%, 
        #6366F1 78%, 
        #312E81 100%
    );
    box-shadow: 
        inset 1px 0 1px rgba(255, 255, 255, 1), 
        inset -1px 0 1px rgba(30, 27, 75, 0.4),
        1px 0 4px rgba(99, 102, 241, 0.3);
    border: none;
}
.shopper-plan-card.platinum-highlight:hover {
    border-color: #C7D2FE;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.18);
}
.shopper-plan-card.platinum-highlight:hover::before {
    filter: brightness(1.12);
}

/* Catastrophic Highlight */
.shopper-plan-card.catastrophic-highlight::before {
    background: linear-gradient(155deg, 
        #374151 0%, 
        #9CA3AF 25%, 
        #4B5563 50%, 
        #6B7280 75%, 
        #1F2937 100%
    );
    box-shadow: inset 1px 0 1px rgba(255, 255, 255, 0.6), inset -1px 0 1px rgba(0, 0, 0, 0.4);
    border: none;
}

.shopper-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.shopper-carrier-info {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    flex: 1 1 auto;
    min-width: 0;
}

.shopper-carrier-logo {
    width: 75px;
    height: 75px;
    object-fit: contain;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 4px;
    flex-shrink: 0;
}

.shopper-carrier-meta {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.shopper-carrier-name {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-gray, #4B5563);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shopper-plan-title {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--primary, #201C61);
    line-height: 1.3;
    margin-top: 0.2rem;
    word-break: break-word;
    box-sizing: border-box;
}

@media (min-width: 860px) {
    #shopper-plans-list.is-fullwidth-titles .shopper-card-top {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        column-gap: 0.85rem;
        row-gap: 0.55rem;
        align-items: center;
    }

    #shopper-plans-list.is-fullwidth-titles .shopper-carrier-info,
    #shopper-plans-list.is-fullwidth-titles .shopper-carrier-meta {
        display: contents;
    }

    #shopper-plans-list.is-fullwidth-titles .shopper-carrier-logo {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
    }

    #shopper-plans-list.is-fullwidth-titles .shopper-carrier-name {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        line-height: 1.3;
    }

    #shopper-plans-list.is-fullwidth-titles .shopper-pricing-block {
        grid-column: 3;
        grid-row: 1;
        align-self: center;
    }

    #shopper-plans-list.is-fullwidth-titles .shopper-plan-title {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        margin-top: 0.1rem;
    }
}

.shopper-badges-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: -0.15rem;
    margin-bottom: 0.1rem;
}

.shopper-badge {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-metal-bronze { 
    background: #FFF7ED; 
    color: #9A3412; 
    border: 1px solid #FDBA74; 
    box-shadow: 0 1px 2px rgba(180, 83, 9, 0.08);
}
.badge-metal-silver { 
    background: #F8FAFC; 
    color: #475569; 
    border: 1px solid #CBD5E1; 
    box-shadow: 0 1px 2px rgba(100, 116, 139, 0.08);
}
.badge-metal-gold { 
    background: #FEFCE8; 
    color: #854D0E; 
    border: 1px solid #FDE047; 
    box-shadow: 0 1px 2px rgba(217, 119, 6, 0.08);
}
.badge-metal-platinum { 
    background: #EEF2FF; 
    color: #4338CA; 
    border: 1px solid #C7D2FE; 
    box-shadow: 0 1px 2px rgba(99, 102, 241, 0.08);
}
.badge-metal-catastrophic { 
    background: #F3F4F6; 
    color: #374151; 
    border: 1px solid #D1D5DB; 
}
.badge-hsa { 
    background: #DCFCE7; 
    color: #166534; 
    border: 1px solid #BBF7D0;
}

/* Network Badge with Interactive Hover Popover */
.badge-network { 
    background: #F0F9FF; 
    color: #0369A1; 
    border: 1px solid #BAE6FD;
    cursor: help;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
}

.badge-network:hover,
.badge-network:focus,
.badge-network:focus-within {
    background: #E0F2FE;
    color: #0284C7;
    border-color: #7DD3FC;
    box-shadow: 0 2px 6px rgba(3, 105, 161, 0.15);
}

.badge-network-info-icon {
    font-size: 0.72rem;
    opacity: 0.8;
}

/* Hover Popover Info Card for Network (PPO, POS, HMO, EPO) */
.shopper-network-popover {
    display: none;
    position: absolute;
    bottom: calc(100% + 9px);
    left: 0;
    width: 275px;
    max-width: min(275px, calc(100vw - 24px));
    transform: translate(var(--clamp-shift-x, 0px), 0);
    background: #0F172A;
    color: #FFFFFF;
    padding: 0.8rem 0.9rem;
    border-radius: 9px;
    font-size: 0.78rem;
    line-height: 1.42;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), 0 4px 10px rgba(0, 0, 0, 0.18);
    z-index: 1000;
    pointer-events: none;
    text-align: left;
    white-space: normal;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-sizing: border-box !important;
}

.shopper-network-popover::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 18px;
    transform: translate(calc(0px - var(--arrow-shift, 0px)), 0);
    border-width: 6px;
    border-style: solid;
    border-color: #0F172A transparent transparent transparent;
}

.badge-network:hover .shopper-network-popover,
.badge-network:focus .shopper-network-popover,
.badge-network:focus-within .shopper-network-popover,
.badge-network.is-active .shopper-network-popover {
    display: block;
    animation: networkPopoverIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes networkPopoverIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.shopper-network-popover .popover-title {
    display: block;
    font-weight: 700;
    color: #38BDF8;
    margin-bottom: 0.28rem;
    font-size: 0.82rem;
}

.shopper-network-popover .popover-desc {
    display: block;
    color: #E2E8F0;
    font-size: 0.76rem;
    line-height: 1.4;
}

.badge-csr { background: #e0e7ff; color: #3730a3; }

/* Pricing Column & Estimated Premium Tooltip */
.shopper-pricing-block {
    text-align: right;
    min-width: 130px;
    flex-shrink: 0;
}

.shopper-price-wrap {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.35rem;
    position: relative;
}

.shopper-price-info-trigger {
    font-size: 0.84rem;
    color: #94A3B8;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    position: relative;
    top: -3px;
    transition: color 0.15s ease;
}

.shopper-price-info-trigger:hover,
.shopper-price-info-trigger:focus,
.shopper-price-info-trigger.is-active {
    color: var(--primary, #201C61) !important;
}

.shopper-price-info-trigger .shopper-tooltip-box {
    top: calc(100% + 8px);
    bottom: auto;
    right: 0;
    left: auto;
    width: 285px;
    max-width: min(285px, calc(100vw - 24px));
    text-align: left;
    white-space: normal;
    transform: translate(var(--clamp-shift-x, 0px), 0);
    box-sizing: border-box !important;
}

.shopper-price-info-trigger .shopper-tooltip-box::after {
    top: auto;
    bottom: 100%;
    right: 8px;
    left: auto;
    border-bottom: 7px solid #0F172A;
    border-top: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    transform: translate(calc(0px - var(--arrow-shift, 0px)), 0);
}

.shopper-net-price {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-dark, #1F2937);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.shopper-net-price-period {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray, #4B5563);
}

.shopper-gross-strike {
    font-size: 0.88rem;
    color: #9CA3AF;
    text-decoration: line-through;
    margin-top: 0.25rem;
    font-variant-numeric: tabular-nums;
}

.shopper-subsidy-saved-pill {
    font-size: 0.75rem;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 3px 7px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 0.3rem;
}

/* Card Metrics Grid */
.shopper-card-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    background: #F9FAFB;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 1px solid #f1f5f9;
}

.shopper-card-metric-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.shopper-metric-sublabel {
    font-size: 0.68rem;
    color: var(--text-gray, #4B5563);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.shopper-metric-amount {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dark, #1F2937);
    margin-top: 0.2rem;
    font-variant-numeric: tabular-nums;
}

/* Card Actions */
.shopper-card-actions {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.85rem !important;
    padding-top: 0.75rem !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    margin-top: auto !important;
}

.shopper-compare-checkbox-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    gap: 0.5rem !important;
    font-size: 0.86rem !important;
    color: var(--text-gray, #4B5563) !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    user-select: none !important;
    padding: 0 0.65rem !important;
    border-radius: 8px !important;
    transition: background 0.15s ease !important;
    height: 38px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.shopper-compare-checkbox-wrap:hover {
    background: #f1f5f9 !important;
}

.shopper-compare-checkbox-wrap input[type="checkbox"] {
    appearance: auto !important;
    accent-color: var(--primary, #201C61) !important;
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    display: block !important;
    position: relative !important;
    top: 0 !important;
}

.shopper-compare-checkbox-wrap span {
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.shopper-action-btns-group {
    display: inline-flex !important;
    align-items: center !important;
    align-self: center !important;
    gap: 0.6rem !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 38px !important;
}

.shopper-details-toggle-btn {
    background: #ffffff !important;
    border: 1px solid var(--border, #E5E7EB) !important;
    color: var(--text-dark, #1F2937) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    padding: 0 1rem !important;
    height: 38px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    align-self: center !important;
    line-height: 1 !important;
}

.shopper-details-toggle-btn:hover {
    background: #f1f5f9 !important;
}

.shopper-select-plan-btn {
    background: var(--primary, #201C61) !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    padding: 0 1.1rem !important;
    height: 38px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    align-self: center !important;
    line-height: 1 !important;
}

.shopper-select-plan-btn:hover {
    background: #171447 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(32, 28, 97, 0.25) !important;
}

/* Expanded Details Drawer */
.shopper-card-expanded {
    display: none;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--border, #E5E7EB);
    flex-direction: column;
    gap: 1.35rem;
    animation: fadeInShopper 0.2s ease;
}

.shopper-card-expanded.open {
    display: flex;
}

/* Detail Section Containers & Tag Subtitles */
.shopper-detail-section {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.shopper-detail-section-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.detail-section-tag {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.detail-section-tag.tag-recommendation {
    background: #EEF2FF;
    color: #4338CA;
    border: 1px solid #C7D2FE;
}

.detail-section-tag.tag-costs {
    background: #F0F9FF;
    color: #0369A1;
    border: 1px solid #BAE6FD;
}

.detail-section-tag.tag-subsidies {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}

.detail-section-tag.tag-aca {
    background: #FDF4FF;
    color: #86198F;
    border: 1px solid #F0ABFC;
}

.detail-section-tag.tag-coverage {
    background: #FFFBEB;
    color: #B45309;
    border: 1px solid #FDE68A;
}

.detail-section-tag.tag-docs {
    background: #F8FAFC;
    color: #334155;
    border: 1px solid #CBD5E1;
}

.detail-section-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1E293B;
    letter-spacing: -0.2px;
}

/* Recommendation Card */
.shopper-recommendation-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.95rem 1.15rem;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    transition: box-shadow 0.15s ease;
}

.shopper-recommendation-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.shopper-recom-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.shopper-recom-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.shopper-recom-heading {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.3;
}

.shopper-recom-text {
    margin: 0;
    font-size: 0.83rem;
    line-height: 1.45;
    color: #475569;
}

/* Recommendation Theme Modifiers */
.shopper-recommendation-card.recom-csr {
    background: linear-gradient(135deg, #EEF2FF 0%, #FAF5FF 100%);
    border-color: #C7D2FE;
}
.shopper-recommendation-card.recom-csr .shopper-recom-icon {
    background: #E0E7FF;
    color: #4338CA;
}
.shopper-recommendation-card.recom-csr .shopper-recom-heading {
    color: #312E81;
}

.shopper-recommendation-card.recom-price {
    background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%);
    border-color: #A7F3D0;
}
.shopper-recommendation-card.recom-price .shopper-recom-icon {
    background: #D1FAE5;
    color: #047857;
}
.shopper-recommendation-card.recom-price .shopper-recom-heading {
    color: #064E3B;
}

.shopper-recommendation-card.recom-hsa {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border-color: #BAE6FD;
}
.shopper-recommendation-card.recom-hsa .shopper-recom-icon {
    background: #BAE6FD;
    color: #0284C7;
}
.shopper-recommendation-card.recom-hsa .shopper-recom-heading {
    color: #0C4A6E;
}

.shopper-recommendation-card.recom-gold {
    background: linear-gradient(135deg, #FEFCE8 0%, #FFFBEB 100%);
    border-color: #FDE047;
}
.shopper-recommendation-card.recom-gold .shopper-recom-icon {
    background: #FEF08A;
    color: #854D0E;
}
.shopper-recommendation-card.recom-gold .shopper-recom-heading {
    color: #713F12;
}

.shopper-recommendation-card.recom-bronze {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border-color: #FED7AA;
}
.shopper-recommendation-card.recom-bronze .shopper-recom-icon {
    background: #FFEDD5;
    color: #C2410C;
}
.shopper-recommendation-card.recom-bronze .shopper-recom-heading {
    color: #7C2D12;
}

.shopper-recommendation-card.recom-standard {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border-color: #CBD5E1;
}
.shopper-recommendation-card.recom-standard .shopper-recom-icon {
    background: #E2E8F0;
    color: #475569;
}
.shopper-recommendation-card.recom-standard .shopper-recom-heading {
    color: #1E293B;
}

.shopper-recommendation-card.recom-catastrophic {
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    border-color: #94A3B8;
}
.shopper-recommendation-card.recom-catastrophic .shopper-recom-icon {
    background: #CBD5E1;
    color: #334155;
}
.shopper-recommendation-card.recom-catastrophic .shopper-recom-heading {
    color: #0F172A;
}
.recom-catastrophic { background: #F1F5F9; color: #334155; border: 1px solid #94A3B8; }

/* Detail Box Grid */
.shopper-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.shopper-detail-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 9px;
    padding: 0.75rem 0.95rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.35rem;
    min-width: 0;
    position: relative;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shopper-detail-box:hover {
    border-color: #CBD5E1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.shopper-detail-box.highlight-cost {
    background: #F0FDF4;
    border-color: #BBF7D0;
}

.shopper-detail-box.highlight-savings {
    background: #ECFDF5;
    border-color: #A7F3D0;
}

.shopper-box-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.shopper-box-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    word-break: break-word;
}

.shopper-box-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748B;
    margin-left: 3px;
}

.shopper-box-caption {
    font-size: 0.73rem;
    color: #64748B;
    line-height: 1.35;
}

/* Interactive Info Hover Tooltips */
.shopper-info-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #94A3B8;
    font-size: 0.78rem;
    cursor: help;
    position: relative;
    transition: color 0.15s ease, background 0.15s ease;
    flex-shrink: 0;
    outline: none;
    border: none;
    background: transparent;
    padding: 0;
    line-height: 1;
}

.shopper-info-trigger:hover,
.shopper-info-trigger:focus,
.shopper-info-trigger:focus-within {
    color: #0284C7;
    z-index: 1050;
}

.shopper-tooltip-box {
    display: none;
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    transform: translate(calc(-50% + var(--clamp-shift-x, 0px)), 0);
    width: 285px;
    max-width: min(285px, calc(100vw - 24px));
    background: #0F172A;
    color: #F8FAFC;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9px;
    padding: 0.8rem 0.9rem;
    font-size: 0.76rem;
    line-height: 1.45;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), 0 4px 10px rgba(0, 0, 0, 0.18);
    z-index: 1050;
    pointer-events: none;
    text-align: left;
    white-space: normal;
    box-sizing: border-box !important;
}

.shopper-tooltip-box::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
}

.shopper-tooltip-box::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(calc(-50% - var(--arrow-shift, 0px)), 0);
    border-width: 6px;
    border-style: solid;
    border-color: #0F172A transparent transparent transparent;
}

.shopper-tooltip-box.tooltip-align-right {
    left: auto;
    right: -10px;
    transform: translate(var(--clamp-shift-x, 0px), 0);
}

.shopper-tooltip-box.tooltip-align-right::after {
    left: auto;
    right: 14px;
    transform: translate(calc(0px - var(--arrow-shift, 0px)), 0);
}

/* Vertical Flipping Safety Classes */
.shopper-tooltip-box.tooltip-flipped-down,
.shopper-network-popover.tooltip-flipped-down {
    bottom: auto !important;
    top: calc(100% + 9px) !important;
}

.shopper-tooltip-box.tooltip-flipped-down::before,
.shopper-network-popover.tooltip-flipped-down::before {
    top: auto !important;
    bottom: 100% !important;
}

.shopper-tooltip-box.tooltip-flipped-down::after,
.shopper-network-popover.tooltip-flipped-down::after {
    top: auto !important;
    bottom: 100% !important;
    border-width: 0 6px 6px 6px !important;
    border-style: solid !important;
    border-color: transparent transparent #0F172A transparent !important;
}

.shopper-tooltip-box.tooltip-flipped-up,
.shopper-network-popover.tooltip-flipped-up {
    top: auto !important;
    bottom: calc(100% + 9px) !important;
}

.shopper-tooltip-box.tooltip-flipped-up::before,
.shopper-network-popover.tooltip-flipped-up::before {
    bottom: auto !important;
    top: 100% !important;
}

.shopper-tooltip-box.tooltip-flipped-up::after,
.shopper-network-popover.tooltip-flipped-up::after {
    bottom: auto !important;
    top: 100% !important;
    border-width: 6px 6px 0 6px !important;
    border-style: solid !important;
    border-color: #0F172A transparent transparent transparent !important;
}

.shopper-info-trigger:hover .shopper-tooltip-box,
.shopper-info-trigger:focus .shopper-tooltip-box,
.shopper-info-trigger:focus-within .shopper-tooltip-box,
.shopper-info-trigger.is-active .shopper-tooltip-box {
    display: block;
    pointer-events: auto !important;
    animation: shopperTooltipIn 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.shopper-tooltip-list {
    margin: 0.45rem 0 0.5rem 1.15rem;
    padding: 0;
    list-style-type: disc;
}

.shopper-tooltip-list li {
    margin-bottom: 0.35rem;
    line-height: 1.4;
    font-size: 0.74rem;
}

.tooltip-alert-note {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 6px;
    padding: 0.45rem 0.6rem;
    margin-top: 0.45rem;
    color: #FEF3C7;
    font-size: 0.73rem;
    line-height: 1.35;
}

.shopper-tooltip-link {
    color: #38BDF8 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 0.76rem !important;
    pointer-events: auto !important;
}

.shopper-tooltip-link:hover {
    color: #7DD3FC !important;
}

@keyframes shopperTooltipIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.shopper-info-trigger:hover .shopper-tooltip-box.tooltip-align-right,
.shopper-info-trigger:focus .shopper-tooltip-box.tooltip-align-right,
.shopper-info-trigger:focus-within .shopper-tooltip-box.tooltip-align-right,
.shopper-info-trigger.is-active .shopper-tooltip-box.tooltip-align-right {
    animation-name: shopperTooltipInRight;
}

@keyframes shopperTooltipInRight {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.shopper-tooltip-box .tooltip-title {
    display: block;
    font-weight: 800;
    color: #38BDF8;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.shopper-tooltip-box .tooltip-desc {
    display: block;
    color: #E2E8F0;
    font-size: 0.75rem;
    line-height: 1.42;
}

.shopper-tooltip-box .tooltip-desc strong {
    color: #FFFFFF;
    font-weight: 700;
}

/* ACA Guaranteed Standards Banner */
.shopper-aca-banner {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shopper-aca-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.95rem;
}

.shopper-aca-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 0.55rem 0.85rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.shopper-aca-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.shopper-aca-icon.icon-preventive {
    background: #ECFDF5;
    color: #059669;
    border: 1px solid #A7F3D0;
}

.shopper-aca-icon.icon-preexisting {
    background: #EEF2FF;
    color: #4F46E5;
    border: 1px solid #C7D2FE;
}

.shopper-aca-icon.icon-infinity {
    background: #F0F9FF;
    color: #0284C7;
    border: 1px solid #BAE6FD;
}

.shopper-aca-icon.icon-categories {
    background: #FAF5FF;
    color: #9333EA;
    border: 1px solid #E9D5FF;
}

.shopper-aca-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1;
}

.shopper-aca-heading {
    font-size: 0.84rem;
    font-weight: 700;
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

/* 10 Essential Health Benefits Pill List */
.shopper-ehb-categories-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-top: 0.75rem;
    border-top: 1px solid #E2E8F0;
}

.ehb-category-pill {
    font-size: 0.72rem;
    font-weight: 600;
    color: #334155;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 20px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.ehb-category-pill i {
    font-size: 0.68rem;
    color: #0284C7;
}

/* Carrier Documents & Details Container */
.shopper-docs-container {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.shopper-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
}

.shopper-doc-link {
    font-size: 0.84rem;
    color: var(--primary, #201C61);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: color 0.15s ease;
}

.shopper-doc-link:hover {
    color: #0284C7;
    text-decoration: underline;
}

.shopper-docs-footer-note {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 0.75rem;
    border-top: 1px solid #E2E8F0;
}

.shopper-plan-id-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #64748B;
    font-weight: 600;
}

.shopper-plan-id-tag code {
    font-family: monospace;
    font-size: 0.76rem;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    padding: 2px 6px;
    border-radius: 4px;
    color: #0F172A;
    font-weight: 700;
}

.shopper-sbc-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #64748B;
    line-height: 1.45;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
}

.shopper-sbc-tip i {
    color: #0284C7;
    font-size: 0.82rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ==========================================================================
   STICKY FLOATING COMPARE BAR (ROUNDED BLUE FLOATING DOCK)
   ========================================================================== */
#shopper-compare-bar {
    position: fixed !important;
    bottom: 1.25rem !important;
    left: 50% !important;
    transform: translate(-50%, 0) !important;
    width: min(1260px, calc(100% - 2rem)) !important;
    max-width: 1260px !important;
    z-index: 999999 !important;
    background: #1B2152 !important;
    background: linear-gradient(135deg, #181c4e 0%, #201C61 55%, #1a2764 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 45px -8px rgba(10, 20, 50, 0.48), 0 6px 18px -4px rgba(0, 0, 0, 0.3) !important;
    padding: 0.75rem 1.15rem !important;
    box-sizing: border-box !important;
    animation: slideUpCompareDock 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    backdrop-filter: blur(10px) !important;
}

@keyframes slideUpCompareDock {
    from {
        opacity: 0;
        transform: translate(-50%, 50px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.shopper-compare-bar-inner {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-sizing: border-box;
}

.shopper-compare-bar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap !important;
    flex: 1 1 auto;
    min-width: 0;
}

.shopper-compare-bar-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.shopper-compare-clear-btn--mobile {
    display: none !important;
}

.shopper-compare-clear-btn--desktop {
    display: none !important;
}

.shopper-compare-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    color: #FFFFFF !important;
    padding: 0.4rem 0.75rem !important;
    border-radius: 9999px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.shopper-compare-badge-pill i {
    color: #38BDF8 !important;
    font-size: 0.95rem !important;
}

.shopper-compare-count-tag {
    background: #38BDF8 !important;
    color: #0F172A !important;
    padding: 2px 7px !important;
    border-radius: 12px !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
}

.shopper-compare-chips {
    display: flex !important;
    gap: 0.5rem !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

/* Queued Plan Chip */
.shopper-compare-chip {
    background: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 10px !important;
    padding: 0.35rem 0.55rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 290px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
    box-sizing: border-box !important;
}

.shopper-compare-chip-logo {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
    border-radius: 4px !important;
    background: #FFFFFF !important;
    padding: 1px !important;
    border: 1px solid #E2E8F0 !important;
    flex-shrink: 0 !important;
}

.shopper-compare-chip-meta {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
    line-height: 1.2 !important;
}

.shopper-compare-chip-cost-line {
    display: flex !important;
    align-items: baseline !important;
    gap: 0.25rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

.shopper-compare-chip-cost {
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    flex-shrink: 0 !important;
}

.shopper-compare-chip-cost .shopper-compare-chip-mo {
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #64748B !important;
}

.shopper-compare-chip-dot {
    color: #94A3B8 !important;
    font-size: 0.72rem !important;
    line-height: 1 !important;
}

.shopper-compare-chip-carrier {
    font-size: 0.73rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.shopper-compare-chip-name {
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    color: #64748B !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    display: block !important;
}

.shopper-compare-chip-remove {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    color: #94A3B8 !important;
    font-size: 0.90rem !important;
    padding: 2px 4px !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.15s ease !important;
    flex-shrink: 0 !important;
}

.shopper-compare-chip-remove:hover {
    color: #EF4444 !important;
    background: #FEE2E2 !important;
}

/* Dashed Placeholder for Comparable Slots */
.shopper-compare-slot-placeholder {
    border: 1.5px dashed rgba(255, 255, 255, 0.42) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-radius: 10px !important;
    padding: 0.35rem 0.65rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    min-height: 38px !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 220px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
}

.shopper-compare-slot-placeholder i {
    color: #38BDF8 !important;
    font-size: 0.76rem !important;
}

.shopper-compare-slot-placeholder:hover {
    border-color: rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.14) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
}

.shopper-compare-bar-right {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-shrink: 0 !important;
}

.shopper-compare-clear-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #F8FAFC !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    padding: 0.55rem 0.85rem !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
}

.shopper-compare-clear-btn:hover {
    color: #FFFFFF !important;
    background: rgba(239, 68, 68, 0.25) !important;
    border-color: rgba(239, 68, 68, 0.6) !important;
}

.shopper-compare-launch-btn {
    background: #10B981 !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    font-weight: 700 !important;
    padding: 0.6rem 1.25rem !important;
    border-radius: 10px !important;
    font-size: 0.90rem !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45) !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.shopper-compare-launch-btn:hover {
    background: #059669 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.55) !important;
}

.shopper-compare-launch-btn.btn-select-more {
    background: rgba(255, 255, 255, 0.14) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    border: 1px dashed rgba(255, 255, 255, 0.25) !important;
    box-shadow: none !important;
    cursor: default !important;
}

.shopper-compare-launch-btn.btn-select-more:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Compare Modal Window */
.shopper-compare-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
    animation: fadeInShopper 0.25s ease;
}

.shopper-compare-modal-content {
    background: #FFFFFF;
    border-radius: 16px;
    max-width: 1260px;
    width: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
    border: 1px solid #CBD5E1;
}

.shopper-compare-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid #E2E8F0;
    background: #FFFFFF;
    flex-shrink: 0;
}

.shopper-compare-modal-header h3 {
    margin: 0;
    font-size: 1.35rem;
    color: #0F172A;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.shopper-compare-modal-close {
    background: #F1F5F9;
    border: none;
    font-size: 1.15rem;
    color: #475569;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.shopper-compare-modal-close:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.shopper-compare-modal-body {
    overflow-y: auto;
    overflow-x: auto;
    padding: 0;
    flex: 1 1 auto;
}

.shopper-compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.shopper-compare-table thead th {
    position: sticky;
    top: 0;
    background: #FFFFFF;
    z-index: 20;
    border-bottom: 2px solid #CBD5E1;
    padding: 1.25rem 1.15rem;
    vertical-align: top;
    text-align: left;
    box-shadow: 0 3px 6px rgba(15, 23, 42, 0.05);
}

.shopper-compare-table tbody th,
.shopper-compare-table tbody td {
    padding: 0.95rem 1.15rem;
    text-align: left;
    border-bottom: 1px solid #E2E8F0;
    vertical-align: top;
    box-sizing: border-box;
}

.compare-feature-col {
    width: 24%;
    min-width: 220px;
    background: #F8FAFC !important;
    border-right: 1px solid #E2E8F0;
}

.shopper-compare-table tbody th {
    width: 24%;
    min-width: 220px;
    background: #F8FAFC;
    font-weight: 700;
    color: #334155;
    font-size: 0.88rem;
    border-right: 1px solid #E2E8F0;
}

.compare-plan-col {
    min-width: 260px;
}

.shopper-compare-table tbody td {
    font-size: 0.9rem;
    color: #0F172A;
}

.compare-table-legend-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0F172A;
}

.compare-table-legend-sub {
    font-size: 0.76rem;
    color: #64748B;
    margin-top: 4px;
}

.compare-plan-head-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.compare-head-logo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.compare-carrier-logo {
    height: 30px;
    max-width: 120px;
    object-fit: contain;
}

.compare-head-carrier {
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compare-head-name {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.3;
}

.compare-head-pricing {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-top: 0.2rem;
}

.compare-price-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0B1A30;
    letter-spacing: -0.5px;
}

.compare-price-mo {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748B;
}

.compare-strike-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.compare-strike-val {
    font-size: 0.82rem;
    color: #94A3B8;
    text-decoration: line-through;
    font-weight: 600;
}

.compare-save-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: #065F46;
    background: #D1FAE5;
    padding: 2px 7px;
    border-radius: 4px;
}

.select-from-modal-btn {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
}

/* Category header rows in compare table */
.compare-cat-row td {
    background: #F1F5F9 !important;
    padding: 0.75rem 1.15rem !important;
    border-top: 2px solid #CBD5E1 !important;
    border-bottom: 1px solid #CBD5E1 !important;
}

.compare-cat-heading {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 800;
    font-size: 0.88rem;
    color: #1E293B;
}

/* Highlight cost rows */
.compare-highlight-cost-row {
    background: #F0FDF4;
}

.compare-highlight-cost-row th {
    background: #DCFCE7 !important;
    color: #166534 !important;
}

.compare-recom-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 0.4rem;
}

.recom-csr { background: #EEF2FF; color: #4338CA; border: 1px solid #C7D2FE; }
.recom-price { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.recom-hsa { background: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }
.recom-gold { background: #FEF3C7; color: #B45309; border: 1px solid #FDE68A; }
.recom-bronze { background: #FFF7ED; color: #C2410C; border: 1px solid #FFEDD5; }
.recom-standard { background: #F1F5F9; color: #475569; border: 1px solid #CBD5E1; }

.compare-desc-text {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.4;
}

.compare-unit {
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 600;
    margin-left: 3px;
}

.compare-hint {
    font-size: 0.74rem;
    color: #64748B;
    margin-top: 3px;
    line-height: 1.35;
}

.compare-plan-id {
    font-family: monospace;
    font-size: 0.78rem;
    background: #F1F5F9;
    padding: 2px 6px;
    border-radius: 4px;
    color: #0F172A;
    font-weight: 700;
    border: 1px solid #CBD5E1;
}

/* Modal footer */
.shopper-compare-modal-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    z-index: 30;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.75rem;
    border-top: 1px solid #E2E8F0;
    background: #F8FAFC;
    flex-shrink: 0;
}

.compare-footer-tip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748B;
}

.compare-footer-tip i {
    color: #0284C7;
}

.webformat-close-btn-footer {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: #334155;
    padding: 0.55rem 1.15rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.15s ease;
}

.webformat-close-btn-footer:hover {
    background: #F1F5F9;
    color: #0F172A;
    border-color: #94A3B8;
}

@keyframes shopperDrawerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE ADJUSTMENTS (OPTIMIZED TAP TARGETS & FIT)
   ========================================================================== */
@media (max-width: 1024px) {
    body.shopper-fullscreen-active .form-header,
    .app-container.shopper-fullscreen-active .form-header {
        margin-bottom: 0.45rem !important;
    }

    body.shopper-fullscreen-active .form-header .header-top,
    .app-container.shopper-fullscreen-active .form-header .header-top {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin: 0 0 0.45rem 0 !important;
    }

    body.shopper-fullscreen-active .mobile-header-logo,
    body.shopper-fullscreen-active img.mobile-header-logo,
    .app-container.shopper-fullscreen-active .mobile-header-logo,
    .app-container.shopper-fullscreen-active img.mobile-header-logo {
        height: 36px !important;
        max-width: 155px !important;
    }

    body.shopper-fullscreen-active .header-step-actions {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
        flex-shrink: 0 !important;
    }

    body.shopper-fullscreen-active .header-step-actions .back-btn,
    body.shopper-fullscreen-active .header-step-actions .start-over-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
        padding: 0.35rem 0.65rem !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        border-radius: 20px !important;
        white-space: nowrap !important;
        background: #f8fafc !important;
        border: 1px solid #cbd5e1 !important;
        color: #334155 !important;
        line-height: 1.2 !important;
        cursor: pointer !important;
    }

    body.shopper-fullscreen-active .header-step-actions .back-btn:hover,
    body.shopper-fullscreen-active .header-step-actions .start-over-btn:hover {
        background: #eff6ff !important;
        border-color: #93c5fd !important;
        color: #1d4ed8 !important;
    }

    body.shopper-fullscreen-active #step-4 > .step-actions {
        display: none !important;
    }
}

@media (max-width: 768px) {
    body.shopper-fullscreen-active .form-content-wrapper {
        padding: 0.5rem 0.75rem 6.5rem 0.75rem !important;
    }

    .shopper-header-county-title {
        font-size: 1.25rem !important;
        margin-bottom: 0.45rem !important;
        line-height: 1.2 !important;
    }

    /* Summary Bar on Mobile */
    .shopper-summary-bar {
        padding: 0.85rem 0.95rem !important;
        border-radius: 12px !important;
    }

    .shopper-mobile-summary-header {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.65rem !important;
        width: 100% !important;
    }

    .shopper-mobile-metrics-strip {
        display: flex !important;
        gap: 0.55rem !important;
        width: 100% !important;
    }

    .shopper-mobile-metric-pill {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 10px !important;
        padding: 0.5rem 0.6rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 0.15rem !important;
    }

    .shopper-mobile-metric-label {
        font-size: 0.70rem !important;
        font-weight: 700 !important;
        color: #64748B !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.3rem !important;
        white-space: nowrap !important;
    }

    .shopper-mobile-metric-label i {
        font-size: 0.72rem !important;
    }

    .shopper-mobile-metric-val {
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        color: #0F172A !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .shopper-mobile-metric-val.highlight-green {
        color: #059669 !important;
    }

    .shopper-mobile-metric-val.highlight-yellow {
        color: #D97706 !important;
    }

    .shopper-mobile-metric-val.highlight-red {
        color: #DC2626 !important;
    }

    .shopper-mobile-actions-strip {
        display: flex !important;
        gap: 0.55rem !important;
        width: 100% !important;
    }

    .shopper-mobile-toggle-btn {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        height: 38px !important;
        min-height: 38px !important;
        background: #FFFFFF !important;
        border: 1.5px solid #CBD5E1 !important;
        border-radius: 8px !important;
        color: #1E293B !important;
        font-size: 0.80rem !important;
        font-weight: 700 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.4rem !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        padding: 0 0.55rem !important;
        box-sizing: border-box !important;
        user-select: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .shopper-mobile-toggle-btn:hover,
    .shopper-mobile-toggle-btn.is-open {
        background: #F1F5F9 !important;
        border-color: #201C61 !important;
        color: #201C61 !important;
    }

    .shopper-mobile-toggle-btn.has-active-filters {
        border-color: #10B981 !important;
        background: #ECFDF5 !important;
        color: #065F46 !important;
    }

    .shopper-mobile-filter-badge {
        background: #201C61 !important;
        color: #FFFFFF !important;
        font-size: 0.70rem !important;
        font-weight: 800 !important;
        padding: 2px 6px !important;
        border-radius: 9999px !important;
        min-width: 16px !important;
        text-align: center !important;
        line-height: 1 !important;
    }

    .shopper-mobile-toggle-btn.has-active-filters .shopper-mobile-filter-badge {
        background: #10B981 !important;
    }

    .shopper-toggle-icon {
        font-size: 0.70rem !important;
        color: #64748B !important;
        transition: transform 0.2s ease !important;
    }

    .shopper-mobile-toggle-btn.is-open .shopper-toggle-icon {
        color: #201C61 !important;
    }

    /* Collapsible Household Info */
    #shopper-collapsible-info {
        display: none !important;
        margin-top: 0.75rem !important;
        padding-top: 0.75rem !important;
        border-top: 1px dashed #E2E8F0 !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }

    #shopper-collapsible-info.is-mobile-expanded {
        display: flex !important;
        animation: shopperDrawerSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    #shopper-collapsible-info .shopper-location-meta {
        font-size: 0.84rem !important;
        gap: 0.45rem !important;
    }

    #shopper-collapsible-info .shopper-edit-btn {
        width: 100% !important;
        justify-content: center !important;
        height: 38px !important;
        font-size: 0.85rem !important;
    }

    .desktop-only-sep,
    .desktop-only-metric {
        display: none !important;
    }

    /* Plan Cards Mobile Optimization */
    .shopper-plan-card {
        padding: 1rem 0.95rem 1.15rem 1.15rem !important;
        border-radius: 12px !important;
        gap: 0.85rem !important;
    }

    .shopper-card-top {
        flex-direction: column !important;
        gap: 0.55rem !important;
    }

    .shopper-carrier-info {
        gap: 0.75rem !important;
        width: 100% !important;
        align-items: flex-start !important;
    }

    .shopper-carrier-logo {
        width: 52px !important;
        height: 52px !important;
        border-radius: 8px !important;
        padding: 2px !important;
        flex-shrink: 0 !important;
    }

    .shopper-carrier-name {
        font-size: 0.70rem !important;
    }

    .shopper-plan-title {
        font-size: 0.90rem !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
    }

    /* Badges Row: Full-width row across the card */
    .shopper-badges-row {
        display: flex !important;
        flex-wrap: wrap !important;
        overflow: visible !important;
        gap: 0.35rem !important;
        width: 100% !important;
        margin-top: -0.1rem !important;
        margin-bottom: 0.1rem !important;
    }

    .shopper-badge {
        font-size: 0.72rem !important;
        padding: 3px 7px !important;
        white-space: nowrap !important;
    }

    /* Pricing block */
    .shopper-pricing-block {
        text-align: left !important;
        margin-top: 0.2rem !important;
        display: flex !important;
        align-items: baseline !important;
        gap: 0.5rem !important;
        flex-wrap: wrap !important;
    }

    .shopper-price-wrap {
        justify-content: flex-start !important;
        width: auto !important;
    }

    .shopper-net-price {
        font-size: 1.5rem !important;
    }

    .shopper-subsidy-saved-pill {
        font-size: 0.74rem !important;
        padding: 2px 7px !important;
        margin-top: 0 !important;
    }

    /* Metrics: 3-column preserved with text wrapping on network */
    .shopper-card-metrics {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.45rem !important;
        padding: 0.65rem 0.55rem !important;
        border-radius: 8px !important;
    }

    .shopper-metric-sublabel {
        font-size: 0.64rem !important;
        line-height: 1.2 !important;
    }

    .shopper-metric-amount {
        font-size: 0.86rem !important;
        margin-top: 0.15rem !important;
    }

    .shopper-metric-network {
        white-space: normal !important;
        word-break: break-word !important;
        font-size: 0.72rem !important;
        line-height: 1.2 !important;
        overflow: visible !important;
        text-overflow: clip !important;
        display: block !important;
    }

    /* Card Action Buttons: Consistent 44px Height & Accessible Targets */
    .shopper-card-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.6rem !important;
        padding-top: 0.4rem !important;
        min-height: auto !important;
    }

    .shopper-compare-checkbox-wrap {
        width: 100% !important;
        justify-content: center !important;
        height: 42px !important;
        min-height: 42px !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 8px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .shopper-compare-checkbox-wrap input[type="checkbox"] {
        width: 18px !important;
        height: 18px !important;
    }

    .shopper-action-btns-group {
        display: grid !important;
        grid-template-columns: 1fr 1.25fr !important;
        width: 100% !important;
        height: auto !important;
        min-height: 44px !important;
        gap: 0.6rem !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .shopper-details-toggle-btn {
        width: 100% !important;
        height: 44px !important;
        min-height: 44px !important;
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        justify-content: center !important;
        white-space: nowrap !important;
        padding: 0 0.75rem !important;
        box-sizing: border-box !important;
    }

    .shopper-select-plan-btn {
        width: 100% !important;
        height: 44px !important;
        min-height: 44px !important;
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        justify-content: center !important;
        white-space: nowrap !important;
        padding: 0 0.85rem !important;
        box-sizing: border-box !important;
    }

    /* Filter Toolbar on Mobile - Collapsed by default, toggleable via button */
    .shopper-filter-toolbar {
        display: none !important;
        padding: 0.9rem 0.85rem !important;
        gap: 0.8rem !important;
        border-radius: 10px !important;
    }

    .shopper-filter-toolbar.is-mobile-expanded {
        display: flex !important;
        flex-direction: column !important;
        animation: shopperDrawerSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .shopper-metal-pills {
        gap: 0.35rem !important;
        width: 100% !important;
    }

    .shopper-metal-pill {
        min-height: 38px !important;
        padding: 0.45rem 0.75rem !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .shopper-toolbar-controls-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.65rem !important;
    }

    .shopper-filter-controls-group {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.55rem !important;
        width: 100% !important;
    }

    .shopper-filter-select#shopper-carrier-filter {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        font-size: 0.88rem !important;
    }

    .shopper-filter-select#shopper-type-filter {
        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        font-size: 0.88rem !important;
    }

    .shopper-checkbox-label {
        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        font-size: 0.84rem !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .shopper-catastrophic-filter-wrap {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 48px !important;
        padding: 0.55rem 0.85rem !important;
        justify-content: space-between !important;
        box-sizing: border-box !important;
    }

    .shopper-catastrophic-inner-label {
        white-space: normal !important;
        flex: 1 !important;
    }

    .shopper-catastrophic-label-content {
        white-space: normal !important;
        flex: 1 !important;
    }

    .shopper-catastrophic-main-title {
        white-space: normal !important;
        font-size: 0.84rem !important;
    }

    .shopper-catastrophic-subtext {
        white-space: normal !important;
        font-size: 0.73rem !important;
    }

    .shopper-sort-group {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    .shopper-sort-select {
        flex: 1 1 auto !important;
        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        font-size: 0.88rem !important;
    }

    /* Summary Bar on Mobile */
    .shopper-summary-bar {
        padding: 0.85rem 0.9rem !important;
        border-radius: 10px !important;
    }

    .shopper-summary-top {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.65rem !important;
    }

    .shopper-location-meta {
        font-size: 0.84rem !important;
        line-height: 1.45 !important;
        gap: 0.35rem 0.45rem !important;
    }

    .shopper-meta-loc {
        font-size: 0.88rem !important;
    }

    .shopper-meta-item {
        font-size: 0.84rem !important;
    }

    .shopper-meta-metric {
        font-size: 0.83rem !important;
    }

    .shopper-meta-metric-label {
        font-size: 0.8rem !important;
    }

    .shopper-meta-metric-val {
        font-size: 0.85rem !important;
    }

    .shopper-meta-coverage {
        font-size: 0.83rem !important;
    }

    .shopper-coverage-note {
        font-size: 0.79rem !important;
    }

    .shopper-edit-btn {
        width: 100% !important;
        height: 40px !important;
        min-height: 40px !important;
        justify-content: center !important;
        font-size: 0.88rem !important;
        font-weight: 700 !important;
    }

    /* Details Drawer Mobile Responsive Adjustments */
    .shopper-details-grid {
        grid-template-columns: 1fr !important;
        gap: 0.65rem !important;
    }

    .shopper-detail-box {
        padding: 0.85rem 0.95rem !important;
    }

    .shopper-box-value {
        font-size: 1.15rem !important;
    }

    .shopper-aca-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .shopper-recommendation-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.6rem !important;
        padding: 0.85rem 1rem !important;
    }

    .shopper-links-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.6rem !important;
    }

    .shopper-doc-link {
        display: flex !important;
        align-items: center !important;
        gap: 0.6rem !important;
        padding: 0.7rem 0.95rem !important;
        background: #FFFFFF !important;
        border: 1px solid #CBD5E1 !important;
        border-radius: 8px !important;
        font-size: 0.86rem !important;
        font-weight: 700 !important;
        color: #0F172A !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
        text-decoration: none !important;
    }

    .shopper-doc-link:hover {
        background: #F8FAFC !important;
        color: #0284C7 !important;
    }

    .shopper-detail-box,
    .shopper-aca-item,
    .shopper-detail-section {
        position: relative;
    }

    .shopper-detail-box:focus-within,
    .shopper-detail-box:hover,
    .shopper-detail-box:has(.is-active),
    .shopper-aca-item:focus-within,
    .shopper-aca-item:hover,
    .shopper-aca-item:has(.is-active) {
        z-index: 40 !important;
    }

    .shopper-info-trigger {
        touch-action: manipulation;
    }

    .shopper-info-trigger:hover,
    .shopper-info-trigger:focus,
    .shopper-info-trigger:focus-within,
    .shopper-info-trigger.is-active {
        color: #0284C7 !important;
        z-index: 60 !important;
    }

    .shopper-tooltip-box {
        width: min(285px, calc(100vw - 24px)) !important;
        max-width: calc(100vw - 24px) !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(calc(-50% + var(--clamp-shift-x, 0px)), 0) !important;
        z-index: 1100 !important;
        box-sizing: border-box !important;
    }

    .shopper-tooltip-box.tooltip-align-right {
        left: auto !important;
        right: -6px !important;
        transform: translate(var(--clamp-shift-x, 0px), 0) !important;
    }

    .shopper-tooltip-box::after {
        left: 50% !important;
        right: auto !important;
        transform: translate(calc(-50% - var(--arrow-shift, 0px)), 0) !important;
    }

    .shopper-tooltip-box.tooltip-align-right::after {
        left: auto !important;
        right: 14px !important;
        transform: translate(calc(0px - var(--arrow-shift, 0px)), 0) !important;
    }

    /* Mobile Price Tooltip: Price is on the left side of the card, open rightwards */
    .shopper-price-info-trigger .shopper-tooltip-box {
        left: -8px !important;
        right: auto !important;
        top: calc(100% + 8px) !important;
        bottom: auto !important;
        width: min(285px, calc(100vw - 24px)) !important;
        max-width: calc(100vw - 24px) !important;
        transform: translate(var(--clamp-shift-x, 0px), 0) !important;
    }

    .shopper-price-info-trigger .shopper-tooltip-box::after {
        left: 14px !important;
        right: auto !important;
        bottom: 100% !important;
        top: auto !important;
        transform: translate(calc(0px - var(--arrow-shift, 0px)), 0) !important;
    }

    .shopper-toolbar-info-trigger .shopper-tooltip-box {
        top: calc(100% + 10px) !important;
        bottom: auto !important;
        right: -6px !important;
        left: auto !important;
        width: min(300px, calc(100vw - 24px)) !important;
        max-width: calc(100vw - 24px) !important;
        transform: translate(var(--clamp-shift-x, 0px), 0) !important;
        z-index: 999999 !important;
        box-sizing: border-box !important;
    }

    .shopper-toolbar-info-trigger .shopper-tooltip-box::after {
        bottom: 100% !important;
        top: auto !important;
        left: auto !important;
        right: 14px !important;
        border-bottom: 7px solid #0F172A !important;
        border-top: none !important;
        border-left: 6px solid transparent !important;
        border-right: 6px solid transparent !important;
        transform: translate(calc(0px - var(--arrow-shift, 0px)), 0) !important;
    }

    .shopper-network-popover {
        width: min(280px, calc(100vw - 24px)) !important;
        max-width: calc(100vw - 24px) !important;
        left: -10px !important;
        right: auto !important;
        transform: translate(var(--clamp-shift-x, 0px), 0) !important;
        box-sizing: border-box !important;
    }

    .shopper-network-popover::after {
        left: 22px !important;
        right: auto !important;
        transform: translate(calc(0px - var(--arrow-shift, 0px)), 0) !important;
    }

    /* Bottom Compare Dock Mobile */
    #shopper-compare-bar {
        bottom: 0.75rem !important;
        width: calc(100% - 1.25rem) !important;
        padding: 0.75rem 0.85rem !important;
        border-radius: 14px !important;
    }

    .shopper-compare-bar-inner {
        flex-direction: column !important;
        gap: 0.65rem !important;
        align-items: stretch !important;
    }

    .shopper-compare-bar-left {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.55rem !important;
        width: 100% !important;
    }

    .shopper-compare-bar-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .shopper-compare-clear-btn--desktop {
        display: none !important;
    }

    .shopper-compare-clear-btn--mobile {
        display: inline-flex !important;
        height: 32px !important;
        padding: 0 0.65rem !important;
        font-size: 0.78rem !important;
        border-radius: 8px !important;
        align-items: center !important;
        gap: 0.35rem !important;
        white-space: nowrap !important;
    }

    .shopper-compare-chips {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.4rem !important;
    }

    .shopper-compare-chip {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-height: 44px !important;
        padding: 0.4rem 0.65rem !important;
    }

    .shopper-compare-slot-placeholder {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: flex-start !important;
        padding: 0.45rem 0.75rem !important;
        min-height: 38px !important;
    }

    .shopper-compare-chip-name {
        max-width: 100% !important;
    }

    .shopper-compare-chip-carrier {
        max-width: 160px !important;
    }

    .shopper-compare-bar-right {
        display: flex !important;
        width: 100% !important;
        margin-top: 0.15rem !important;
    }

    .shopper-compare-launch-btn {
        height: 44px !important;
        min-height: 44px !important;
        font-size: 0.90rem !important;
        font-weight: 700 !important;
        padding: 0 1rem !important;
        justify-content: center !important;
        width: 100% !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
    }

    /* Comparison Modal Mobile Swipeable Table */
    .shopper-compare-modal-backdrop {
        padding: 0.5rem !important;
    }

    .shopper-compare-modal-content {
        max-height: 96vh !important;
        border-radius: 12px !important;
    }

    .shopper-compare-modal-header {
        padding: 0.85rem 1rem !important;
    }

    .shopper-compare-modal-header h3 {
        font-size: 1.1rem !important;
    }

    .shopper-compare-table thead th:first-child,
    .shopper-compare-table tbody th {
        position: sticky !important;
        left: 0 !important;
        z-index: 25 !important;
        min-width: 135px !important;
        width: 135px !important;
        background: #F8FAFC !important;
        box-shadow: 2px 0 6px rgba(15, 23, 42, 0.08) !important;
        font-size: 0.8rem !important;
        padding: 0.75rem 0.55rem !important;
    }

    .compare-plan-col {
        min-width: 195px !important;
        padding: 0.85rem 0.75rem !important;
    }

    .shopper-compare-table tbody td {
        padding: 0.75rem 0.75rem !important;
        font-size: 0.84rem !important;
        min-width: 195px !important;
    }

    .select-from-modal-btn {
        height: 44px !important;
        min-height: 44px !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
    }

    .shopper-compare-modal-footer {
        position: sticky !important;
        left: 0 !important;
        bottom: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        flex-direction: column !important;
        gap: 0.85rem !important;
        padding: 1.25rem 1rem 1.75rem 1rem !important;
        margin-top: 0.5rem !important;
        background: #F8FAFC !important;
        border-top: 2px solid #E2E8F0 !important;
    }

    .webformat-close-btn-footer {
        width: 100% !important;
        height: 44px !important;
        justify-content: center !important;
        font-size: 0.9rem !important;
    }
}

/* Extra Compact Phones (iPhone SE / Galaxy Fold Cover / < 360px) */
@media (max-width: 360px) {
    .shopper-action-btns-group {
        grid-template-columns: 1fr !important;
    }

    .shopper-filter-controls-group {
        grid-template-columns: 1fr !important;
    }

    .shopper-subsidy-metrics {
        grid-template-columns: 1fr !important;
    }

    .shopper-card-metrics {
        gap: 0.25rem !important;
        padding: 0.5rem 0.4rem !important;
    }

    .shopper-metric-amount {
        font-size: 0.80rem !important;
    }
}

/* =========================================================
   Step 5: Plan Shopper Selected Plan Summary Banner
   ========================================================= */
.shopper-selected-plan-banner {
    background: #F8FAFC;
    border: 1.5px solid #CBD5E1;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    margin-bottom: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.shopper-selected-plan-banner .plan-banner-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.shopper-selected-plan-banner .plan-banner-carrier {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    flex-wrap: wrap;
}

.shopper-selected-plan-banner .plan-banner-badge {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.shopper-selected-plan-banner .plan-banner-year-pill {
    font-size: 0.72rem;
    font-weight: 700;
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    padding: 2px 7px;
    border-radius: 9999px;
}

.shopper-selected-plan-banner .plan-banner-change-btn {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--primary, #201C61);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.15s ease;
}

.shopper-selected-plan-banner .plan-banner-change-btn:hover {
    color: #059669;
}

.shopper-selected-plan-banner .plan-banner-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.35;
}

.shopper-selected-plan-banner .plan-banner-metrics {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    flex-wrap: wrap;
    padding-top: 0.35rem;
    border-top: 1px solid #E2E8F0;
}

.shopper-selected-plan-banner .plan-banner-price {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0F172A;
}

.shopper-selected-plan-banner .plan-banner-price span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748B;
}

.shopper-selected-plan-banner .plan-banner-subsidy {
    font-size: 0.84rem;
    font-weight: 700;
    color: #059669;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.shopper-selected-plan-banner .plan-banner-deductible {
    font-size: 0.84rem;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ==========================================================================
   MEDICAID & CHIP "OTHER AFFORDABLE PROGRAMS" MODAL (YHI MATCH)
   ========================================================================== */
.shopper-programs-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.shopper-programs-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.shopper-programs-modal-dialog {
    background: transparent;
    max-width: 440px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: shopperProgramsModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shopperProgramsModalSlideUp {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.shopper-programs-modal-close {
    position: absolute;
    top: -12px;
    right: -8px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: #475569;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.15s ease;
    z-index: 10;
    font-size: 0.95rem;
}

.shopper-programs-modal-close:hover {
    background: #F1F5F9;
    color: #0F172A;
    transform: scale(1.06);
}

/* Green Border Card matching YHI screenshot */
.shopper-programs-card {
    background: #FFFFFF;
    border: 2.5px solid #22C55E;
    border-radius: 20px;
    padding: 1.75rem 1.4rem 1.5rem 1.4rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.shopper-programs-subtitle {
    font-size: 0.92rem;
    color: #64748B;
    text-align: center;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.shopper-programs-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1E293B;
    text-align: center;
    margin: 0 0 1.25rem 0;
    line-height: 1.25;
}

.shopper-program-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 1rem 1.15rem 1.1rem 1.15rem;
    margin-bottom: 0.9rem;
    transition: all 0.2s ease;
    position: relative;
}

.shopper-program-item:last-child {
    margin-bottom: 0.25rem;
}

.shopper-program-item:hover {
    border-color: #CBD5E1;
    background: #F1F5F9;
}

.shopper-program-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.shopper-program-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.80rem;
    font-weight: 700;
    padding: 0.22rem 0.65rem;
    border-radius: 9999px;
    letter-spacing: 0.02em;
}

.shopper-medicaid-badge {
    background: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
}

.shopper-chip-badge {
    background: #F0FDF4;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

.shopper-program-info-trigger {
    width: 22px;
    height: 22px;
    color: #64748B;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.80rem;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.shopper-program-info-trigger:hover,
.shopper-program-info-trigger:focus,
.shopper-program-info-trigger.is-active {
    color: #2563EB;
    border-color: #2563EB;
    background: #EFF6FF;
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.shopper-program-info-trigger .shopper-tooltip-box {
    width: 290px;
    max-width: min(290px, calc(100vw - 32px));
    z-index: 10000;
}

.shopper-program-text {
    font-size: 0.94rem;
    color: #334155;
    line-height: 1.45;
    margin: 0 0 0.75rem 0;
    font-weight: 500;
}

.shopper-program-cta-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.95rem;
    background: #FFFFFF;
    color: #0F766E;
    border: 1.5px solid #0D9488;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.90rem;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(13, 148, 136, 0.08);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.shopper-program-cta-btn .cta-text-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.shopper-program-cta-btn .cta-text-wrap i {
    font-size: 0.95rem;
    color: #0D9488;
    transition: color 0.2s ease;
}

.shopper-program-cta-btn i:last-child {
    font-size: 0.82rem;
    opacity: 0.75;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.shopper-program-cta-btn:hover {
    background: #0D9488;
    color: #FFFFFF;
    border-color: #0D9488;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
    text-decoration: none;
}

.shopper-program-cta-btn:hover .cta-text-wrap i {
    color: #FFFFFF;
}

.shopper-program-cta-btn:hover i:last-child {
    opacity: 1;
    transform: translate(2px, -2px);
}

.shopper-program-cta-btn:active {
    transform: translateY(0);
}

/* Legacy link support */
.shopper-program-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #0D9488;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.shopper-program-link:hover {
    color: #0F766E;
    text-decoration: underline;
}

/* Estimate Disclaimer Note Box matching YHI screenshot */
.shopper-programs-estimate-box {
    background: #F0FDF4;
    border: 1.5px solid #0F766E;
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.shopper-programs-estimate-icon {
    font-size: 1.35rem;
    color: #0F766E;
    flex-shrink: 0;
}

.shopper-programs-estimate-text {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.4;
    font-weight: 500;
}

/* "See Plans Anyway" Button matching Parker Insurance branding */
.shopper-programs-continue-btn {
    background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.95rem 1.75rem;
    border: none;
    border-radius: 12px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    letter-spacing: -0.01em;
}

.shopper-programs-continue-btn:hover {
    background: linear-gradient(135deg, #1E40AF 0%, #1D4ED8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45);
}

.shopper-programs-continue-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.shopper-programs-continue-btn i {
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.shopper-programs-continue-btn:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   PERSISTENT ON-PAGE "OTHER AFFORDABLE PROGRAMS" BANNER IN SUMMARY BAR
   ========================================================================== */
.shopper-other-programs-banner {
    background: #F0FDF4;
    border: 2px solid #22C55E;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.08);
}

.shopper-op-banner-left {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    flex: 1 1 auto;
}

.shopper-op-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #DCFCE7;
    color: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.shopper-op-content {
    flex: 1 1 auto;
}

.shopper-op-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: #14532D;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.shopper-op-title .shopper-op-badge-pill {
    background: #22C55E;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.shopper-op-desc {
    font-size: 0.88rem;
    color: #166534;
    line-height: 1.45;
    margin-bottom: 0.5rem;
}

.shopper-op-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
}

.shopper-op-link {
    color: #0F766E;
    font-weight: 600;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.15s ease;
}

.shopper-op-link:hover {
    color: #0D9488;
}

.shopper-op-link-sep {
    color: #86EFAC;
}

.shopper-op-banner-right {
    flex-shrink: 0;
}

.shopper-op-review-btn {
    background: #FFFFFF;
    color: #15803D;
    border: 1.5px solid #22C55E;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.shopper-op-review-btn:hover {
    background: #16A34A;
    color: #FFFFFF;
    border-color: #16A34A;
}

@media (max-width: 768px) {
    .shopper-other-programs-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        padding: 0.95rem 1rem;
    }
    .shopper-op-review-btn {
        width: 100%;
        justify-content: center;
    }
}


