/* =====================================================
   BAG — floating pill, drawer, toast
   Dark to match the store. Gold is kept to the count badge
   and the total, so it reads as accent rather than fill.
   ===================================================== */

/* ---- the two CTAs in the modal ---- */
.modal_cta_row { display: flex; gap: 10px; align-items: stretch; }
.modal_cta_row .whatsapp_btn { flex: 1 1 auto; }

.bag_btn {
    flex: 0 0 auto;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.38);
    background: rgba(255, 215, 0, 0.08);
    color: #FFD700;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.bag_btn:hover { background: rgba(255, 215, 0, 0.15); border-color: rgba(255, 215, 0, 0.6); }
.bag_btn:active { transform: scale(0.97); }
.bag_btn.disabled { opacity: 0.45; cursor: not-allowed; }
.bag_btn:focus-visible { outline: 2px solid #FFD700; outline-offset: 2px; }

@media (max-width: 520px) {
    .modal_cta_row { flex-direction: column; }
    .bag_btn { padding: 14px 20px; }
}

/* ---- floating pill ---- */
#lx_bag_pill {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 10000;
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, #1a1a1f, #111114);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255,255,255,0.07);
    color: #fff;
    cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif;
    transition: transform .22s cubic-bezier(0.34,1.12,0.42,1), border-color .22s ease;
}
#lx_bag_pill:hover { transform: translateY(-2px); border-color: rgba(255,215,0,0.45); }
#lx_bag_pill[hidden] { display: none; }
#lx_bag_pill:focus-visible { outline: 2px solid #FFD700; outline-offset: 3px; }
.lx_bag_count {
    min-width: 21px; height: 21px; padding: 0 6px;
    border-radius: 999px;
    background: #FFD700; color: #0a0a0a;
    font-weight: 800; font-size: 13px; line-height: 21px; text-align: center;
    font-variant-numeric: tabular-nums;
}

/* ---- backdrop + drawer ---- */
#lx_bag_backdrop {
    position: fixed; inset: 0; z-index: 10001;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}
#lx_bag_backdrop[hidden], #lx_bag_drawer[hidden] { display: none; }

#lx_bag_drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 10002;
    width: min(400px, 100%);
    display: flex; flex-direction: column;
    background: #0d0d10;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: -24px 0 60px -20px rgba(0,0,0,0.9);
    animation: lxBagIn .34s cubic-bezier(0.22,1,0.36,1);
}
@keyframes lxBagIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

