:root {
    --bf-ai-brand: #BB531B;
    --bf-ai-brand-dark: #873C14;
    --bf-ai-ink: #0F0F0F;
    --bf-ai-ink-2: #262626;
    --bf-ai-muted: #737373;
    --bf-ai-line: #DEDEDE;
    --bf-ai-line-2: #E4DFDC;
    --bf-ai-soft: #F6F6F6;
    --bf-ai-beige: #ECEBE7;
    --bf-ai-user: #9F4A26;
    --bf-ai-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --bf-ai-head: "Poppins", var(--bf-ai-font);
}

/* hidden must beat the display rules below */
.bf-ai-overlay[hidden],
.bf-ai-scrim[hidden] { display: none !important; }

/* Launcher — branded sparkle (header), fallback fixed circle */
.bf-ai-launcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent; /* the branded badge carries its own circle */
    color: #fff;
    cursor: pointer;
    z-index: 99998;
}
.bf-ai-launcher__glyph { display: inline-flex; width: 30px; height: 30px; line-height: 0; }
.bf-ai-launcher__glyph svg { width: 100%; height: 100%; display: block; }
.bf-ai-launcher:not(.bf-ai-launcher--inheader) {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}
.bf-ai-launcher:not(.bf-ai-launcher--inheader) .bf-ai-launcher__glyph { width: 56px; height: 56px; }
/* In-header launcher = flat brand sparkle aligned with the icon row (Figma 'AI BFF icon').
   Sized to read clearly at 1280×720 and 1920×1080. align-self:center handles flex
   containers (Elementor header row); vertical-align handles inline-flex siblings. */
.bf-ai-launcher--inheader {
    width: 44px; height: 44px; /* match standard header icon touch target */
    margin: 0; padding: 0;
    vertical-align: middle;
    align-self: center;          /* flex container: vertically centre with adjacent icons */
    background: transparent; color: var(--bf-ai-brand);
}
.bf-ai-launcher--inheader .bf-ai-launcher__glyph { width: 26px; height: 26px; }
.bf-ai-launcher--inheader:hover,
.bf-ai-launcher--inheader.is-active { color: var(--bf-ai-brand-dark); }
.bf-ai-launcher--hidden { display: none !important; }

/* Pulse affordance — a soft expanding ring behind the sparkle (Figma). Hidden
   while the panel is open (active) and for users who prefer reduced motion. */
.bf-ai-launcher__pulse {
    position: absolute; inset: 0; margin: auto;
    width: 100%; height: 100%; border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 0 0 rgba(187, 83, 27, 0.45);
    animation: bf-ai-launcher-pulse 2.4s ease-out infinite;
}
.bf-ai-launcher.is-active .bf-ai-launcher__pulse { display: none; }
@keyframes bf-ai-launcher-pulse {
    0% { box-shadow: 0 0 0 0 rgba(187, 83, 27, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(187, 83, 27, 0); }
    100% { box-shadow: 0 0 0 0 rgba(187, 83, 27, 0); }
}
@media (prefers-reduced-motion: reduce) { .bf-ai-launcher__pulse { animation: none; } }

/* Scrim + overlay */
.bf-ai-scrim { position: fixed; inset: 0; z-index: 99998; background: rgba(0, 0, 0, 0.35); }
.bf-ai-overlay {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    font-family: var(--bf-ai-font);
    color: var(--bf-ai-ink);
    animation: bf-ai-slide 0.22s ease-out;
}
@keyframes bf-ai-slide { from { transform: translateY(-12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
body.bf-ai-locked { overflow: hidden; }
/* Tablet (768–1023): bottom-right floating widget (unchanged). */
@media (min-width: 768px) and (max-width: 1023px) {
    .bf-ai-overlay {
        inset: auto 16px 16px auto;
        width: 402px;
        height: 80vh;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 14px 44px rgba(0, 0, 0, 0.3);
    }
}

/* Header bar — terracotta */
.bf-ai-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bf-ai-brand);
    color: #fff;
}
.bf-ai-bar__avatar {
    flex: 0 0 auto;
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 15px;
}
.bf-ai-bar__avatar svg { width: 26px; height: 26px; display: block; }
.bf-ai-msg__avatar svg { width: 24px; height: 24px; display: block; }
.bf-ai-iconbtn svg { width: 18px; height: 18px; display: block; }
.bf-ai-iconcircle svg { width: 18px; height: 18px; display: block; }
.bf-ai-bar__meta { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.2; cursor: pointer; }
.bf-ai-bar__title { font-family: var(--bf-ai-head); font-weight: 600; font-size: 15px; }
.bf-ai-bar__status { font-size: 11px; opacity: 0.85; }
.bf-ai-bar__actions { display: flex; gap: 2px; }
.bf-ai-iconbtn {
    width: 32px; height: 32px;
    border: none; background: transparent; color: #fff !important; /* white on the terracotta bar, beats theme button colour */
    font-size: 18px; line-height: 1; cursor: pointer; border-radius: 8px;
}
.bf-ai-iconbtn:hover { background: rgba(255, 255, 255, 0.18); }

/* Thread */
.bf-ai-thread { flex: 1 1 auto; overflow-y: auto; padding: 16px; -webkit-overflow-scrolling: touch; background: #fff; }
.bf-ai-msg { display: flex; margin: 10px 0; align-items: flex-start; }
.bf-ai-msg--user { justify-content: flex-end; }
.bf-ai-msg__avatar {
    flex: 0 0 auto;
    width: 26px; height: 26px; margin-right: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 13px;
}
/* Assistant = plain text, no bubble */
.bf-ai-atext { font-size: 14px; line-height: 1.5; color: var(--bf-ai-ink); max-width: 84%; }
/* User = terracotta bubble (Figma 'user message' #9F4A26) */
.bf-ai-ububble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 16px;
    border-bottom-right-radius: 5px;
    background: var(--bf-ai-user);
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
}

/* Typing dots */
.bf-ai-dots { display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--bf-ai-soft); border-radius: 16px; border-bottom-left-radius: 5px; }
.bf-ai-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--bf-ai-muted); animation: bf-ai-bounce 1.2s infinite ease-in-out; }
.bf-ai-dots span:nth-child(2) { animation-delay: 0.15s; }
.bf-ai-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bf-ai-bounce { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }

