/* AvlixBD Phase 9.2.2 — authoritative floating-cart redesign */
html body .cpf-cart__fab {
    position: fixed !important;
    right: 22px !important;
    bottom: 24px !important;
    z-index: 10020 !important;
    width: auto !important;
    min-width: 116px !important;
    height: 52px !important;
    padding: 6px 12px 6px 7px !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #172033 !important;
    border: 1px solid #e4e7ec !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 28px rgba(28, 25, 45, .14) !important;
    filter: none !important;
    cursor: pointer !important;
    transform: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}
html body .cpf-cart__fab:hover {
    background: #ffffff !important;
    background-image: none !important;
    border-color: #8b5cf6 !important;
    box-shadow: 0 14px 34px rgba(91, 33, 182, .18) !important;
    transform: translateY(-2px) !important;
}
html body .cpf-cart__fab-icon {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 11px !important;
    background: #5b21b6 !important;
    background-color: #5b21b6 !important;
    background-image: none !important;
    color: #ffffff !important;
}
html body .cpf-cart__fab-icon svg { width: 20px !important; height: 20px !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.9 !important; }
html body .cpf-cart__fab-copy { display: grid !important; text-align: left !important; line-height: 1.05 !important; }
html body .cpf-cart__fab-copy small { color: #697386 !important; opacity: 1 !important; font-size: 10px !important; font-weight: 650 !important; }
html body .cpf-cart__fab-copy strong { margin-top: 4px !important; color: #172033 !important; font-size: 14px !important; font-weight: 850 !important; }
html body .cpf-cart__badge {
    position: absolute !important; right: -6px !important; top: -7px !important;
    min-width: 21px !important; height: 21px !important; padding: 0 5px !important;
    display: grid !important; place-items: center !important;
    background: #7c3aed !important; background-image: none !important; color: #ffffff !important;
    border: 2px solid #ffffff !important; border-radius: 999px !important;
    font-size: 10px !important; font-weight: 850 !important;
}

html body .cpf-cart__overlay { background: rgba(15, 23, 42, .46) !important; backdrop-filter: blur(3px) !important; }
html body .cpf-cart__drawer { width: min(420px, 100vw) !important; background: #ffffff !important; color: #172033 !important; border-left: 1px solid #e5e7eb !important; box-shadow: -18px 0 55px rgba(15, 23, 42, .17) !important; }
html body .cpf-cart__header { min-height: 72px !important; padding: 15px 17px !important; background: #ffffff !important; background-image: none !important; border-bottom: 1px solid #e5e7eb !important; color: #172033 !important; }
html body .cpf-cart__basket { width: 40px !important; height: 40px !important; display: grid !important; place-items: center !important; background: #f3f0ff !important; border-radius: 11px !important; font-size: 19px !important; }
html body .cpf-cart__header-title strong { color: #172033 !important; font-size: 15px !important; }
html body .cpf-cart__header-title small { color: #697386 !important; font-size: 11px !important; }
html body .cpf-cart__close { height: 38px !important; padding: 0 11px !important; border: 1px solid #e5e7eb !important; border-radius: 9px !important; background: #ffffff !important; background-image: none !important; color: #475569 !important; }
html body .cpf-cart__body { padding: 12px 16px !important; background: #f8fafc !important; }
html body .cpf-cart__item { padding: 12px !important; margin-bottom: 10px !important; background: #ffffff !important; border: 1px solid #e5e7eb !important; border-radius: 13px !important; box-shadow: none !important; }
html body .cpf-cart__price strong, html body .cpf-cart__qty span, html body .cpf-cart__qty button { color: #5b21b6 !important; }
html body .cpf-cart__coupon, html body .cpf-cart__footer { background: #ffffff !important; border-color: #e5e7eb !important; }
html body .cpf-cart__coupon button { background: #ede9fe !important; background-image: none !important; color: #5b21b6 !important; }
html body .cpf-cart__checkout-row > a { background: #5b21b6 !important; background-image: none !important; color: #ffffff !important; }
html body .cpf-cart__grand { background: #f3f0ff !important; background-image: none !important; color: #172033 !important; }

@media (max-width: 640px) {
    html body .cpf-cart__fab {
        right: 13px !important; bottom: 78px !important;
        width: 52px !important; min-width: 52px !important; height: 52px !important;
        padding: 6px !important; border-radius: 15px !important;
    }
    html body .cpf-cart__fab-icon { width: 38px !important; height: 38px !important; flex-basis: 38px !important; }
    html body .cpf-cart__fab-copy { display: none !important; }
    html body .cpf-cart__drawer { top: auto !important; bottom: 0 !important; width: 100% !important; height: min(90dvh, 760px) !important; border: 0 !important; border-radius: 20px 20px 0 0 !important; }
}

@media (prefers-color-scheme: dark) {
    html body .cpf-cart__fab { background: #171827 !important; background-image: none !important; color: #ffffff !important; border-color: #303244 !important; box-shadow: 0 12px 30px rgba(0, 0, 0, .32) !important; }
    html body .cpf-cart__fab:hover { background: #1d1f31 !important; border-color: #8b5cf6 !important; }
    html body .cpf-cart__fab-copy small { color: #aeb5c5 !important; }
    html body .cpf-cart__fab-copy strong { color: #ffffff !important; }
    html body .cpf-cart__badge { border-color: #171827 !important; }
}