.lx_bag_head {
    /* Explicitly static/auto so no global page-header rule can ever pull this
       out of the drawer's flex column again. */
    position: static;
    width: auto;
    height: auto;
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 22px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lx_bag_head h2 {
    margin: 0; color: #fff; font-size: 1.5rem;
    letter-spacing: 0.04em; text-transform: uppercase;
}
.lx_bag_close {
    background: none; border: none; color: #a1a1aa;
    font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 4px;
}
.lx_bag_close:hover { color: #fff; }

.lx_bag_list { flex: 1 1 auto; overflow-y: auto; padding: 8px 14px; }
.lx_bag_empty {
    color: #71717a; font-family: 'Inter', sans-serif;
    font-size: .92rem; text-align: center; padding: 40px 0;
}

.lx_bag_item {
    display: grid;
    grid-template-columns: 54px 1fr auto auto;
    align-items: center; gap: 12px;
    padding: 13px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.lx_bag_item img {
    width: 54px; height: 54px; object-fit: contain;
    background: #141418; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.07);
}
.lx_bag_item_id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lx_bag_item_name {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    color: #fff; font-size: 1rem; line-height: 1.15;
}
.lx_bag_item_opt { font-family: 'Inter', sans-serif; font-size: 11px; color: #a1a1aa; }
.lx_bag_item_price {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    color: #FFD700; font-size: .95rem; font-variant-numeric: tabular-nums;
}

.lx_bag_qty { display: flex; align-items: center; gap: 8px; }
.lx_bag_qty button {
    width: 25px; height: 25px; border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.14);
    background: #17171c; color: #fff; cursor: pointer; line-height: 1;
}
.lx_bag_qty button:hover { border-color: rgba(255,215,0,0.5); }
.lx_bag_qty span {
    min-width: 16px; text-align: center; color: #fff;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.lx_bag_remove {
    background: none; border: none; color: #52525b;
    font-size: 1.25rem; cursor: pointer; padding: 0 2px;
}
.lx_bag_remove:hover { color: #EF4444; }

.lx_bag_foot {
    position: static;
    width: auto;
    flex: 0 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 22px 22px;
    display: flex; flex-direction: column; gap: 12px;
}
.lx_bag_total {
    display: flex; align-items: baseline; justify-content: space-between;
    font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase;
    letter-spacing: 0.1em; color: #a1a1aa; font-size: .9rem;
}
.lx_bag_total strong {
    color: #FFD700; font-size: 1.7rem; letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}
.lx_bag_order[disabled] { opacity: .45; cursor: not-allowed; }
.lx_bag_clear {
    background: none; border: none; color: #71717a;
    font-family: 'Inter', sans-serif; font-size: .82rem;
    cursor: pointer; text-decoration: underline; padding: 2px;
}
.lx_bag_clear:hover { color: #a1a1aa; }
.lx_bag_note {
    margin: 0; font-family: 'Inter', sans-serif;
    font-size: .76rem; color: #5c5c66; line-height: 1.5; text-align: center;
}

/* ---- toast ---- */
#lx_bag_toast {
    position: fixed; left: 50%; bottom: 26px; z-index: 10003;
    transform: translate(-50%, 14px);
    opacity: 0;
    display: inline-flex; align-items: center; gap: 12px;
    padding: 13px 18px;
    border-radius: 999px;
    background: #17171c;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 14px 34px -14px rgba(0,0,0,0.9);
    color: #fff;
    font-family: 'Inter', sans-serif; font-size: .88rem;
    transition: opacity .25s ease, transform .25s cubic-bezier(0.22,1,0.36,1);
}
#lx_bag_toast.in { opacity: 1; transform: translate(-50%, 0); }
#lx_bag_toast[hidden] { display: none; }
#lx_bag_toast button {
    background: none; border: none; color: #FFD700; cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    font-size: .88rem; letter-spacing: .1em; text-transform: uppercase;
}

@media (max-width: 520px) {
    #lx_bag_pill { right: 14px; bottom: 14px; }
    #lx_bag_drawer { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    #lx_bag_drawer { animation: none; }
    #lx_bag_pill, #lx_bag_toast { transition: none; }
}

/* =====================================================
   FULFILMENT — pickup or delivery, asked in the bag
   -----------------------------------------------------
   Sits above the total, so the last thing before the price is the question
   that decides what happens after it. Deliberately quiet: this is a step on
   the way to the order button, not a competing destination.
   ===================================================== */
.lx_bag_fulfil {
    display: flex; flex-direction: column; gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lx_bag_fulfil_label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .8rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase; color: #a1a1aa;
}

.lx_bag_methods { display: flex; gap: 8px; }
.lx_bag_method {
    flex: 1 1 0; min-width: 0;
    padding: 11px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #d4d4d8;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .92rem; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    cursor: pointer;
    transition: background .22s ease, border-color .22s ease,
                color .22s ease, transform .22s ease;
}
.lx_bag_method:hover:not(:disabled) { border-color: rgba(255, 215, 0, 0.45); color: #fff; }
.lx_bag_method:active:not(:disabled) { transform: scale(0.97); }
.lx_bag_method.is-on {
    background: #FFD700; border-color: #FFD700; color: #0a0a0a; font-weight: 700;
}
/* No runs left in events.js means nothing to pick up at. */
.lx_bag_method:disabled { opacity: .4; cursor: not-allowed; }
.lx_bag_method:focus-visible { outline: 2px solid #FFD700; outline-offset: 2px; }

.lx_bag_panel { display: flex; flex-direction: column; gap: 9px; }
.lx_bag_panel[hidden] { display: none; }

.lx_bag_field { display: flex; flex-direction: column; gap: 5px; }
.lx_bag_field > span {
    font-family: 'Inter', sans-serif;
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase; color: #71717a;
}
.lx_bag_input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;            /* under 16px, iOS Safari zooms the page in on focus */
    outline: none;
    transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.lx_bag_input::placeholder { color: #5c5c66; }
.lx_bag_input:focus {
    border-color: rgba(255, 215, 0, 0.55);
    background: rgba(255, 215, 0, 0.04);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.10);
}
select.lx_bag_input {
    appearance: none; -webkit-appearance: none;
    /* Chevron drawn in, so the control matches the inputs instead of taking
       the operating system's own select styling. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 15px;
    padding-right: 34px;
}
select.lx_bag_input option { background: #141418; color: #fff; }

.lx_bag_hint {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: .74rem; color: #5c5c66; line-height: 1.5;
}

@media (max-width: 380px) {
    .lx_bag_methods { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .lx_bag_method { transition: none; }
    .lx_bag_method:active:not(:disabled) { transform: none; }
}

/* ---- lines the catalogue can no longer honour ----
   A bag is a snapshot taken days ago. When it no longer matches the shelf,
   say so on the line itself rather than letting the order go out and become
   a conversation at handover. */
.lx_bag_item.has_issue { opacity: .82; }
.lx_bag_item.is_gone .lx_bag_item_name,
.lx_bag_item.is_gone .lx_bag_item_price { text-decoration: line-through; color: #71717a; }

.lx_bag_item_flag {
    display: block;
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
    font-size: .72rem; line-height: 1.4;
    color: #F0A020;
}
.lx_bag_item.is_gone .lx_bag_item_flag { color: #EF6A6A; }
.lx_bag_item_flag button {
    background: none; border: none; padding: 0;
    font: inherit; color: inherit;
    text-decoration: underline; cursor: pointer;
}
.lx_bag_item_flag button:hover { color: #fff; }

/* ---- thumbnails that match the photo they hold ----
   Same three grounds as the shelf. Pack shots on white get white, so the
   photo's own background and any letterboxing vanish into the tile instead
   of drawing a second box inside the first. */
.lx_bag_item img.tile-light { background: #FFFFFF; padding: 3px; box-sizing: border-box; }
.lx_bag_item img.tile-dark  { background: linear-gradient(180deg, #17171C, #0F0F12); }
.lx_bag_item img.tile-photo { object-fit: cover; }

/* =====================================================
   BODY — the lines and the delivery questions scroll as one
   -----------------------------------------------------
   The fulfilment block used to be pinned in the footer with the list
   scrolling above it, so opening the delivery form left the lines a
   sliver. Now both live in one scroller; only the money and the order
   button stay pinned. When the list is short the questions still settle
   at the bottom, right above the total, as before.
   ===================================================== */
.lx_bag_body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex; flex-direction: column;
}
.lx_bag_body .lx_bag_list { flex: 0 0 auto; overflow: visible; padding-bottom: 14px; }
.lx_bag_body .lx_bag_fulfil {
    margin-top: auto;
    padding: 16px 22px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 0;
}

.lx_bag_title { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.lx_bag_head_count {
    font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500;
    color: #71717a; font-variant-numeric: tabular-nums;
}
.lx_bag_close { display: grid; place-items: center; }

/* The breakdown is a desktop detail; the phone keeps its short footer. */
.lx_bag_summary { display: none; }

/* An empty bag says so properly, and stops asking delivery questions. */
.lx_bag_empty {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 64px 28px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    color: #71717a;
}
.lx_bag_empty svg { color: #3f3f46; margin-bottom: 6px; }
.lx_bag_empty b { color: #fff; font-size: 15px; font-weight: 600; }
.lx_bag_empty span { font-size: 13px; line-height: 1.5; max-width: 26ch; }
#lx_bag_drawer.is-empty .lx_bag_fulfil,
#lx_bag_drawer.is-empty .lx_bag_foot { display: none; }

/* =====================================================
   DESKTOP BAG — light, after the product sheet
   -----------------------------------------------------
   On a computer the bag is the product sheet's sibling: the same light
   ground and white cards, the same ink, gold only as a fill with dark
   text on it. It floats inset from the edges with the sheet's rounding
   rather than running the full height of the window.

   Each line is a card: a larger thumbnail on its own ground, the name and
   choice, the price, and a pill stepper. The delivery question is a
   segmented switch. The footer breaks the money down — subtotal, how it
   gets to you (free either way), total — above one gold button.
   ===================================================== */
@media (min-width: 900px) {
    #lx_bag_backdrop {
        background: rgba(0, 0, 0, 0.45);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }

    #lx_bag_drawer {
        --bag-ground:  #F4F4F6;
        --bag-surface: #FFFFFF;
        --bag-line:    #E3E3E8;
        --bag-line-hi: #C9C9D0;
        --bag-ink:     #0B0B0D;
        --bag-ink-2:   #54545E;
        --bag-ink-3:   #8B8B95;
        --bag-soft:    #ECECEF;
        --bag-gold:    #FFD700;

        top: 14px; right: 14px; bottom: 14px;
        width: 448px;
        border-radius: 26px;
        border: 0;
        overflow: hidden;
        background: var(--bag-ground);
        color: var(--bag-ink);
        box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        animation: lxBagFloatIn .42s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* ---- head ---- */
    #lx_bag_drawer .lx_bag_head { padding: 24px 22px 16px 28px; border-bottom: 0; }
    #lx_bag_drawer .lx_bag_head h2 {
        font-family: 'Inter', sans-serif;
        font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
        text-transform: none;
        color: var(--bag-ink);
    }
    #lx_bag_drawer .lx_bag_head_count { font-size: 13px; color: var(--bag-ink-3); }
    #lx_bag_drawer .lx_bag_close {
        width: 40px; height: 40px; padding: 0;
        border-radius: 50%;
        border: 1px solid var(--bag-line);
        background: var(--bag-surface);
        color: var(--bag-ink);
        transition: border-color .2s ease, transform .2s ease;
    }
    #lx_bag_drawer .lx_bag_close:hover { border-color: var(--bag-line-hi); }
    #lx_bag_drawer .lx_bag_close:active { transform: scale(0.94); }

    /* ---- lines ---- */
    #lx_bag_drawer .lx_bag_body { padding: 0 20px; scrollbar-width: none; }
    #lx_bag_drawer .lx_bag_body::-webkit-scrollbar { display: none; }
    #lx_bag_drawer .lx_bag_list {
        padding: 4px 0 18px;
        display: flex; flex-direction: column; gap: 10px;
    }
    #lx_bag_drawer .lx_bag_item {
        grid-template-columns: 76px minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        column-gap: 14px; row-gap: 10px;
        align-items: start;
        padding: 12px;
        background: var(--bag-surface);
        border: 1px solid var(--bag-line);
        border-bottom: 1px solid var(--bag-line);
        border-radius: 18px;
    }
    #lx_bag_drawer .lx_bag_item img {
        grid-column: 1; grid-row: 1 / 3;
        width: 76px; height: 76px;
        border-radius: 12px;
        border: 1px solid var(--bag-line);
    }
    #lx_bag_drawer .lx_bag_item img.tile-light { padding: 5px; }
    #lx_bag_drawer .lx_bag_item_id { grid-column: 2; grid-row: 1 / 3; align-self: center; gap: 3px; }
    #lx_bag_drawer .lx_bag_item_name {
        font-family: 'Inter', sans-serif;
        font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em;
        color: var(--bag-ink);
    }
    #lx_bag_drawer .lx_bag_item_opt { font-size: 12.5px; color: var(--bag-ink-3); }
    #lx_bag_drawer .lx_bag_item_price {
        margin-top: 4px;
        font-family: 'Inter', sans-serif;
        font-size: 15px; font-weight: 700; letter-spacing: -0.02em;
        color: var(--bag-ink);
    }

    #lx_bag_drawer .lx_bag_remove {
        grid-column: 3; grid-row: 1;
        justify-self: end;
        width: 28px; height: 28px; padding: 0;
        display: grid; place-items: center;
        border-radius: 50%;
        color: var(--bag-ink-3);
        font-size: 18px; line-height: 1;
        transition: background .2s ease, color .2s ease;
    }
    #lx_bag_drawer .lx_bag_remove:hover { background: #FEF2F2; color: #DC2626; }

    #lx_bag_drawer .lx_bag_qty {
        grid-column: 3; grid-row: 2;
        align-self: end;
        gap: 0;
        padding: 2px;
        border: 1px solid var(--bag-line);
        border-radius: 99px;
        background: var(--bag-surface);
    }
    #lx_bag_drawer .lx_bag_qty button {
        width: 28px; height: 28px;
        border: 0; border-radius: 50%;
        background: transparent;
        color: var(--bag-ink);
        font-size: 15px;
        transition: background .2s ease;
    }
    #lx_bag_drawer .lx_bag_qty button:hover { background: var(--bag-soft); border-color: transparent; }
    #lx_bag_drawer .lx_bag_qty span {
        min-width: 22px;
        font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
        color: var(--bag-ink);
    }

    #lx_bag_drawer .lx_bag_item.has_issue { opacity: 1; }
    #lx_bag_drawer .lx_bag_item.is_gone .lx_bag_item_name,
    #lx_bag_drawer .lx_bag_item.is_gone .lx_bag_item_price { color: var(--bag-ink-3); }
    #lx_bag_drawer .lx_bag_item_flag { grid-column: 2 / 4; color: #B45309; }
    #lx_bag_drawer .lx_bag_item.is_gone .lx_bag_item_flag { color: #DC2626; }
    #lx_bag_drawer .lx_bag_item_flag button:hover { color: var(--bag-ink); }

    /* ---- how it gets to you ---- */
    #lx_bag_drawer .lx_bag_body .lx_bag_fulfil {
        margin: auto 0 18px;
        padding: 18px;
        gap: 14px;
        background: var(--bag-surface);
        border: 1px solid var(--bag-line);
        border-radius: 18px;
    }
    #lx_bag_drawer .lx_bag_fulfil_label {
        font-family: 'Inter', sans-serif;
        font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
        text-transform: none;
        color: var(--bag-ink);
    }
    #lx_bag_drawer .lx_bag_methods {
        gap: 4px; padding: 4px;
        border-radius: 13px;
        background: var(--bag-soft);
    }
    #lx_bag_drawer .lx_bag_method {
        padding: 10px 8px;
        border: 0; border-radius: 10px;
        background: transparent;
        color: var(--bag-ink-2);
        font-family: 'Inter', sans-serif;
        font-size: 13.5px; font-weight: 600; letter-spacing: 0;
        text-transform: none;
    }
    #lx_bag_drawer .lx_bag_method:hover:not(:disabled) { color: var(--bag-ink); border-color: transparent; }
    #lx_bag_drawer .lx_bag_method.is-on {
        background: var(--bag-gold);
        color: #0B0B0D;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px -6px rgba(180, 140, 0, 0.45);
    }

    #lx_bag_drawer .lx_bag_panel { gap: 12px; }
    #lx_bag_drawer .lx_bag_field { gap: 6px; }
    #lx_bag_drawer .lx_bag_field > span {
        font-size: 12px; font-weight: 500; letter-spacing: 0;
        text-transform: none;
        color: var(--bag-ink-2);
    }
    #lx_bag_drawer .lx_bag_input {
        padding: 12px 13px;
        border-radius: 11px;
        border: 1px solid var(--bag-line);
        background: #FAFAFB;
        color: var(--bag-ink);
        font-size: 14.5px;
    }
    #lx_bag_drawer .lx_bag_input::placeholder { color: var(--bag-ink-3); }
    #lx_bag_drawer .lx_bag_input:focus {
        border-color: var(--bag-ink);
        background: var(--bag-surface);
        box-shadow: 0 0 0 3px rgba(11, 11, 13, 0.07);
    }
    #lx_bag_drawer select.lx_bag_input option { background: #FFFFFF; color: #0B0B0D; }
    #lx_bag_drawer .lx_bag_hint { font-size: 12px; color: var(--bag-ink-3); }

    /* ---- the money, and the button ---- */
    #lx_bag_drawer .lx_bag_foot {
        padding: 18px 28px 22px;
        gap: 12px;
        border-top: 1px solid var(--bag-line);
        background: var(--bag-ground);
    }
    #lx_bag_drawer .lx_bag_summary { display: flex; flex-direction: column; gap: 7px; }
    #lx_bag_drawer .lx_bag_row {
        display: flex; justify-content: space-between; align-items: baseline;
        font-size: 13px; color: var(--bag-ink-2);
    }
    #lx_bag_drawer .lx_bag_row span:last-child {
        color: var(--bag-ink); font-weight: 500;
        font-variant-numeric: tabular-nums;
    }
    #lx_bag_drawer .lx_bag_total {
        padding-top: 12px;
        border-top: 1px solid var(--bag-line);
        font-family: 'Inter', sans-serif;
        font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
        text-transform: none;
        color: var(--bag-ink);
    }
    #lx_bag_drawer .lx_bag_total strong {
        font-size: 28px; font-weight: 700; letter-spacing: -0.035em;
        color: var(--bag-ink);
    }

    #lx_bag_drawer .lx_bag_order {
        height: 56px; padding: 0 22px;
        border: 0; border-radius: 99px;
        background: var(--bag-gold);
        color: #0B0B0D;
        font-family: 'Inter', sans-serif;
        font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em;
        text-transform: none;
        box-shadow: none;
        transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease;
    }
    /* .whatsapp_btn:hover would turn it WhatsApp green — it stays gold. */
    #lx_bag_drawer .lx_bag_order:hover:not([disabled]) {
        background: var(--bag-gold);
        transform: translateY(-1px);
        box-shadow: 0 10px 24px -10px rgba(200, 160, 0, 0.6);
    }
    #lx_bag_drawer .lx_bag_order:active:not([disabled]) { transform: scale(0.985); }
    #lx_bag_drawer .lx_bag_order[disabled] {
        opacity: 1;
        background: var(--bag-soft);
        color: var(--bag-ink-3);
        transform: none;
        box-shadow: none;
    }

    #lx_bag_drawer .lx_bag_clear { color: var(--bag-ink-3); font-size: 12.5px; text-underline-offset: 3px; }
    #lx_bag_drawer .lx_bag_clear:hover { color: var(--bag-ink-2); }
    #lx_bag_drawer .lx_bag_note { color: var(--bag-ink-3); font-size: 12px; }

    /* ---- empty ---- */
    #lx_bag_drawer .lx_bag_empty svg { color: var(--bag-line-hi); }
    #lx_bag_drawer .lx_bag_empty b { color: var(--bag-ink); }
    #lx_bag_drawer .lx_bag_empty span { color: var(--bag-ink-3); }
}

/* Floats in from just past its resting place, not from the window edge. */
@keyframes lxBagFloatIn {
    from { transform: translateX(calc(100% + 28px)); }
    to   { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    #lx_bag_drawer { animation: none !important; }
}