/* Welcome */
.bf-ai-welcome__title { font-family: var(--bf-ai-head); font-weight: 600; font-size: 16px; color: var(--bf-ai-ink-2); }
.bf-ai-welcome__sub { font-size: 14px; color: var(--bf-ai-ink); margin-top: 6px; line-height: 1.5; }

/* Capabilities card — soft grey panel (Figma 494:5536 'options') */
.bf-ai-cap { background: var(--bf-ai-soft); border-radius: 12px; padding: 12px 14px; margin: 12px 0 4px 34px; }
.bf-ai-cap__title { font-size: 12px; font-weight: 600; color: #676767; margin-bottom: 10px; }
.bf-ai-cap__row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 0; font-size: 14px; color: var(--bf-ai-ink); text-align: left; font-family: var(--bf-ai-font); cursor: pointer; -webkit-appearance: none; appearance: none; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.bf-ai-cap__row:hover { color: var(--bf-ai-brand); }
.bf-ai-cap__icon { flex: 0 0 auto; width: 22px; height: 20px; display: inline-flex; align-items: center; justify-content: center; color: var(--bf-ai-muted); }
.bf-ai-cap__icon svg { width: 18px; height: 18px; display: block; }

.bf-ai-trylabel { font-size: 12px; color: var(--bf-ai-muted); margin: 14px 0 8px; }

/* Chips */
.bf-ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.bf-ai-chip {
    border: 1px solid var(--bf-ai-line);
    color: var(--bf-ai-ink);
    background: #fff;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-family: var(--bf-ai-font);
    cursor: pointer;
}
.bf-ai-chip:hover { border-color: var(--bf-ai-brand); }
.bf-ai-chip.is-selected {
    border-color: var(--bf-ai-brand);
    color: var(--bf-ai-brand);
    background: rgba(187, 83, 27, 0.06);
}
/* The storefront theme rounds every <button> into a pill; force the designed
   8px rectangle for assistant chips, scoped + !important to win specificity (BFR-1621). */
#bf-ai-overlay .bf-ai-chip { border-radius: 8px !important; }
/* Locked (post-send / restored) chips: selected ones stay highlighted, the set
   becomes non-interactive (BFR-1621). */
.bf-ai-chips.is-locked .bf-ai-chip,
.bf-ai-qgroups.is-locked .bf-ai-chip,
.bf-ai-chip:disabled { cursor: default; }
.bf-ai-chips.is-locked .bf-ai-chip:hover,
.bf-ai-qgroups.is-locked .bf-ai-chip:hover { border-color: var(--bf-ai-line); }
.bf-ai-chip:disabled:not(.is-selected) { opacity: 0.55; }
.bf-ai-chip.is-selected:disabled { opacity: 1; }

/* Filter strip while searching */
.bf-ai-filterstrip { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px 34px; }
.bf-ai-filterpill { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--bf-ai-brand); color: var(--bf-ai-brand); }

