.theblassa-fast-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .46);
    z-index: 99997;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
    backdrop-filter: blur(2px);
}

.theblassa-fast-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(450px, 94vw);
    height: 100vh;
    background: #fff;
    z-index: 99998;
    transform: translateX(105%);
    transition: transform .26s ease;
    box-shadow: -18px 0 44px rgba(0, 0, 0, .2);
    display: flex;
    flex-direction: column;
    font-family: inherit;
}

body.theblassa-fast-cart-open { overflow: hidden; }
body.theblassa-fast-cart-open .theblassa-fast-cart-overlay { opacity: 1; visibility: visible; }
body.theblassa-fast-cart-open .theblassa-fast-cart-drawer { transform: translateX(0); }

.theblassa-fast-cart-head {
    padding: 18px 18px 15px;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.theblassa-fast-cart-kicker {
    display: inline-flex;
    margin-bottom: 3px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.theblassa-fast-cart-head strong {
    display: block;
    font-size: 21px;
    line-height: 1.15;
    color: #111;
}

.theblassa-fast-cart-mini-count {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #666;
}

.theblassa-fast-cart-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #f3f3f3;
    color: #111;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
}

.theblassa-fast-cart-close:hover { background: #e9e9e9; }

.theblassa-fast-cart-notice {
    display: none;
    margin: 12px 16px 0;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
}

.theblassa-fast-cart-notice.is-success { background: #eef9eb; color: #226b1f; }
.theblassa-fast-cart-notice.is-error { background: #fff0f0; color: #b00020; }

.theblassa-fast-cart-body {
    padding: 14px 16px;
    overflow-y: auto;
    flex: 1;
}

.theblassa-fast-cart-item {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.theblassa-fast-cart-thumb img {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 16px;
    background: #f7f7f7;
}

.theblassa-fast-cart-title a,
.theblassa-fast-cart-title span {
    color: #111;
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.35;
}

.theblassa-fast-cart-title a:hover { text-decoration: underline; }

.theblassa-fast-cart-meta {
    margin-top: 4px;
    font-size: 12px;
    color: #777;
}

.theblassa-fast-cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.theblassa-fast-cart-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.theblassa-fast-cart-qty button {
    width: 31px;
    height: 31px;
    border: 0;
    background: #f7f7f7;
    color: #111;
    cursor: pointer;
    font-size: 17px;
}

.theblassa-fast-cart-qty button:hover { background: #efefef; }

.theblassa-fast-cart-qty input {
    width: 42px;
    height: 31px;
    border: 0;
    text-align: center;
    font-weight: 800;
    color: #111;
    -moz-appearance: textfield;
}

.theblassa-fast-cart-qty input::-webkit-outer-spin-button,
.theblassa-fast-cart-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theblassa-fast-cart-line-total {
    font-weight: 900;
    color: #111;
    font-size: 14px;
    white-space: nowrap;
}

.theblassa-fast-cart-remove {
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #b00020;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
}

.theblassa-fast-cart-foot {
    padding: 14px 16px 18px;
    border-top: 1px solid #eeeeee;
    background: #fff;
    max-height: 58vh;
    overflow-y: auto;
}

.theblassa-fast-cart-progress {
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 18px;
    background: #f8f8f8;
    border: 1px solid #eeeeee;
}

.theblassa-fast-cart-progress-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
    font-size: 12px;
    color: #555;
    font-weight: 800;
}

.theblassa-fast-cart-progress-top strong { color: #111; }

.theblassa-fast-cart-progress-text {
    font-size: 12.5px;
    color: #333;
    margin-bottom: 8px;
}

.theblassa-fast-cart-progress-bar {
    height: 10px;
    border-radius: 999px;
    background: #e8e8e8;
    overflow: hidden;
}

.theblassa-fast-cart-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #111 0%, #333 100%);
    transition: width .25s ease;
}

.theblassa-fast-cart-offer {
    margin: 10px 0 12px;
    padding: 11px 12px;
    border-radius: 16px;
    background: #fff8df;
    color: #4c3600;
    border: 1px solid #f1dc9b;
    font-size: 12.5px;
    font-weight: 800;
}

.theblassa-fast-cart-recos {
    margin: 12px 0;
    padding: 12px;
    border: 1px solid #eeeeee;
    border-radius: 20px;
    background: #fafafa;
}

.theblassa-fast-cart-recos-title {
    font-size: 13px;
    font-weight: 950;
    color: #111;
    margin-bottom: 10px;
}

.theblassa-fast-cart-recos-list { display: grid; gap: 9px; }

.theblassa-fast-cart-reco {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 9px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    padding: 8px;
}

.theblassa-fast-cart-reco-img img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 11px;
    background: #f7f7f7;
}

.theblassa-fast-cart-reco-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #111;
    text-decoration: none;
    font-size: 12.5px;
    line-height: 1.25;
    font-weight: 850;
}

.theblassa-fast-cart-reco-price {
    margin-top: 3px;
    color: #111;
    font-size: 12px;
    font-weight: 900;
}

.theblassa-fast-cart-reco-price del { color: #888; font-weight: 500; }

.theblassa-fast-cart-reco-add {
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff !important;
    padding: 8px 10px;
    min-width: 68px;
    font-size: 12px;
    line-height: 1;
    font-weight: 950;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.theblassa-fast-cart-reco-add.is-loading { opacity: .7; cursor: wait; }
.theblassa-fast-cart-reco-link { background: #f1f1f1; color: #111 !important; }

.theblassa-fast-cart-trust {
    display: grid;
    gap: 6px;
    margin: 10px 0 13px;
    padding: 11px 12px;
    border-radius: 17px;
    background: #f7f7f7;
    color: #222;
    font-size: 12px;
    font-weight: 750;
}

.theblassa-fast-cart-totals {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
    font-size: 14px;
}

.theblassa-fast-cart-totals div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.theblassa-fast-cart-totals span { color: #555; }
.theblassa-fast-cart-totals strong { color: #111; text-align: right; }

.theblassa-fast-cart-total {
    padding-top: 8px;
    border-top: 1px dashed #ddd;
    font-size: 16px;
}

.theblassa-fast-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 47px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
    margin-top: 9px;
    transition: transform .15s ease, opacity .15s ease;
}

.theblassa-fast-cart-btn:hover { transform: translateY(-1px); opacity: .94; }
.theblassa-fast-cart-btn-primary { background: #111; color: #fff !important; }
.theblassa-fast-cart-btn-secondary { background: #f3f3f3; color: #111 !important; }
.theblassa-fast-cart-btn-whatsapp { background: #25D366; color: #082d16 !important; }

.theblassa-fast-cart-continue {
    width: 100%;
    border: 0;
    background: transparent;
    margin-top: 10px;
    color: #555;
    font-weight: 800;
    cursor: pointer;
}

.theblassa-fast-cart-empty {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    color: #555;
}

.theblassa-fast-cart-empty-icon { font-size: 42px; }
.theblassa-fast-cart-empty strong { color: #111; font-size: 18px; }
.theblassa-fast-cart-empty span { max-width: 280px; font-size: 14px; }

.theblassa-fast-cart-floating {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99990;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 49px;
    padding: 0 15px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    box-shadow: 0 12px 32px rgba(0,0,0,.22);
    cursor: pointer;
    font-weight: 950;
}

.theblassa-fast-cart-floating-icon { font-size: 18px; }

.theblassa-fast-cart-floating strong,
.theblassa-fast-cart-shortcode-button strong {
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #111;
    font-size: 12px;
    margin-left: 5px;
}

.theblassa-fast-cart-shortcode-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.theblassa-fast-cart-drawer.is-loading:after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.55);
    pointer-events: none;
}

@media (max-width: 640px) {
    .theblassa-fast-cart-drawer { width: 95vw; }
    .theblassa-fast-cart-head { padding: 16px 15px 13px; }
    .theblassa-fast-cart-body { padding: 12px 14px; }
    .theblassa-fast-cart-foot {
        max-height: 60vh;
        padding: 12px 14px max(18px, env(safe-area-inset-bottom));
    }
    .theblassa-fast-cart-floating {
        right: 14px;
        bottom: 14px;
        min-height: 46px;
    }
    .theblassa-fast-cart-item { grid-template-columns: 68px 1fr; }
    .theblassa-fast-cart-thumb img { width: 68px; height: 68px; }
    .theblassa-fast-cart-reco { grid-template-columns: 42px 1fr auto; }
    .theblassa-fast-cart-reco-img img { width: 42px; height: 42px; }
    .theblassa-fast-cart-btn { min-height: 48px; }
}