/* Product grid (2×2) */
.bf-ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 12px; }
.bf-ai-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--bf-ai-line); border-radius: 12px; overflow: hidden; cursor: pointer; background: #fff; text-decoration: none; color: var(--bf-ai-ink); }
.bf-ai-card:hover { border-color: var(--bf-ai-brand); text-decoration: none; color: var(--bf-ai-ink); }
.bf-ai-card--best { border-color: var(--bf-ai-brand); }
/* Image wrapper — contains the photo + on-image discount badge */
.bf-ai-card__imgwrap { position: relative; width: 100%; }
.bf-ai-card__img { width: 100%; height: 130px; object-fit: cover; display: block; background: var(--bf-ai-line-2); }
/* On-image top-left discount badge (BFR-1695) */
.bf-ai-card__discount-badge {
    position: absolute; top: 8px; left: 8px;
    background: #BB531B; color: #fff;
    font-size: 12px; font-family: var(--bf-ai-font);
    letter-spacing: 0.2px;
    padding: 2px 6px; border-radius: 8px;
    line-height: 18px; height: 22px;
    display: inline-flex; align-items: center;
}
/* Meta column (BFR-1695): brand → name → tags → price */
.bf-ai-card__meta { display: flex; flex-direction: column; gap: 4px; padding: 8px; flex: 1 1 auto; }
/* "Best match" badge inside meta (was absolute, now in flow) */
.bf-ai-card__badge {
    display: inline-flex; align-items: center; height: 20px;
    background: #2E7D32; color: #fff;
    font-size: 12px; font-family: var(--bf-ai-font); letter-spacing: 0.2px;
    padding: 2px 8px; border-radius: 11px;
    align-self: flex-start;
}
.bf-ai-card__badge--new { background: #0288D1; }
/* Brand (merchant) line */
.bf-ai-card__brand { font-size: 13px; color: var(--bf-ai-muted); letter-spacing: 0.2px; }
/* Tags row */
.bf-ai-card__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.bf-ai-card__tag {
    display: inline-block; font-size: 12px; font-family: var(--bf-ai-font);
    letter-spacing: 0.2px; padding: 2px 6px; border-radius: 8px;
    line-height: 1.5; background: var(--bf-ai-soft); color: var(--bf-ai-ink);
}
.bf-ai-card__tag--new       { background: rgba(2,136,209,0.12);   color: #0288D1; }
.bf-ai-card__tag--best_seller { background: rgba(46,125,50,0.12); color: #2E7D32; }
.bf-ai-card__tag--sale      { background: rgba(187,83,27,0.10);   color: #BB531B; }
.bf-ai-card__tag--discount  { background: rgba(187,83,27,0.10);   color: #BB531B; }
.bf-ai-card__tag--cashback  { background: rgba(135,60,20,0.10);   color: #873C14; }
/* Price block */
.bf-ai-card__price-wrap { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.bf-ai-card__sale-price { font-weight: 700; font-size: 14px; color: #0E0E0E; }
.bf-ai-card__orig-price { font-size: 12px; color: var(--bf-ai-muted); text-decoration: line-through; }
.bf-ai-card__price { font-weight: 700; font-size: 14px; }

/* Chip groups (guided refinement) */
.bf-ai-qgroups { margin: 4px 0 12px 34px; }
.bf-ai-qgroup__label { font-size: 12px; color: var(--bf-ai-muted); margin: 8px 0 4px; }
.bf-ai-qgroups .bf-ai-chips { margin: 0 0 8px; }

/* Follow-up copy */
.bf-ai-followup { font-size: 13px; color: var(--bf-ai-muted); margin: 4px 0 6px 34px; }

/* Info card (shipping / duties) */
.bf-ai-info { border: 1px solid var(--bf-ai-line); border-radius: 12px; padding: 14px; margin: 8px 0 12px 34px; }
.bf-ai-info__title { font-family: var(--bf-ai-head); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.bf-ai-info__row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13px; border-bottom: 1px solid var(--bf-ai-line-2); }
.bf-ai-info__row:last-of-type { border-bottom: none; }
.bf-ai-info__label { color: var(--bf-ai-muted); }
.bf-ai-info__value { color: var(--bf-ai-ink); text-align: right; }
.bf-ai-info__foot { font-size: 11px; color: var(--bf-ai-muted); margin-top: 8px; }
.bf-ai-card__name { font-weight: 600; font-size: 13px; line-height: 1.3; }
.bf-ai-card__sub { font-size: 12px; color: var(--bf-ai-muted); text-transform: capitalize; }

/* "Show all …" catalog link under a results grid (BFR-1621). */
.bf-ai-showall-wrap { margin: 0 0 12px; }
.bf-ai-showall {
    display: inline-block;
    font-size: 13px; font-weight: 600;
    color: var(--bf-ai-brand);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
}
.bf-ai-showall:hover { color: var(--bf-ai-brand-dark); }

/* Suggested CTA */
.bf-ai-suggested { margin: 6px 0 12px 34px; }
.bf-ai-cta { display: inline-block; padding: 10px 16px; border-radius: 10px; background: var(--bf-ai-brand); color: #fff !important; text-decoration: none; font-weight: 600; }

/* Composer — beige rounded box: input on top, action row below (Figma 'AI chat text') */
.bf-ai-composer { position: relative; padding: 12px; border-top: 1px solid var(--bf-ai-line); background: #fff; }
.bf-ai-inputwrap {
    display: flex; flex-direction: column; gap: 4px;
    background: var(--bf-ai-beige);
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 8px 16px;
}
.bf-ai-inputwrap:focus-within { border-color: var(--bf-ai-brand); background: #fff; }
.bf-ai-text {
    width: 100%; resize: none; max-height: 120px;
    border: none; background: transparent;
    padding: 4px 0; font-size: 14px; line-height: 1.4; font-family: var(--bf-ai-font);
    color: var(--bf-ai-ink);
}
.bf-ai-text:focus { outline: none; }
.bf-ai-actions { display: flex; align-items: center; gap: 8px; }
.bf-ai-actions__spacer { flex: 1 1 auto; }
.bf-ai-iconcircle {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; padding: 0;
    border: none; background: transparent; color: var(--bf-ai-muted);
    cursor: pointer; border-radius: 50%;
}
.bf-ai-iconcircle:hover { color: var(--bf-ai-brand); background: rgba(187, 83, 27, 0.08); }
.bf-ai-iconcircle[hidden] { display: none; }
.bf-ai-mic.is-recording { color: #fff; background: var(--bf-ai-brand); animation: bf-ai-pulse 1.2s infinite; }
@keyframes bf-ai-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(187, 83, 27, 0.45); } 50% { box-shadow: 0 0 0 6px rgba(187, 83, 27, 0); } }
/* Send = white circle, brand arrow (Figma 'next button') */
.bf-ai-send {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; padding: 0; border: none; border-radius: 50%;
    background: transparent; cursor: pointer;
}
.bf-ai-send svg { width: 32px; height: 32px; display: block; }
.bf-ai-send:hover { filter: brightness(0.94); }
.bf-ai-send:disabled { opacity: 0.4; cursor: default; }

/* Attachments (BFR-1603) */
.bf-ai-hiddenfile { display: none; }
.bf-ai-attach.is-open svg { transform: rotate(45deg); transition: transform 0.15s ease; }
.bf-ai-attach svg { transition: transform 0.15s ease; }
.bf-ai-attachmenu {
    position: absolute; left: 12px; bottom: 100%; margin-bottom: 6px; z-index: 5;
    display: flex; flex-direction: column; min-width: 180px;
    background: #fff; border: 1px solid var(--bf-ai-line); border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16); padding: 6px; gap: 2px;
}
.bf-ai-attachmenu[hidden] { display: none; }
.bf-ai-attachmenu__item {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 10px 12px; border: none; background: transparent; border-radius: 8px;
    font-family: var(--bf-ai-font); font-size: 14px; color: var(--bf-ai-ink);
    text-align: left; cursor: pointer;
}
.bf-ai-attachmenu__item:hover { background: var(--bf-ai-soft); }
.bf-ai-attachmenu__icon { width: 20px; text-align: center; }
/* Attachment pill inside the user bubble */
.bf-ai-ububble--attach { display: flex; flex-direction: column; gap: 6px; }
.bf-ai-attachpill { display: flex; align-items: center; gap: 10px; }
.bf-ai-attachpill__thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.bf-ai-attachpill__icon { width: 44px; height: 44px; border-radius: 8px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.18); font-size: 20px; }
.bf-ai-attachpill__meta { display: flex; flex-direction: column; min-width: 0; }
.bf-ai-attachpill__name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.bf-ai-attachpill__size { font-size: 11px; opacity: 0.85; }
.bf-ai-attachpill__caption { font-size: 14px; line-height: 1.45; }

/* Minimized → topbar only */
.bf-ai-overlay.is-minimized .bf-ai-thread,
.bf-ai-overlay.is-minimized .bf-ai-composer { display: none; }
.bf-ai-overlay.is-minimized { inset: auto 0 0 0; height: auto; animation: none; }
@media (min-width: 768px) and (max-width: 1023px) { .bf-ai-overlay.is-minimized { inset: auto 16px 16px auto; width: 402px; } }

/* =====================================================================
   Desktop (≥1024px) — fixed left panel beside a browsable storefront,
   no scrim, page pushed right (BFR-1486 / Figma 494:5499, 480px column).
   ===================================================================== */
:root { --bf-ai-panel-w: 480px; }
@media (min-width: 1024px) {
    .bf-ai-overlay {
        inset: 0 auto 0 0;            /* flush-left, full height */
        width: var(--bf-ai-panel-w);
        height: 100vh;
        border-radius: 0;
        overflow: hidden;
        box-shadow: 2px 0 24px rgba(0, 0, 0, 0.12);
        animation: bf-ai-slide-left 0.22s ease-out;
    }

    /* Push the storefront right so it stays fully visible/browsable.
       !important beats the theme's own body margin rule. */
    body.bf-ai-desktop-open { margin-left: var(--bf-ai-panel-w) !important; }
    body.bf-ai-desktop-open,
    body.bf-ai-desktop-open .elementor-location-header .elementor-sticky--active {
        transition: margin-left 0.22s ease, left 0.22s ease, width 0.22s ease;
    }
    /* Elementor sticky header is position:fixed with an inline px width — offset it
       to sit beside the panel. !important beats Elementor's inline style. */
    body.bf-ai-desktop-open .elementor-location-header .elementor-sticky--active,
    body.bf-ai-desktop-open .elementor-location-header.elementor-sticky--active {
        left: var(--bf-ai-panel-w) !important;
        width: calc(100% - var(--bf-ai-panel-w)) !important;
    }

    /* Collapsed → header-only pill, bottom-left; storefront reclaims full width. */
    .bf-ai-overlay.is-minimized {
        inset: auto auto 16px 16px;
        width: auto;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    }
    .bf-ai-overlay.is-minimized .bf-ai-bar { border-radius: 12px; }

    /* ── Desktop-only card enhancements (BFR-1695 / Figma tokens) ─────────── */

    /* Card border uses the Figma token (#D9D9D9) on desktop. */
    .bf-ai-card { border-color: #D9D9D9; border-radius: 12px; }

    /* Taller product photo on desktop per Figma (180px). */
    .bf-ai-card__img { height: 180px; }

    /* Image placeholder background. */
    .bf-ai-card__imgwrap { background: #E4DFDC; }

    /* Tighter meta gap on desktop (4px between brand/name/price). */
    .bf-ai-card__meta { gap: 4px; padding: 10px; }

    /* Brand: Inter 13px, letter-spacing 0.2px. */
    .bf-ai-card__brand { font-family: var(--bf-ai-font); font-size: 13px; letter-spacing: 0.2px; }

    /* Product name: Inter 16px / 24px line-height on desktop. */
    .bf-ai-card__name { font-size: 16px; line-height: 24px; }

    /* Sale price larger on desktop. */
    .bf-ai-card__sale-price { font-size: 18px; }
    .bf-ai-card__price { font-size: 18px; }

    /* "Show more" / show-all link: Inter font. */
    .bf-ai-showall { font-family: var(--bf-ai-font); }
}
@keyframes bf-ai-slide-left { from { transform: translateX(-16px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Storefront themes style every <button> globally (borders, circular radius).
   Neutralize that for the assistant's chrome buttons so they render per design.
   Chips and the white send button keep their own intentional styling. */
.bf-ai-launcher,
.bf-ai-overlay .bf-ai-iconbtn,
.bf-ai-overlay .bf-ai-iconcircle,
.bf-ai-overlay .bf-ai-send,
.bf-ai-overlay .bf-ai-cap__row,
.bf-ai-attachmenu__item {
    -webkit-appearance: none; appearance: none;
    border: 0 !important; outline: none;
}
.bf-ai-launcher,
.bf-ai-overlay .bf-ai-iconbtn,
.bf-ai-overlay .bf-ai-iconcircle,
.bf-ai-overlay .bf-ai-cap__row,
.bf-ai-attachmenu__item { box-shadow: none !important; }
